Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoExternalTraffic
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoExternalTraffic
- 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
Represents external traffic type and id.
Instance Attribute Summary collapse
-
#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.
-
#source ⇒ String
LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto: product, //depot/google3/java/com/google/enterprise/crm/integrationplatform/ api/utils/ConverterUtils.java:source_to_product) 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.
1197 1198 1199 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_project_id ⇒ String
User’s GCP project id the traffic is referring to.
Corresponds to the JSON property gcpProjectId
1178 1179 1180 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1178 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
1183 1184 1185 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1183 def gcp_project_number @gcp_project_number end |
#location ⇒ String
Location for the user's request.
Corresponds to the JSON property location
1188 1189 1190 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1188 def location @location end |
#source ⇒ String
LINT.ThenChange(//depot/google3/enterprise/crm/eventbus/proto/product.proto:
product, //depot/google3/java/com/google/enterprise/crm/integrationplatform/
api/utils/ConverterUtils.java:source_to_product)
Corresponds to the JSON property source
1195 1196 1197 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1195 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1202 1203 1204 1205 1206 1207 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1202 def update!(**args) @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) @source = args[:source] if args.key?(:source) end |