Class: Google::Cloud::GkeBackup::V1::Restore

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkebackup/v1/restore.rb

Overview

Represents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself.

Defined Under Namespace

Modules: State Classes: Filter, LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#backup::String

Returns Required. Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.

Returns:

  • (::String)

    Required. Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#cluster::String (readonly)

Returns Output only. The target cluster into which this Restore will restore data. Valid formats:

  • projects/*/locations/*/clusters/*
  • projects/*/zones/*/clusters/*

Inherited from parent RestorePlan's cluster value.

Returns:

  • (::String)

    Output only. The target cluster into which this Restore will restore data. Valid formats:

    • projects/*/locations/*/clusters/*
    • projects/*/zones/*/clusters/*

    Inherited from parent RestorePlan's cluster value.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#complete_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Timestamp of when the restore operation completed.

Returns:



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when this Restore resource was created.

Returns:



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#description::String

Returns User specified descriptive string for this Restore.

Returns:

  • (::String)

    User specified descriptive string for this Restore.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  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 restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.

Returns:

  • (::String)

    Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#filter::Google::Cloud::GkeBackup::V1::Restore::Filter

Returns Optional. Immutable. Filters resources for Restore. If not specified, the scope of the restore will remain the same as defined in the RestorePlan. If this is specified, and no resources are matched by the inclusion_filters or everyting is excluded by the exclusion_filters, nothing will be restored. This filter can only be specified if the value of namespaced_resource_restore_mode is set to MERGE_SKIP_ON_CONFLICT, MERGE_REPLACE_VOLUME_ON_CONFLICT or MERGE_REPLACE_ON_CONFLICT.

Returns:

  • (::Google::Cloud::GkeBackup::V1::Restore::Filter)

    Optional. Immutable. Filters resources for Restore. If not specified, the scope of the restore will remain the same as defined in the RestorePlan. If this is specified, and no resources are matched by the inclusion_filters or everyting is excluded by the exclusion_filters, nothing will be restored. This filter can only be specified if the value of namespaced_resource_restore_mode is set to MERGE_SKIP_ON_CONFLICT, MERGE_REPLACE_VOLUME_ON_CONFLICT or MERGE_REPLACE_ON_CONFLICT.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns A set of custom labels supplied by user.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    A set of custom labels supplied by user.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#name::String (readonly)

Returns Output only. The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*.

Returns:

  • (::String)

    Output only. The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#resources_excluded_count::Integer (readonly)

Returns Output only. Number of resources excluded during the restore execution.

Returns:

  • (::Integer)

    Output only. Number of resources excluded during the restore execution.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#resources_failed_count::Integer (readonly)

Returns Output only. Number of resources that failed to be restored during the restore execution.

Returns:

  • (::Integer)

    Output only. Number of resources that failed to be restored during the restore execution.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#resources_restored_count::Integer (readonly)

Returns Output only. Number of resources restored during the restore execution.

Returns:

  • (::Integer)

    Output only. Number of resources restored during the restore execution.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#restore_config::Google::Cloud::GkeBackup::V1::RestoreConfig (readonly)

Returns Output only. Configuration of the Restore. Inherited from parent RestorePlan's restore_config.

Returns:



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#state::Google::Cloud::GkeBackup::V1::Restore::State (readonly)

Returns Output only. The current state of the Restore.

Returns:



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#state_reason::String (readonly)

Returns Output only. Human-readable description of why the Restore is in its current state.

Returns:

  • (::String)

    Output only. Human-readable description of why the Restore is in its current state.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#uid::String (readonly)

Returns Output only. Server generated global unique identifier of UUID format.

Returns:

  • (::String)

    Output only. Server generated global unique identifier of UUID format.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when this Restore resource was last updated.

Returns:



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#volume_data_restore_policy_overrides::Array<::Google::Cloud::GkeBackup::V1::VolumeDataRestorePolicyOverride>

Returns Optional. Immutable. Overrides the volume data restore policies selected in the Restore Config for override-scoped resources.

Returns:



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end

#volumes_restored_count::Integer (readonly)

Returns Output only. Number of volumes restored during the restore execution.

Returns:

  • (::Integer)

    Output only. Number of volumes restored during the restore execution.



117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/gkebackup/v1/restore.rb', line 117

class Restore
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the filter for `Restore`. This filter can be used to further
  # refine the resource selection of the `Restore` beyond the coarse-grained
  # scope defined in the `RestorePlan`. `exclusion_filters` take precedence
  # over `inclusion_filters`. If a resource matches both `inclusion_filters`
  # and `exclusion_filters`, it will not be restored.
  # @!attribute [rw] inclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Selects resources for restoration. If specified, only resources
  #     which match `inclusion_filters` will be selected for restoration. A
  #     resource will be selected if it matches any `ResourceSelector` of the
  #     `inclusion_filters`.
  # @!attribute [rw] exclusion_filters
  #   @return [::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>]
  #     Optional. Excludes resources from restoration. If specified,
  #     a resource will not be restored if it matches
  #     any `ResourceSelector` of the `exclusion_filters`.
  class Filter
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible values for state of the Restore.
  module State
    # The Restore resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Restore resource has been created and the associated RestoreJob
    # Kubernetes resource has been injected into target cluster.
    CREATING = 1

    # The gkebackup agent in the cluster has begun executing the restore
    # operation.
    IN_PROGRESS = 2

    # The restore operation has completed successfully. Restored workloads may
    # not yet be operational.
    SUCCEEDED = 3

    # The restore operation has failed.
    FAILED = 4

    # This Restore resource is in the process of being deleted.
    DELETING = 5
  end
end