Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegration

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

Overview

The integration definition.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegration

Returns a new instance of GoogleCloudIntegrationsV1alphaIntegration.



8360
8361
8362
# File 'lib/google/apis/integrations_v1/classes.rb', line 8360

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

Instance Attribute Details

#activeBoolean Also known as: active?

Required. If any integration version is published. Corresponds to the JSON property active

Returns:

  • (Boolean)


8326
8327
8328
# File 'lib/google/apis/integrations_v1/classes.rb', line 8326

def active
  @active
end

#create_timeString

Required. Output only. Auto-generated. Corresponds to the JSON property createTime

Returns:

  • (String)


8332
8333
8334
# File 'lib/google/apis/integrations_v1/classes.rb', line 8332

def create_time
  @create_time
end

#creator_emailString

Output only. The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call. Corresponds to the JSON property creatorEmail

Returns:

  • (String)


8338
8339
8340
# File 'lib/google/apis/integrations_v1/classes.rb', line 8338

def creator_email
  @creator_email
end

#descriptionString

Optional. Corresponds to the JSON property description

Returns:

  • (String)


8343
8344
8345
# File 'lib/google/apis/integrations_v1/classes.rb', line 8343

def description
  @description
end

#last_modifier_emailString

Required. The last modifier of this integration Corresponds to the JSON property lastModifierEmail

Returns:

  • (String)


8348
8349
8350
# File 'lib/google/apis/integrations_v1/classes.rb', line 8348

def last_modifier_email
  @last_modifier_email
end

#nameString

Required. The resource name of the integration. Corresponds to the JSON property name

Returns:

  • (String)


8353
8354
8355
# File 'lib/google/apis/integrations_v1/classes.rb', line 8353

def name
  @name
end

#update_timeString

Output only. Auto-generated. Corresponds to the JSON property updateTime

Returns:

  • (String)


8358
8359
8360
# File 'lib/google/apis/integrations_v1/classes.rb', line 8358

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8365
8366
8367
8368
8369
8370
8371
8372
8373
# File 'lib/google/apis/integrations_v1/classes.rb', line 8365

def update!(**args)
  @active = args[:active] if args.key?(:active)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator_email = args[:creator_email] if args.key?(:creator_email)
  @description = args[:description] if args.key?(:description)
  @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end