Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAuthConfig
- 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
-
#certificate_id ⇒ String
Certificate id for client certificate Corresponds to the JSON property
certificateId. -
#create_time ⇒ String
Output only.
-
#creator_email ⇒ String
The creator's email address.
-
#credential_type ⇒ String
Credential type of the encrypted credential.
-
#decrypted_credential ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCredential
Defines parameters for a single, canonical credential.
-
#description ⇒ String
A description of the auth config.
-
#display_name ⇒ String
The name of the auth config.
-
#encrypted_credential ⇒ String
Auth credential encrypted by Cloud KMS.
-
#expiry_notification_duration ⇒ Array<String>
User can define the time to receive notification after which the auth config becomes invalid.
-
#last_modifier_email ⇒ String
The last modifier's email address.
-
#name ⇒ String
Resource name of the SFDC instance projects/
project/locations/location/ authConfigs/authConfig. -
#override_valid_time ⇒ String
User provided expiry time to override.
-
#reason ⇒ String
The reason / details of the current status.
-
#state ⇒ String
The status of the auth config.
-
#update_time ⇒ String
Output only.
-
#valid_time ⇒ String
The time until the auth config is valid.
-
#visibility ⇒ String
The visibility of the auth config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAuthConfig
constructor
A new instance of GoogleCloudIntegrationsV1alphaAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaAuthConfig
Returns a new instance of GoogleCloudIntegrationsV1alphaAuthConfig.
5795 5796 5797 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_id ⇒ String
Certificate id for client certificate
Corresponds to the JSON property certificateId
5704 5705 5706 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5704 def certificate_id @certificate_id end |
#create_time ⇒ String
Output only. The timestamp when the auth config is created.
Corresponds to the JSON property createTime
5709 5710 5711 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5709 def create_time @create_time end |
#creator_email ⇒ String
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
5715 5716 5717 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5715 def creator_email @creator_email end |
#credential_type ⇒ String
Credential type of the encrypted credential.
Corresponds to the JSON property credentialType
5720 5721 5722 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5720 def credential_type @credential_type end |
#decrypted_credential ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCredential
Defines parameters for a single, canonical credential.
Corresponds to the JSON property decryptedCredential
5725 5726 5727 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5725 def decrypted_credential @decrypted_credential end |
#description ⇒ String
A description of the auth config.
Corresponds to the JSON property description
5730 5731 5732 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5730 def description @description end |
#display_name ⇒ String
The name of the auth config.
Corresponds to the JSON property displayName
5735 5736 5737 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5735 def display_name @display_name end |
#encrypted_credential ⇒ String
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.
5742 5743 5744 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5742 def encrypted_credential @encrypted_credential end |
#expiry_notification_duration ⇒ Array<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
5748 5749 5750 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5748 def expiry_notification_duration @expiry_notification_duration end |
#last_modifier_email ⇒ String
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
5754 5755 5756 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5754 def last_modifier_email @last_modifier_email end |
#name ⇒ String
Resource name of the SFDC instance projects/project/locations/location/
authConfigs/authConfig.
Corresponds to the JSON property name
5760 5761 5762 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5760 def name @name end |
#override_valid_time ⇒ String
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
5767 5768 5769 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5767 def override_valid_time @override_valid_time end |
#reason ⇒ String
The reason / details of the current status.
Corresponds to the JSON property reason
5772 5773 5774 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5772 def reason @reason end |
#state ⇒ String
The status of the auth config.
Corresponds to the JSON property state
5777 5778 5779 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5777 def state @state end |
#update_time ⇒ String
Output only. The timestamp when the auth config is modified.
Corresponds to the JSON property updateTime
5782 5783 5784 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5782 def update_time @update_time end |
#valid_time ⇒ String
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
5788 5789 5790 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5788 def valid_time @valid_time end |
#visibility ⇒ String
The visibility of the auth config.
Corresponds to the JSON property visibility
5793 5794 5795 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5793 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5800 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 |