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.
1057 1058 1059 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1057 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
1038 1039 1040 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1038 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
1043 1044 1045 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1043 def gcp_project_number @gcp_project_number end |
#location ⇒ String
Location for the user's request.
Corresponds to the JSON property location
1048 1049 1050 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1048 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
1055 1056 1057 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1055 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1062 1063 1064 1065 1066 1067 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1062 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 |