Service Client: Google::Cloud::Gkebackup::V1::Gkebackup::BackupForGKEClient
Client stub representing the remote BackupForGKE gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to gkebackup.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Gkebackup::V1::Gkebackup - Compiled Protocol Buffers messages for google/cloud/gkebackup/v1/gkebackup.proto
SYNOPSIS
use Google::Cloud::Gkebackup::V1::Gkebackup;
my $msg = Google::Cloud::Gkebackup::V1::Gkebackup::OperationMetadata->new({
create_time => $create_time,
end_time => $end_time,
target => $target,
verb => $verb,
});
# Read or update a field
my $val = $msg->create_time();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Gkebackup::V1::Gkebackup::OperationMetadata->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gkebackup/v1/gkebackup.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Gkebackup::V1::Gkebackup::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
Google::Cloud::Gkebackup::V1::Gkebackup::CreateBackupPlanRequest
Request message for CreateBackupPlan.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location within which to create the BackupPlan. Format: `projects/*/locations/*`
$msg->backup_plan()/$msg->backup_plan($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupPlan::BackupPlan)Required. The BackupPlan resource object to create.
$msg->backup_plan_id()/$msg->backup_plan_id($value)Type:
StringRequired. The client-provided short name for the BackupPlan 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 BackupPlans in this location
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupPlansRequest
Request message for ListBackupPlans.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location that contains the BackupPlans to list. Format: `projects/*/locations/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListBackupPlansResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListBackupPlansResponse.next_page_token] received from a previous `ListBackupPlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupPlans` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupPlansResponse
Response message for ListBackupPlans.
Inherits from Protobuf::Message.
Accessors
$msg->backup_plans()/$msg->backup_plans($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupPlan::BackupPlan)The list of BackupPlans matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent `ListBackupPlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetBackupPlanRequest
Request message for GetBackupPlan.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified BackupPlan name. Format: `projects/*/locations/*/backupPlans/*`
Google::Cloud::Gkebackup::V1::Gkebackup::UpdateBackupPlanRequest
Request message for UpdateBackupPlan.
Inherits from Protobuf::Message.
Accessors
$msg->backup_plan()/$msg->backup_plan($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupPlan::BackupPlan)Required. A new version of the BackupPlan resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. This is used to specify the fields to be overwritten in the BackupPlan targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `backup_config.include_volume_data`, etc.) If no `update_mask` is provided, all fields in `backup_plan` will be written to the target BackupPlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_plan` are ignored and are not used to update the target BackupPlan.
Google::Cloud::Gkebackup::V1::Gkebackup::DeleteBackupPlanRequest
Request message for DeleteBackupPlan.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified BackupPlan name. Format: `projects/*/locations/*/backupPlans/*`
$msg->etag()/$msg->etag($value)Type:
StringOptional. If provided, this value must match the current value of the target BackupPlan's [etag][google.cloud.gkebackup.v1.BackupPlan.etag] field or the request is rejected.
Google::Cloud::Gkebackup::V1::Gkebackup::CreateBackupChannelRequest
Request message for CreateBackupChannel.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location within which to create the BackupChannel. Format: `projects/*/locations/*`
$msg->backup_channel()/$msg->backup_channel($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupChannel::BackupChannel)Required. The BackupChannel resource object to create.
$msg->backup_channel_id()/$msg->backup_channel_id($value)Type:
StringOptional. 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.
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupChannelsRequest
Request message for ListBackupChannels.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location that contains the BackupChannels to list. Format: `projects/*/locations/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListBackupChannelsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListBackupChannelsResponse.next_page_token] received from a previous `ListBackupChannels` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupChannels` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupChannelsResponse
Response message for ListBackupChannels.
Inherits from Protobuf::Message.
Accessors
$msg->backup_channels()/$msg->backup_channels($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupChannel::BackupChannel)The list of BackupChannels matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupChannelsRequest.page_token] in a subsequent `ListBackupChannels` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetBackupChannelRequest
Request message for GetBackupChannel.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified BackupChannel name. Format: `projects/*/locations/*/backupChannels/*`
Google::Cloud::Gkebackup::V1::Gkebackup::UpdateBackupChannelRequest
Request message for UpdateBackupChannel.
Inherits from Protobuf::Message.
Accessors
$msg->backup_channel()/$msg->backup_channel($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupChannel::BackupChannel)Required. A new version of the BackupChannel resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. This is used to specify the fields to be overwritten in the BackupChannel targeted for update. The values for each of these updated fields will be taken from the `backup_channel` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `labels`, etc.) If no `update_mask` is provided, all fields in `backup_channel` will be written to the target BackupChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup_channel` are ignored and are not used to update the target BackupChannel.
Google::Cloud::Gkebackup::V1::Gkebackup::DeleteBackupChannelRequest
Request message for DeleteBackupChannel.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified BackupChannel name. Format: `projects/*/locations/*/backupChannels/*`
$msg->etag()/$msg->etag($value)Type:
StringOptional. If provided, this value must match the current value of the target BackupChannel's [etag][google.cloud.gkebackup.v1.BackupChannel.etag] field or the request is rejected.
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any BackupPlanAssociations below this BackupChannel will also be deleted. Otherwise, the request will only succeed if the BackupChannel has no BackupPlanAssociations.
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupPlanBindingsRequest
Request message for ListBackupPlanBindings.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The BackupChannel that contains the BackupPlanBindings to list. Format: `projects/*/locations/*/backupChannels/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsResponse.next_page_token] received from a previous `ListBackupPlanBindings` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackupPlanBindings` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupPlanBindingsResponse
Response message for ListBackupPlanBindings.
Inherits from Protobuf::Message.
Accessors
$msg->backup_plan_bindings()/$msg->backup_plan_bindings($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding)The list of BackupPlanBindings matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest.page_token] in a subsequent `ListBackupPlanBindingss` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetBackupPlanBindingRequest
Request message for GetBackupPlanBinding.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified BackupPlanBinding name. Format: `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
Google::Cloud::Gkebackup::V1::Gkebackup::CreateBackupRequest
Request message for CreateBackup.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The BackupPlan within which to create the Backup. Format: `projects/*/locations/*/backupPlans/*`
$msg->backup()/$msg->backup($value)Type:
Message(Google::Cloud::Gkebackup::V1::Backup::Backup)Optional. The Backup resource to create.
$msg->backup_id()/$msg->backup_id($value)Type:
StringOptional. The client-provided short name for the Backup 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 Backups in this BackupPlan
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupsRequest
Request message for ListBackups.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The BackupPlan that contains the Backups to list. Format: `projects/*/locations/*/backupPlans/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListBackupsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListBackupsResponse.next_page_token] received from a previous `ListBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
$msg->return_partial_success()/$msg->return_partial_success($value)Type:
BoolOptional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field will be populated.
Google::Cloud::Gkebackup::V1::Gkebackup::ListBackupsResponse
Response message for ListBackups.
Inherits from Protobuf::Message.
Accessors
$msg->backups()/$msg->backups($value)Type:
Message(Google::Cloud::Gkebackup::V1::Backup::Backup)The list of Backups matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupsRequest.page_token] in a subsequent `ListBackups` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetBackupRequest
Request message for GetBackup.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Full name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`
Google::Cloud::Gkebackup::V1::Gkebackup::UpdateBackupRequest
Request message for UpdateBackup.
Inherits from Protobuf::Message.
Accessors
$msg->backup()/$msg->backup($value)Type:
Message(Google::Cloud::Gkebackup::V1::Backup::Backup)Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup.
Google::Cloud::Gkebackup::V1::Gkebackup::DeleteBackupRequest
Request message for DeleteBackup.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the Backup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*`
$msg->etag()/$msg->etag($value)Type:
StringOptional. If provided, this value must match the current value of the target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the request is rejected.
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.
Google::Cloud::Gkebackup::V1::Gkebackup::ListVolumeBackupsRequest
Request message for ListVolumeBackups.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The Backup that contains the VolumeBackups to list. Format: `projects/*/locations/*/backupPlans/*/backups/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListVolumeBackupsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListVolumeBackupsResponse.next_page_token] received from a previous `ListVolumeBackups` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListVolumeBackups` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListVolumeBackupsResponse
Response message for ListVolumeBackups.
Inherits from Protobuf::Message.
Accessors
$msg->volume_backups()/$msg->volume_backups($value)Type:
Message(Google::Cloud::Gkebackup::V1::Volume::VolumeBackup)The list of VolumeBackups matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] in a subsequent `ListVolumeBackups` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
Google::Cloud::Gkebackup::V1::Gkebackup::GetVolumeBackupRequest
Request message for GetVolumeBackup.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Full name of the VolumeBackup resource. Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`
Google::Cloud::Gkebackup::V1::Gkebackup::CreateRestorePlanRequest
Request message for CreateRestorePlan.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location within which to create the RestorePlan. Format: `projects/*/locations/*`
$msg->restore_plan()/$msg->restore_plan($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestorePlan::RestorePlan)Required. The RestorePlan resource object to create.
$msg->restore_plan_id()/$msg->restore_plan_id($value)Type:
StringRequired. The client-provided short name for the RestorePlan 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 RestorePlans in this location
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestorePlansRequest
Request message for ListRestorePlans.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location that contains the RestorePlans to list. Format: `projects/*/locations/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlansResponse.next_page_token] received from a previous `ListRestorePlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlans` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestorePlansResponse
Response message for ListRestorePlans.
Inherits from Protobuf::Message.
Accessors
$msg->restore_plans()/$msg->restore_plans($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestorePlan::RestorePlan)The list of RestorePlans matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListRestorePlansRequest.page_token] in a subsequent `ListRestorePlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetRestorePlanRequest
Request message for GetRestorePlan.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified RestorePlan name. Format: `projects/*/locations/*/restorePlans/*`
Google::Cloud::Gkebackup::V1::Gkebackup::UpdateRestorePlanRequest
Request message for UpdateRestorePlan.
Inherits from Protobuf::Message.
Accessors
$msg->restore_plan()/$msg->restore_plan($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestorePlan::RestorePlan)Required. A new version of the RestorePlan resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. This is used to specify the fields to be overwritten in the RestorePlan targeted for update. The values for each of these updated fields will be taken from the `restore_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore_plan` will be written to the target RestorePlan resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored and are not used to update the target RestorePlan.
Google::Cloud::Gkebackup::V1::Gkebackup::DeleteRestorePlanRequest
Request message for DeleteRestorePlan.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified RestorePlan name. Format: `projects/*/locations/*/restorePlans/*`
$msg->etag()/$msg->etag($value)Type:
StringOptional. If provided, this value must match the current value of the target RestorePlan's [etag][google.cloud.gkebackup.v1.RestorePlan.etag] field or the request is rejected.
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any Restores below this RestorePlan will also be deleted. Otherwise, the request will only succeed if the RestorePlan has no Restores.
Google::Cloud::Gkebackup::V1::Gkebackup::CreateRestoreChannelRequest
Request message for CreateRestoreChannel.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location within which to create the RestoreChannel. Format: `projects/*/locations/*`
$msg->restore_channel()/$msg->restore_channel($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestoreChannel::RestoreChannel)Required. The RestoreChannel resource object to create.
$msg->restore_channel_id()/$msg->restore_channel_id($value)Type:
StringOptional. 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.
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestoreChannelsRequest
Request message for ListRestoreChannels.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location that contains the RestoreChannels to list. Format: `projects/*/locations/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListRestoreChannelsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListRestoreChannelsResponse.next_page_token] received from a previous `ListRestoreChannels` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestoreChannels` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestoreChannelsResponse
Response message for ListRestoreChannels.
Inherits from Protobuf::Message.
Accessors
$msg->restore_channels()/$msg->restore_channels($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestoreChannel::RestoreChannel)The list of RestoreChannels matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListRestoreChannelsRequest.page_token] in a subsequent `ListRestoreChannels` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetRestoreChannelRequest
Request message for GetRestoreChannel.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified RestoreChannel name. Format: `projects/*/locations/*/restoreChannels/*`
Google::Cloud::Gkebackup::V1::Gkebackup::UpdateRestoreChannelRequest
Request message for UpdateRestoreChannel.
Inherits from Protobuf::Message.
Accessors
$msg->restore_channel()/$msg->restore_channel($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestoreChannel::RestoreChannel)Required. A new version of the RestoreChannel resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the `restore_channel` provided with this request. Field names are relative to the root of the resource (e.g., `description`, `destination_project_id`, etc.) If no `update_mask` is provided, all fields in `restore_channel` will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_channel` are ignored and are not used to update the target RestoreChannel.
Google::Cloud::Gkebackup::V1::Gkebackup::DeleteRestoreChannelRequest
Request message for DeleteRestoreChannel.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified RestoreChannel name. Format: `projects/*/locations/*/restoreChannels/*`
$msg->etag()/$msg->etag($value)Type:
StringOptional. If provided, this value must match the current value of the target RestoreChannel's [etag][google.cloud.gkebackup.v1.RestoreChannel.etag] field or the request is rejected.
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestorePlanBindingsRequest
Request message for ListRestorePlanBindings.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The RestoreChannel that contains the ListRestorePlanBindings to list. Format: `projects/*/locations/*/restoreChannels/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListRestorePlanBindingsResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListRestorePlanBindingsResponse.next_page_token] received from a previous `ListRestorePlanBindings` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestorePlanBindings` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestorePlanBindingsResponse
Response message for ListRestorePlanBindings.
Inherits from Protobuf::Message.
Accessors
$msg->restore_plan_bindings()/$msg->restore_plan_bindings($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestorePlanBinding::RestorePlanBinding)The list of RestorePlanBindings matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListRestorePlanBindingsRequest.page_token] in a subsequent `ListRestorePlanBindings` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Locations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetRestorePlanBindingRequest
Request message for GetRestorePlanBinding.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Fully qualified RestorePlanBinding name. Format: `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*`
Google::Cloud::Gkebackup::V1::Gkebackup::CreateRestoreRequest
Request message for CreateRestore.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The RestorePlan within which to create the Restore. Format: `projects/*/locations/*/restorePlans/*`
$msg->restore()/$msg->restore($value)Type:
Message(Google::Cloud::Gkebackup::V1::Restore::Restore)Required. The restore resource to create.
$msg->restore_id()/$msg->restore_id($value)Type:
StringRequired. The client-provided short name for the Restore 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 Restores in this RestorePlan.
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestoresRequest
Request message for ListRestores.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The RestorePlan that contains the Restores to list. Format: `projects/*/locations/*/restorePlans/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListRestoresResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListRestoresResponse.next_page_token] received from a previous `ListRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestores` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListRestoresResponse
Response message for ListRestores.
Inherits from Protobuf::Message.
Accessors
$msg->restores()/$msg->restores($value)Type:
Message(Google::Cloud::Gkebackup::V1::Restore::Restore)The list of Restores matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListRestoresRequest.page_token] in a subsequent `ListRestores` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Gkebackup::V1::Gkebackup::GetRestoreRequest
Request message for GetRestore.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the restore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*`
Google::Cloud::Gkebackup::V1::Gkebackup::UpdateRestoreRequest
Request message for UpdateRestore.
Inherits from Protobuf::Message.
Accessors
$msg->restore()/$msg->restore($value)Type:
Message(Google::Cloud::Gkebackup::V1::Restore::Restore)Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the `restore` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `restore` will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `restore` are ignored and are not used to update the target Restore.
Google::Cloud::Gkebackup::V1::Gkebackup::DeleteRestoreRequest
Request message for DeleteRestore.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Full name of the Restore Format: `projects/*/locations/*/restorePlans/*/restores/*`
$msg->etag()/$msg->etag($value)Type:
StringOptional. If provided, this value must match the current value of the target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or the request is rejected.
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any VolumeRestores below this restore will also be deleted. Otherwise, the request will only succeed if the restore has no VolumeRestores.
Google::Cloud::Gkebackup::V1::Gkebackup::ListVolumeRestoresRequest
Request message for ListVolumeRestores.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The Restore that contains the VolumeRestores to list. Format: `projects/*/locations/*/restorePlans/*/restores/*`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token] to determine if there are more instances left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The value of [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token] received from a previous `ListVolumeRestores` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListVolumeRestores` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Field match expression used to filter the results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field by which to sort the results.
Google::Cloud::Gkebackup::V1::Gkebackup::ListVolumeRestoresResponse
Response message for ListVolumeRestores.
Inherits from Protobuf::Message.
Accessors
$msg->volume_restores()/$msg->volume_restores($value)Type:
Message(Google::Cloud::Gkebackup::V1::Volume::VolumeRestore)The list of VolumeRestores matching the given criteria.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token which may be sent as [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token] in a subsequent `ListVolumeRestores` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
Google::Cloud::Gkebackup::V1::Gkebackup::GetVolumeRestoreRequest
Request message for GetVolumeRestore.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Full name of the VolumeRestore resource. Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*`
Google::Cloud::Gkebackup::V1::Gkebackup::GetBackupIndexDownloadUrlRequest
Request message for GetBackupIndexDownloadUrl.
Inherits from Protobuf::Message.
Accessors
$msg->backup()/$msg->backup($value)Type:
StringRequired. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}
Google::Cloud::Gkebackup::V1::Gkebackup::GetBackupIndexDownloadUrlResponse
Response message for GetBackupIndexDownloadUrl.
Inherits from Protobuf::Message.
Accessors
$msg->signed_url()/$msg->signed_url($value)Type:
StringRequired. The signed URL for downloading the backup index.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Gkebackup::V1::Gkebackup::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.