Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoExternalTraffic
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoExternalTraffic
- 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
-
#enable_internal_ip ⇒ Boolean
(also: #enable_internal_ip?)
Indicates the client enables internal IP feature, this is applicable for internal clients only.
-
#gcp_project_id ⇒ String
User’s GCP project id the traffic is referring to.
-
#gcp_project_number ⇒ String
User’s GCP project number the traffic is referring to.
-
#location ⇒ String
Location for the user's request.
-
#retry_request_for_quota ⇒ Boolean
(also: #retry_request_for_quota?)
Enqueue the execution request due to quota issue Corresponds to the JSON property
retryRequestForQuota
. -
#source ⇒ String
Corresponds to the JSON property
source
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoExternalTraffic
constructor
A new instance of EnterpriseCrmEventbusProtoExternalTraffic.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_ip ⇒ Boolean 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
1224 1225 1226 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1224 def enable_internal_ip @enable_internal_ip end |
#gcp_project_id ⇒ String
User’s GCP project id the traffic is referring to.
Corresponds to the JSON property gcpProjectId
1230 1231 1232 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1230 def gcp_project_id @gcp_project_id end |
#gcp_project_number ⇒ String
User’s GCP project number the traffic is referring to.
Corresponds to the JSON property gcpProjectNumber
1235 1236 1237 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1235 def gcp_project_number @gcp_project_number end |
#location ⇒ String
Location for the user's request.
Corresponds to the JSON property location
1240 1241 1242 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1240 def location @location end |
#retry_request_for_quota ⇒ Boolean Also known as: retry_request_for_quota?
Enqueue the execution request due to quota issue
Corresponds to the JSON property retryRequestForQuota
1245 1246 1247 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1245 def retry_request_for_quota @retry_request_for_quota end |
#source ⇒ String
Corresponds to the JSON property source
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 |