Class: Google::Apis::AlloydbV1alpha::RestoreFromCloudSqlRequest
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::RestoreFromCloudSqlRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb
Overview
Message for registering Restoring from CloudSQL resource.
Instance Attribute Summary collapse
-
#cloudsql_backup_run_source ⇒ Google::Apis::AlloydbV1alpha::CloudSqlBackupRunSource
The source CloudSQL backup resource.
-
#cluster ⇒ Google::Apis::AlloydbV1alpha::Cluster
A cluster is a collection of regional AlloyDB resources.
-
#cluster_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestoreFromCloudSqlRequest
constructor
A new instance of RestoreFromCloudSqlRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestoreFromCloudSqlRequest
Returns a new instance of RestoreFromCloudSqlRequest.
3597 3598 3599 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloudsql_backup_run_source ⇒ Google::Apis::AlloydbV1alpha::CloudSqlBackupRunSource
The source CloudSQL backup resource.
Corresponds to the JSON property cloudsqlBackupRunSource
3583 3584 3585 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3583 def cloudsql_backup_run_source @cloudsql_backup_run_source end |
#cluster ⇒ Google::Apis::AlloydbV1alpha::Cluster
A cluster is a collection of regional AlloyDB resources. It can include a
primary instance and one or more read pool instances. All cluster resources
share a storage layer, which scales as needed.
Corresponds to the JSON property cluster
3590 3591 3592 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3590 def cluster @cluster end |
#cluster_id ⇒ String
Required. ID of the requesting object.
Corresponds to the JSON property clusterId
3595 3596 3597 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3595 def cluster_id @cluster_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3602 3603 3604 3605 3606 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3602 def update!(**args) @cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source) @cluster = args[:cluster] if args.key?(:cluster) @cluster_id = args[:cluster_id] if args.key?(:cluster_id) end |