Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoExternalTraffic

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

Overview

Represents external traffic type and id.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoExternalTraffic

Returns a new instance of EnterpriseCrmEventbusProtoExternalTraffic.



1253
1254
1255
# File 'lib/google/apis/integrations_v1/classes.rb', line 1253

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

Instance Attribute Details

#enable_internal_ipBoolean Also known as: enable_internal_ip?

Indicates the client enables internal IP feature, this is applicable for internal clients only. Corresponds to the JSON property enableInternalIp

Returns:

  • (Boolean)


1224
1225
1226
# File 'lib/google/apis/integrations_v1/classes.rb', line 1224

def enable_internal_ip
  @enable_internal_ip
end

#gcp_project_idString

User’s GCP project id the traffic is referring to. Corresponds to the JSON property gcpProjectId

Returns:

  • (String)


1230
1231
1232
# File 'lib/google/apis/integrations_v1/classes.rb', line 1230

def gcp_project_id
  @gcp_project_id
end

#gcp_project_numberString

User’s GCP project number the traffic is referring to. Corresponds to the JSON property gcpProjectNumber

Returns:

  • (String)


1235
1236
1237
# File 'lib/google/apis/integrations_v1/classes.rb', line 1235

def gcp_project_number
  @gcp_project_number
end

#locationString

Location for the user's request. Corresponds to the JSON property location

Returns:

  • (String)


1240
1241
1242
# File 'lib/google/apis/integrations_v1/classes.rb', line 1240

def location
  @location
end

#retry_request_for_quotaBoolean Also known as: retry_request_for_quota?

Enqueue the execution request due to quota issue Corresponds to the JSON property retryRequestForQuota

Returns:

  • (Boolean)


1245
1246
1247
# File 'lib/google/apis/integrations_v1/classes.rb', line 1245

def retry_request_for_quota
  @retry_request_for_quota
end

#sourceString

Corresponds to the JSON property source

Returns:

  • (String)


1251
1252
1253
# File 'lib/google/apis/integrations_v1/classes.rb', line 1251

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1258
1259
1260
1261
1262
1263
1264
1265
# File 'lib/google/apis/integrations_v1/classes.rb', line 1258

def update!(**args)
  @enable_internal_ip = args[:enable_internal_ip] if args.key?(:enable_internal_ip)
  @gcp_project_id = args[:gcp_project_id] if args.key?(:gcp_project_id)
  @gcp_project_number = args[:gcp_project_number] if args.key?(:gcp_project_number)
  @location = args[:location] if args.key?(:location)
  @retry_request_for_quota = args[:retry_request_for_quota] if args.key?(:retry_request_for_quota)
  @source = args[:source] if args.key?(:source)
end