Class: Google::Apis::ConnectorsV1::EndUserAuthentication

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

Overview

AuthConfig defines details of a authentication type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndUserAuthentication

Returns a new instance of EndUserAuthentication.



2314
2315
2316
# File 'lib/google/apis/connectors_v1/classes.rb', line 2314

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

Instance Attribute Details

#config_variablesArray<Google::Apis::ConnectorsV1::EndUserAuthenticationConfigVariable>

Optional. Config variables for the EndUserAuthentication. Corresponds to the JSON property configVariables



2257
2258
2259
# File 'lib/google/apis/connectors_v1/classes.rb', line 2257

def config_variables
  @config_variables
end

#create_timeString

Output only. Created time. Corresponds to the JSON property createTime

Returns:

  • (String)


2262
2263
2264
# File 'lib/google/apis/connectors_v1/classes.rb', line 2262

def create_time
  @create_time
end

#destination_configsArray<Google::Apis::ConnectorsV1::DestinationConfig>

Optional. Destination configs for the EndUserAuthentication. Corresponds to the JSON property destinationConfigs



2267
2268
2269
# File 'lib/google/apis/connectors_v1/classes.rb', line 2267

def destination_configs
  @destination_configs
end

#end_user_authentication_configGoogle::Apis::ConnectorsV1::EndUserAuthenticationConfig

EndUserAuthenticationConfig defines details of a authentication configuration for EUC Corresponds to the JSON property endUserAuthenticationConfig



2273
2274
2275
# File 'lib/google/apis/connectors_v1/classes.rb', line 2273

def end_user_authentication_config
  @end_user_authentication_config
end

#labelsArray<String>

Optional. Labels for the EndUserAuthentication. Corresponds to the JSON property labels

Returns:

  • (Array<String>)


2278
2279
2280
# File 'lib/google/apis/connectors_v1/classes.rb', line 2278

def labels
  @labels
end

#nameString

Required. Identifier. Resource name of the EndUserAuthentication. Format: projects/project/locations/location/connections/connection/ endUserAuthentications/end_user_authentication Corresponds to the JSON property name

Returns:

  • (String)


2285
2286
2287
# File 'lib/google/apis/connectors_v1/classes.rb', line 2285

def name
  @name
end

#notify_endpoint_destinationGoogle::Apis::ConnectorsV1::EndUserAuthenticationNotifyEndpointDestination

Message for NotifyEndpointDestination Destination to hit when the refresh token is expired. Corresponds to the JSON property notifyEndpointDestination



2291
2292
2293
# File 'lib/google/apis/connectors_v1/classes.rb', line 2291

def notify_endpoint_destination
  @notify_endpoint_destination
end

#rolesArray<String>

Optional. Roles for the EndUserAuthentication. Corresponds to the JSON property roles

Returns:

  • (Array<String>)


2296
2297
2298
# File 'lib/google/apis/connectors_v1/classes.rb', line 2296

def roles
  @roles
end

#statusGoogle::Apis::ConnectorsV1::EndUserAuthenticationEndUserAuthenticationStatus

EndUserAuthentication Status denotes the status of the EndUserAuthentication resource. Corresponds to the JSON property status



2302
2303
2304
# File 'lib/google/apis/connectors_v1/classes.rb', line 2302

def status
  @status
end

#update_timeString

Output only. Updated time. Corresponds to the JSON property updateTime

Returns:

  • (String)


2307
2308
2309
# File 'lib/google/apis/connectors_v1/classes.rb', line 2307

def update_time
  @update_time
end

#user_idString

Optional. The user id of the user. Corresponds to the JSON property userId

Returns:

  • (String)


2312
2313
2314
# File 'lib/google/apis/connectors_v1/classes.rb', line 2312

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
# File 'lib/google/apis/connectors_v1/classes.rb', line 2319

def update!(**args)
  @config_variables = args[:config_variables] if args.key?(:config_variables)
  @create_time = args[:create_time] if args.key?(:create_time)
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
  @end_user_authentication_config = args[:end_user_authentication_config] if args.key?(:end_user_authentication_config)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @notify_endpoint_destination = args[:notify_endpoint_destination] if args.key?(:notify_endpoint_destination)
  @roles = args[:roles] if args.key?(:roles)
  @status = args[:status] if args.key?(:status)
  @update_time = args[:update_time] if args.key?(:update_time)
  @user_id = args[:user_id] if args.key?(:user_id)
end