Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TaxonomyService

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

Overview

The source system of the Taxonomy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1TaxonomyService

Returns a new instance of GoogleCloudDatacatalogV1beta1TaxonomyService.



1662
1663
1664
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1662

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

Instance Attribute Details

#identityString

P4SA Identity of the service. Corresponds to the JSON property identity

Returns:

  • (String)


1655
1656
1657
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1655

def identity
  @identity
end

#nameString

The GCP service name. Corresponds to the JSON property name

Returns:

  • (String)


1660
1661
1662
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1660

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1667
1668
1669
1670
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 1667

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