google-api-client 0.44.2 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +206 -2
- data/generated/google/apis/apigee_v1/representations.rb +74 -0
- data/generated/google/apis/apigee_v1/service.rb +41 -19
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +28 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +3 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -30
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +0 -386
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -8
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +46 -845
- data/generated/google/apis/youtube_v3/representations.rb +0 -390
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1529a9fc7f8869be198f4e956cc83975c5e45e03127741d5088839c35186959
|
4
|
+
data.tar.gz: 8cfcff29dc57b1a14f5efd542ed9c94a2dd5bd87b1376b3c7b69f312ce337fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bc6545c332ee83706ca9e5c39cbacf9f6cddab9ec659edb54c2c8e19d198dd13dfb28e6564be0c60ded7084425df1bc97af905cfb993505c2927bef71f5c9b4
|
7
|
+
data.tar.gz: ad7fbb9b03fc5b318fcd892b152d20180280f5840fe185964191184700f5e3fd35ff9a1d97d535408c56af686e16f575491ed54d366945f7ebf0bc045cafb8f9
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,64 @@
|
|
1
|
+
# 0.45.0
|
2
|
+
* Breaking changes:
|
3
|
+
* Deleted `plus_v1`
|
4
|
+
* Backwards compatible changes:
|
5
|
+
* Added `assuredworkloads_v1beta1`
|
6
|
+
* Updated `admob_v1`
|
7
|
+
* Updated `androidenterprise_v1`
|
8
|
+
* Updated `androidpublisher_v3`
|
9
|
+
* Updated `apigee_v1`
|
10
|
+
* Updated `appengine_v1`
|
11
|
+
* Updated `appengine_v1beta`
|
12
|
+
* Updated `appsmarket_v2`
|
13
|
+
* Updated `artifactregistry_v1beta1`
|
14
|
+
* Updated `billingbudgets_v1beta1`
|
15
|
+
* Updated `chat_v1`
|
16
|
+
* Updated `classroom_v1`
|
17
|
+
* Updated `cloudasset_v1`
|
18
|
+
* Updated `cloudasset_v1p4beta1`
|
19
|
+
* Updated `cloudbilling_v1`
|
20
|
+
* Updated `cloudidentity_v1`
|
21
|
+
* Updated `cloudkms_v1`
|
22
|
+
* Updated `cloudtasks_v2`
|
23
|
+
* Updated `cloudtasks_v2beta2`
|
24
|
+
* Updated `cloudtasks_v2beta3`
|
25
|
+
* Updated `container_v1beta1`
|
26
|
+
* Updated `content_v2_1`
|
27
|
+
* Updated `customsearch_v1`
|
28
|
+
* Updated `dataflow_v1b3`
|
29
|
+
* Updated `dataproc_v1`
|
30
|
+
* Updated `dataproc_v1beta2`
|
31
|
+
* Updated `dfareporting_v3_3`
|
32
|
+
* Updated `dfareporting_v3_4`
|
33
|
+
* Updated `dialogflow_v3beta1`
|
34
|
+
* Updated `firebasehosting_v1beta1`
|
35
|
+
* Updated `healthcare_v1`
|
36
|
+
* Updated `healthcare_v1beta1`
|
37
|
+
* Updated `iam_v1`
|
38
|
+
* Updated `licensing_v1`
|
39
|
+
* Updated `monitoring_v1`
|
40
|
+
* Updated `monitoring_v3`
|
41
|
+
* Updated `networkmanagement_v1beta1`
|
42
|
+
* Updated `pubsub_v1`
|
43
|
+
* Updated `pubsub_v1beta2`
|
44
|
+
* Updated `pubsublite_v1`
|
45
|
+
* Updated `redis_v1`
|
46
|
+
* Updated `redis_v1beta1`
|
47
|
+
* Updated `reseller_v1`
|
48
|
+
* Updated `run_v1`
|
49
|
+
* Updated `sasportal_v1alpha1`
|
50
|
+
* Updated `secretmanager_v1`
|
51
|
+
* Updated `serviceconsumermanagement_v1`
|
52
|
+
* Updated `servicecontrol_v1`
|
53
|
+
* Updated `servicecontrol_v2`
|
54
|
+
* Updated `sheets_v4`
|
55
|
+
* Updated `spanner_v1`
|
56
|
+
* Updated `tagmanager_v2`
|
57
|
+
* Updated `tasks_v1`
|
58
|
+
* Updated `testing_v1`
|
59
|
+
* Updated `youtube_partner_v1`
|
60
|
+
* Updated `youtube_v3`
|
61
|
+
|
1
62
|
# 0.44.2
|
2
63
|
* Backwards compatible changes:
|
3
64
|
* Added `analyticsdata_v1alpha`
|
@@ -25,7 +25,10 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/admob/api/
|
26
26
|
module AdmobV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200916'
|
29
|
+
|
30
|
+
# See your AdMob data
|
31
|
+
AUTH_ADMOB_REPORT = 'https://www.googleapis.com/auth/admob.report'
|
29
32
|
end
|
30
33
|
end
|
31
34
|
end
|
@@ -345,7 +345,7 @@ module Google
|
|
345
345
|
|
346
346
|
# Maximum number of report data rows to return. If the value is not set, the API
|
347
347
|
# returns as many rows as possible, up to 100000. Acceptable values are 1-100000,
|
348
|
-
# inclusive.
|
348
|
+
# inclusive. Values larger than 100000 return an error.
|
349
349
|
# Corresponds to the JSON property `maxReportRows`
|
350
350
|
# @return [Fixnum]
|
351
351
|
attr_accessor :max_report_rows
|
@@ -485,7 +485,7 @@ module Google
|
|
485
485
|
|
486
486
|
# Maximum number of report data rows to return. If the value is not set, the API
|
487
487
|
# returns as many rows as possible, up to 100000. Acceptable values are 1-100000,
|
488
|
-
# inclusive.
|
488
|
+
# inclusive. Values larger than 100000 return an error.
|
489
489
|
# Corresponds to the JSON property `maxReportRows`
|
490
490
|
# @return [Fixnum]
|
491
491
|
attr_accessor :max_report_rows
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200915'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -43,8 +43,8 @@ module Google
|
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
45
|
def initialize
|
46
|
-
super('https://
|
47
|
-
@batch_path = 'batch
|
46
|
+
super('https://androidenterprise.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
50
|
# Uploads a report containing any changes in app states on the device since the
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200916'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# @see https://cloud.google.com/apigee-api-management/
|
30
30
|
module ApigeeV1
|
31
31
|
VERSION = 'V1'
|
32
|
-
REVISION = '
|
32
|
+
REVISION = '20200912'
|
33
33
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2350,6 +2350,12 @@ module Google
|
|
2350
2350
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>]
|
2351
2351
|
attr_accessor :targets
|
2352
2352
|
|
2353
|
+
# NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace
|
2354
|
+
# in an environment.
|
2355
|
+
# Corresponds to the JSON property `traceConfig`
|
2356
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig]
|
2357
|
+
attr_accessor :trace_config
|
2358
|
+
|
2353
2359
|
# Unique ID for the environment configuration. The ID will only change if the
|
2354
2360
|
# environment is deleted and recreated.
|
2355
2361
|
# Corresponds to the JSON property `uid`
|
@@ -2377,6 +2383,7 @@ module Google
|
|
2377
2383
|
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
2378
2384
|
@sequence_number = args[:sequence_number] if args.key?(:sequence_number)
|
2379
2385
|
@targets = args[:targets] if args.key?(:targets)
|
2386
|
+
@trace_config = args[:trace_config] if args.key?(:trace_config)
|
2380
2387
|
@uid = args[:uid] if args.key?(:uid)
|
2381
2388
|
end
|
2382
2389
|
end
|
@@ -3599,9 +3606,9 @@ module Google
|
|
3599
3606
|
include Google::Apis::Core::Hashable
|
3600
3607
|
|
3601
3608
|
# Identfies whether the configuration is for Apigee proxy or a remote service.
|
3602
|
-
# Possible values are "proxy" and "
|
3609
|
+
# Possible values are "proxy" and "remoteservice". If none specified, the
|
3603
3610
|
# default is "proxy". "proxy" is used when Apigee proxies are associated with
|
3604
|
-
# the API product. "
|
3611
|
+
# the API product. "remoteservice" is used when non-Apigee proxy like Envoy is
|
3605
3612
|
# used, and is associated with the API product.
|
3606
3613
|
# Corresponds to the JSON property `operationConfigType`
|
3607
3614
|
# @return [String]
|
@@ -4677,6 +4684,203 @@ module Google
|
|
4677
4684
|
end
|
4678
4685
|
end
|
4679
4686
|
|
4687
|
+
# NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace
|
4688
|
+
# in an environment.
|
4689
|
+
class GoogleCloudApigeeV1RuntimeTraceConfig
|
4690
|
+
include Google::Apis::Core::Hashable
|
4691
|
+
|
4692
|
+
# Endpoint of the exporter.
|
4693
|
+
# Corresponds to the JSON property `endpoint`
|
4694
|
+
# @return [String]
|
4695
|
+
attr_accessor :endpoint
|
4696
|
+
|
4697
|
+
# Exporter that is used to view the distributed trace captured using OpenCensus.
|
4698
|
+
# An exporter sends traces to any backend that is capable of consuming them.
|
4699
|
+
# Recorded spans can be exported by registered exporters.
|
4700
|
+
# Corresponds to the JSON property `exporter`
|
4701
|
+
# @return [String]
|
4702
|
+
attr_accessor :exporter
|
4703
|
+
|
4704
|
+
# Name of the trace config in the following format: `organizations/`org`/
|
4705
|
+
# environment/`env`/traceConfig`
|
4706
|
+
# Corresponds to the JSON property `name`
|
4707
|
+
# @return [String]
|
4708
|
+
attr_accessor :name
|
4709
|
+
|
4710
|
+
# List of trace configuration overrides for spicific API proxies.
|
4711
|
+
# Corresponds to the JSON property `overrides`
|
4712
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride>]
|
4713
|
+
attr_accessor :overrides
|
4714
|
+
|
4715
|
+
# The timestamp that the revision was created or updated.
|
4716
|
+
# Corresponds to the JSON property `revisionCreateTime`
|
4717
|
+
# @return [String]
|
4718
|
+
attr_accessor :revision_create_time
|
4719
|
+
|
4720
|
+
# Revision number which can be used by the runtime to detect if the trace config
|
4721
|
+
# has changed between two versions.
|
4722
|
+
# Corresponds to the JSON property `revisionId`
|
4723
|
+
# @return [String]
|
4724
|
+
attr_accessor :revision_id
|
4725
|
+
|
4726
|
+
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
|
4727
|
+
# distributed tracing. Only the fields that are defined in the distributed trace
|
4728
|
+
# configuration can be overridden using the distribute trace configuration
|
4729
|
+
# override APIs.
|
4730
|
+
# Corresponds to the JSON property `samplingConfig`
|
4731
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig]
|
4732
|
+
attr_accessor :sampling_config
|
4733
|
+
|
4734
|
+
def initialize(**args)
|
4735
|
+
update!(**args)
|
4736
|
+
end
|
4737
|
+
|
4738
|
+
# Update properties of this object
|
4739
|
+
def update!(**args)
|
4740
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
4741
|
+
@exporter = args[:exporter] if args.key?(:exporter)
|
4742
|
+
@name = args[:name] if args.key?(:name)
|
4743
|
+
@overrides = args[:overrides] if args.key?(:overrides)
|
4744
|
+
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
|
4745
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
4746
|
+
@sampling_config = args[:sampling_config] if args.key?(:sampling_config)
|
4747
|
+
end
|
4748
|
+
end
|
4749
|
+
|
4750
|
+
# NEXT ID: 7 Trace configuration override for a specific API proxy in an
|
4751
|
+
# environment.
|
4752
|
+
class GoogleCloudApigeeV1RuntimeTraceConfigOverride
|
4753
|
+
include Google::Apis::Core::Hashable
|
4754
|
+
|
4755
|
+
# Name of the API proxy that will have its trace configuration overridden
|
4756
|
+
# following format: `organizations/`org`/apis/`api``
|
4757
|
+
# Corresponds to the JSON property `apiProxy`
|
4758
|
+
# @return [String]
|
4759
|
+
attr_accessor :api_proxy
|
4760
|
+
|
4761
|
+
# Name of the trace config override in the following format: `organizations/`org`
|
4762
|
+
# /environment/`env`/traceConfig/overrides/`override``
|
4763
|
+
# Corresponds to the JSON property `name`
|
4764
|
+
# @return [String]
|
4765
|
+
attr_accessor :name
|
4766
|
+
|
4767
|
+
# The timestamp that the revision was created or updated.
|
4768
|
+
# Corresponds to the JSON property `revisionCreateTime`
|
4769
|
+
# @return [String]
|
4770
|
+
attr_accessor :revision_create_time
|
4771
|
+
|
4772
|
+
# Revision number which can be used by the runtime to detect if the trace config
|
4773
|
+
# override has changed between two versions.
|
4774
|
+
# Corresponds to the JSON property `revisionId`
|
4775
|
+
# @return [String]
|
4776
|
+
attr_accessor :revision_id
|
4777
|
+
|
4778
|
+
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
|
4779
|
+
# distributed tracing. Only the fields that are defined in the distributed trace
|
4780
|
+
# configuration can be overridden using the distribute trace configuration
|
4781
|
+
# override APIs.
|
4782
|
+
# Corresponds to the JSON property `samplingConfig`
|
4783
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig]
|
4784
|
+
attr_accessor :sampling_config
|
4785
|
+
|
4786
|
+
# Unique ID for the configuration override. The ID will only change if the
|
4787
|
+
# override is deleted and recreated.
|
4788
|
+
# Corresponds to the JSON property `uid`
|
4789
|
+
# @return [String]
|
4790
|
+
attr_accessor :uid
|
4791
|
+
|
4792
|
+
def initialize(**args)
|
4793
|
+
update!(**args)
|
4794
|
+
end
|
4795
|
+
|
4796
|
+
# Update properties of this object
|
4797
|
+
def update!(**args)
|
4798
|
+
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
|
4799
|
+
@name = args[:name] if args.key?(:name)
|
4800
|
+
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
|
4801
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
4802
|
+
@sampling_config = args[:sampling_config] if args.key?(:sampling_config)
|
4803
|
+
@uid = args[:uid] if args.key?(:uid)
|
4804
|
+
end
|
4805
|
+
end
|
4806
|
+
|
4807
|
+
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
|
4808
|
+
# distributed tracing. Only the fields that are defined in the distributed trace
|
4809
|
+
# configuration can be overridden using the distribute trace configuration
|
4810
|
+
# override APIs.
|
4811
|
+
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
|
4812
|
+
include Google::Apis::Core::Hashable
|
4813
|
+
|
4814
|
+
# Error sources from which to capture errors. If none are specified, error codes
|
4815
|
+
# are captured from all sources.
|
4816
|
+
# Corresponds to the JSON property `errorSources`
|
4817
|
+
# @return [Array<String>]
|
4818
|
+
attr_accessor :error_sources
|
4819
|
+
|
4820
|
+
# List of response code ranges.
|
4821
|
+
# Corresponds to the JSON property `responseCodeRanges`
|
4822
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange>]
|
4823
|
+
attr_accessor :response_code_ranges
|
4824
|
+
|
4825
|
+
# List of single response codes.
|
4826
|
+
# Corresponds to the JSON property `responseCodes`
|
4827
|
+
# @return [Array<Fixnum>]
|
4828
|
+
attr_accessor :response_codes
|
4829
|
+
|
4830
|
+
# Sampler of distributed tracing. OFF is the default value.
|
4831
|
+
# Corresponds to the JSON property `sampler`
|
4832
|
+
# @return [String]
|
4833
|
+
attr_accessor :sampler
|
4834
|
+
|
4835
|
+
# Field sampling rate. This value is only valid when is only applicable when
|
4836
|
+
# sampling value is probabilistic(PROBABILITY). The supported values are > 0 and
|
4837
|
+
# <= 0.5.
|
4838
|
+
# Corresponds to the JSON property `samplingRate`
|
4839
|
+
# @return [Float]
|
4840
|
+
attr_accessor :sampling_rate
|
4841
|
+
|
4842
|
+
def initialize(**args)
|
4843
|
+
update!(**args)
|
4844
|
+
end
|
4845
|
+
|
4846
|
+
# Update properties of this object
|
4847
|
+
def update!(**args)
|
4848
|
+
@error_sources = args[:error_sources] if args.key?(:error_sources)
|
4849
|
+
@response_code_ranges = args[:response_code_ranges] if args.key?(:response_code_ranges)
|
4850
|
+
@response_codes = args[:response_codes] if args.key?(:response_codes)
|
4851
|
+
@sampler = args[:sampler] if args.key?(:sampler)
|
4852
|
+
@sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
|
4853
|
+
end
|
4854
|
+
end
|
4855
|
+
|
4856
|
+
# ResponseCodeRange represents a group of response codes to capture, from the
|
4857
|
+
# first response code to the last response code. Each range is a close interval.
|
4858
|
+
# For example, if an interval is [400, 403], then that means 400, 401, 402, 403
|
4859
|
+
# will be all captured.
|
4860
|
+
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
|
4861
|
+
include Google::Apis::Core::Hashable
|
4862
|
+
|
4863
|
+
# The first response code to capture.
|
4864
|
+
# Corresponds to the JSON property `firstResponseCode`
|
4865
|
+
# @return [Fixnum]
|
4866
|
+
attr_accessor :first_response_code
|
4867
|
+
|
4868
|
+
# The last response code to capture.
|
4869
|
+
# Corresponds to the JSON property `lastResponseCode`
|
4870
|
+
# @return [Fixnum]
|
4871
|
+
attr_accessor :last_response_code
|
4872
|
+
|
4873
|
+
def initialize(**args)
|
4874
|
+
update!(**args)
|
4875
|
+
end
|
4876
|
+
|
4877
|
+
# Update properties of this object
|
4878
|
+
def update!(**args)
|
4879
|
+
@first_response_code = args[:first_response_code] if args.key?(:first_response_code)
|
4880
|
+
@last_response_code = args[:last_response_code] if args.key?(:last_response_code)
|
4881
|
+
end
|
4882
|
+
end
|
4883
|
+
|
4680
4884
|
# Response for Schema call
|
4681
4885
|
class GoogleCloudApigeeV1Schema
|
4682
4886
|
include Google::Apis::Core::Hashable
|
@@ -694,6 +694,30 @@ module Google
|
|
694
694
|
include Google::Apis::Core::JsonObjectSupport
|
695
695
|
end
|
696
696
|
|
697
|
+
class GoogleCloudApigeeV1RuntimeTraceConfig
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
703
|
+
class GoogleCloudApigeeV1RuntimeTraceConfigOverride
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
709
|
+
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
715
|
+
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
697
721
|
class GoogleCloudApigeeV1Schema
|
698
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
723
|
|
@@ -1459,6 +1483,8 @@ module Google
|
|
1459
1483
|
property :sequence_number, :numeric_string => true, as: 'sequenceNumber'
|
1460
1484
|
collection :targets, as: 'targets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig::Representation
|
1461
1485
|
|
1486
|
+
property :trace_config, as: 'traceConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig::Representation
|
1487
|
+
|
1462
1488
|
property :uid, as: 'uid'
|
1463
1489
|
end
|
1464
1490
|
end
|
@@ -2120,6 +2146,54 @@ module Google
|
|
2120
2146
|
end
|
2121
2147
|
end
|
2122
2148
|
|
2149
|
+
class GoogleCloudApigeeV1RuntimeTraceConfig
|
2150
|
+
# @private
|
2151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2152
|
+
property :endpoint, as: 'endpoint'
|
2153
|
+
property :exporter, as: 'exporter'
|
2154
|
+
property :name, as: 'name'
|
2155
|
+
collection :overrides, as: 'overrides', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride::Representation
|
2156
|
+
|
2157
|
+
property :revision_create_time, as: 'revisionCreateTime'
|
2158
|
+
property :revision_id, as: 'revisionId'
|
2159
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig::Representation
|
2160
|
+
|
2161
|
+
end
|
2162
|
+
end
|
2163
|
+
|
2164
|
+
class GoogleCloudApigeeV1RuntimeTraceConfigOverride
|
2165
|
+
# @private
|
2166
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2167
|
+
property :api_proxy, as: 'apiProxy'
|
2168
|
+
property :name, as: 'name'
|
2169
|
+
property :revision_create_time, as: 'revisionCreateTime'
|
2170
|
+
property :revision_id, as: 'revisionId'
|
2171
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig::Representation
|
2172
|
+
|
2173
|
+
property :uid, as: 'uid'
|
2174
|
+
end
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
|
2178
|
+
# @private
|
2179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2180
|
+
collection :error_sources, as: 'errorSources'
|
2181
|
+
collection :response_code_ranges, as: 'responseCodeRanges', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange::Representation
|
2182
|
+
|
2183
|
+
collection :response_codes, as: 'responseCodes'
|
2184
|
+
property :sampler, as: 'sampler'
|
2185
|
+
property :sampling_rate, as: 'samplingRate'
|
2186
|
+
end
|
2187
|
+
end
|
2188
|
+
|
2189
|
+
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
|
2190
|
+
# @private
|
2191
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2192
|
+
property :first_response_code, as: 'firstResponseCode'
|
2193
|
+
property :last_response_code, as: 'lastResponseCode'
|
2194
|
+
end
|
2195
|
+
end
|
2196
|
+
|
2123
2197
|
class GoogleCloudApigeeV1Schema
|
2124
2198
|
# @private
|
2125
2199
|
class Representation < Google::Apis::Core::JsonRepresentation
|