Class: Google::Cloud::GkeBackup::V1::RestoreChannel
- Inherits:
-
Object
- Object
- Google::Cloud::GkeBackup::V1::RestoreChannel
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkebackup/v1/restore_channel.rb
Overview
A RestoreChannel imposes constraints on where backups can be restored.
The RestoreChannel should be in the same project and region
as the backups. The backups can only be restored in the
destination_project
.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#destination_project ⇒ ::String
Required.
-
#destination_project_id ⇒ ::String
readonly
Output only.
-
#etag ⇒ ::String
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
Identifier.
-
#uid ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp when this RestoreChannel was created.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#description ⇒ ::String
Returns Optional. User specified descriptive string for this RestoreChannel.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#destination_project ⇒ ::String
Returns Required. Immutable. The project into which the backups will be restored.
The format is projects/{project}
.
Currently, {project} can only be the project number. Support for project
IDs will be added in the future.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#destination_project_id ⇒ ::String (readonly)
Returns Output only. The project_id where backups will be restored. Example Project ID: "my-project-id". This will be an OUTPUT_ONLY field to return the project_id of the destination project.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#etag ⇒ ::String (readonly)
Returns Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a RestoreChannel from overwriting each
other. It is strongly suggested that systems make use of the 'etag' in the
read-modify-write cycle to perform RestoreChannel updates in order to
avoid race conditions: An etag
is returned in the response to
GetRestoreChannel
, and systems are expected to put that etag in the
request to UpdateRestoreChannel
or DeleteRestoreChannel
to
ensure that their change will be applied to the same version of the
resource.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. A set of custom labels supplied by user.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Identifier. The fully qualified name of the RestoreChannel.
projects/*/locations/*/restoreChannels/*
.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#uid ⇒ ::String (readonly)
Returns Output only. Server generated global unique identifier of UUID format.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp when this RestoreChannel was last updated.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'proto_docs/google/cloud/gkebackup/v1/restore_channel.rb', line 71 class RestoreChannel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |