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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The location within which to create the BackupChannel. Format: |
↳ backup_channel |
BackupChannel
Required. The BackupChannel resource object to create. |
↳ 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/*
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The location within which to create the BackupChannel.
Format: projects/*/locations/*
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupChannel
Required. The BackupChannel resource object to create.
Returns | |
---|---|
Type | Description |
BackupChannel|null |
hasBackupChannel
clearBackupChannel
setBackupChannel
Required. The BackupChannel resource object to create.
Parameter | |
---|---|
Name | Description |
var |
BackupChannel
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The location within which to create the BackupChannel.
Format: |
backupChannel |
BackupChannel
Required. The BackupChannel resource object to create. |
backupChannelId |
string
Optional. The client-provided short name for the BackupChannel resource. This name must:
|
Returns | |
---|---|
Type | Description |
CreateBackupChannelRequest |