google-api-client 0.46.2 → 0.47.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 +4 -4
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +370 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +16 -54
- data/generated/google/apis/apigee_v1/representations.rb +1 -18
- data/generated/google/apis/apigee_v1/service.rb +21 -13
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +72 -0
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +8 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -8
- data/generated/google/apis/content_v2.rb +2 -3
- data/generated/google/apis/content_v2/classes.rb +508 -1216
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +29 -29
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +79 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
- 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/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +11 -5
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +32 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +12 -8
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
data/Gemfile
CHANGED
data/Rakefile
CHANGED
|
@@ -79,10 +79,28 @@ namespace :kokoro do
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
task :release do
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
Rake::Task["kokoro:publish_gem"].invoke
|
|
83
|
+
Rake::Task["kokoro:publish_docs"].invoke
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
task :publish_gem do
|
|
87
|
+
require "gems"
|
|
88
|
+
|
|
89
|
+
load_env_vars if ENV["KOKORO_GFILE_DIR"]
|
|
90
|
+
api_token = ENV["RUBYGEMS_API_TOKEN"]
|
|
91
|
+
if api_token
|
|
92
|
+
::Gems.configure do |config|
|
|
93
|
+
config.key = api_token
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
rm_rf "pkg"
|
|
98
|
+
Rake::Task["build"].invoke
|
|
99
|
+
built_gem_path = Dir.glob("pkg/google-api-client-*.gem").last
|
|
84
100
|
|
|
85
|
-
|
|
101
|
+
response = ::Gems.push File.new built_gem_path
|
|
102
|
+
puts response
|
|
103
|
+
raise "Failed to release gem" unless response.include? "Successfully registered gem:"
|
|
86
104
|
end
|
|
87
105
|
|
|
88
106
|
desc "Publish docs for the latest git tag"
|
|
@@ -93,6 +111,16 @@ namespace :kokoro do
|
|
|
93
111
|
end
|
|
94
112
|
end
|
|
95
113
|
|
|
114
|
+
def load_env_vars
|
|
115
|
+
service_account = "#{ENV['KOKORO_GFILE_DIR']}/service-account.json"
|
|
116
|
+
raise "#{service_account} is not a file" unless File.file? service_account
|
|
117
|
+
ENV["GOOGLE_APPLICATION_CREDENTIALS"] = service_account
|
|
118
|
+
filename = "#{ENV['KOKORO_GFILE_DIR']}/ruby_env_vars.json"
|
|
119
|
+
raise "#{filename} is not a file" unless File.file? filename
|
|
120
|
+
env_vars = JSON.parse File.read(filename)
|
|
121
|
+
env_vars.each { |k, v| ENV[k] ||= v }
|
|
122
|
+
end
|
|
123
|
+
|
|
96
124
|
def header str, token = "#"
|
|
97
125
|
line_length = str.length + 8
|
|
98
126
|
puts
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/access-approval/docs
|
|
26
26
|
module AccessapprovalV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201014'
|
|
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'
|
|
@@ -317,21 +317,19 @@ module Google
|
|
|
317
317
|
include Google::Apis::Core::Hashable
|
|
318
318
|
|
|
319
319
|
# The product for which Access Approval will be enrolled. Allowed values are
|
|
320
|
-
# listed below (case-sensitive): * all *
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
325
|
-
# com *
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
#
|
|
329
|
-
#
|
|
330
|
-
#
|
|
331
|
-
#
|
|
332
|
-
#
|
|
333
|
-
# levels of support is available at https://cloud.google.com/access-approval/
|
|
334
|
-
# docs/supported-services
|
|
320
|
+
# listed below (case-sensitive): * all * App Engine * BigQuery * Cloud Bigtable *
|
|
321
|
+
# Cloud Key Management Service * Compute Engine * Cloud Dataflow * Cloud
|
|
322
|
+
# Identity and Access Management * Cloud Pub/Sub * Cloud Storage * Persistent
|
|
323
|
+
# Disk Note: These values are supported as input for legacy purposes, but will
|
|
324
|
+
# not be returned from the API. * all * appengine.googleapis.com * bigquery.
|
|
325
|
+
# googleapis.com * bigtable.googleapis.com * cloudkms.googleapis.com * compute.
|
|
326
|
+
# googleapis.com * dataflow.googleapis.com * iam.googleapis.com * pubsub.
|
|
327
|
+
# googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings
|
|
328
|
+
# using 'all' or any of the XXX.googleapis.com will be translated to the
|
|
329
|
+
# associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll
|
|
330
|
+
# the resource in all products supported at both 'GA' and 'Preview' levels. More
|
|
331
|
+
# information about levels of support is available at https://cloud.google.com/
|
|
332
|
+
# access-approval/docs/supported-services
|
|
335
333
|
# Corresponds to the JSON property `cloudProduct`
|
|
336
334
|
# @return [String]
|
|
337
335
|
attr_accessor :cloud_product
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/analytics/trusted-testing/analytics-data/
|
|
26
26
|
module AnalyticsdataV1alpha
|
|
27
27
|
VERSION = 'V1alpha'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201023'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Analytics data
|
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
|
@@ -353,9 +353,10 @@ module Google
|
|
|
353
353
|
end
|
|
354
354
|
end
|
|
355
355
|
|
|
356
|
-
# Dimensions are attributes of your data. For example, the dimension
|
|
357
|
-
# indicates the city
|
|
358
|
-
#
|
|
356
|
+
# Dimensions are attributes of your data. For example, the dimension city
|
|
357
|
+
# indicates the city from which an event originates. Dimension values in report
|
|
358
|
+
# responses are strings; for example, city could be "Paris" or "New York".
|
|
359
|
+
# Requests are allowed up to 8 dimensions.
|
|
359
360
|
class Dimension
|
|
360
361
|
include Google::Apis::Core::Hashable
|
|
361
362
|
|
|
@@ -366,7 +367,13 @@ module Google
|
|
|
366
367
|
# @return [Google::Apis::AnalyticsdataV1alpha::DimensionExpression]
|
|
367
368
|
attr_accessor :dimension_expression
|
|
368
369
|
|
|
369
|
-
# The name of the dimension.
|
|
370
|
+
# The name of the dimension. See the [API Dimensions](https://developers.google.
|
|
371
|
+
# com/analytics/trusted-testing/analytics-data/api-schema#dimensions) for the
|
|
372
|
+
# list of dimension names. If `dimensionExpression` is specified, `name` can be
|
|
373
|
+
# any string that you would like. For example if a `dimensionExpression`
|
|
374
|
+
# concatenates `country` and `city`, you could call that dimension `
|
|
375
|
+
# countryAndCity`. Dimensions are referenced by `name` in `dimensionFilter`, `
|
|
376
|
+
# orderBys`, `dimensionExpression`, and `pivots`.
|
|
370
377
|
# Corresponds to the JSON property `name`
|
|
371
378
|
# @return [String]
|
|
372
379
|
attr_accessor :name
|
|
@@ -527,7 +534,9 @@ module Google
|
|
|
527
534
|
class Entity
|
|
528
535
|
include Google::Apis::Core::Hashable
|
|
529
536
|
|
|
530
|
-
# A Google Analytics GA4 property id.
|
|
537
|
+
# A Google Analytics GA4 property id. To learn more, see [where to find your
|
|
538
|
+
# Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
|
|
539
|
+
# data/property-id).
|
|
531
540
|
# Corresponds to the JSON property `propertyId`
|
|
532
541
|
# @return [String]
|
|
533
542
|
attr_accessor :property_id
|
|
@@ -681,7 +690,7 @@ module Google
|
|
|
681
690
|
class Metadata
|
|
682
691
|
include Google::Apis::Core::Hashable
|
|
683
692
|
|
|
684
|
-
# The
|
|
693
|
+
# The dimension descriptions.
|
|
685
694
|
# Corresponds to the JSON property `dimensions`
|
|
686
695
|
# @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
|
|
687
696
|
attr_accessor :dimensions
|
|
@@ -708,26 +717,31 @@ module Google
|
|
|
708
717
|
end
|
|
709
718
|
end
|
|
710
719
|
|
|
711
|
-
# The quantitative measurements of a report. For example, the metric eventCount
|
|
720
|
+
# The quantitative measurements of a report. For example, the metric `eventCount`
|
|
712
721
|
# is the total number of events. Requests are allowed up to 10 metrics.
|
|
713
722
|
class Metric
|
|
714
723
|
include Google::Apis::Core::Hashable
|
|
715
724
|
|
|
716
725
|
# A mathematical expression for derived metrics. For example, the metric Event
|
|
717
|
-
# count per user is eventCount/totalUsers
|
|
726
|
+
# count per user is `eventCount/totalUsers`.
|
|
718
727
|
# Corresponds to the JSON property `expression`
|
|
719
728
|
# @return [String]
|
|
720
729
|
attr_accessor :expression
|
|
721
730
|
|
|
722
|
-
# Indicates if a metric is invisible
|
|
723
|
-
# not in the response, but can be
|
|
724
|
-
#
|
|
731
|
+
# Indicates if a metric is invisible in the report response. If a metric is
|
|
732
|
+
# invisible, the metric will not produce a column in the response, but can be
|
|
733
|
+
# used in `metricFilter`, `orderBys`, or a metric `expression`.
|
|
725
734
|
# Corresponds to the JSON property `invisible`
|
|
726
735
|
# @return [Boolean]
|
|
727
736
|
attr_accessor :invisible
|
|
728
737
|
alias_method :invisible?, :invisible
|
|
729
738
|
|
|
730
|
-
# The name of the metric.
|
|
739
|
+
# The name of the metric. See the [API Metrics](https://developers.google.com/
|
|
740
|
+
# analytics/trusted-testing/analytics-data/api-schema#metrics) for the list of
|
|
741
|
+
# metric names. If `expression` is specified, `name` can be any string that you
|
|
742
|
+
# would like. For example if `expression` is `screenPageViews/sessions`, you
|
|
743
|
+
# could call that metric's name = `viewsPerSession`. Metrics are referenced by `
|
|
744
|
+
# name` in `metricFilter`, `orderBys`, and metric `expression`.
|
|
731
745
|
# Corresponds to the JSON property `name`
|
|
732
746
|
# @return [String]
|
|
733
747
|
attr_accessor :name
|
|
@@ -58,7 +58,9 @@ module Google
|
|
|
58
58
|
# @param [String] name
|
|
59
59
|
# Required. The resource name of the metadata to retrieve. This name field is
|
|
60
60
|
# specified in the URL path and not URL parameters. Property is a numeric Google
|
|
61
|
-
# Analytics GA4 Property identifier.
|
|
61
|
+
# Analytics GA4 Property identifier. To learn more, see [where to find your
|
|
62
|
+
# Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
|
|
63
|
+
# data/property-id). Example: properties/1234/metadata
|
|
62
64
|
# @param [String] fields
|
|
63
65
|
# Selector specifying which fields to include in a partial response.
|
|
64
66
|
# @param [String] quota_user
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/android/management
|
|
27
27
|
module AndroidmanagementV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201012'
|
|
30
30
|
|
|
31
31
|
# Manage Android devices and apps for your customers
|
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
|
@@ -618,30 +618,31 @@ module Google
|
|
|
618
618
|
end
|
|
619
619
|
end
|
|
620
620
|
|
|
621
|
-
# Represents a whole or partial calendar date,
|
|
622
|
-
# and time zone are either specified elsewhere or are
|
|
623
|
-
# is relative to the
|
|
624
|
-
# date, with non-zero year, month and day values A month and
|
|
625
|
-
# zero year,
|
|
626
|
-
# values A year and month value, with a zero day,
|
|
627
|
-
# dateRelated types are google.type.TimeOfDay and google.
|
|
621
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
622
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
623
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
624
|
+
# following: A full date, with non-zero year, month, and day values A month and
|
|
625
|
+
# day value, with a zero year, such as an anniversary A year on its own, with
|
|
626
|
+
# zero month and day values A year and month value, with a zero day, such as a
|
|
627
|
+
# credit card expiration dateRelated types are google.type.TimeOfDay and google.
|
|
628
|
+
# protobuf.Timestamp.
|
|
628
629
|
class Date
|
|
629
630
|
include Google::Apis::Core::Hashable
|
|
630
631
|
|
|
631
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
|
632
|
-
#
|
|
633
|
-
# significant.
|
|
632
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
|
633
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
|
634
634
|
# Corresponds to the JSON property `day`
|
|
635
635
|
# @return [Fixnum]
|
|
636
636
|
attr_accessor :day
|
|
637
637
|
|
|
638
|
-
# Month of year. Must be from 1 to 12, or 0
|
|
638
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
|
639
639
|
# and day.
|
|
640
640
|
# Corresponds to the JSON property `month`
|
|
641
641
|
# @return [Fixnum]
|
|
642
642
|
attr_accessor :month
|
|
643
643
|
|
|
644
|
-
# Year of date. Must be from 1 to 9999, or 0
|
|
644
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
|
645
|
+
# year.
|
|
645
646
|
# Corresponds to the JSON property `year`
|
|
646
647
|
# @return [Fixnum]
|
|
647
648
|
attr_accessor :year
|
|
@@ -1252,24 +1253,26 @@ module Google
|
|
|
1252
1253
|
class FreezePeriod
|
|
1253
1254
|
include Google::Apis::Core::Hashable
|
|
1254
1255
|
|
|
1255
|
-
# Represents a whole or partial calendar date,
|
|
1256
|
-
# and time zone are either specified elsewhere or are
|
|
1257
|
-
# is relative to the
|
|
1258
|
-
# date, with non-zero year, month and day values A month and
|
|
1259
|
-
# zero year,
|
|
1260
|
-
# values A year and month value, with a zero day,
|
|
1261
|
-
# dateRelated types are google.type.TimeOfDay and google.
|
|
1256
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
1257
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
1258
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
1259
|
+
# following: A full date, with non-zero year, month, and day values A month and
|
|
1260
|
+
# day value, with a zero year, such as an anniversary A year on its own, with
|
|
1261
|
+
# zero month and day values A year and month value, with a zero day, such as a
|
|
1262
|
+
# credit card expiration dateRelated types are google.type.TimeOfDay and google.
|
|
1263
|
+
# protobuf.Timestamp.
|
|
1262
1264
|
# Corresponds to the JSON property `endDate`
|
|
1263
1265
|
# @return [Google::Apis::AndroidmanagementV1::Date]
|
|
1264
1266
|
attr_accessor :end_date
|
|
1265
1267
|
|
|
1266
|
-
# Represents a whole or partial calendar date,
|
|
1267
|
-
# and time zone are either specified elsewhere or are
|
|
1268
|
-
# is relative to the
|
|
1269
|
-
# date, with non-zero year, month and day values A month and
|
|
1270
|
-
# zero year,
|
|
1271
|
-
# values A year and month value, with a zero day,
|
|
1272
|
-
# dateRelated types are google.type.TimeOfDay and google.
|
|
1268
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
1269
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
1270
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
1271
|
+
# following: A full date, with non-zero year, month, and day values A month and
|
|
1272
|
+
# day value, with a zero year, such as an anniversary A year on its own, with
|
|
1273
|
+
# zero month and day values A year and month value, with a zero day, such as a
|
|
1274
|
+
# credit card expiration dateRelated types are google.type.TimeOfDay and google.
|
|
1275
|
+
# protobuf.Timestamp.
|
|
1273
1276
|
# Corresponds to the JSON property `startDate`
|
|
1274
1277
|
# @return [Google::Apis::AndroidmanagementV1::Date]
|
|
1275
1278
|
attr_accessor :start_date
|
|
@@ -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 = '20201022'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -1632,7 +1632,8 @@ module Google
|
|
|
1632
1632
|
attr_accessor :order_id
|
|
1633
1633
|
|
|
1634
1634
|
# The payment state of the subscription. Possible values are: 0. Payment pending
|
|
1635
|
-
# 1. Payment received 2. Free trial 3. Pending deferred upgrade/downgrade
|
|
1635
|
+
# 1. Payment received 2. Free trial 3. Pending deferred upgrade/downgrade Not
|
|
1636
|
+
# present for canceled, expired subscriptions.
|
|
1636
1637
|
# Corresponds to the JSON property `paymentState`
|
|
1637
1638
|
# @return [Fixnum]
|
|
1638
1639
|
attr_accessor :payment_state
|
|
@@ -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 = '20201022'
|
|
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'
|
|
@@ -3992,6 +3992,15 @@ module Google
|
|
|
3992
3992
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties]
|
|
3993
3993
|
attr_accessor :properties
|
|
3994
3994
|
|
|
3995
|
+
# Cloud KMS key name used for encrypting the data that is stored and replicated
|
|
3996
|
+
# across runtime instances. Update is not allowed after the organization is
|
|
3997
|
+
# created. If not specified, a Google-Managed encryption key will be used. Valid
|
|
3998
|
+
# only when [RuntimeType] is CLOUD. For example: "projects/foo/locations/us/
|
|
3999
|
+
# keyRings/bar/cryptoKeys/baz". **Note:** Not supported for Apigee hybrid.
|
|
4000
|
+
# Corresponds to the JSON property `runtimeDatabaseEncryptionKeyName`
|
|
4001
|
+
# @return [String]
|
|
4002
|
+
attr_accessor :runtime_database_encryption_key_name
|
|
4003
|
+
|
|
3995
4004
|
# Required. Runtime type of the Apigee organization based on the Apigee
|
|
3996
4005
|
# subscription purchased.
|
|
3997
4006
|
# Corresponds to the JSON property `runtimeType`
|
|
@@ -4030,6 +4039,7 @@ module Google
|
|
|
4030
4039
|
@name = args[:name] if args.key?(:name)
|
|
4031
4040
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
4032
4041
|
@properties = args[:properties] if args.key?(:properties)
|
|
4042
|
+
@runtime_database_encryption_key_name = args[:runtime_database_encryption_key_name] if args.key?(:runtime_database_encryption_key_name)
|
|
4033
4043
|
@runtime_type = args[:runtime_type] if args.key?(:runtime_type)
|
|
4034
4044
|
@subscription_type = args[:subscription_type] if args.key?(:subscription_type)
|
|
4035
4045
|
@type = args[:type] if args.key?(:type)
|
|
@@ -4946,7 +4956,7 @@ module Google
|
|
|
4946
4956
|
# @return [String]
|
|
4947
4957
|
attr_accessor :revision_id
|
|
4948
4958
|
|
|
4949
|
-
# NEXT ID:
|
|
4959
|
+
# NEXT ID: 3 RuntimeTraceSamplingConfig represents the detail settings of
|
|
4950
4960
|
# distributed tracing. Only the fields that are defined in the distributed trace
|
|
4951
4961
|
# configuration can be overridden using the distribute trace configuration
|
|
4952
4962
|
# override APIs.
|
|
@@ -4998,7 +5008,7 @@ module Google
|
|
|
4998
5008
|
# @return [String]
|
|
4999
5009
|
attr_accessor :revision_id
|
|
5000
5010
|
|
|
5001
|
-
# NEXT ID:
|
|
5011
|
+
# NEXT ID: 3 RuntimeTraceSamplingConfig represents the detail settings of
|
|
5002
5012
|
# distributed tracing. Only the fields that are defined in the distributed trace
|
|
5003
5013
|
# configuration can be overridden using the distribute trace configuration
|
|
5004
5014
|
# override APIs.
|
|
@@ -5007,7 +5017,7 @@ module Google
|
|
|
5007
5017
|
attr_accessor :sampling_config
|
|
5008
5018
|
|
|
5009
5019
|
# Unique ID for the configuration override. The ID will only change if the
|
|
5010
|
-
# override is deleted and recreated.
|
|
5020
|
+
# override is deleted and recreated. Corresponds to name's "override" field.
|
|
5011
5021
|
# Corresponds to the JSON property `uid`
|
|
5012
5022
|
# @return [String]
|
|
5013
5023
|
attr_accessor :uid
|
|
@@ -5027,37 +5037,20 @@ module Google
|
|
|
5027
5037
|
end
|
|
5028
5038
|
end
|
|
5029
5039
|
|
|
5030
|
-
# NEXT ID:
|
|
5040
|
+
# NEXT ID: 3 RuntimeTraceSamplingConfig represents the detail settings of
|
|
5031
5041
|
# distributed tracing. Only the fields that are defined in the distributed trace
|
|
5032
5042
|
# configuration can be overridden using the distribute trace configuration
|
|
5033
5043
|
# override APIs.
|
|
5034
5044
|
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
|
|
5035
5045
|
include Google::Apis::Core::Hashable
|
|
5036
5046
|
|
|
5037
|
-
# Error sources from which to capture errors. If none are specified, error codes
|
|
5038
|
-
# are captured from all sources.
|
|
5039
|
-
# Corresponds to the JSON property `errorSources`
|
|
5040
|
-
# @return [Array<String>]
|
|
5041
|
-
attr_accessor :error_sources
|
|
5042
|
-
|
|
5043
|
-
# List of response code ranges.
|
|
5044
|
-
# Corresponds to the JSON property `responseCodeRanges`
|
|
5045
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange>]
|
|
5046
|
-
attr_accessor :response_code_ranges
|
|
5047
|
-
|
|
5048
|
-
# List of single response codes.
|
|
5049
|
-
# Corresponds to the JSON property `responseCodes`
|
|
5050
|
-
# @return [Array<Fixnum>]
|
|
5051
|
-
attr_accessor :response_codes
|
|
5052
|
-
|
|
5053
5047
|
# Sampler of distributed tracing. OFF is the default value.
|
|
5054
5048
|
# Corresponds to the JSON property `sampler`
|
|
5055
5049
|
# @return [String]
|
|
5056
5050
|
attr_accessor :sampler
|
|
5057
5051
|
|
|
5058
|
-
# Field sampling rate. This value is only
|
|
5059
|
-
#
|
|
5060
|
-
# <= 0.5.
|
|
5052
|
+
# Field sampling rate. This value is only applicable when using the PROBABILITY
|
|
5053
|
+
# sampler. The supported values are > 0 and <= 0.5.
|
|
5061
5054
|
# Corresponds to the JSON property `samplingRate`
|
|
5062
5055
|
# @return [Float]
|
|
5063
5056
|
attr_accessor :sampling_rate
|
|
@@ -5068,42 +5061,11 @@ module Google
|
|
|
5068
5061
|
|
|
5069
5062
|
# Update properties of this object
|
|
5070
5063
|
def update!(**args)
|
|
5071
|
-
@error_sources = args[:error_sources] if args.key?(:error_sources)
|
|
5072
|
-
@response_code_ranges = args[:response_code_ranges] if args.key?(:response_code_ranges)
|
|
5073
|
-
@response_codes = args[:response_codes] if args.key?(:response_codes)
|
|
5074
5064
|
@sampler = args[:sampler] if args.key?(:sampler)
|
|
5075
5065
|
@sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
|
|
5076
5066
|
end
|
|
5077
5067
|
end
|
|
5078
5068
|
|
|
5079
|
-
# ResponseCodeRange represents a group of response codes to capture, from the
|
|
5080
|
-
# first response code to the last response code. Each range is a close interval.
|
|
5081
|
-
# For example, if an interval is [400, 403], then that means 400, 401, 402, 403
|
|
5082
|
-
# will be all captured.
|
|
5083
|
-
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
|
|
5084
|
-
include Google::Apis::Core::Hashable
|
|
5085
|
-
|
|
5086
|
-
# The first response code to capture.
|
|
5087
|
-
# Corresponds to the JSON property `firstResponseCode`
|
|
5088
|
-
# @return [Fixnum]
|
|
5089
|
-
attr_accessor :first_response_code
|
|
5090
|
-
|
|
5091
|
-
# The last response code to capture.
|
|
5092
|
-
# Corresponds to the JSON property `lastResponseCode`
|
|
5093
|
-
# @return [Fixnum]
|
|
5094
|
-
attr_accessor :last_response_code
|
|
5095
|
-
|
|
5096
|
-
def initialize(**args)
|
|
5097
|
-
update!(**args)
|
|
5098
|
-
end
|
|
5099
|
-
|
|
5100
|
-
# Update properties of this object
|
|
5101
|
-
def update!(**args)
|
|
5102
|
-
@first_response_code = args[:first_response_code] if args.key?(:first_response_code)
|
|
5103
|
-
@last_response_code = args[:last_response_code] if args.key?(:last_response_code)
|
|
5104
|
-
end
|
|
5105
|
-
end
|
|
5106
|
-
|
|
5107
5069
|
# Response for Schema call
|
|
5108
5070
|
class GoogleCloudApigeeV1Schema
|
|
5109
5071
|
include Google::Apis::Core::Hashable
|