Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam

Returns a new instance of EnterpriseCrmEventbusAuthconfigAuthConfigTaskParam.



256
257
258
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 256

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>)


232
233
234
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 232

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)


237
238
239
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 237

def 
  @allowed_service_account_in_context
end

#auth_config_idString

UUID of the AuthConfig. Corresponds to the JSON property authConfigId

Returns:

  • (String)


243
244
245
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 243

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)


248
249
250
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 248

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)


253
254
255
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 253

def 
  @use_service_account_in_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



261
262
263
264
265
266
267
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 261

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