Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam

Returns a new instance of EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam.



77
78
79
# File 'lib/google/apis/integrations_v1/classes.rb', line 77

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

Instance Attribute Details

#allowed_credential_typesArray<String>

Defines the credential types to be supported as Task may restrict specific types to use, e.g. Cloud SQL Task will use username/password type only. Corresponds to the JSON property allowedCredentialTypes

Returns:

  • (Array<String>)


53
54
55
# File 'lib/google/apis/integrations_v1/classes.rb', line 53

def allowed_credential_types
  @allowed_credential_types
end

#allowed_service_account_in_contextBoolean Also known as: allowed_service_account_in_context?

Corresponds to the JSON property allowedServiceAccountInContext

Returns:

  • (Boolean)


58
59
60
# File 'lib/google/apis/integrations_v1/classes.rb', line 58

def 
  @allowed_service_account_in_context
end

#auth_config_idString

UUID of the AuthConfig. Corresponds to the JSON property authConfigId

Returns:

  • (String)


64
65
66
# File 'lib/google/apis/integrations_v1/classes.rb', line 64

def auth_config_id
  @auth_config_id
end

#scopeString

A space-delimited list of requested scope permissions. Corresponds to the JSON property scope

Returns:

  • (String)


69
70
71
# File 'lib/google/apis/integrations_v1/classes.rb', line 69

def scope
  @scope
end

#use_service_account_in_contextBoolean Also known as: use_service_account_in_context?

Corresponds to the JSON property useServiceAccountInContext

Returns:

  • (Boolean)


74
75
76
# File 'lib/google/apis/integrations_v1/classes.rb', line 74

def 
  @use_service_account_in_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
86
87
88
# File 'lib/google/apis/integrations_v1/classes.rb', line 82

def update!(**args)
  @allowed_credential_types = args[:allowed_credential_types] if args.key?(:allowed_credential_types)
  @allowed_service_account_in_context = args[:allowed_service_account_in_context] if args.key?(:allowed_service_account_in_context)
  @auth_config_id = args[:auth_config_id] if args.key?(:auth_config_id)
  @scope = args[:scope] if args.key?(:scope)
  @use_service_account_in_context = args[:use_service_account_in_context] if args.key?(:use_service_account_in_context)
end