google-api-client 0.46.1 → 0.46.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +58 -0
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -7
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- 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/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +80 -5
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -3
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +30 -30
- data/generated/google/apis/displayvideo_v1/service.rb +8 -8
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +4 -4
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -6
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +80 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +81 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -8
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +45 -45
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +33 -33
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +17 -18
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- 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/service.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +13 -3
data/google-api-client.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`
|
18
18
|
.split("\x0")
|
19
|
-
.reject { |f| f.match(%r{^(spec|script)/|^api_names_out}) }
|
19
|
+
.reject { |f| f.match(%r{^(spec|script)/|^api_names_out|synth\.metadata}) }
|
20
20
|
|
21
21
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = %w[lib generated]
|
@@ -83,6 +83,7 @@ module Google
|
|
83
83
|
return super if options && options.skip_deserialization
|
84
84
|
return super if content_type.nil?
|
85
85
|
return nil unless content_type.start_with?(JSON_CONTENT_TYPE)
|
86
|
+
body = "{}" if body.empty?
|
86
87
|
instance = response_class.new
|
87
88
|
response_representation.new(instance).from_json(body, unwrap: response_class)
|
88
89
|
instance
|
data/lib/google/apis/version.rb
CHANGED
data/synth.py
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
"""This script is used to synthesize generated parts of this library."""
|
16
|
+
|
17
|
+
from synthtool.__main__ import extra_args
|
18
|
+
import synthtool as s
|
19
|
+
import synthtool.log as log
|
20
|
+
import synthtool.shell as shell
|
21
|
+
import logging
|
22
|
+
import os
|
23
|
+
|
24
|
+
logging.basicConfig(level=logging.DEBUG)
|
25
|
+
s.metadata.set_track_obsolete_files(False) # TODO: enable again.
|
26
|
+
|
27
|
+
command = [
|
28
|
+
"docker",
|
29
|
+
"run",
|
30
|
+
"--rm",
|
31
|
+
f"-v{os.getcwd()}:/workspace",
|
32
|
+
"-v/var/run/docker.sock:/var/run/docker.sock",
|
33
|
+
"-w", "/workspace",
|
34
|
+
"--entrypoint", "script/synth.rb",
|
35
|
+
"gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth"]
|
36
|
+
if extra_args():
|
37
|
+
command.extend(extra_args())
|
38
|
+
|
39
|
+
log.debug(f"Running: {' '.join(command)}")
|
40
|
+
shell.run(command, hide_output=False)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.46.
|
4
|
+
version: 0.46.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-10-
|
14
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -189,6 +189,7 @@ files:
|
|
189
189
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
190
190
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
191
191
|
- ".github/ISSUE_TEMPLATE/support_request.md"
|
192
|
+
- ".github/workflows/autoapprove.yml"
|
192
193
|
- ".gitignore"
|
193
194
|
- ".kokoro/build.bat"
|
194
195
|
- ".kokoro/build.sh"
|
@@ -746,6 +747,14 @@ files:
|
|
746
747
|
- generated/google/apis/documentai_v1beta3/classes.rb
|
747
748
|
- generated/google/apis/documentai_v1beta3/representations.rb
|
748
749
|
- generated/google/apis/documentai_v1beta3/service.rb
|
750
|
+
- generated/google/apis/domains_v1alpha2.rb
|
751
|
+
- generated/google/apis/domains_v1alpha2/classes.rb
|
752
|
+
- generated/google/apis/domains_v1alpha2/representations.rb
|
753
|
+
- generated/google/apis/domains_v1alpha2/service.rb
|
754
|
+
- generated/google/apis/domains_v1beta1.rb
|
755
|
+
- generated/google/apis/domains_v1beta1/classes.rb
|
756
|
+
- generated/google/apis/domains_v1beta1/representations.rb
|
757
|
+
- generated/google/apis/domains_v1beta1/service.rb
|
749
758
|
- generated/google/apis/domainsrdap_v1.rb
|
750
759
|
- generated/google/apis/domainsrdap_v1/classes.rb
|
751
760
|
- generated/google/apis/domainsrdap_v1/representations.rb
|
@@ -1486,11 +1495,12 @@ files:
|
|
1486
1495
|
- samples/web/views/drive.erb
|
1487
1496
|
- samples/web/views/home.erb
|
1488
1497
|
- samples/web/views/layout.erb
|
1498
|
+
- synth.py
|
1489
1499
|
homepage: https://github.com/google/google-api-ruby-client
|
1490
1500
|
licenses:
|
1491
1501
|
- Apache-2.0
|
1492
1502
|
metadata:
|
1493
|
-
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.46.
|
1503
|
+
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.46.2
|
1494
1504
|
post_install_message:
|
1495
1505
|
rdoc_options: []
|
1496
1506
|
require_paths:
|