Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoExternalTraffic

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

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

Returns:

  • (String)


1087
1088
1089
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1087

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)


1092
1093
1094
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1092

def gcp_project_number
  @gcp_project_number
end

#locationString

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

Returns:

  • (String)


1097
1098
1099
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1097

def location
  @location
end

#sourceString

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

Returns:

  • (String)


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