Class: Google::Apis::ConnectorsV1::StandardEntity

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

Overview

Standard entity

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StandardEntity

Returns a new instance of StandardEntity.



7009
7010
7011
# File 'lib/google/apis/connectors_v1/classes.rb', line 7009

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

Instance Attribute Details

#nameString

Name of the standard entity. Corresponds to the JSON property name

Returns:

  • (String)


7007
7008
7009
# File 'lib/google/apis/connectors_v1/classes.rb', line 7007

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7014
7015
7016
# File 'lib/google/apis/connectors_v1/classes.rb', line 7014

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