Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
- 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
Disable validation warnings
Instance Attribute Summary collapse
-
#provider ⇒ String
Required.
-
#provider_description ⇒ String
Optional.
-
#resource_type ⇒ String
Required.
-
#unique_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainDatabaseResourceId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
Returns a new instance of StorageDatabasecenterPartnerapiV1mainDatabaseResourceId.
4475 4476 4477 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#provider ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property provider
4458 4459 4460 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4458 def provider @provider end |
#provider_description ⇒ String
Optional. Disable validation warnings
Corresponds to the JSON property providerDescription
4463 4464 4465 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4463 def provider_description @provider_description end |
#resource_type ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property resourceType
4468 4469 4470 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4468 def resource_type @resource_type end |
#unique_id ⇒ String
Required. Disable validation warnings
Corresponds to the JSON property uniqueId
4473 4474 4475 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4473 def unique_id @unique_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4480 4481 4482 4483 4484 4485 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4480 def update!(**args) @provider = args[:provider] if args.key?(:provider) @provider_description = args[:provider_description] if args.key?(:provider_description) @resource_type = args[:resource_type] if args.key?(:resource_type) @unique_id = args[:unique_id] if args.key?(:unique_id) end |