google-api-client 0.30.2 → 0.30.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d58dc8688d3bb736b0bcf24c10d46d2153d82218
|
4
|
+
data.tar.gz: bfac5cea734bfb483281c5392104d31dc5250425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7675036cafd256b9976a86344e35c0b65f91b31e82c975e3cc848a6f3fe8a350f3987b6868a9d3766252a2c19aea485f100c71fc1261f8bcb66712eea958d788
|
7
|
+
data.tar.gz: 72d8bea9615d46253dc0c3ecbdcfdafe0c53c821601191e09d1fee816bfbfd4a689875cba6bfeaace41aaf5936ab47fb935a6b547f0a67daeaedf7d2c0968529
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,93 @@
|
|
1
|
+
# 0.30.3
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `firebase_v1beta1`
|
4
|
+
* Updated `accesscontextmanager_v1beta`
|
5
|
+
* Updated `adexchangebuyer_v1_3`
|
6
|
+
* Updated `adexchangebuyer_v1_4`
|
7
|
+
* Updated `analytics_v3`
|
8
|
+
* Updated `androidmanagement_v1`
|
9
|
+
* Updated `androidpublisher_v1_1`
|
10
|
+
* Updated `androidpublisher_v2`
|
11
|
+
* Updated `androidpublisher_v3`
|
12
|
+
* Updated `bigquery_v2`
|
13
|
+
* Updated `bigquerydatatransfer_v1`
|
14
|
+
* Updated `bigtableadmin_v1`
|
15
|
+
* Updated `bigtableadmin_v2`
|
16
|
+
* Updated `cloudasset_v1`
|
17
|
+
* Updated `cloudasset_v1beta1`
|
18
|
+
* Updated `cloudfunctions_v1`
|
19
|
+
* Updated `cloudfunctions_v1beta2`
|
20
|
+
* Updated `cloudiot_v1`
|
21
|
+
* Updated `cloudresourcemanager_v1`
|
22
|
+
* Updated `cloudresourcemanager_v1beta1`
|
23
|
+
* Updated `cloudresourcemanager_v2`
|
24
|
+
* Updated `cloudresourcemanager_v2beta1`
|
25
|
+
* Updated `cloudscheduler_v1`
|
26
|
+
* Updated `cloudscheduler_v1beta1`
|
27
|
+
* Updated `cloudsearch_v1`
|
28
|
+
* Updated `cloudshell_v1`
|
29
|
+
* Updated `cloudshell_v1alpha1`
|
30
|
+
* Updated `cloudtasks_v2beta2`
|
31
|
+
* Updated `cloudtrace_v2`
|
32
|
+
* Updated `commentanalyzer_v1alpha1`
|
33
|
+
* Updated `composer_v1`
|
34
|
+
* Updated `composer_v1beta1`
|
35
|
+
* Updated `compute_alpha`
|
36
|
+
* Updated `compute_beta`
|
37
|
+
* Updated `compute_v1`
|
38
|
+
* Updated `container_v1`
|
39
|
+
* Updated `container_v1beta1`
|
40
|
+
* Updated `content_v2`
|
41
|
+
* Updated `content_v2_1`
|
42
|
+
* Updated `dataflow_v1b3`
|
43
|
+
* Updated `datafusion_v1beta1`
|
44
|
+
* Updated `dataproc_v1`
|
45
|
+
* Updated `dataproc_v1beta2`
|
46
|
+
* Updated `dialogflow_v2`
|
47
|
+
* Updated `dialogflow_v2beta1`
|
48
|
+
* Updated `dlp_v2`
|
49
|
+
* Updated `dns_v1beta2`
|
50
|
+
* Updated `docs_v1`
|
51
|
+
* Updated `doubleclickbidmanager_v1`
|
52
|
+
* Updated `file_v1`
|
53
|
+
* Updated `file_v1beta1`
|
54
|
+
* Updated `healthcare_v1alpha2`
|
55
|
+
* Updated `healthcare_v1beta1`
|
56
|
+
* Updated `iam_v1`
|
57
|
+
* Updated `logging_v2`
|
58
|
+
* Updated `ml_v1`
|
59
|
+
* Updated `monitoring_v3`
|
60
|
+
* Updated `people_v1`
|
61
|
+
* Updated `pubsub_v1`
|
62
|
+
* Updated `remotebuildexecution_v1`
|
63
|
+
* Updated `remotebuildexecution_v1alpha`
|
64
|
+
* Updated `remotebuildexecution_v2`
|
65
|
+
* Updated `serviceconsumermanagement_v1`
|
66
|
+
* Updated `servicecontrol_v1`
|
67
|
+
* Updated `servicemanagement_v1`
|
68
|
+
* Updated `servicenetworking_v1`
|
69
|
+
* Updated `servicenetworking_v1beta`
|
70
|
+
* Updated `serviceusage_v1`
|
71
|
+
* Updated `serviceusage_v1beta1`
|
72
|
+
* Updated `spanner_v1`
|
73
|
+
* Updated `speech_v1`
|
74
|
+
* Updated `speech_v1p1beta1`
|
75
|
+
* Updated `sqladmin_v1beta4`
|
76
|
+
* Updated `tagmanager_v1`
|
77
|
+
* Updated `tagmanager_v2`
|
78
|
+
* Updated `texttospeech_v1`
|
79
|
+
* Updated `texttospeech_v1beta1`
|
80
|
+
* Updated `toolresults_v1beta3`
|
81
|
+
* Updated `tpu_v1`
|
82
|
+
* Updated `tpu_v1alpha1`
|
83
|
+
* Updated `vault_v1`
|
84
|
+
* Updated `videointelligence_v1`
|
85
|
+
* Updated `videointelligence_v1beta2`
|
86
|
+
* Updated `videointelligence_v1p1beta1`
|
87
|
+
* Updated `videointelligence_v1p2beta1`
|
88
|
+
* Updated `videointelligence_v1p3beta1`
|
89
|
+
* Updated `youtube_partner_v1`
|
90
|
+
|
1
91
|
# 0.30.2
|
2
92
|
* Backwards compatible changes:
|
3
93
|
* Added `securitycenter_v1p1alpha1`
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Google API Client
|
1
|
+
# Google API Client [![RubyDoc](https://img.shields.io/badge/RubyDoc-Google%3A%3AApis-red.svg)](https://www.rubydoc.info/github/googleapis/google-api-ruby-client/Google/Apis)
|
2
2
|
|
3
3
|
These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
|
4
4
|
|
@@ -287,6 +287,22 @@ To set the logging level for the client:
|
|
287
287
|
Google::Apis.logger.level = Logger::DEBUG
|
288
288
|
```
|
289
289
|
|
290
|
+
## Customizing endpoints
|
291
|
+
|
292
|
+
By default, client objects will connect to the default Google endpoints for =
|
293
|
+
their respective APIs. If you need to connect to a regional endpoint, a test
|
294
|
+
endpoint, or other custom endpoint, modify the `root_url` attribute of the
|
295
|
+
client object. For example:
|
296
|
+
|
297
|
+
```ruby
|
298
|
+
require "google/apis/docs_v1"
|
299
|
+
docs_service = Google::Apis::DocsV1::DocsService.new
|
300
|
+
|
301
|
+
docs_service.root_url = "https://my-custom-docs-endpoint.example.com/"
|
302
|
+
|
303
|
+
document = docs_service.get_document("my-document-id")
|
304
|
+
```
|
305
|
+
|
290
306
|
## Samples
|
291
307
|
|
292
308
|
See the [samples](https://github.com/google/google-api-ruby-client/tree/master/samples) for examples on how to use the client library for various
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
26
26
|
module AccesscontextmanagerV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190617'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -153,6 +153,35 @@ module Google
|
|
153
153
|
end
|
154
154
|
end
|
155
155
|
|
156
|
+
# Alpha. Specifies which services are granted access via this Bridge Service
|
157
|
+
# Perimeter.
|
158
|
+
class BridgeServiceRestriction
|
159
|
+
include Google::Apis::Core::Hashable
|
160
|
+
|
161
|
+
# The list of APIs usable through the Bridge Perimeter. Must be empty
|
162
|
+
# unless 'enable_restriction' is True.
|
163
|
+
# Corresponds to the JSON property `allowedServices`
|
164
|
+
# @return [Array<String>]
|
165
|
+
attr_accessor :allowed_services
|
166
|
+
|
167
|
+
# Whether to restrict the set of APIs callable through the Bridge Service
|
168
|
+
# Perimeter.
|
169
|
+
# Corresponds to the JSON property `enableRestriction`
|
170
|
+
# @return [Boolean]
|
171
|
+
attr_accessor :enable_restriction
|
172
|
+
alias_method :enable_restriction?, :enable_restriction
|
173
|
+
|
174
|
+
def initialize(**args)
|
175
|
+
update!(**args)
|
176
|
+
end
|
177
|
+
|
178
|
+
# Update properties of this object
|
179
|
+
def update!(**args)
|
180
|
+
@allowed_services = args[:allowed_services] if args.key?(:allowed_services)
|
181
|
+
@enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
156
185
|
# A condition necessary for an `AccessLevel` to be granted. The Condition is an
|
157
186
|
# AND over its fields. So a Condition is true if: 1) the request IP is from one
|
158
187
|
# of the listed subnetworks AND 2) the originating device complies with the
|
@@ -296,6 +325,35 @@ module Google
|
|
296
325
|
end
|
297
326
|
end
|
298
327
|
|
328
|
+
# Alpha. Specifies how Access Levels are to be used for accessing the Service
|
329
|
+
# Perimeter.
|
330
|
+
class IngressServiceRestriction
|
331
|
+
include Google::Apis::Core::Hashable
|
332
|
+
|
333
|
+
# The list of APIs usable with a valid Access Level. Must be empty unless
|
334
|
+
# 'enable_restriction' is True.
|
335
|
+
# Corresponds to the JSON property `allowedServices`
|
336
|
+
# @return [Array<String>]
|
337
|
+
attr_accessor :allowed_services
|
338
|
+
|
339
|
+
# Whether to restrict the set of APIs callable outside the Service
|
340
|
+
# Perimeter via Access Levels.
|
341
|
+
# Corresponds to the JSON property `enableRestriction`
|
342
|
+
# @return [Boolean]
|
343
|
+
attr_accessor :enable_restriction
|
344
|
+
alias_method :enable_restriction?, :enable_restriction
|
345
|
+
|
346
|
+
def initialize(**args)
|
347
|
+
update!(**args)
|
348
|
+
end
|
349
|
+
|
350
|
+
# Update properties of this object
|
351
|
+
def update!(**args)
|
352
|
+
@allowed_services = args[:allowed_services] if args.key?(:allowed_services)
|
353
|
+
@enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
299
357
|
# A response to `ListAccessLevelsRequest`.
|
300
358
|
class ListAccessLevelsResponse
|
301
359
|
include Google::Apis::Core::Hashable
|
@@ -564,6 +622,18 @@ module Google
|
|
564
622
|
# @return [Array<String>]
|
565
623
|
attr_accessor :access_levels
|
566
624
|
|
625
|
+
# Alpha. Specifies which services are granted access via this Bridge Service
|
626
|
+
# Perimeter.
|
627
|
+
# Corresponds to the JSON property `bridgeServiceRestriction`
|
628
|
+
# @return [Google::Apis::AccesscontextmanagerV1beta::BridgeServiceRestriction]
|
629
|
+
attr_accessor :bridge_service_restriction
|
630
|
+
|
631
|
+
# Alpha. Specifies how Access Levels are to be used for accessing the Service
|
632
|
+
# Perimeter.
|
633
|
+
# Corresponds to the JSON property `ingressServiceRestriction`
|
634
|
+
# @return [Google::Apis::AccesscontextmanagerV1beta::IngressServiceRestriction]
|
635
|
+
attr_accessor :ingress_service_restriction
|
636
|
+
|
567
637
|
# A list of GCP resources that are inside of the service perimeter.
|
568
638
|
# Currently only projects are allowed. Format: `projects/`project_number``
|
569
639
|
# Corresponds to the JSON property `resources`
|
@@ -586,6 +656,12 @@ module Google
|
|
586
656
|
# @return [Array<String>]
|
587
657
|
attr_accessor :unrestricted_services
|
588
658
|
|
659
|
+
# Alpha. Specifies how APIs are allowed to communicate within the Service
|
660
|
+
# Perimeter.
|
661
|
+
# Corresponds to the JSON property `vpcServiceRestriction`
|
662
|
+
# @return [Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction]
|
663
|
+
attr_accessor :vpc_service_restriction
|
664
|
+
|
589
665
|
def initialize(**args)
|
590
666
|
update!(**args)
|
591
667
|
end
|
@@ -593,9 +669,12 @@ module Google
|
|
593
669
|
# Update properties of this object
|
594
670
|
def update!(**args)
|
595
671
|
@access_levels = args[:access_levels] if args.key?(:access_levels)
|
672
|
+
@bridge_service_restriction = args[:bridge_service_restriction] if args.key?(:bridge_service_restriction)
|
673
|
+
@ingress_service_restriction = args[:ingress_service_restriction] if args.key?(:ingress_service_restriction)
|
596
674
|
@resources = args[:resources] if args.key?(:resources)
|
597
675
|
@restricted_services = args[:restricted_services] if args.key?(:restricted_services)
|
598
676
|
@unrestricted_services = args[:unrestricted_services] if args.key?(:unrestricted_services)
|
677
|
+
@vpc_service_restriction = args[:vpc_service_restriction] if args.key?(:vpc_service_restriction)
|
599
678
|
end
|
600
679
|
end
|
601
680
|
|
@@ -637,6 +716,35 @@ module Google
|
|
637
716
|
@message = args[:message] if args.key?(:message)
|
638
717
|
end
|
639
718
|
end
|
719
|
+
|
720
|
+
# Alpha. Specifies how APIs are allowed to communicate within the Service
|
721
|
+
# Perimeter.
|
722
|
+
class VpcServiceRestriction
|
723
|
+
include Google::Apis::Core::Hashable
|
724
|
+
|
725
|
+
# The list of APIs usable within the Service Perimeter. Must be empty
|
726
|
+
# unless 'enable_restriction' is True.
|
727
|
+
# Corresponds to the JSON property `allowedServices`
|
728
|
+
# @return [Array<String>]
|
729
|
+
attr_accessor :allowed_services
|
730
|
+
|
731
|
+
# Whether to restrict API calls within the Service Perimeter to the list of
|
732
|
+
# APIs specified in 'allowed_services'.
|
733
|
+
# Corresponds to the JSON property `enableRestriction`
|
734
|
+
# @return [Boolean]
|
735
|
+
attr_accessor :enable_restriction
|
736
|
+
alias_method :enable_restriction?, :enable_restriction
|
737
|
+
|
738
|
+
def initialize(**args)
|
739
|
+
update!(**args)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Update properties of this object
|
743
|
+
def update!(**args)
|
744
|
+
@allowed_services = args[:allowed_services] if args.key?(:allowed_services)
|
745
|
+
@enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
|
746
|
+
end
|
747
|
+
end
|
640
748
|
end
|
641
749
|
end
|
642
750
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class BridgeServiceRestriction
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class Condition
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -52,6 +58,12 @@ module Google
|
|
52
58
|
include Google::Apis::Core::JsonObjectSupport
|
53
59
|
end
|
54
60
|
|
61
|
+
class IngressServiceRestriction
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
55
67
|
class ListAccessLevelsResponse
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
69
|
|
@@ -100,6 +112,12 @@ module Google
|
|
100
112
|
include Google::Apis::Core::JsonObjectSupport
|
101
113
|
end
|
102
114
|
|
115
|
+
class VpcServiceRestriction
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
103
121
|
class AccessLevel
|
104
122
|
# @private
|
105
123
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -133,6 +151,14 @@ module Google
|
|
133
151
|
end
|
134
152
|
end
|
135
153
|
|
154
|
+
class BridgeServiceRestriction
|
155
|
+
# @private
|
156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
157
|
+
collection :allowed_services, as: 'allowedServices'
|
158
|
+
property :enable_restriction, as: 'enableRestriction'
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
136
162
|
class Condition
|
137
163
|
# @private
|
138
164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -159,6 +185,14 @@ module Google
|
|
159
185
|
end
|
160
186
|
end
|
161
187
|
|
188
|
+
class IngressServiceRestriction
|
189
|
+
# @private
|
190
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
191
|
+
collection :allowed_services, as: 'allowedServices'
|
192
|
+
property :enable_restriction, as: 'enableRestriction'
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
162
196
|
class ListAccessLevelsResponse
|
163
197
|
# @private
|
164
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -225,9 +259,15 @@ module Google
|
|
225
259
|
# @private
|
226
260
|
class Representation < Google::Apis::Core::JsonRepresentation
|
227
261
|
collection :access_levels, as: 'accessLevels'
|
262
|
+
property :bridge_service_restriction, as: 'bridgeServiceRestriction', class: Google::Apis::AccesscontextmanagerV1beta::BridgeServiceRestriction, decorator: Google::Apis::AccesscontextmanagerV1beta::BridgeServiceRestriction::Representation
|
263
|
+
|
264
|
+
property :ingress_service_restriction, as: 'ingressServiceRestriction', class: Google::Apis::AccesscontextmanagerV1beta::IngressServiceRestriction, decorator: Google::Apis::AccesscontextmanagerV1beta::IngressServiceRestriction::Representation
|
265
|
+
|
228
266
|
collection :resources, as: 'resources'
|
229
267
|
collection :restricted_services, as: 'restrictedServices'
|
230
268
|
collection :unrestricted_services, as: 'unrestrictedServices'
|
269
|
+
property :vpc_service_restriction, as: 'vpcServiceRestriction', class: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction, decorator: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction::Representation
|
270
|
+
|
231
271
|
end
|
232
272
|
end
|
233
273
|
|
@@ -239,6 +279,14 @@ module Google
|
|
239
279
|
property :message, as: 'message'
|
240
280
|
end
|
241
281
|
end
|
282
|
+
|
283
|
+
class VpcServiceRestriction
|
284
|
+
# @private
|
285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
+
collection :allowed_services, as: 'allowedServices'
|
287
|
+
property :enable_restriction, as: 'enableRestriction'
|
288
|
+
end
|
289
|
+
end
|
242
290
|
end
|
243
291
|
end
|
244
292
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
27
|
module AdexchangebuyerV1_3
|
28
28
|
VERSION = 'V1_3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190614'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -282,6 +282,11 @@ module Google
|
|
282
282
|
# @return [Fixnum]
|
283
283
|
attr_accessor :account_id
|
284
284
|
|
285
|
+
#
|
286
|
+
# Corresponds to the JSON property `adTechnologyProviders`
|
287
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative::AdTechnologyProviders]
|
288
|
+
attr_accessor :ad_technology_providers
|
289
|
+
|
285
290
|
# Detected advertiser id, if any. Read-only. This field should not be set in
|
286
291
|
# requests.
|
287
292
|
# Corresponds to the JSON property `advertiserId`
|
@@ -413,6 +418,7 @@ module Google
|
|
413
418
|
def update!(**args)
|
414
419
|
@html_snippet = args[:html_snippet] if args.key?(:html_snippet)
|
415
420
|
@account_id = args[:account_id] if args.key?(:account_id)
|
421
|
+
@ad_technology_providers = args[:ad_technology_providers] if args.key?(:ad_technology_providers)
|
416
422
|
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
417
423
|
@advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
|
418
424
|
@agency_id = args[:agency_id] if args.key?(:agency_id)
|
@@ -437,6 +443,32 @@ module Google
|
|
437
443
|
@width = args[:width] if args.key?(:width)
|
438
444
|
end
|
439
445
|
|
446
|
+
#
|
447
|
+
class AdTechnologyProviders
|
448
|
+
include Google::Apis::Core::Hashable
|
449
|
+
|
450
|
+
#
|
451
|
+
# Corresponds to the JSON property `detectedProviderIds`
|
452
|
+
# @return [Array<Fixnum>]
|
453
|
+
attr_accessor :detected_provider_ids
|
454
|
+
|
455
|
+
#
|
456
|
+
# Corresponds to the JSON property `hasUnidentifiedProvider`
|
457
|
+
# @return [Boolean]
|
458
|
+
attr_accessor :has_unidentified_provider
|
459
|
+
alias_method :has_unidentified_provider?, :has_unidentified_provider
|
460
|
+
|
461
|
+
def initialize(**args)
|
462
|
+
update!(**args)
|
463
|
+
end
|
464
|
+
|
465
|
+
# Update properties of this object
|
466
|
+
def update!(**args)
|
467
|
+
@detected_provider_ids = args[:detected_provider_ids] if args.key?(:detected_provider_ids)
|
468
|
+
@has_unidentified_provider = args[:has_unidentified_provider] if args.key?(:has_unidentified_provider)
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
440
472
|
#
|
441
473
|
class Correction
|
442
474
|
include Google::Apis::Core::Hashable
|
@@ -600,11 +632,6 @@ module Google
|
|
600
632
|
# @return [Float]
|
601
633
|
attr_accessor :star_rating
|
602
634
|
|
603
|
-
# The URL to the app store to purchase/download the promoted app.
|
604
|
-
# Corresponds to the JSON property `store`
|
605
|
-
# @return [String]
|
606
|
-
attr_accessor :store
|
607
|
-
|
608
635
|
def initialize(**args)
|
609
636
|
update!(**args)
|
610
637
|
end
|
@@ -622,7 +649,6 @@ module Google
|
|
622
649
|
@logo = args[:logo] if args.key?(:logo)
|
623
650
|
@price = args[:price] if args.key?(:price)
|
624
651
|
@star_rating = args[:star_rating] if args.key?(:star_rating)
|
625
|
-
@store = args[:store] if args.key?(:store)
|
626
652
|
end
|
627
653
|
|
628
654
|
# The app icon, for app download ads.
|