Class: Google::Apis::AlloydbV1alpha::CloudSqlBackupRunSource
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::CloudSqlBackupRunSource
- 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
The source CloudSQL backup resource.
Instance Attribute Summary collapse
-
#backup_run_id ⇒ Fixnum
Required.
-
#instance_id ⇒ String
Required.
-
#project ⇒ String
The project ID of the source CloudSQL instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSqlBackupRunSource
constructor
A new instance of CloudSqlBackupRunSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSqlBackupRunSource
Returns a new instance of CloudSqlBackupRunSource.
614 615 616 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 614 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_run_id ⇒ Fixnum
Required. The CloudSQL backup run ID.
Corresponds to the JSON property backupRunId
601 602 603 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 601 def backup_run_id @backup_run_id end |
#instance_id ⇒ String
Required. The CloudSQL instance ID.
Corresponds to the JSON property instanceId
606 607 608 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 606 def instance_id @instance_id end |
#project ⇒ String
The project ID of the source CloudSQL instance. This should be the same as the
AlloyDB cluster's project.
Corresponds to the JSON property project
612 613 614 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 612 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
619 620 621 622 623 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 619 def update!(**args) @backup_run_id = args[:backup_run_id] if args.key?(:backup_run_id) @instance_id = args[:instance_id] if args.key?(:instance_id) @project = args[:project] if args.key?(:project) end |