Class: Google::Cloud::GkeBackup::V1::Backup

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

Overview

Represents a request to perform a single point-in-time capture of some portion of the state of a GKE cluster, the record of the backup operation itself, and an anchor for the underlying artifacts that comprise the Backup (the config backup and VolumeBackups).

Defined Under Namespace

Modules: State Classes: ClusterMetadata, LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#all_namespaces::Boolean (readonly)

Returns Output only. If True, all namespaces were included in the Backup.

Returns:

  • (::Boolean)

    Output only. If True, all namespaces were included in the Backup.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#cluster_metadata::Google::Cloud::GkeBackup::V1::Backup::ClusterMetadata (readonly)

Returns Output only. Information about the GKE cluster from which this Backup was created.

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

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

Returns Output only. Completion time of the Backup.

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#config_backup_size_bytes::Integer (readonly)

Returns Output only. The size of the config backup in bytes.

Returns:

  • (::Integer)

    Output only. The size of the config backup in bytes.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#contains_secrets::Boolean (readonly)

Returns Output only. Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.

Returns:

  • (::Boolean)

    Output only. Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#contains_volume_data::Boolean (readonly)

Returns Output only. Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.

Returns:

  • (::Boolean)

    Output only. Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

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

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

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#delete_lock_days::Integer

Returns Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive).

Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).

Returns:

  • (::Integer)

    Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive).

    Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

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

Returns Output only. The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#description::String

Returns Optional. User specified descriptive string for this Backup.

Returns:

  • (::String)

    Optional. User specified descriptive string for this Backup.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#encryption_key::Google::Cloud::GkeBackup::V1::EncryptionKey (readonly)

Returns Output only. The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) 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 backup from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An etag is returned in the response to GetBackup, and systems are expected to put that etag in the request to UpdateBackup or DeleteBackup 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 backup from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An etag is returned in the response to GetBackup, and systems are expected to put that etag in the request to UpdateBackup or DeleteBackup to ensure that their change will be applied to the same version of the resource.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

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

Returns Optional. A set of custom labels supplied by user.

Returns:

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

    Optional. A set of custom labels supplied by user.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#manual::Boolean (readonly)

Returns Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.

Returns:

  • (::Boolean)

    Output only. This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#name::String (readonly)

Returns Output only. The fully qualified name of the Backup. projects/*/locations/*/backupPlans/*/backups/*.

Returns:

  • (::String)

    Output only. The fully qualified name of the Backup. projects/*/locations/*/backupPlans/*/backups/*



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#permissive_mode::Boolean (readonly)

Returns Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore.

Inherited from the parent BackupPlan's permissive_mode value.

Returns:

  • (::Boolean)

    Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore.

    Inherited from the parent BackupPlan's permissive_mode value.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#pod_count::Integer (readonly)

Returns Output only. The total number of Kubernetes Pods contained in the Backup.

Returns:

  • (::Integer)

    Output only. The total number of Kubernetes Pods contained in the Backup.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#resource_count::Integer (readonly)

Returns Output only. The total number of Kubernetes resources included in the Backup.

Returns:

  • (::Integer)

    Output only. The total number of Kubernetes resources included in the Backup.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#retain_days::Integer

Returns Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0:

  • If 0, no automatic deletion will occur for this Backup.
  • If not 0, this must be >= delete_lock_days and <= 365.

Once a Backup is created, this value may only be increased.

Defaults to the parent BackupPlan's backup_retain_days value.

Returns:

  • (::Integer)

    Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0:

    • If 0, no automatic deletion will occur for this Backup.
    • If not 0, this must be >= delete_lock_days and <= 365.

    Once a Backup is created, this value may only be increased.

    Defaults to the parent BackupPlan's backup_retain_days value.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

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

Returns Output only. The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#selected_applications::Google::Cloud::GkeBackup::V1::NamespacedNames (readonly)

Returns Output only. If set, the list of ProtectedApplications whose resources were included in the Backup.

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#selected_namespaces::Google::Cloud::GkeBackup::V1::Namespaces (readonly)

Returns Output only. If set, the list of namespaces that were included in the Backup.

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#size_bytes::Integer (readonly)

Returns Output only. The total size of the Backup in bytes = config backup size + sum(volume backup sizes).

Returns:

  • (::Integer)

    Output only. The total size of the Backup in bytes = config backup size + sum(volume backup sizes)



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

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

Returns Output only. Current state of the Backup.

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#state_reason::String (readonly)

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

Returns:

  • (::String)

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



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#uid::String (readonly)

Returns Output only. Server generated global unique identifier of UUID4.

Returns:

  • (::String)

    Output only. Server generated global unique identifier of UUID4



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

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

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

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end

#volume_count::Integer (readonly)

Returns Output only. The total number of volume backups contained in the Backup.

Returns:

  • (::Integer)

    Output only. The total number of volume backups contained in the Backup.



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'proto_docs/google/cloud/gkebackup/v1/backup.rb', line 169

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

  # Information about the GKE cluster from which this Backup was created.
  # @!attribute [r] cluster
  #   @return [::String]
  #     Output only. The source cluster from which this Backup was created.
  #     Valid formats:
  #
  #       - `projects/*/locations/*/clusters/*`
  #       - `projects/*/zones/*/clusters/*`
  #
  #     This is inherited from the parent BackupPlan's
  #     {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
  # @!attribute [r] k8s_version
  #   @return [::String]
  #     Output only. The Kubernetes server version of the source cluster.
  # @!attribute [r] backup_crd_versions
  #   @return [::Google::Protobuf::Map{::String => ::String}]
  #     Output only. A list of the Backup for GKE CRD versions found in the
  #     cluster.
  # @!attribute [r] gke_version
  #   @return [::String]
  #     Output only. GKE version
  # @!attribute [r] anthos_version
  #   @return [::String]
  #     Output only. Anthos version
  class ClusterMetadata
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

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

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

  # State
  module State
    # The Backup resource is in the process of being created.
    STATE_UNSPECIFIED = 0

    # The Backup resource has been created and the associated BackupJob
    # Kubernetes resource has been injected into the source cluster.
    CREATING = 1

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

    # The backup operation has completed successfully.
    SUCCEEDED = 3

    # The backup operation has failed.
    FAILED = 4

    # This Backup resource (and its associated artifacts) is in the process
    # of being deleted.
    DELETING = 5
  end
end