Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb

Overview

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainDatabaseResourceId

Returns a new instance of StorageDatabasecenterPartnerapiV1mainDatabaseResourceId.



4464
4465
4466
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4464

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#providerString

Required. Disable validation warnings Corresponds to the JSON property provider

Returns:

  • (String)


4447
4448
4449
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4447

def provider
  @provider
end

#provider_descriptionString

Optional. Disable validation warnings Corresponds to the JSON property providerDescription

Returns:

  • (String)


4452
4453
4454
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4452

def provider_description
  @provider_description
end

#resource_typeString

Required. Disable validation warnings Corresponds to the JSON property resourceType

Returns:

  • (String)


4457
4458
4459
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4457

def resource_type
  @resource_type
end

#unique_idString

Required. Disable validation warnings Corresponds to the JSON property uniqueId

Returns:

  • (String)


4462
4463
4464
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4462

def unique_id
  @unique_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4469
4470
4471
4472
4473
4474
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4469

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