Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class CreateBackupChannelRequest.
Request message for CreateBackupChannel.
Generated from protobuf message google.cloud.gkebackup.v1.CreateBackupChannelRequest
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 BackupChannel. Format: projects/*/locations/*
↳ backup_channel
↳ backup_channel_id
string
Optional. The client-provided short name for the BackupChannel 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 BackupChannels 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 BackupChannel.
Format: projects/*/locations/*
string
setParent
Required. The location within which to create the BackupChannel.
Format: projects/*/locations/*
var
string
$this
getBackupChannel
Required. The BackupChannel resource object to create.
hasBackupChannel
clearBackupChannel
setBackupChannel
Required. The BackupChannel resource object to create.
$this
getBackupChannelId
Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.
string
setBackupChannelId
Optional. The client-provided short name for the BackupChannel 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 BackupChannels 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 BackupChannel.
Format: projects/*/locations/*
Please see BackupForGKEClient::locationName()
for help formatting this field.
backupChannel
backupChannelId
string
Optional. The client-provided short name for the BackupChannel 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 BackupChannels in this location If the user does not provide a name, a uuid will be used as the name.