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.
1106 1107 1108 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1106 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
1087 1088 1089 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1087 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
1092 1093 1094 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1092 def gcp_project_number @gcp_project_number end |
#location ⇒ String
Location for the user's request.
Corresponds to the JSON property location
1097 1098 1099 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1097 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
1104 1105 1106 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1104 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1111 1112 1113 1114 1115 1116 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1111 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 |