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.



7101
7102
7103
# File 'lib/google/apis/connectors_v1/classes.rb', line 7101

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


7099
7100
7101
# File 'lib/google/apis/connectors_v1/classes.rb', line 7099

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7106
7107
7108
# File 'lib/google/apis/connectors_v1/classes.rb', line 7106

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