Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TaxonomyService

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

Overview

The source system of the Taxonomy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1TaxonomyService

Returns a new instance of GoogleCloudDatacatalogV1TaxonomyService.



3237
3238
3239
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3237

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

Instance Attribute Details

#identityString

The service agent for the service. Corresponds to the JSON property identity

Returns:

  • (String)


3230
3231
3232
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3230

def identity
  @identity
end

#nameString

The Google Cloud service name. Corresponds to the JSON property name

Returns:

  • (String)


3235
3236
3237
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3235

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3242
3243
3244
3245
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3242

def update!(**args)
  @identity = args[:identity] if args.key?(:identity)
  @name = args[:name] if args.key?(:name)
end