Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSfdcInstance

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 SfdcInstance resource use to hold channels and connection config data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSfdcInstance

Returns a new instance of GoogleCloudIntegrationsV1alphaSfdcInstance.



8270
8271
8272
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8270

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

Instance Attribute Details

#auth_config_idArray<String>

A list of AuthConfigs that can be tried to open the channel to SFDC Corresponds to the JSON property authConfigId

Returns:

  • (Array<String>)


8226
8227
8228
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8226

def auth_config_id
  @auth_config_id
end

#create_timeString

Output only. Time when the instance is created Corresponds to the JSON property createTime

Returns:

  • (String)


8231
8232
8233
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8231

def create_time
  @create_time
end

#delete_timeString

Output only. Time when the instance was deleted. Empty if not deleted. Corresponds to the JSON property deleteTime

Returns:

  • (String)


8236
8237
8238
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8236

def delete_time
  @delete_time
end

#descriptionString

A description of the sfdc instance. Corresponds to the JSON property description

Returns:

  • (String)


8241
8242
8243
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8241

def description
  @description
end

#display_nameString

User selected unique name/alias to easily reference an instance. Corresponds to the JSON property displayName

Returns:

  • (String)


8246
8247
8248
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8246

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


8252
8253
8254
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8252

def name
  @name
end

#service_authorityString

URL used for API calls after authentication (the login authority is configured within the referenced AuthConfig). Corresponds to the JSON property serviceAuthority

Returns:

  • (String)


8258
8259
8260
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8258

def service_authority
  @service_authority
end

#sfdc_org_idString

The SFDC Org Id. This is defined in salesforce. Corresponds to the JSON property sfdcOrgId

Returns:

  • (String)


8263
8264
8265
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8263

def sfdc_org_id
  @sfdc_org_id
end

#update_timeString

Output only. Time when the instance was last updated Corresponds to the JSON property updateTime

Returns:

  • (String)


8268
8269
8270
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8268

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8275

def update!(**args)
  @auth_config_id = args[:auth_config_id] if args.key?(:auth_config_id)
  @create_time = args[:create_time] if args.key?(:create_time)
  @delete_time = args[:delete_time] if args.key?(:delete_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @service_authority = args[:service_authority] if args.key?(:service_authority)
  @sfdc_org_id = args[:sfdc_org_id] if args.key?(:sfdc_org_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end