Class: Google::Apis::RedisV1beta1::BackupCollection
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::BackupCollection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/representations.rb
Overview
BackupCollection of a cluster.
Instance Attribute Summary collapse
-
#cluster ⇒ String
Output only.
-
#cluster_uid ⇒ String
Output only.
-
#kms_key ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#uid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupCollection
constructor
A new instance of BackupCollection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupCollection
Returns a new instance of BackupCollection.
295 296 297 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ String
Output only. The full resource path of the cluster the backup collection
belongs to. Example: projects/project/locations/location/clusters/cluster
Corresponds to the JSON property cluster
272 273 274 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 272 def cluster @cluster end |
#cluster_uid ⇒ String
Output only. The cluster uid of the backup collection.
Corresponds to the JSON property clusterUid
277 278 279 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 277 def cluster_uid @cluster_uid end |
#kms_key ⇒ String
Output only. The KMS key used to encrypt the backups under this backup
collection.
Corresponds to the JSON property kmsKey
283 284 285 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 283 def kms_key @kms_key end |
#name ⇒ String
Identifier. Full resource path of the backup collection.
Corresponds to the JSON property name
288 289 290 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 288 def name @name end |
#uid ⇒ String
Output only. System assigned unique identifier of the backup collection.
Corresponds to the JSON property uid
293 294 295 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 293 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
300 301 302 303 304 305 306 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 300 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid) @kms_key = args[:kms_key] if args.key?(:kms_key) @name = args[:name] if args.key?(:name) @uid = args[:uid] if args.key?(:uid) end |