Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig

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

Overview

The AuthConfig resource use to hold channels and connection config data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAuthConfig

Returns a new instance of GoogleCloudIntegrationsV1alphaAuthConfig.



5514
5515
5516
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5514

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

Instance Attribute Details

#certificate_idString

Certificate id for client certificate Corresponds to the JSON property certificateId

Returns:

  • (String)


5423
5424
5425
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5423

def certificate_id
  @certificate_id
end

#create_timeString

Output only. The timestamp when the auth config is created. Corresponds to the JSON property createTime

Returns:

  • (String)


5428
5429
5430
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5428

def create_time
  @create_time
end

#creator_emailString

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)


5434
5435
5436
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5434

def creator_email
  @creator_email
end

#credential_typeString

Credential type of the encrypted credential. Corresponds to the JSON property credentialType

Returns:

  • (String)


5439
5440
5441
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5439

def credential_type
  @credential_type
end

#decrypted_credentialGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCredential

Defines parameters for a single, canonical credential. Corresponds to the JSON property decryptedCredential



5444
5445
5446
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5444

def decrypted_credential
  @decrypted_credential
end

#descriptionString

A description of the auth config. Corresponds to the JSON property description

Returns:

  • (String)


5449
5450
5451
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5449

def description
  @description
end

#display_nameString

The name of the auth config. Corresponds to the JSON property displayName

Returns:

  • (String)


5454
5455
5456
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5454

def display_name
  @display_name
end

#encrypted_credentialString

Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key. Corresponds to the JSON property encryptedCredential NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


5461
5462
5463
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5461

def encrypted_credential
  @encrypted_credential
end

#expiry_notification_durationArray<String>

User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours. Corresponds to the JSON property expiryNotificationDuration

Returns:

  • (Array<String>)


5467
5468
5469
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5467

def expiry_notification_duration
  @expiry_notification_duration
end

#last_modifier_emailString

The last modifier's email address. Generated based on the End User Credentials/ LOAS role of the user making the call. Corresponds to the JSON property lastModifierEmail

Returns:

  • (String)


5473
5474
5475
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5473

def last_modifier_email
  @last_modifier_email
end

#nameString

Resource name of the SFDC instance projects/project/locations/location/ authConfigs/authConfig. Corresponds to the JSON property name

Returns:

  • (String)


5479
5480
5481
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5479

def name
  @name
end

#override_valid_timeString

User provided expiry time to override. For the example of Salesforce, username/ password credentials can be valid for 6 months depending on the instance settings. Corresponds to the JSON property overrideValidTime

Returns:

  • (String)


5486
5487
5488
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5486

def override_valid_time
  @override_valid_time
end

#reasonString

The reason / details of the current status. Corresponds to the JSON property reason

Returns:

  • (String)


5491
5492
5493
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5491

def reason
  @reason
end

#stateString

The status of the auth config. Corresponds to the JSON property state

Returns:

  • (String)


5496
5497
5498
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5496

def state
  @state
end

#update_timeString

Output only. The timestamp when the auth config is modified. Corresponds to the JSON property updateTime

Returns:

  • (String)


5501
5502
5503
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5501

def update_time
  @update_time
end

#valid_timeString

The time until the auth config is valid. Empty or max value is considered the auth config won't expire. Corresponds to the JSON property validTime

Returns:

  • (String)


5507
5508
5509
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5507

def valid_time
  @valid_time
end

#visibilityString

The visibility of the auth config. Corresponds to the JSON property visibility

Returns:

  • (String)


5512
5513
5514
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5512

def visibility
  @visibility
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5519

def update!(**args)
  @certificate_id = args[:certificate_id] if args.key?(:certificate_id)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator_email = args[:creator_email] if args.key?(:creator_email)
  @credential_type = args[:credential_type] if args.key?(:credential_type)
  @decrypted_credential = args[:decrypted_credential] if args.key?(:decrypted_credential)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @encrypted_credential = args[:encrypted_credential] if args.key?(:encrypted_credential)
  @expiry_notification_duration = args[:expiry_notification_duration] if args.key?(:expiry_notification_duration)
  @last_modifier_email = args[:last_modifier_email] if args.key?(:last_modifier_email)
  @name = args[:name] if args.key?(:name)
  @override_valid_time = args[:override_valid_time] if args.key?(:override_valid_time)
  @reason = args[:reason] if args.key?(:reason)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
  @valid_time = args[:valid_time] if args.key?(:valid_time)
  @visibility = args[:visibility] if args.key?(:visibility)
end