google-api-client 0.19.5 → 0.19.6
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/CHANGELOG.md +30 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +34 -6
- data/generated/google/apis/bigquery_v2/representations.rb +5 -1
- data/generated/google/apis/bigquery_v2/service.rb +15 -3
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +45 -0
- data/generated/google/apis/calendar_v3/representations.rb +29 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +11 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +64 -30
- data/generated/google/apis/compute_alpha/representations.rb +1 -0
- data/generated/google/apis/compute_alpha/service.rb +142 -5
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +55 -29
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +219 -23
- data/generated/google/apis/compute_v1/representations.rb +68 -0
- data/generated/google/apis/compute_v1/service.rb +148 -3
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1769 -367
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +813 -223
- data/generated/google/apis/dialogflow_v2beta1/service.rb +224 -224
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +3 -1
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +3 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +16 -0
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +9 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +9 -0
- data/generated/google/apis/poly_v1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +7 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +4 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +282 -0
- data/generated/google/apis/sheets_v4/representations.rb +66 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +15 -0
- data/generated/google/apis/slides_v1/representations.rb +1 -0
- data/generated/google/apis/slides_v1/service.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +17 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +37 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2beta1
|
|
29
29
|
VERSION = 'V2beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180130'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1335,7 +1335,9 @@ module Google
|
|
|
1335
1335
|
|
|
1336
1336
|
# The content that was found. Even if the content is not textual, it
|
|
1337
1337
|
# may be converted to a textual representation here.
|
|
1338
|
-
# Provided if requested by the `InspectConfig
|
|
1338
|
+
# Provided if requested by the `InspectConfig` and the finding is
|
|
1339
|
+
# less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
|
|
1340
|
+
# in length, the quote may be omitted.
|
|
1339
1341
|
# Corresponds to the JSON property `quote`
|
|
1340
1342
|
# @return [String]
|
|
1341
1343
|
attr_accessor :quote
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2beta2
|
|
29
29
|
VERSION = 'V2beta2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180130'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -2912,7 +2912,9 @@ module Google
|
|
|
2912
2912
|
|
|
2913
2913
|
# The content that was found. Even if the content is not textual, it
|
|
2914
2914
|
# may be converted to a textual representation here.
|
|
2915
|
-
# Provided if requested by the `InspectConfig
|
|
2915
|
+
# Provided if requested by the `InspectConfig` and the finding is
|
|
2916
|
+
# less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
|
|
2917
|
+
# in length, the quote may be omitted.
|
|
2916
2918
|
# Corresponds to the JSON property `quote`
|
|
2917
2919
|
# @return [String]
|
|
2918
2920
|
attr_accessor :quote
|
|
@@ -2423,7 +2423,8 @@ module Google
|
|
|
2423
2423
|
# - They can only be set on user and group permissions
|
|
2424
2424
|
# - The date must be in the future
|
|
2425
2425
|
# - The date cannot be more than a year in the future
|
|
2426
|
-
# - The date can only be set on drive.permissions.update
|
|
2426
|
+
# - The date can only be set on drive.permissions.update or drive.permissions.
|
|
2427
|
+
# patch requests
|
|
2427
2428
|
# Corresponds to the JSON property `expirationDate`
|
|
2428
2429
|
# @return [DateTime]
|
|
2429
2430
|
attr_accessor :expiration_date
|
|
@@ -485,9 +485,8 @@ module Google
|
|
|
485
485
|
class Label
|
|
486
486
|
include Google::Apis::Core::Hashable
|
|
487
487
|
|
|
488
|
-
# The
|
|
489
|
-
#
|
|
490
|
-
# background_color configured.
|
|
488
|
+
# The color to assign to the label. Color is only available for labels that have
|
|
489
|
+
# their type set to user.
|
|
491
490
|
# Corresponds to the JSON property `color`
|
|
492
491
|
# @return [Google::Apis::GmailV1::LabelColor]
|
|
493
492
|
attr_accessor :color
|
|
@@ -567,31 +566,32 @@ module Google
|
|
|
567
566
|
class LabelColor
|
|
568
567
|
include Google::Apis::Core::Hashable
|
|
569
568
|
|
|
570
|
-
# The background color represented as hex string #RRGGBB (ex #000000).
|
|
571
|
-
#
|
|
572
|
-
# predefined set of color values are allowed:
|
|
573
|
-
# #
|
|
574
|
-
#
|
|
575
|
-
# #
|
|
576
|
-
#
|
|
577
|
-
# #
|
|
578
|
-
#
|
|
579
|
-
# #
|
|
580
|
-
# 83334c
|
|
569
|
+
# The background color represented as hex string #RRGGBB (ex #000000). This
|
|
570
|
+
# field is required in order to set the color of a label. Only the following
|
|
571
|
+
# predefined set of color values are allowed:
|
|
572
|
+
# #000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #
|
|
573
|
+
# fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be,
|
|
574
|
+
# #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #
|
|
575
|
+
# ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b,
|
|
576
|
+
# #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
|
|
577
|
+
# f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
|
|
578
|
+
# #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
|
|
579
|
+
# 076239, #1a764d, #1c4587, #41236d, #83334c
|
|
581
580
|
# Corresponds to the JSON property `backgroundColor`
|
|
582
581
|
# @return [String]
|
|
583
582
|
attr_accessor :background_color
|
|
584
583
|
|
|
585
|
-
# The text color of the label, represented as hex string.
|
|
586
|
-
#
|
|
587
|
-
#
|
|
588
|
-
#
|
|
589
|
-
#
|
|
590
|
-
#
|
|
591
|
-
#
|
|
592
|
-
#
|
|
593
|
-
#
|
|
594
|
-
#
|
|
584
|
+
# The text color of the label, represented as hex string. This field is required
|
|
585
|
+
# in order to set the color of a label. Only the following predefined set of
|
|
586
|
+
# color values are allowed:
|
|
587
|
+
# #000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, #
|
|
588
|
+
# fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, #f6c5be,
|
|
589
|
+
# #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, #efa093, #
|
|
590
|
+
# ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, #e66550, #ffbc6b,
|
|
591
|
+
# #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, #cc3a21, #eaa041, #
|
|
592
|
+
# f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, #ac2b16, #cf8933, #d5ae49,
|
|
593
|
+
# #0b804b, #2a9c68, #285bac, #653e9b, #b65775, #822111, #a46a21, #aa8831, #
|
|
594
|
+
# 076239, #1a764d, #1c4587, #41236d, #83334c
|
|
595
595
|
# Corresponds to the JSON property `textColor`
|
|
596
596
|
# @return [String]
|
|
597
597
|
attr_accessor :text_color
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180130'
|
|
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'
|
|
@@ -256,6 +256,13 @@ module Google
|
|
|
256
256
|
class GoogleCloudMlV1HyperparameterSpec
|
|
257
257
|
include Google::Apis::Core::Hashable
|
|
258
258
|
|
|
259
|
+
# Optional. Indicates if the hyperparameter tuning job enables auto trial
|
|
260
|
+
# early stopping.
|
|
261
|
+
# Corresponds to the JSON property `enableTrialEarlyStopping`
|
|
262
|
+
# @return [Boolean]
|
|
263
|
+
attr_accessor :enable_trial_early_stopping
|
|
264
|
+
alias_method :enable_trial_early_stopping?, :enable_trial_early_stopping
|
|
265
|
+
|
|
259
266
|
# Required. The type of goal to use for tuning. Available types are
|
|
260
267
|
# `MAXIMIZE` and `MINIMIZE`.
|
|
261
268
|
# Defaults to `MAXIMIZE`.
|
|
@@ -296,17 +303,26 @@ module Google
|
|
|
296
303
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec>]
|
|
297
304
|
attr_accessor :params
|
|
298
305
|
|
|
306
|
+
# Optional. The prior hyperparameter tuning job id that users hope to
|
|
307
|
+
# continue with. The job id will be used to find the corresponding vizier
|
|
308
|
+
# study guid and resume the study.
|
|
309
|
+
# Corresponds to the JSON property `resumePreviousJobId`
|
|
310
|
+
# @return [String]
|
|
311
|
+
attr_accessor :resume_previous_job_id
|
|
312
|
+
|
|
299
313
|
def initialize(**args)
|
|
300
314
|
update!(**args)
|
|
301
315
|
end
|
|
302
316
|
|
|
303
317
|
# Update properties of this object
|
|
304
318
|
def update!(**args)
|
|
319
|
+
@enable_trial_early_stopping = args[:enable_trial_early_stopping] if args.key?(:enable_trial_early_stopping)
|
|
305
320
|
@goal = args[:goal] if args.key?(:goal)
|
|
306
321
|
@hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag)
|
|
307
322
|
@max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
|
|
308
323
|
@max_trials = args[:max_trials] if args.key?(:max_trials)
|
|
309
324
|
@params = args[:params] if args.key?(:params)
|
|
325
|
+
@resume_previous_job_id = args[:resume_previous_job_id] if args.key?(:resume_previous_job_id)
|
|
310
326
|
end
|
|
311
327
|
end
|
|
312
328
|
|
|
@@ -294,12 +294,14 @@ module Google
|
|
|
294
294
|
class GoogleCloudMlV1HyperparameterSpec
|
|
295
295
|
# @private
|
|
296
296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
297
|
+
property :enable_trial_early_stopping, as: 'enableTrialEarlyStopping'
|
|
297
298
|
property :goal, as: 'goal'
|
|
298
299
|
property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag'
|
|
299
300
|
property :max_parallel_trials, as: 'maxParallelTrials'
|
|
300
301
|
property :max_trials, as: 'maxTrials'
|
|
301
302
|
collection :params, as: 'params', class: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec::Representation
|
|
302
303
|
|
|
304
|
+
property :resume_previous_job_id, as: 'resumePreviousJobId'
|
|
303
305
|
end
|
|
304
306
|
end
|
|
305
307
|
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
|
28
28
|
module MonitoringV3
|
|
29
29
|
VERSION = 'V3'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180128'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -762,7 +762,8 @@ module Google
|
|
|
762
762
|
# single header, with the value being a comma-separated list of all the desired
|
|
763
763
|
# values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page
|
|
764
764
|
# 31). Entering two separate headers with the same key in a Create call will
|
|
765
|
-
# cause the first to be overwritten by the second.
|
|
765
|
+
# cause the first to be overwritten by the second. The maximum number of headers
|
|
766
|
+
# allowed is 100.
|
|
766
767
|
# Corresponds to the JSON property `headers`
|
|
767
768
|
# @return [Hash<String,String>]
|
|
768
769
|
attr_accessor :headers
|
|
@@ -1079,6 +1080,12 @@ module Google
|
|
|
1079
1080
|
# @return [String]
|
|
1080
1081
|
attr_accessor :next_page_token
|
|
1081
1082
|
|
|
1083
|
+
# The total number of uptime check configurations for the project, irrespective
|
|
1084
|
+
# of any pagination.
|
|
1085
|
+
# Corresponds to the JSON property `totalSize`
|
|
1086
|
+
# @return [Fixnum]
|
|
1087
|
+
attr_accessor :total_size
|
|
1088
|
+
|
|
1082
1089
|
# The returned uptime check configurations.
|
|
1083
1090
|
# Corresponds to the JSON property `uptimeCheckConfigs`
|
|
1084
1091
|
# @return [Array<Google::Apis::MonitoringV3::UptimeCheckConfig>]
|
|
@@ -1091,6 +1098,7 @@ module Google
|
|
|
1091
1098
|
# Update properties of this object
|
|
1092
1099
|
def update!(**args)
|
|
1093
1100
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1101
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
1094
1102
|
@uptime_check_configs = args[:uptime_check_configs] if args.key?(:uptime_check_configs)
|
|
1095
1103
|
end
|
|
1096
1104
|
end
|
|
@@ -548,6 +548,7 @@ module Google
|
|
|
548
548
|
# @private
|
|
549
549
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
550
550
|
property :next_page_token, as: 'nextPageToken'
|
|
551
|
+
property :total_size, as: 'totalSize'
|
|
551
552
|
collection :uptime_check_configs, as: 'uptimeCheckConfigs', class: Google::Apis::MonitoringV3::UptimeCheckConfig, decorator: Google::Apis::MonitoringV3::UptimeCheckConfig::Representation
|
|
552
553
|
|
|
553
554
|
end
|
|
@@ -69,6 +69,14 @@ module Google
|
|
|
69
69
|
# @return [String]
|
|
70
70
|
attr_accessor :license
|
|
71
71
|
|
|
72
|
+
# Application-defined opaque metadata for this asset. This field is only
|
|
73
|
+
# returned when querying for the signed-in user's own assets, not for public
|
|
74
|
+
# assets. This string is limited to 1K chars. It is up to the creator of
|
|
75
|
+
# the asset to define the format for this string (for example, JSON).
|
|
76
|
+
# Corresponds to the JSON property `metadata`
|
|
77
|
+
# @return [String]
|
|
78
|
+
attr_accessor :metadata
|
|
79
|
+
|
|
72
80
|
# The unique identifier for the asset in the form:
|
|
73
81
|
# `assets/`ASSET_ID``.
|
|
74
82
|
# Corresponds to the JSON property `name`
|
|
@@ -112,6 +120,7 @@ module Google
|
|
|
112
120
|
@formats = args[:formats] if args.key?(:formats)
|
|
113
121
|
@is_curated = args[:is_curated] if args.key?(:is_curated)
|
|
114
122
|
@license = args[:license] if args.key?(:license)
|
|
123
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
115
124
|
@name = args[:name] if args.key?(:name)
|
|
116
125
|
@presentation_params = args[:presentation_params] if args.key?(:presentation_params)
|
|
117
126
|
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
|
@@ -93,6 +93,7 @@ module Google
|
|
|
93
93
|
|
|
94
94
|
property :is_curated, as: 'isCurated'
|
|
95
95
|
property :license, as: 'license'
|
|
96
|
+
property :metadata, as: 'metadata'
|
|
96
97
|
property :name, as: 'name'
|
|
97
98
|
property :presentation_params, as: 'presentationParams', class: Google::Apis::PolyV1::PresentationParams, decorator: Google::Apis::PolyV1::PresentationParams::Representation
|
|
98
99
|
|
|
@@ -73,6 +73,12 @@ module Google
|
|
|
73
73
|
class Constraints
|
|
74
74
|
include Google::Apis::Core::Hashable
|
|
75
75
|
|
|
76
|
+
# A client's physical location, expressed as a ISO 31166-1 alpha-2
|
|
77
|
+
# region code.
|
|
78
|
+
# Corresponds to the JSON property `deviceLocation`
|
|
79
|
+
# @return [String]
|
|
80
|
+
attr_accessor :device_location
|
|
81
|
+
|
|
76
82
|
# Requests the lists for a specific language. Expects ISO 639 alpha-2
|
|
77
83
|
# format.
|
|
78
84
|
# Corresponds to the JSON property `language`
|
|
@@ -111,6 +117,7 @@ module Google
|
|
|
111
117
|
|
|
112
118
|
# Update properties of this object
|
|
113
119
|
def update!(**args)
|
|
120
|
+
@device_location = args[:device_location] if args.key?(:device_location)
|
|
114
121
|
@language = args[:language] if args.key?(:language)
|
|
115
122
|
@max_database_entries = args[:max_database_entries] if args.key?(:max_database_entries)
|
|
116
123
|
@max_update_entries = args[:max_update_entries] if args.key?(:max_update_entries)
|
|
@@ -196,6 +196,7 @@ module Google
|
|
|
196
196
|
class Constraints
|
|
197
197
|
# @private
|
|
198
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
199
|
+
property :device_location, as: 'deviceLocation'
|
|
199
200
|
property :language, as: 'language'
|
|
200
201
|
property :max_database_entries, as: 'maxDatabaseEntries'
|
|
201
202
|
property :max_update_entries, as: 'maxUpdateEntries'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
|
27
27
|
module ServiceconsumermanagementV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180131'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -2057,13 +2057,12 @@ module Google
|
|
|
2057
2057
|
# * `Gi` gibi (2**30)
|
|
2058
2058
|
# * `Ti` tebi (2**40)
|
|
2059
2059
|
# **Grammar**
|
|
2060
|
-
# The grammar includes the dimensionless unit `1`, such as `1/s`.
|
|
2061
2060
|
# The grammar also includes these connectors:
|
|
2062
2061
|
# * `/` division (as an infix operator, e.g. `1/s`).
|
|
2063
2062
|
# * `.` multiplication (as an infix operator, e.g. `GBy.d`)
|
|
2064
2063
|
# The grammar for a unit is as follows:
|
|
2065
2064
|
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
|
2066
|
-
# Component = [ PREFIX ] UNIT [ Annotation ]
|
|
2065
|
+
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
|
2067
2066
|
# | Annotation
|
|
2068
2067
|
# | "1"
|
|
2069
2068
|
# ;
|
|
@@ -2074,6 +2073,9 @@ module Google
|
|
|
2074
2073
|
# ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
|
|
2075
2074
|
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
|
2076
2075
|
# containing '`' or '`'.
|
|
2076
|
+
# * `1` represents dimensionless value 1, such as in `1/s`.
|
|
2077
|
+
# * `%` represents dimensionless value 1/100, and annotates values giving
|
|
2078
|
+
# a percentage.
|
|
2077
2079
|
# Corresponds to the JSON property `unit`
|
|
2078
2080
|
# @return [String]
|
|
2079
2081
|
attr_accessor :unit
|
|
@@ -4789,6 +4789,70 @@ module Google
|
|
|
4789
4789
|
end
|
|
4790
4790
|
end
|
|
4791
4791
|
|
|
4792
|
+
# Allows you to organize the numeric values in a source data column into
|
|
4793
|
+
# buckets of a constant size. All values from HistogramRule.start to
|
|
4794
|
+
# HistogramRule.end will be placed into groups of size
|
|
4795
|
+
# HistogramRule.interval. In addition, all values below
|
|
4796
|
+
# HistogramRule.start will be placed in one group, and all values above
|
|
4797
|
+
# HistogramRule.end will be placed in another. Only
|
|
4798
|
+
# HistogramRule.interval is required, though if HistogramRule.start
|
|
4799
|
+
# and HistogramRule.end are both provided, HistogramRule.start must
|
|
4800
|
+
# be less than HistogramRule.end. For example, a pivot table showing
|
|
4801
|
+
# average purchase amount by age that has 50+ rows:
|
|
4802
|
+
# +-----+-------------------+
|
|
4803
|
+
# | Age | AVERAGE of Amount |
|
|
4804
|
+
# +-----+-------------------+
|
|
4805
|
+
# | 16 | $27.13 |
|
|
4806
|
+
# | 17 | $5.24 |
|
|
4807
|
+
# | 18 | $20.15 |
|
|
4808
|
+
# ...
|
|
4809
|
+
# +-----+-------------------+
|
|
4810
|
+
# could be turned into a pivot table that looks like the one below by
|
|
4811
|
+
# applying a histogram group rule with a HistogramRule.start of 25,
|
|
4812
|
+
# an HistogramRule.interval of 20, and an HistogramRule.end
|
|
4813
|
+
# of 65.
|
|
4814
|
+
# +-------------+-------------------+
|
|
4815
|
+
# | Grouped Age | AVERAGE of Amount |
|
|
4816
|
+
# +-------------+-------------------+
|
|
4817
|
+
# | < 25 | $19.34 |
|
|
4818
|
+
# | 25-45 | $31.43 |
|
|
4819
|
+
# | 45-65 | $35.87 |
|
|
4820
|
+
# | > 65 | $27.55 |
|
|
4821
|
+
# +-------------+-------------------+
|
|
4822
|
+
# | Grand Total | $29.12 |
|
|
4823
|
+
# +-------------+-------------------+
|
|
4824
|
+
class HistogramRule
|
|
4825
|
+
include Google::Apis::Core::Hashable
|
|
4826
|
+
|
|
4827
|
+
# Optional. The maximum value at which items will be placed into buckets
|
|
4828
|
+
# of constant size. Values above end will be lumped into a single bucket.
|
|
4829
|
+
# Corresponds to the JSON property `end`
|
|
4830
|
+
# @return [Float]
|
|
4831
|
+
attr_accessor :end
|
|
4832
|
+
|
|
4833
|
+
# Required. The size of the buckets that will be created. Must be positive.
|
|
4834
|
+
# Corresponds to the JSON property `interval`
|
|
4835
|
+
# @return [Float]
|
|
4836
|
+
attr_accessor :interval
|
|
4837
|
+
|
|
4838
|
+
# Optional. The minimum value at which items will be placed into buckets
|
|
4839
|
+
# of constant size. Values below start will be lumped into a single bucket.
|
|
4840
|
+
# Corresponds to the JSON property `start`
|
|
4841
|
+
# @return [Float]
|
|
4842
|
+
attr_accessor :start
|
|
4843
|
+
|
|
4844
|
+
def initialize(**args)
|
|
4845
|
+
update!(**args)
|
|
4846
|
+
end
|
|
4847
|
+
|
|
4848
|
+
# Update properties of this object
|
|
4849
|
+
def update!(**args)
|
|
4850
|
+
@end = args[:end] if args.key?(:end)
|
|
4851
|
+
@interval = args[:interval] if args.key?(:interval)
|
|
4852
|
+
@start = args[:start] if args.key?(:start)
|
|
4853
|
+
end
|
|
4854
|
+
end
|
|
4855
|
+
|
|
4792
4856
|
# A histogram series containing the series color and data.
|
|
4793
4857
|
class HistogramSeries
|
|
4794
4858
|
include Google::Apis::Core::Hashable
|
|
@@ -5186,6 +5250,78 @@ module Google
|
|
|
5186
5250
|
end
|
|
5187
5251
|
end
|
|
5188
5252
|
|
|
5253
|
+
# Allows you to manually organize the values in a source data column into
|
|
5254
|
+
# buckets with names of your choosing. For example, a pivot table that
|
|
5255
|
+
# aggregates population by state:
|
|
5256
|
+
# +-------+-------------------+
|
|
5257
|
+
# | State | SUM of Population |
|
|
5258
|
+
# +-------+-------------------+
|
|
5259
|
+
# | AK | 0.7 |
|
|
5260
|
+
# | AL | 4.8 |
|
|
5261
|
+
# | AR | 2.9 |
|
|
5262
|
+
# ...
|
|
5263
|
+
# +-------+-------------------+
|
|
5264
|
+
# could be turned into a pivot table that aggregates population by time zone
|
|
5265
|
+
# by providing a list of groups (e.g. groupName = 'Central',
|
|
5266
|
+
# items = ['AL', 'AR', 'IA', ...]) to a manual group rule.
|
|
5267
|
+
# Note that a similar effect could be achieved by adding a time zone column
|
|
5268
|
+
# to the source data and adjusting the pivot table.
|
|
5269
|
+
# +-----------+-------------------+
|
|
5270
|
+
# | Time Zone | SUM of Population |
|
|
5271
|
+
# +-----------+-------------------+
|
|
5272
|
+
# | Central | 106.3 |
|
|
5273
|
+
# | Eastern | 151.9 |
|
|
5274
|
+
# | Mountain | 17.4 |
|
|
5275
|
+
# ...
|
|
5276
|
+
# +-----------+-------------------+
|
|
5277
|
+
class ManualRule
|
|
5278
|
+
include Google::Apis::Core::Hashable
|
|
5279
|
+
|
|
5280
|
+
# The list of group names and the corresponding items from the source data
|
|
5281
|
+
# that map to each group name.
|
|
5282
|
+
# Corresponds to the JSON property `groups`
|
|
5283
|
+
# @return [Array<Google::Apis::SheetsV4::ManualRuleGroup>]
|
|
5284
|
+
attr_accessor :groups
|
|
5285
|
+
|
|
5286
|
+
def initialize(**args)
|
|
5287
|
+
update!(**args)
|
|
5288
|
+
end
|
|
5289
|
+
|
|
5290
|
+
# Update properties of this object
|
|
5291
|
+
def update!(**args)
|
|
5292
|
+
@groups = args[:groups] if args.key?(:groups)
|
|
5293
|
+
end
|
|
5294
|
+
end
|
|
5295
|
+
|
|
5296
|
+
# A group name and a list of items from the source data that should be placed
|
|
5297
|
+
# in the group with this name.
|
|
5298
|
+
class ManualRuleGroup
|
|
5299
|
+
include Google::Apis::Core::Hashable
|
|
5300
|
+
|
|
5301
|
+
# The kinds of value that a cell in a spreadsheet can have.
|
|
5302
|
+
# Corresponds to the JSON property `groupName`
|
|
5303
|
+
# @return [Google::Apis::SheetsV4::ExtendedValue]
|
|
5304
|
+
attr_accessor :group_name
|
|
5305
|
+
|
|
5306
|
+
# The items in the source data that should be placed into this group. Each
|
|
5307
|
+
# item may be a string, number, or boolean. Items may appear in at most one
|
|
5308
|
+
# group within a given ManualRule. Items that do not appear in any
|
|
5309
|
+
# group will appear on their own.
|
|
5310
|
+
# Corresponds to the JSON property `items`
|
|
5311
|
+
# @return [Array<Google::Apis::SheetsV4::ExtendedValue>]
|
|
5312
|
+
attr_accessor :items
|
|
5313
|
+
|
|
5314
|
+
def initialize(**args)
|
|
5315
|
+
update!(**args)
|
|
5316
|
+
end
|
|
5317
|
+
|
|
5318
|
+
# Update properties of this object
|
|
5319
|
+
def update!(**args)
|
|
5320
|
+
@group_name = args[:group_name] if args.key?(:group_name)
|
|
5321
|
+
@items = args[:items] if args.key?(:items)
|
|
5322
|
+
end
|
|
5323
|
+
end
|
|
5324
|
+
|
|
5189
5325
|
# A developer metadata entry and the data filters specified in the original
|
|
5190
5326
|
# request that matched it.
|
|
5191
5327
|
class MatchedDeveloperMetadata
|
|
@@ -5861,6 +5997,55 @@ module Google
|
|
|
5861
5997
|
class PivotGroup
|
|
5862
5998
|
include Google::Apis::Core::Hashable
|
|
5863
5999
|
|
|
6000
|
+
# An optional setting on a PivotGroup that defines buckets for the values
|
|
6001
|
+
# in the source data column rather than breaking out each individual value.
|
|
6002
|
+
# Only one PivotGroup with a group rule may be added for each column in
|
|
6003
|
+
# the source data, though on any given column you may add both a
|
|
6004
|
+
# PivotGroup that has a rule and a PivotGroup that does not.
|
|
6005
|
+
# Corresponds to the JSON property `groupRule`
|
|
6006
|
+
# @return [Google::Apis::SheetsV4::PivotGroupRule]
|
|
6007
|
+
attr_accessor :group_rule
|
|
6008
|
+
|
|
6009
|
+
# The labels to use for the row/column groups which can be customized. For
|
|
6010
|
+
# example, in the following pivot table, the row label is `Region` (which
|
|
6011
|
+
# could be renamed to `State`) and the column label is `Product` (which
|
|
6012
|
+
# could be renamed `Item`). Pivot tables created before December 2017 do
|
|
6013
|
+
# not have header labels. If you'd like to add header labels to an existing
|
|
6014
|
+
# pivot table, please delete the existing pivot table and then create a new
|
|
6015
|
+
# pivot table with same parameters.
|
|
6016
|
+
# +--------------+---------+-------+
|
|
6017
|
+
# | SUM of Units | Product | |
|
|
6018
|
+
# | Region | Pen | Paper |
|
|
6019
|
+
# +--------------+---------+-------+
|
|
6020
|
+
# | New York | 345 | 98 |
|
|
6021
|
+
# | Oregon | 234 | 123 |
|
|
6022
|
+
# | Tennessee | 531 | 415 |
|
|
6023
|
+
# +--------------+---------+-------+
|
|
6024
|
+
# | Grand Total | 1110 | 636 |
|
|
6025
|
+
# +--------------+---------+-------+
|
|
6026
|
+
# Corresponds to the JSON property `label`
|
|
6027
|
+
# @return [String]
|
|
6028
|
+
attr_accessor :label
|
|
6029
|
+
|
|
6030
|
+
# True if the headings in this pivot group should be repeated.
|
|
6031
|
+
# This is only valid for row groupings and will be ignored by columns.
|
|
6032
|
+
# By default, we minimize repitition of headings by not showing higher
|
|
6033
|
+
# level headings where they are the same. For example, even though the
|
|
6034
|
+
# third row below corresponds to "Q1 Mar", "Q1" is not shown because
|
|
6035
|
+
# it is redundant with previous rows. Setting repeat_headings to true
|
|
6036
|
+
# would cause "Q1" to be repeated for "Feb" and "Mar".
|
|
6037
|
+
# +--------------+
|
|
6038
|
+
# | Q1 | Jan |
|
|
6039
|
+
# | | Feb |
|
|
6040
|
+
# | | Mar |
|
|
6041
|
+
# +--------+-----+
|
|
6042
|
+
# | Q1 Total |
|
|
6043
|
+
# +--------------+
|
|
6044
|
+
# Corresponds to the JSON property `repeatHeadings`
|
|
6045
|
+
# @return [Boolean]
|
|
6046
|
+
attr_accessor :repeat_headings
|
|
6047
|
+
alias_method :repeat_headings?, :repeat_headings
|
|
6048
|
+
|
|
5864
6049
|
# True if the pivot table should include the totals for this grouping.
|
|
5865
6050
|
# Corresponds to the JSON property `showTotals`
|
|
5866
6051
|
# @return [Boolean]
|
|
@@ -5896,6 +6081,9 @@ module Google
|
|
|
5896
6081
|
|
|
5897
6082
|
# Update properties of this object
|
|
5898
6083
|
def update!(**args)
|
|
6084
|
+
@group_rule = args[:group_rule] if args.key?(:group_rule)
|
|
6085
|
+
@label = args[:label] if args.key?(:label)
|
|
6086
|
+
@repeat_headings = args[:repeat_headings] if args.key?(:repeat_headings)
|
|
5899
6087
|
@show_totals = args[:show_totals] if args.key?(:show_totals)
|
|
5900
6088
|
@sort_order = args[:sort_order] if args.key?(:sort_order)
|
|
5901
6089
|
@source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset)
|
|
@@ -5904,6 +6092,89 @@ module Google
|
|
|
5904
6092
|
end
|
|
5905
6093
|
end
|
|
5906
6094
|
|
|
6095
|
+
# An optional setting on a PivotGroup that defines buckets for the values
|
|
6096
|
+
# in the source data column rather than breaking out each individual value.
|
|
6097
|
+
# Only one PivotGroup with a group rule may be added for each column in
|
|
6098
|
+
# the source data, though on any given column you may add both a
|
|
6099
|
+
# PivotGroup that has a rule and a PivotGroup that does not.
|
|
6100
|
+
class PivotGroupRule
|
|
6101
|
+
include Google::Apis::Core::Hashable
|
|
6102
|
+
|
|
6103
|
+
# Allows you to organize the numeric values in a source data column into
|
|
6104
|
+
# buckets of a constant size. All values from HistogramRule.start to
|
|
6105
|
+
# HistogramRule.end will be placed into groups of size
|
|
6106
|
+
# HistogramRule.interval. In addition, all values below
|
|
6107
|
+
# HistogramRule.start will be placed in one group, and all values above
|
|
6108
|
+
# HistogramRule.end will be placed in another. Only
|
|
6109
|
+
# HistogramRule.interval is required, though if HistogramRule.start
|
|
6110
|
+
# and HistogramRule.end are both provided, HistogramRule.start must
|
|
6111
|
+
# be less than HistogramRule.end. For example, a pivot table showing
|
|
6112
|
+
# average purchase amount by age that has 50+ rows:
|
|
6113
|
+
# +-----+-------------------+
|
|
6114
|
+
# | Age | AVERAGE of Amount |
|
|
6115
|
+
# +-----+-------------------+
|
|
6116
|
+
# | 16 | $27.13 |
|
|
6117
|
+
# | 17 | $5.24 |
|
|
6118
|
+
# | 18 | $20.15 |
|
|
6119
|
+
# ...
|
|
6120
|
+
# +-----+-------------------+
|
|
6121
|
+
# could be turned into a pivot table that looks like the one below by
|
|
6122
|
+
# applying a histogram group rule with a HistogramRule.start of 25,
|
|
6123
|
+
# an HistogramRule.interval of 20, and an HistogramRule.end
|
|
6124
|
+
# of 65.
|
|
6125
|
+
# +-------------+-------------------+
|
|
6126
|
+
# | Grouped Age | AVERAGE of Amount |
|
|
6127
|
+
# +-------------+-------------------+
|
|
6128
|
+
# | < 25 | $19.34 |
|
|
6129
|
+
# | 25-45 | $31.43 |
|
|
6130
|
+
# | 45-65 | $35.87 |
|
|
6131
|
+
# | > 65 | $27.55 |
|
|
6132
|
+
# +-------------+-------------------+
|
|
6133
|
+
# | Grand Total | $29.12 |
|
|
6134
|
+
# +-------------+-------------------+
|
|
6135
|
+
# Corresponds to the JSON property `histogramRule`
|
|
6136
|
+
# @return [Google::Apis::SheetsV4::HistogramRule]
|
|
6137
|
+
attr_accessor :histogram_rule
|
|
6138
|
+
|
|
6139
|
+
# Allows you to manually organize the values in a source data column into
|
|
6140
|
+
# buckets with names of your choosing. For example, a pivot table that
|
|
6141
|
+
# aggregates population by state:
|
|
6142
|
+
# +-------+-------------------+
|
|
6143
|
+
# | State | SUM of Population |
|
|
6144
|
+
# +-------+-------------------+
|
|
6145
|
+
# | AK | 0.7 |
|
|
6146
|
+
# | AL | 4.8 |
|
|
6147
|
+
# | AR | 2.9 |
|
|
6148
|
+
# ...
|
|
6149
|
+
# +-------+-------------------+
|
|
6150
|
+
# could be turned into a pivot table that aggregates population by time zone
|
|
6151
|
+
# by providing a list of groups (e.g. groupName = 'Central',
|
|
6152
|
+
# items = ['AL', 'AR', 'IA', ...]) to a manual group rule.
|
|
6153
|
+
# Note that a similar effect could be achieved by adding a time zone column
|
|
6154
|
+
# to the source data and adjusting the pivot table.
|
|
6155
|
+
# +-----------+-------------------+
|
|
6156
|
+
# | Time Zone | SUM of Population |
|
|
6157
|
+
# +-----------+-------------------+
|
|
6158
|
+
# | Central | 106.3 |
|
|
6159
|
+
# | Eastern | 151.9 |
|
|
6160
|
+
# | Mountain | 17.4 |
|
|
6161
|
+
# ...
|
|
6162
|
+
# +-----------+-------------------+
|
|
6163
|
+
# Corresponds to the JSON property `manualRule`
|
|
6164
|
+
# @return [Google::Apis::SheetsV4::ManualRule]
|
|
6165
|
+
attr_accessor :manual_rule
|
|
6166
|
+
|
|
6167
|
+
def initialize(**args)
|
|
6168
|
+
update!(**args)
|
|
6169
|
+
end
|
|
6170
|
+
|
|
6171
|
+
# Update properties of this object
|
|
6172
|
+
def update!(**args)
|
|
6173
|
+
@histogram_rule = args[:histogram_rule] if args.key?(:histogram_rule)
|
|
6174
|
+
@manual_rule = args[:manual_rule] if args.key?(:manual_rule)
|
|
6175
|
+
end
|
|
6176
|
+
end
|
|
6177
|
+
|
|
5907
6178
|
# Information about which values in a pivot group should be used for sorting.
|
|
5908
6179
|
class PivotGroupSortValueBucket
|
|
5909
6180
|
include Google::Apis::Core::Hashable
|
|
@@ -6043,6 +6314,16 @@ module Google
|
|
|
6043
6314
|
class PivotValue
|
|
6044
6315
|
include Google::Apis::Core::Hashable
|
|
6045
6316
|
|
|
6317
|
+
# If specified, indicates that pivot values should be displayed as
|
|
6318
|
+
# the result of a calculation with another pivot value. For example, if
|
|
6319
|
+
# calculated_display_type is specified as PERCENT_OF_GRAND_TOTAL, all the
|
|
6320
|
+
# pivot values will be displayed as the percentage of the grand total. In
|
|
6321
|
+
# the Sheets UI, this is referred to as "Show As" in the value section of a
|
|
6322
|
+
# pivot table.
|
|
6323
|
+
# Corresponds to the JSON property `calculatedDisplayType`
|
|
6324
|
+
# @return [String]
|
|
6325
|
+
attr_accessor :calculated_display_type
|
|
6326
|
+
|
|
6046
6327
|
# A custom formula to calculate the value. The formula must start
|
|
6047
6328
|
# with an `=` character.
|
|
6048
6329
|
# Corresponds to the JSON property `formula`
|
|
@@ -6078,6 +6359,7 @@ module Google
|
|
|
6078
6359
|
|
|
6079
6360
|
# Update properties of this object
|
|
6080
6361
|
def update!(**args)
|
|
6362
|
+
@calculated_display_type = args[:calculated_display_type] if args.key?(:calculated_display_type)
|
|
6081
6363
|
@formula = args[:formula] if args.key?(:formula)
|
|
6082
6364
|
@name = args[:name] if args.key?(:name)
|
|
6083
6365
|
@source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset)
|