google-apis-apigee_v1 0.4.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac0a7cd3643d3227199b9cb1a104e5a9c049d01535d279d59fd61ac2e61e9b8e
4
- data.tar.gz: 72764a20228cafe1244c56c673b8f9a64b61d8ddd49a00fc6b7c56304ec14024
3
+ metadata.gz: 14ecce82b59ffe0376840145333607d23dfc26c8883e3a48027d5d99d16f014a
4
+ data.tar.gz: e31ff2c11817e19d34fffc2012c7568495ae4ba81944065666c08a08efcaebe0
5
5
  SHA512:
6
- metadata.gz: 9696fc94adcde7827fcd8663537f893bfbb8cd2431974425fdead3be41ed1622766690abbdd5ae1cfe3bd9606a5400f9cb7f7b7ee9d3e54daaba1c1af8f98d4d
7
- data.tar.gz: 72bfd5f761e928235d4f77ddfffe63d2c56509e54b96698a9fe5a09a6ac96ed3b8bd6b10a6a4361c42397ee6ff05cdf7b52d3b607fdbb9f558f284771e563c99
6
+ metadata.gz: 928c9ab6695d40fe5300d6624f9d694d724c309ab269fbd7da7defdbb526d10ffc11ede42d71c44e31ac7f5d6d2e1317847533a487b28d92184034dd192fb6bd
7
+ data.tar.gz: cbacfa87ba293c7cced387c25f6a814c23223dad23438c5ca8b3281fa1a0e1e7a18a136fd811f20d7bbb9b15c13dd5bfdd8e3a7b26a68b6827ff3064af3f703f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.9.0 (2021-04-01)
4
+
5
+ * Regenerated from discovery document revision 20210326
6
+
7
+ ### v0.8.0 (2021-03-23)
8
+
9
+ * Regenerated from discovery document revision 20210319
10
+
11
+ ### v0.7.0 (2021-03-16)
12
+
13
+ * Regenerated from discovery document revision 20210312
14
+
15
+ ### v0.6.0 (2021-03-09)
16
+
17
+ * Regenerated from discovery document revision 20210305
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.5.0 (2021-03-04)
21
+
22
+ * Regenerated from discovery document revision 20210225
23
+
3
24
  ### v0.4.0 (2021-02-24)
4
25
 
5
26
  * Regenerated from discovery document revision 20210219
@@ -32,7 +32,7 @@ module Google
32
32
  # This is NOT the gem version.
33
33
  VERSION = 'V1'
34
34
 
35
- # View and manage your data across Google Cloud Platform services
35
+ # See, edit, configure, and delete your Google Cloud Platform data
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
37
  end
38
38
  end
@@ -203,6 +203,57 @@ module Google
203
203
  end
204
204
  end
205
205
 
206
+ # Add-on configurations for the Apigee organization.
207
+ class GoogleCloudApigeeV1AddonsConfig
208
+ include Google::Apis::Core::Hashable
209
+
210
+ # Configuration for the Advanced API Ops add-on.
211
+ # Corresponds to the JSON property `advancedApiOpsConfig`
212
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig]
213
+ attr_accessor :advanced_api_ops_config
214
+
215
+ # Configuration for the Integration add-on.
216
+ # Corresponds to the JSON property `integrationConfig`
217
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig]
218
+ attr_accessor :integration_config
219
+
220
+ # Configuration for the Monetization add-on.
221
+ # Corresponds to the JSON property `monetizationConfig`
222
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig]
223
+ attr_accessor :monetization_config
224
+
225
+ def initialize(**args)
226
+ update!(**args)
227
+ end
228
+
229
+ # Update properties of this object
230
+ def update!(**args)
231
+ @advanced_api_ops_config = args[:advanced_api_ops_config] if args.key?(:advanced_api_ops_config)
232
+ @integration_config = args[:integration_config] if args.key?(:integration_config)
233
+ @monetization_config = args[:monetization_config] if args.key?(:monetization_config)
234
+ end
235
+ end
236
+
237
+ # Configuration for the Advanced API Ops add-on.
238
+ class GoogleCloudApigeeV1AdvancedApiOpsConfig
239
+ include Google::Apis::Core::Hashable
240
+
241
+ # Flag that specifies whether the Advanced API Ops add-on is enabled.
242
+ # Corresponds to the JSON property `enabled`
243
+ # @return [Boolean]
244
+ attr_accessor :enabled
245
+ alias_method :enabled?, :enabled
246
+
247
+ def initialize(**args)
248
+ update!(**args)
249
+ end
250
+
251
+ # Update properties of this object
252
+ def update!(**args)
253
+ @enabled = args[:enabled] if args.key?(:enabled)
254
+ end
255
+ end
256
+
206
257
  # Reference to a certificate or key/certificate pair.
207
258
  class GoogleCloudApigeeV1Alias
208
259
  include Google::Apis::Core::Hashable
@@ -423,6 +474,13 @@ module Google
423
474
  # @return [Array<String>]
424
475
  attr_accessor :environments
425
476
 
477
+ # List of graphQL operation configuration details associated with Apigee API
478
+ # proxies or remote services. Remote services are non-Apigee proxies, such as
479
+ # Istio-Envoy.
480
+ # Corresponds to the JSON property `graphqlOperationGroup`
481
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup]
482
+ attr_accessor :graphql_operation_group
483
+
426
484
  # Response only. Modified time of this environment as milliseconds since epoch.
427
485
  # Corresponds to the JSON property `lastModifiedAt`
428
486
  # @return [Fixnum]
@@ -490,6 +548,7 @@ module Google
490
548
  @description = args[:description] if args.key?(:description)
491
549
  @display_name = args[:display_name] if args.key?(:display_name)
492
550
  @environments = args[:environments] if args.key?(:environments)
551
+ @graphql_operation_group = args[:graphql_operation_group] if args.key?(:graphql_operation_group)
493
552
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
494
553
  @name = args[:name] if args.key?(:name)
495
554
  @operation_group = args[:operation_group] if args.key?(:operation_group)
@@ -3073,6 +3132,114 @@ module Google
3073
3132
  end
3074
3133
  end
3075
3134
 
3135
+ # GraphQLOperation represents the pairing of graphQL operation types and the
3136
+ # graphQL operation name.
3137
+ class GoogleCloudApigeeV1GraphQlOperation
3138
+ include Google::Apis::Core::Hashable
3139
+
3140
+ # GraphQL operation name, along with operation type which will be used to
3141
+ # associate quotas with. If no name is specified, the quota will be applied to
3142
+ # all graphQL operations irrespective of their operation names in the payload.
3143
+ # Corresponds to the JSON property `operation`
3144
+ # @return [String]
3145
+ attr_accessor :operation
3146
+
3147
+ # Required. `query`, `mutation` and `subscription` are the three operation types
3148
+ # offered by graphQL. Currently we support only `query` and `mutation`.
3149
+ # Corresponds to the JSON property `operationTypes`
3150
+ # @return [Array<String>]
3151
+ attr_accessor :operation_types
3152
+
3153
+ def initialize(**args)
3154
+ update!(**args)
3155
+ end
3156
+
3157
+ # Update properties of this object
3158
+ def update!(**args)
3159
+ @operation = args[:operation] if args.key?(:operation)
3160
+ @operation_types = args[:operation_types] if args.key?(:operation_types)
3161
+ end
3162
+ end
3163
+
3164
+ # GraphQLOperationConfig binds the resources in a proxy or remote service with
3165
+ # the graphQL operation and its associated quota enforcement.
3166
+ class GoogleCloudApigeeV1GraphQlOperationConfig
3167
+ include Google::Apis::Core::Hashable
3168
+
3169
+ # Required. API proxy endpoint or remote service name with which the graphQL
3170
+ # operation, and quota are associated.
3171
+ # Corresponds to the JSON property `apiSource`
3172
+ # @return [String]
3173
+ attr_accessor :api_source
3174
+
3175
+ # Custom attributes associated with the operation.
3176
+ # Corresponds to the JSON property `attributes`
3177
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
3178
+ attr_accessor :attributes
3179
+
3180
+ # Required. List of graphQL name/Operation type pairs for the proxy/remote
3181
+ # service, upon which quota will applied. If GraphQLOperation operation has only
3182
+ # the operation type(s), that would imply that quota will be applied on all
3183
+ # graphQL requests irrespective of the graphQL name. **Note**: Currently, we can
3184
+ # specify only a single GraphQLOperation. Specifying more than one will result
3185
+ # in failure of the operation.
3186
+ # Corresponds to the JSON property `operations`
3187
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation>]
3188
+ attr_accessor :operations
3189
+
3190
+ # Quota contains the essential parameters needed that can be applied on a proxy/
3191
+ # remote service, resources and methods combination associated with this API
3192
+ # product. While setting of Quota is optional, setting it prevents requests from
3193
+ # exceeding the provisioned parameters.
3194
+ # Corresponds to the JSON property `quota`
3195
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
3196
+ attr_accessor :quota
3197
+
3198
+ def initialize(**args)
3199
+ update!(**args)
3200
+ end
3201
+
3202
+ # Update properties of this object
3203
+ def update!(**args)
3204
+ @api_source = args[:api_source] if args.key?(:api_source)
3205
+ @attributes = args[:attributes] if args.key?(:attributes)
3206
+ @operations = args[:operations] if args.key?(:operations)
3207
+ @quota = args[:quota] if args.key?(:quota)
3208
+ end
3209
+ end
3210
+
3211
+ # List of graphQL operation configuration details associated with Apigee API
3212
+ # proxies or remote services. Remote services are non-Apigee proxies, such as
3213
+ # Istio-Envoy.
3214
+ class GoogleCloudApigeeV1GraphQlOperationGroup
3215
+ include Google::Apis::Core::Hashable
3216
+
3217
+ # Flag that specifes whether the configuration is for Apigee API proxy or a
3218
+ # remote service. Valid values are `proxy` or `remoteservice`. Defaults to `
3219
+ # proxy`. Set to `proxy` when Apigee API proxies are associated with the API
3220
+ # product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
3221
+ # associated with the API product.
3222
+ # Corresponds to the JSON property `operationConfigType`
3223
+ # @return [String]
3224
+ attr_accessor :operation_config_type
3225
+
3226
+ # Required. List of operation configurations for either Apigee API proxies or
3227
+ # other remote services that are associated with this API product.
3228
+ # Corresponds to the JSON property `operationConfigs`
3229
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationConfig>]
3230
+ attr_accessor :operation_configs
3231
+
3232
+ def initialize(**args)
3233
+ update!(**args)
3234
+ end
3235
+
3236
+ # Update properties of this object
3237
+ def update!(**args)
3238
+ @operation_config_type = args[:operation_config_type] if args.key?(:operation_config_type)
3239
+ @operation_configs = args[:operation_configs] if args.key?(:operation_configs)
3240
+ end
3241
+ end
3242
+
3076
3243
  #
3077
3244
  class GoogleCloudApigeeV1IngressConfig
3078
3245
  include Google::Apis::Core::Hashable
@@ -3331,6 +3498,26 @@ module Google
3331
3498
  end
3332
3499
  end
3333
3500
 
3501
+ # Configuration for the Integration add-on.
3502
+ class GoogleCloudApigeeV1IntegrationConfig
3503
+ include Google::Apis::Core::Hashable
3504
+
3505
+ # Flag that specifies whether the Integration add-on is enabled.
3506
+ # Corresponds to the JSON property `enabled`
3507
+ # @return [Boolean]
3508
+ attr_accessor :enabled
3509
+ alias_method :enabled?, :enabled
3510
+
3511
+ def initialize(**args)
3512
+ update!(**args)
3513
+ end
3514
+
3515
+ # Update properties of this object
3516
+ def update!(**args)
3517
+ @enabled = args[:enabled] if args.key?(:enabled)
3518
+ end
3519
+ end
3520
+
3334
3521
  #
3335
3522
  class GoogleCloudApigeeV1KeyAliasReference
3336
3523
  include Google::Apis::Core::Hashable
@@ -3927,6 +4114,32 @@ module Google
3927
4114
  end
3928
4115
  end
3929
4116
 
4117
+ # Response for ListTraceConfigOverrides.
4118
+ class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
4119
+ include Google::Apis::Core::Hashable
4120
+
4121
+ # Token value that can be passed as `page_token` to retrieve the next page of
4122
+ # content.
4123
+ # Corresponds to the JSON property `nextPageToken`
4124
+ # @return [String]
4125
+ attr_accessor :next_page_token
4126
+
4127
+ # List all trace configuration overrides in an environment.
4128
+ # Corresponds to the JSON property `traceConfigOverrides`
4129
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride>]
4130
+ attr_accessor :trace_config_overrides
4131
+
4132
+ def initialize(**args)
4133
+ update!(**args)
4134
+ end
4135
+
4136
+ # Update properties of this object
4137
+ def update!(**args)
4138
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4139
+ @trace_config_overrides = args[:trace_config_overrides] if args.key?(:trace_config_overrides)
4140
+ end
4141
+ end
4142
+
3930
4143
  # This message type encapsulates additional information about query execution.
3931
4144
  class GoogleCloudApigeeV1Metadata
3932
4145
  include Google::Apis::Core::Hashable
@@ -3984,6 +4197,26 @@ module Google
3984
4197
  end
3985
4198
  end
3986
4199
 
4200
+ # Configuration for the Monetization add-on.
4201
+ class GoogleCloudApigeeV1MonetizationConfig
4202
+ include Google::Apis::Core::Hashable
4203
+
4204
+ # Flag that specifies whether the Monetization add-on is enabled.
4205
+ # Corresponds to the JSON property `enabled`
4206
+ # @return [Boolean]
4207
+ attr_accessor :enabled
4208
+ alias_method :enabled?, :enabled
4209
+
4210
+ def initialize(**args)
4211
+ update!(**args)
4212
+ end
4213
+
4214
+ # Update properties of this object
4215
+ def update!(**args)
4216
+ @enabled = args[:enabled] if args.key?(:enabled)
4217
+ end
4218
+ end
4219
+
3987
4220
  # Apigee NAT(network address translation) address. A NAT address is a static
3988
4221
  # external IP address used for Internet egress traffic.
3989
4222
  class GoogleCloudApigeeV1NatAddress
@@ -4243,6 +4476,11 @@ module Google
4243
4476
  class GoogleCloudApigeeV1Organization
4244
4477
  include Google::Apis::Core::Hashable
4245
4478
 
4479
+ # Add-on configurations for the Apigee organization.
4480
+ # Corresponds to the JSON property `addonsConfig`
4481
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
4482
+ attr_accessor :addons_config
4483
+
4246
4484
  # Required. Primary GCP region for analytics data storage. For valid values, see
4247
4485
  # [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-
4248
4486
  # platform/get-started/create-org).
@@ -4259,19 +4497,20 @@ module Google
4259
4497
  # runtime instances. See [Getting started with the Service Networking API](https:
4260
4498
  # //cloud.google.com/service-infrastructure/docs/service-networking/getting-
4261
4499
  # started). Valid only when [RuntimeType](#RuntimeType) is set to `CLOUD`. The
4262
- # value can be updated only when there are no runtime instances. For example: `
4263
- # default`. Apigee also supports shared VPC (that is, the host network project
4264
- # is not the same as the one that is peering with Apigee). See [Shared VPC
4265
- # overview](https://cloud.google.com/vpc/docs/shared-vpc). To use a shared VPC
4266
- # network, use the following format: `projects/`host-project-id`/`region`/
4267
- # networks/`network-name``. For example: `projects/my-sharedvpc-host/global/
4268
- # networks/mynetwork` **Note:** Not supported for Apigee hybrid.
4500
+ # value must be set before the creation of a runtime instance and can be updated
4501
+ # only when there are no runtime instances. For example: `default`. Apigee also
4502
+ # supports shared VPC (that is, the host network project is not the same as the
4503
+ # one that is peering with Apigee). See [Shared VPC overview](https://cloud.
4504
+ # google.com/vpc/docs/shared-vpc). To use a shared VPC network, use the
4505
+ # following format: `projects/`host-project-id`/`region`/networks/`network-name``
4506
+ # . For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**
4507
+ # Not supported for Apigee hybrid.
4269
4508
  # Corresponds to the JSON property `authorizedNetwork`
4270
4509
  # @return [String]
4271
4510
  attr_accessor :authorized_network
4272
4511
 
4273
- # Output only. Billing type of the Apigee organization. See [Apigee pricing](
4274
- # https://cloud.google.com/apigee/pricing).
4512
+ # Billing type of the Apigee organization. See [Apigee pricing](https://cloud.
4513
+ # google.com/apigee/pricing).
4275
4514
  # Corresponds to the JSON property `billingType`
4276
4515
  # @return [String]
4277
4516
  attr_accessor :billing_type
@@ -4325,7 +4564,7 @@ module Google
4325
4564
  # @return [String]
4326
4565
  attr_accessor :name
4327
4566
 
4328
- # Project ID associated with the Apigee organization.
4567
+ # Output only. Project ID associated with the Apigee organization.
4329
4568
  # Corresponds to the JSON property `projectId`
4330
4569
  # @return [String]
4331
4570
  attr_accessor :project_id
@@ -4338,10 +4577,10 @@ module Google
4338
4577
 
4339
4578
  # Cloud KMS key name used for encrypting the data that is stored and replicated
4340
4579
  # across runtime instances. Update is not allowed after the organization is
4341
- # created. If not specified, a Google-Managed encryption key will be used. Valid
4342
- # only when [RuntimeType](#RuntimeType) is `CLOUD`. For example: "projects/foo/
4343
- # locations/us/keyRings/bar/cryptoKeys/baz". **Note:** Not supported for Apigee
4344
- # hybrid.
4580
+ # created. Required when [RuntimeType](#RuntimeType) is `CLOUD`. If not
4581
+ # specified when [RuntimeType](#RuntimeType) is `TRIAL`, a Google-Managed
4582
+ # encryption key will be used. For example: "projects/foo/locations/us/keyRings/
4583
+ # bar/cryptoKeys/baz". **Note:** Not supported for Apigee hybrid.
4345
4584
  # Corresponds to the JSON property `runtimeDatabaseEncryptionKeyName`
4346
4585
  # @return [String]
4347
4586
  attr_accessor :runtime_database_encryption_key_name
@@ -4378,6 +4617,7 @@ module Google
4378
4617
 
4379
4618
  # Update properties of this object
4380
4619
  def update!(**args)
4620
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
4381
4621
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
4382
4622
  @attributes = args[:attributes] if args.key?(:attributes)
4383
4623
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
@@ -5433,7 +5673,7 @@ module Google
5433
5673
  class GoogleCloudApigeeV1Schema
5434
5674
  include Google::Apis::Core::Hashable
5435
5675
 
5436
- # List of schema fiels grouped as dimensions.
5676
+ # List of schema fields grouped as dimensions.
5437
5677
  # Corresponds to the JSON property `dimensions`
5438
5678
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
5439
5679
  attr_accessor :dimensions
@@ -5444,8 +5684,8 @@ module Google
5444
5684
  # @return [Array<String>]
5445
5685
  attr_accessor :meta
5446
5686
 
5447
- # List of schema fields grouped as dimensions. These are fields that can be used
5448
- # with an aggregate function such as sum, avg, min, max.
5687
+ # List of schema fields grouped as dimensions that can be used with an aggregate
5688
+ # function such as `sum`, `avg`, `min`, and `max`.
5449
5689
  # Corresponds to the JSON property `metrics`
5450
5690
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaElement>]
5451
5691
  attr_accessor :metrics
@@ -5466,12 +5706,12 @@ module Google
5466
5706
  class GoogleCloudApigeeV1SchemaSchemaElement
5467
5707
  include Google::Apis::Core::Hashable
5468
5708
 
5469
- # Name of the field
5709
+ # Name of the field.
5470
5710
  # Corresponds to the JSON property `name`
5471
5711
  # @return [String]
5472
5712
  attr_accessor :name
5473
5713
 
5474
- # Message type for schema property
5714
+ # Properties for the schema field.
5475
5715
  # Corresponds to the JSON property `properties`
5476
5716
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SchemaSchemaProperty]
5477
5717
  attr_accessor :properties
@@ -5487,17 +5727,18 @@ module Google
5487
5727
  end
5488
5728
  end
5489
5729
 
5490
- # Message type for schema property
5730
+ # Properties for the schema field.
5491
5731
  class GoogleCloudApigeeV1SchemaSchemaProperty
5492
5732
  include Google::Apis::Core::Hashable
5493
5733
 
5494
- # Creation time of the field
5734
+ # Time the field was created in RFC3339 string form. For example: `2016-02-26T10:
5735
+ # 23:09.592Z`.
5495
5736
  # Corresponds to the JSON property `createTime`
5496
5737
  # @return [String]
5497
5738
  attr_accessor :create_time
5498
5739
 
5499
- # Custom is a flag signifying if the field was provided as part of the standard
5500
- # dataset or a custom field created by the customer
5740
+ # Flag that specifies whether the field is standard in the dataset or a custom
5741
+ # field created by the customer. `true` indicates that it is a custom field.
5501
5742
  # Corresponds to the JSON property `custom`
5502
5743
  # @return [String]
5503
5744
  attr_accessor :custom
@@ -5569,6 +5810,25 @@ module Google
5569
5810
  end
5570
5811
  end
5571
5812
 
5813
+ # Request for SetAddons.
5814
+ class GoogleCloudApigeeV1SetAddonsRequest
5815
+ include Google::Apis::Core::Hashable
5816
+
5817
+ # Add-on configurations for the Apigee organization.
5818
+ # Corresponds to the JSON property `addonsConfig`
5819
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
5820
+ attr_accessor :addons_config
5821
+
5822
+ def initialize(**args)
5823
+ update!(**args)
5824
+ end
5825
+
5826
+ # Update properties of this object
5827
+ def update!(**args)
5828
+ @addons_config = args[:addons_config] if args.key?(:addons_config)
5829
+ end
5830
+ end
5831
+
5572
5832
  # The metadata describing a shared flow
5573
5833
  class GoogleCloudApigeeV1SharedFlow
5574
5834
  include Google::Apis::Core::Hashable
@@ -6184,6 +6444,102 @@ module Google
6184
6444
  end
6185
6445
  end
6186
6446
 
6447
+ # TraceConfig defines the configurations in an environment of distributed trace.
6448
+ class GoogleCloudApigeeV1TraceConfig
6449
+ include Google::Apis::Core::Hashable
6450
+
6451
+ # Required. Endpoint of the exporter.
6452
+ # Corresponds to the JSON property `endpoint`
6453
+ # @return [String]
6454
+ attr_accessor :endpoint
6455
+
6456
+ # Required. Exporter that is used to view the distributed trace captured using
6457
+ # OpenCensus. An exporter sends traces to any backend that is capable of
6458
+ # consuming them. Recorded spans can be exported by registered exporters.
6459
+ # Corresponds to the JSON property `exporter`
6460
+ # @return [String]
6461
+ attr_accessor :exporter
6462
+
6463
+ # TraceSamplingConfig represents the detail settings of distributed tracing.
6464
+ # Only the fields that are defined in the distributed trace configuration can be
6465
+ # overridden using the distribute trace configuration override APIs.
6466
+ # Corresponds to the JSON property `samplingConfig`
6467
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig]
6468
+ attr_accessor :sampling_config
6469
+
6470
+ def initialize(**args)
6471
+ update!(**args)
6472
+ end
6473
+
6474
+ # Update properties of this object
6475
+ def update!(**args)
6476
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
6477
+ @exporter = args[:exporter] if args.key?(:exporter)
6478
+ @sampling_config = args[:sampling_config] if args.key?(:sampling_config)
6479
+ end
6480
+ end
6481
+
6482
+ # A representation of a configuration override.
6483
+ class GoogleCloudApigeeV1TraceConfigOverride
6484
+ include Google::Apis::Core::Hashable
6485
+
6486
+ # ID of the API proxy that will have its trace configuration overridden.
6487
+ # Corresponds to the JSON property `apiProxy`
6488
+ # @return [String]
6489
+ attr_accessor :api_proxy
6490
+
6491
+ # ID of the trace configuration override specified as a system-generated UUID.
6492
+ # Corresponds to the JSON property `name`
6493
+ # @return [String]
6494
+ attr_accessor :name
6495
+
6496
+ # TraceSamplingConfig represents the detail settings of distributed tracing.
6497
+ # Only the fields that are defined in the distributed trace configuration can be
6498
+ # overridden using the distribute trace configuration override APIs.
6499
+ # Corresponds to the JSON property `samplingConfig`
6500
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig]
6501
+ attr_accessor :sampling_config
6502
+
6503
+ def initialize(**args)
6504
+ update!(**args)
6505
+ end
6506
+
6507
+ # Update properties of this object
6508
+ def update!(**args)
6509
+ @api_proxy = args[:api_proxy] if args.key?(:api_proxy)
6510
+ @name = args[:name] if args.key?(:name)
6511
+ @sampling_config = args[:sampling_config] if args.key?(:sampling_config)
6512
+ end
6513
+ end
6514
+
6515
+ # TraceSamplingConfig represents the detail settings of distributed tracing.
6516
+ # Only the fields that are defined in the distributed trace configuration can be
6517
+ # overridden using the distribute trace configuration override APIs.
6518
+ class GoogleCloudApigeeV1TraceSamplingConfig
6519
+ include Google::Apis::Core::Hashable
6520
+
6521
+ # Sampler of distributed tracing. OFF is the default value.
6522
+ # Corresponds to the JSON property `sampler`
6523
+ # @return [String]
6524
+ attr_accessor :sampler
6525
+
6526
+ # Field sampling rate. This value is only applicable when using the PROBABILITY
6527
+ # sampler. The supported values are > 0 and <= 0.5.
6528
+ # Corresponds to the JSON property `samplingRate`
6529
+ # @return [Float]
6530
+ attr_accessor :sampling_rate
6531
+
6532
+ def initialize(**args)
6533
+ update!(**args)
6534
+ end
6535
+
6536
+ # Update properties of this object
6537
+ def update!(**args)
6538
+ @sampler = args[:sampler] if args.key?(:sampler)
6539
+ @sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
6540
+ end
6541
+ end
6542
+
6187
6543
  # Details on why a resource update failed in the runtime.
6188
6544
  class GoogleCloudApigeeV1UpdateError
6189
6545
  include Google::Apis::Core::Hashable