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
|
@@ -304,6 +304,12 @@ module Google
|
|
|
304
304
|
include Google::Apis::Core::JsonObjectSupport
|
|
305
305
|
end
|
|
306
306
|
|
|
307
|
+
class GoogleCloudMlV1MetricSpec
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
307
313
|
class GoogleCloudMlV1Model
|
|
308
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
315
|
|
|
@@ -666,6 +672,9 @@ module Google
|
|
|
666
672
|
class GoogleCloudMlV1AutoScaling
|
|
667
673
|
# @private
|
|
668
674
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
675
|
+
property :max_nodes, as: 'maxNodes'
|
|
676
|
+
collection :metrics, as: 'metrics', class: Google::Apis::MlV1::GoogleCloudMlV1MetricSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1MetricSpec::Representation
|
|
677
|
+
|
|
669
678
|
property :min_nodes, as: 'minNodes'
|
|
670
679
|
end
|
|
671
680
|
end
|
|
@@ -951,6 +960,14 @@ module Google
|
|
|
951
960
|
end
|
|
952
961
|
end
|
|
953
962
|
|
|
963
|
+
class GoogleCloudMlV1MetricSpec
|
|
964
|
+
# @private
|
|
965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
966
|
+
property :name, as: 'name'
|
|
967
|
+
property :target, as: 'target'
|
|
968
|
+
end
|
|
969
|
+
end
|
|
970
|
+
|
|
954
971
|
class GoogleCloudMlV1Model
|
|
955
972
|
# @private
|
|
956
973
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/monitoring/api/
|
|
30
30
|
module MonitoringV3
|
|
31
31
|
VERSION = 'V3'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20201019'
|
|
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'
|
|
@@ -646,7 +646,7 @@ module Google
|
|
|
646
646
|
attr_accessor :condition_absent
|
|
647
647
|
|
|
648
648
|
# A condition type that allows alert policies to be defined using Monitoring
|
|
649
|
-
# Query Language.
|
|
649
|
+
# Query Language (https://cloud.google.com/monitoring/mql).
|
|
650
650
|
# Corresponds to the JSON property `conditionMonitoringQueryLanguage`
|
|
651
651
|
# @return [Google::Apis::MonitoringV3::MonitoringQueryLanguageCondition]
|
|
652
652
|
attr_accessor :condition_monitoring_query_language
|
|
@@ -1439,7 +1439,7 @@ module Google
|
|
|
1439
1439
|
# URL_ENCODED, the body passed in must be URL-encoded. Users can provide a
|
|
1440
1440
|
# Content-Length header via the headers field or the API will do so. If the
|
|
1441
1441
|
# request_method is GET and body is not empty, the API will return an error. The
|
|
1442
|
-
# maximum byte size is 1 megabyte. Note: As with all bytes fields JSON
|
|
1442
|
+
# maximum byte size is 1 megabyte. Note: As with all bytes fields, JSON
|
|
1443
1443
|
# representations are base64 encoded. e.g.: "foo=bar" in URL-encoded form is "
|
|
1444
1444
|
# foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".
|
|
1445
1445
|
# Corresponds to the JSON property `body`
|
|
@@ -1447,7 +1447,12 @@ module Google
|
|
|
1447
1447
|
# @return [String]
|
|
1448
1448
|
attr_accessor :body
|
|
1449
1449
|
|
|
1450
|
-
# The content type to use for the check.
|
|
1450
|
+
# The content type header to use for the check. The following configurations
|
|
1451
|
+
# result in errors: 1. Content type is specified in both the headers field and
|
|
1452
|
+
# the content_type field. 2. Request method is GET and content_type is not
|
|
1453
|
+
# TYPE_UNSPECIFIED 3. Request method is POST and content_type is
|
|
1454
|
+
# TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is
|
|
1455
|
+
# provided via headers field. The content_type field should be used instead.
|
|
1451
1456
|
# Corresponds to the JSON property `contentType`
|
|
1452
1457
|
# @return [String]
|
|
1453
1458
|
attr_accessor :content_type
|
|
@@ -2648,7 +2653,7 @@ module Google
|
|
|
2648
2653
|
end
|
|
2649
2654
|
|
|
2650
2655
|
# A condition type that allows alert policies to be defined using Monitoring
|
|
2651
|
-
# Query Language.
|
|
2656
|
+
# Query Language (https://cloud.google.com/monitoring/mql).
|
|
2652
2657
|
class MonitoringQueryLanguageCondition
|
|
2653
2658
|
include Google::Apis::Core::Hashable
|
|
2654
2659
|
|
|
@@ -2665,7 +2670,8 @@ module Google
|
|
|
2665
2670
|
# @return [String]
|
|
2666
2671
|
attr_accessor :duration
|
|
2667
2672
|
|
|
2668
|
-
# Monitoring Query Language query that
|
|
2673
|
+
# Monitoring Query Language (https://cloud.google.com/monitoring/mql) query that
|
|
2674
|
+
# outputs a boolean stream.
|
|
2669
2675
|
# Corresponds to the JSON property `query`
|
|
2670
2676
|
# @return [String]
|
|
2671
2677
|
attr_accessor :query
|
|
@@ -1291,6 +1291,51 @@ module Google
|
|
|
1291
1291
|
# If this field is not empty then it must contain the nextPageToken value
|
|
1292
1292
|
# returned by a previous call to this method. Using this field causes the method
|
|
1293
1293
|
# to return additional results from the previous method call.
|
|
1294
|
+
# @param [String] secondary_aggregation_alignment_period
|
|
1295
|
+
# The alignment_period specifies a time interval, in seconds, that is used to
|
|
1296
|
+
# divide the data in all the time series into consistent blocks of time. This
|
|
1297
|
+
# will be done before the per-series aligner can be applied to the data.The
|
|
1298
|
+
# value must be at least 60 seconds. If a per-series aligner other than
|
|
1299
|
+
# ALIGN_NONE is specified, this field is required or an error is returned. If no
|
|
1300
|
+
# per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
|
|
1301
|
+
# this field is ignored.The maximum value of the alignment_period is 104 weeks (
|
|
1302
|
+
# 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
|
|
1303
|
+
# @param [String] secondary_aggregation_cross_series_reducer
|
|
1304
|
+
# The reduction operation to be used to combine time series into a single time
|
|
1305
|
+
# series, where the value of each data point in the resulting series is a
|
|
1306
|
+
# function of all the already aligned values in the input time series.Not all
|
|
1307
|
+
# reducer operations can be applied to all time series. The valid choices depend
|
|
1308
|
+
# on the metric_kind and the value_type of the original time series. Reduction
|
|
1309
|
+
# can yield a time series with a different metric_kind or value_type than the
|
|
1310
|
+
# input time series.Time series data must first be aligned (see
|
|
1311
|
+
# per_series_aligner) in order to perform cross-time series reduction. If
|
|
1312
|
+
# cross_series_reducer is specified, then per_series_aligner must be specified,
|
|
1313
|
+
# and must not be ALIGN_NONE. An alignment_period must also be specified;
|
|
1314
|
+
# otherwise, an error is returned.
|
|
1315
|
+
# @param [Array<String>, String] secondary_aggregation_group_by_fields
|
|
1316
|
+
# The set of fields to preserve when cross_series_reducer is specified. The
|
|
1317
|
+
# group_by_fields determine how the time series are partitioned into subsets
|
|
1318
|
+
# prior to applying the aggregation operation. Each subset contains time series
|
|
1319
|
+
# that have the same value for each of the grouping fields. Each individual time
|
|
1320
|
+
# series is a member of exactly one subset. The cross_series_reducer is applied
|
|
1321
|
+
# to each subset of time series. It is not possible to reduce across different
|
|
1322
|
+
# resource types, so this field implicitly contains resource.type. Fields not
|
|
1323
|
+
# specified in group_by_fields are aggregated away. If group_by_fields is not
|
|
1324
|
+
# specified and all the time series have the same resource type, then the time
|
|
1325
|
+
# series are aggregated into a single output time series. If
|
|
1326
|
+
# cross_series_reducer is not defined, this field is ignored.
|
|
1327
|
+
# @param [String] secondary_aggregation_per_series_aligner
|
|
1328
|
+
# An Aligner describes how to bring the data points in a single time series into
|
|
1329
|
+
# temporal alignment. Except for ALIGN_NONE, all alignments cause all the data
|
|
1330
|
+
# points in an alignment_period to be mathematically grouped together, resulting
|
|
1331
|
+
# in a single data point for each alignment_period with end timestamp at the end
|
|
1332
|
+
# of the period.Not all alignment operations may be applied to all time series.
|
|
1333
|
+
# The valid choices depend on the metric_kind and value_type of the original
|
|
1334
|
+
# time series. Alignment can change the metric_kind or the value_type of the
|
|
1335
|
+
# time series.Time series data must be aligned in order to perform cross-time
|
|
1336
|
+
# series reduction. If cross_series_reducer is specified, then
|
|
1337
|
+
# per_series_aligner must be specified and not equal to ALIGN_NONE and
|
|
1338
|
+
# alignment_period must be specified; otherwise, an error is returned.
|
|
1294
1339
|
# @param [String] view
|
|
1295
1340
|
# Required. Specifies which information is returned about the time series.
|
|
1296
1341
|
# @param [String] fields
|
|
@@ -1310,7 +1355,7 @@ module Google
|
|
|
1310
1355
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1311
1356
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1312
1357
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1313
|
-
def list_project_time_series(name, aggregation_alignment_period: nil, aggregation_cross_series_reducer: nil, aggregation_group_by_fields: nil, aggregation_per_series_aligner: nil, filter: nil, interval_end_time: nil, interval_start_time: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1358
|
+
def list_project_time_series(name, aggregation_alignment_period: nil, aggregation_cross_series_reducer: nil, aggregation_group_by_fields: nil, aggregation_per_series_aligner: nil, filter: nil, interval_end_time: nil, interval_start_time: nil, order_by: nil, page_size: nil, page_token: nil, secondary_aggregation_alignment_period: nil, secondary_aggregation_cross_series_reducer: nil, secondary_aggregation_group_by_fields: nil, secondary_aggregation_per_series_aligner: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1314
1359
|
command = make_simple_command(:get, 'v3/{+name}/timeSeries', options)
|
|
1315
1360
|
command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation
|
|
1316
1361
|
command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse
|
|
@@ -1325,6 +1370,10 @@ module Google
|
|
|
1325
1370
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1326
1371
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1327
1372
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1373
|
+
command.query['secondaryAggregation.alignmentPeriod'] = secondary_aggregation_alignment_period unless secondary_aggregation_alignment_period.nil?
|
|
1374
|
+
command.query['secondaryAggregation.crossSeriesReducer'] = secondary_aggregation_cross_series_reducer unless secondary_aggregation_cross_series_reducer.nil?
|
|
1375
|
+
command.query['secondaryAggregation.groupByFields'] = secondary_aggregation_group_by_fields unless secondary_aggregation_group_by_fields.nil?
|
|
1376
|
+
command.query['secondaryAggregation.perSeriesAligner'] = secondary_aggregation_per_series_aligner unless secondary_aggregation_per_series_aligner.nil?
|
|
1328
1377
|
command.query['view'] = view unless view.nil?
|
|
1329
1378
|
command.query['fields'] = fields unless fields.nil?
|
|
1330
1379
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android/work/play/custom-app-api/
|
|
26
26
|
module PlaycustomappV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201020'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
|
26
26
|
module PubsubV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201012'
|
|
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'
|
|
@@ -777,7 +777,7 @@ module Google
|
|
|
777
777
|
end
|
|
778
778
|
|
|
779
779
|
# Seeks an existing subscription to a point in time or to a given snapshot,
|
|
780
|
-
# whichever is provided in the request. Snapshots are used in [Seek](
|
|
780
|
+
# whichever is provided in the request. Snapshots are used in [Seek] (https://
|
|
781
781
|
# cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to
|
|
782
782
|
# manage message acknowledgments in bulk. That is, you can set the
|
|
783
783
|
# acknowledgment state of messages in an existing subscription to the state
|
|
@@ -889,7 +889,7 @@ module Google
|
|
|
889
889
|
execute_or_queue_command(command, &block)
|
|
890
890
|
end
|
|
891
891
|
|
|
892
|
-
# Creates the given topic with the given name. See the [resource name rules](
|
|
892
|
+
# Creates the given topic with the given name. See the [resource name rules] (
|
|
893
893
|
# https://cloud.google.com/pubsub/docs/admin#resource_names).
|
|
894
894
|
# @param [String] name
|
|
895
895
|
# Required. The name of the topic. It must have the format `"projects/`project`/
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/recommender/docs/
|
|
26
26
|
module RecommenderV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201016'
|
|
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'
|
|
@@ -656,7 +656,7 @@ module Google
|
|
|
656
656
|
class GoogleTypeMoney
|
|
657
657
|
include Google::Apis::Core::Hashable
|
|
658
658
|
|
|
659
|
-
# The
|
|
659
|
+
# The three-letter currency code defined in ISO 4217.
|
|
660
660
|
# Corresponds to the JSON property `currencyCode`
|
|
661
661
|
# @return [String]
|
|
662
662
|
attr_accessor :currency_code
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/recommender/docs/
|
|
26
26
|
module RecommenderV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201016'
|
|
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'
|
|
@@ -656,7 +656,7 @@ module Google
|
|
|
656
656
|
class GoogleTypeMoney
|
|
657
657
|
include Google::Apis::Core::Hashable
|
|
658
658
|
|
|
659
|
-
# The
|
|
659
|
+
# The three-letter currency code defined in ISO 4217.
|
|
660
660
|
# Corresponds to the JSON property `currencyCode`
|
|
661
661
|
# @return [String]
|
|
662
662
|
attr_accessor :currency_code
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/spectrum-access-system/
|
|
26
26
|
module SasportalV1alpha1
|
|
27
27
|
VERSION = 'V1alpha1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201019'
|
|
29
29
|
|
|
30
30
|
# View your email address
|
|
31
31
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
|
@@ -825,6 +825,115 @@ module Google
|
|
|
825
825
|
execute_or_queue_command(command, &block)
|
|
826
826
|
end
|
|
827
827
|
|
|
828
|
+
# Creates a device under a node or customer.
|
|
829
|
+
# @param [String] parent
|
|
830
|
+
# Required. The name of the parent resource.
|
|
831
|
+
# @param [Google::Apis::SasportalV1alpha1::SasPortalDevice] sas_portal_device_object
|
|
832
|
+
# @param [String] fields
|
|
833
|
+
# Selector specifying which fields to include in a partial response.
|
|
834
|
+
# @param [String] quota_user
|
|
835
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
836
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
837
|
+
# @param [Google::Apis::RequestOptions] options
|
|
838
|
+
# Request-specific options
|
|
839
|
+
#
|
|
840
|
+
# @yield [result, err] Result & error if block supplied
|
|
841
|
+
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDevice] parsed result object
|
|
842
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
843
|
+
#
|
|
844
|
+
# @return [Google::Apis::SasportalV1alpha1::SasPortalDevice]
|
|
845
|
+
#
|
|
846
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
847
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
848
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
849
|
+
def create_customer_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
850
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
|
|
851
|
+
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation
|
|
852
|
+
command.request_object = sas_portal_device_object
|
|
853
|
+
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation
|
|
854
|
+
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDevice
|
|
855
|
+
command.params['parent'] = parent unless parent.nil?
|
|
856
|
+
command.query['fields'] = fields unless fields.nil?
|
|
857
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
858
|
+
execute_or_queue_command(command, &block)
|
|
859
|
+
end
|
|
860
|
+
|
|
861
|
+
# Creates a signed device under a node or customer.
|
|
862
|
+
# @param [String] parent
|
|
863
|
+
# Required. The name of the parent resource.
|
|
864
|
+
# @param [Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest] sas_portal_create_signed_device_request_object
|
|
865
|
+
# @param [String] fields
|
|
866
|
+
# Selector specifying which fields to include in a partial response.
|
|
867
|
+
# @param [String] quota_user
|
|
868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
870
|
+
# @param [Google::Apis::RequestOptions] options
|
|
871
|
+
# Request-specific options
|
|
872
|
+
#
|
|
873
|
+
# @yield [result, err] Result & error if block supplied
|
|
874
|
+
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDevice] parsed result object
|
|
875
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
876
|
+
#
|
|
877
|
+
# @return [Google::Apis::SasportalV1alpha1::SasPortalDevice]
|
|
878
|
+
#
|
|
879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
882
|
+
def create_customer_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
883
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
|
|
884
|
+
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
|
|
885
|
+
command.request_object = sas_portal_create_signed_device_request_object
|
|
886
|
+
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation
|
|
887
|
+
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDevice
|
|
888
|
+
command.params['parent'] = parent unless parent.nil?
|
|
889
|
+
command.query['fields'] = fields unless fields.nil?
|
|
890
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
891
|
+
execute_or_queue_command(command, &block)
|
|
892
|
+
end
|
|
893
|
+
|
|
894
|
+
# Lists devices under a node or customer.
|
|
895
|
+
# @param [String] parent
|
|
896
|
+
# Required. The name of the parent resource.
|
|
897
|
+
# @param [String] filter
|
|
898
|
+
# The filter expression. The filter should have one of the following formats: "
|
|
899
|
+
# sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the
|
|
900
|
+
# device. The filter is case insensitive.
|
|
901
|
+
# @param [Fixnum] page_size
|
|
902
|
+
# The maximum number of devices to return in the response. If empty or zero, all
|
|
903
|
+
# devices will be listed. Must be in the range [0, 1000].
|
|
904
|
+
# @param [String] page_token
|
|
905
|
+
# A pagination token returned from a previous call to ListDevices that indicates
|
|
906
|
+
# where this listing should continue from.
|
|
907
|
+
# @param [String] fields
|
|
908
|
+
# Selector specifying which fields to include in a partial response.
|
|
909
|
+
# @param [String] quota_user
|
|
910
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
911
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
912
|
+
# @param [Google::Apis::RequestOptions] options
|
|
913
|
+
# Request-specific options
|
|
914
|
+
#
|
|
915
|
+
# @yield [result, err] Result & error if block supplied
|
|
916
|
+
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse] parsed result object
|
|
917
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
918
|
+
#
|
|
919
|
+
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse]
|
|
920
|
+
#
|
|
921
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
922
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
923
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
924
|
+
def list_customer_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
925
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
|
|
926
|
+
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse::Representation
|
|
927
|
+
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDevicesResponse
|
|
928
|
+
command.params['parent'] = parent unless parent.nil?
|
|
929
|
+
command.query['filter'] = filter unless filter.nil?
|
|
930
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
931
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
932
|
+
command.query['fields'] = fields unless fields.nil?
|
|
933
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
934
|
+
execute_or_queue_command(command, &block)
|
|
935
|
+
end
|
|
936
|
+
|
|
828
937
|
# Creates a new node.
|
|
829
938
|
# @param [String] parent
|
|
830
939
|
# Required. The parent resource name where the node is to be created.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
|
26
26
|
module ServiceconsumermanagementV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201021'
|
|
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'
|
|
@@ -338,7 +338,8 @@ module Google
|
|
|
338
338
|
class AuthenticationRule
|
|
339
339
|
include Google::Apis::Core::Hashable
|
|
340
340
|
|
|
341
|
-
# If true, the service accepts API keys without any other credential.
|
|
341
|
+
# If true, the service accepts API keys without any other credential. This flag
|
|
342
|
+
# only applies to HTTP and gRPC requests.
|
|
342
343
|
# Corresponds to the JSON property `allowWithoutCredential`
|
|
343
344
|
# @return [Boolean]
|
|
344
345
|
attr_accessor :allow_without_credential
|
|
@@ -598,7 +599,7 @@ module Google
|
|
|
598
599
|
# context.OriginContext The above specifies that all methods in the API request `
|
|
599
600
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
|
600
601
|
# Available context types are defined in package `google.rpc.context`. This also
|
|
601
|
-
# provides mechanism to
|
|
602
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
|
602
603
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
|
603
604
|
# For example, list any service specific protobuf types that can appear in grpc
|
|
604
605
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
|
@@ -1332,13 +1333,6 @@ module Google
|
|
|
1332
1333
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1::HttpRule>]
|
|
1333
1334
|
attr_accessor :additional_bindings
|
|
1334
1335
|
|
|
1335
|
-
# When this flag is set to true, HTTP requests will be allowed to invoke a half-
|
|
1336
|
-
# duplex streaming method.
|
|
1337
|
-
# Corresponds to the JSON property `allowHalfDuplex`
|
|
1338
|
-
# @return [Boolean]
|
|
1339
|
-
attr_accessor :allow_half_duplex
|
|
1340
|
-
alias_method :allow_half_duplex?, :allow_half_duplex
|
|
1341
|
-
|
|
1342
1336
|
# The name of the request field whose value is mapped to the HTTP request body,
|
|
1343
1337
|
# or `*` for mapping all request fields not captured by the path pattern to the
|
|
1344
1338
|
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
|
@@ -1398,7 +1392,6 @@ module Google
|
|
|
1398
1392
|
# Update properties of this object
|
|
1399
1393
|
def update!(**args)
|
|
1400
1394
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
|
1401
|
-
@allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
|
|
1402
1395
|
@body = args[:body] if args.key?(:body)
|
|
1403
1396
|
@custom = args[:custom] if args.key?(:custom)
|
|
1404
1397
|
@delete = args[:delete] if args.key?(:delete)
|
|
@@ -2557,10 +2550,7 @@ module Google
|
|
|
2557
2550
|
# @return [Google::Apis::ServiceconsumermanagementV1::Billing]
|
|
2558
2551
|
attr_accessor :billing
|
|
2559
2552
|
|
|
2560
|
-
#
|
|
2561
|
-
# the interpretation of the service configuration. For example, certain features
|
|
2562
|
-
# are enabled by default for certain config versions. The latest config version
|
|
2563
|
-
# is `3`.
|
|
2553
|
+
# This field is obsolete. Its value must be set to `3`.
|
|
2564
2554
|
# Corresponds to the JSON property `configVersion`
|
|
2565
2555
|
# @return [Fixnum]
|
|
2566
2556
|
attr_accessor :config_version
|
|
@@ -2570,7 +2560,7 @@ module Google
|
|
|
2570
2560
|
# context.OriginContext The above specifies that all methods in the API request `
|
|
2571
2561
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
|
2572
2562
|
# Available context types are defined in package `google.rpc.context`. This also
|
|
2573
|
-
# provides mechanism to
|
|
2563
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
|
2574
2564
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
|
2575
2565
|
# For example, list any service specific protobuf types that can appear in grpc
|
|
2576
2566
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
|
@@ -2854,44 +2844,6 @@ module Google
|
|
|
2854
2844
|
end
|
|
2855
2845
|
end
|
|
2856
2846
|
|
|
2857
|
-
# The per-product per-project service identity for a service. Use this field to
|
|
2858
|
-
# configure per-product per-project service identity. Example of a service
|
|
2859
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
|
2860
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
|
2861
|
-
# as the identity of Cloud XXX to access resources"
|
|
2862
|
-
class ServiceIdentity
|
|
2863
|
-
include Google::Apis::Core::Hashable
|
|
2864
|
-
|
|
2865
|
-
# Optional. A user-specified opaque description of the service account. Must be
|
|
2866
|
-
# less than or equal to 256 UTF-8 bytes.
|
|
2867
|
-
# Corresponds to the JSON property `description`
|
|
2868
|
-
# @return [String]
|
|
2869
|
-
attr_accessor :description
|
|
2870
|
-
|
|
2871
|
-
# Optional. A user-specified name for the service account. Must be less than or
|
|
2872
|
-
# equal to 100 UTF-8 bytes.
|
|
2873
|
-
# Corresponds to the JSON property `displayName`
|
|
2874
|
-
# @return [String]
|
|
2875
|
-
attr_accessor :display_name
|
|
2876
|
-
|
|
2877
|
-
# A service account project that hosts the service accounts. An example name
|
|
2878
|
-
# would be: `projects/123456789`
|
|
2879
|
-
# Corresponds to the JSON property `serviceAccountParent`
|
|
2880
|
-
# @return [String]
|
|
2881
|
-
attr_accessor :service_account_parent
|
|
2882
|
-
|
|
2883
|
-
def initialize(**args)
|
|
2884
|
-
update!(**args)
|
|
2885
|
-
end
|
|
2886
|
-
|
|
2887
|
-
# Update properties of this object
|
|
2888
|
-
def update!(**args)
|
|
2889
|
-
@description = args[:description] if args.key?(:description)
|
|
2890
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2891
|
-
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
|
2892
|
-
end
|
|
2893
|
-
end
|
|
2894
|
-
|
|
2895
2847
|
# `SourceContext` represents information about the source of a protobuf element,
|
|
2896
2848
|
# like the file in which it is defined.
|
|
2897
2849
|
class SourceContext
|
|
@@ -3323,15 +3275,6 @@ module Google
|
|
|
3323
3275
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1::UsageRule>]
|
|
3324
3276
|
attr_accessor :rules
|
|
3325
3277
|
|
|
3326
|
-
# The per-product per-project service identity for a service. Use this field to
|
|
3327
|
-
# configure per-product per-project service identity. Example of a service
|
|
3328
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
|
3329
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
|
3330
|
-
# as the identity of Cloud XXX to access resources"
|
|
3331
|
-
# Corresponds to the JSON property `serviceIdentity`
|
|
3332
|
-
# @return [Google::Apis::ServiceconsumermanagementV1::ServiceIdentity]
|
|
3333
|
-
attr_accessor :service_identity
|
|
3334
|
-
|
|
3335
3278
|
def initialize(**args)
|
|
3336
3279
|
update!(**args)
|
|
3337
3280
|
end
|
|
@@ -3341,7 +3284,6 @@ module Google
|
|
|
3341
3284
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
|
3342
3285
|
@requirements = args[:requirements] if args.key?(:requirements)
|
|
3343
3286
|
@rules = args[:rules] if args.key?(:rules)
|
|
3344
|
-
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
|
3345
3287
|
end
|
|
3346
3288
|
end
|
|
3347
3289
|
|