Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class CreateRestoreChannelRequest.
Request message for CreateRestoreChannel.
Generated from protobuf message google.cloud.gkebackup.v1.CreateRestoreChannelRequest
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The location within which to create the RestoreChannel. Format: projects/*/locations/*
↳ restore_channel
↳ restore_channel_id
string
Optional. The client-provided short name for the RestoreChannel resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
getParent
Required. The location within which to create the RestoreChannel.
Format: projects/*/locations/*
string
setParent
Required. The location within which to create the RestoreChannel.
Format: projects/*/locations/*
var
string
$this
getRestoreChannel
Required. The RestoreChannel resource object to create.
hasRestoreChannel
clearRestoreChannel
setRestoreChannel
Required. The RestoreChannel resource object to create.
$this
getRestoreChannelId
Optional. The client-provided short name for the RestoreChannel resource.
This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
string
setRestoreChannelId
Optional. The client-provided short name for the RestoreChannel resource.
This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
var
string
$this
static::build
parent
string
Required. The location within which to create the RestoreChannel.
Format: projects/*/locations/*
Please see BackupForGKEClient::locationName()
for help formatting this field.
restoreChannel
restoreChannelId
string
Optional. The client-provided short name for the RestoreChannel resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.