Class: Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::CloudSqlInstanceDataSourceReferenceProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference.
Instance Attribute Summary collapse
-
#database_installed_version ⇒ String
Output only.
-
#instance_create_time ⇒ String
Output only.
-
#instance_tier ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSqlInstanceDataSourceReferenceProperties
constructor
A new instance of CloudSqlInstanceDataSourceReferenceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSqlInstanceDataSourceReferenceProperties
Returns a new instance of CloudSqlInstanceDataSourceReferenceProperties.
1999 2000 2001 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_installed_version ⇒ String
Output only. The installed database version of the Cloud SQL instance.
Corresponds to the JSON property databaseInstalledVersion
1980 1981 1982 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1980 def database_installed_version @database_installed_version end |
#instance_create_time ⇒ String
Output only. The instance creation timestamp.
Corresponds to the JSON property instanceCreateTime
1985 1986 1987 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1985 def instance_create_time @instance_create_time end |
#instance_tier ⇒ String
Output only. The tier (or machine type) for this instance. Example: db-custom-
1-3840
Corresponds to the JSON property instanceTier
1991 1992 1993 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1991 def instance_tier @instance_tier end |
#name ⇒ String
Output only. Name of the Cloud SQL instance backed up by the datasource.
Format: projects/project/instances/instance
Corresponds to the JSON property name
1997 1998 1999 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1997 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2004 2005 2006 2007 2008 2009 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2004 def update!(**args) @database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version) @instance_create_time = args[:instance_create_time] if args.key?(:instance_create_time) @instance_tier = args[:instance_tier] if args.key?(:instance_tier) @name = args[:name] if args.key?(:name) end |