google-api-client 0.19.3 → 0.19.4
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 +39 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +212 -0
- data/generated/google/apis/analytics_v3/representations.rb +77 -0
- data/generated/google/apis/analytics_v3/service.rb +35 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -98
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -46
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -229
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +28 -49
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +12 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +10 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -69
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -20
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +37 -20
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +161 -13
- data/generated/google/apis/compute_alpha/representations.rb +55 -1
- data/generated/google/apis/compute_alpha/service.rb +3 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +102 -12
- data/generated/google/apis/compute_beta/representations.rb +14 -1
- data/generated/google/apis/compute_beta/service.rb +102 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +12 -5
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +3 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +10 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +10 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +428 -0
- data/generated/google/apis/content_v2/representations.rb +169 -0
- data/generated/google/apis/content_v2/service.rb +128 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +428 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +169 -0
- data/generated/google/apis/content_v2sandbox/service.rb +127 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +9 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -136
- data/generated/google/apis/ml_v1/representations.rb +0 -33
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -6
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -9
- data/generated/google/apis/oslogin_v1/representations.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -9
- data/generated/google/apis/oslogin_v1alpha/representations.rb +0 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -9
- data/generated/google/apis/oslogin_v1beta/representations.rb +0 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +5 -2
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -146
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -34
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -10
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +0 -65
- data/generated/google/apis/speech_v1/representations.rb +0 -40
- data/generated/google/apis/speech_v1/service.rb +0 -122
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -44
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -27
- data/generated/google/apis/speech_v1beta1/service.rb +0 -119
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180114'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -1595,7 +1595,7 @@ module Google
|
|
|
1595
1595
|
class Track
|
|
1596
1596
|
include Google::Apis::Core::Hashable
|
|
1597
1597
|
|
|
1598
|
-
#
|
|
1598
|
+
# Identifier for this track. One of "alpha", "beta", "production" or "rollout".
|
|
1599
1599
|
# Corresponds to the JSON property `track`
|
|
1600
1600
|
# @return [String]
|
|
1601
1601
|
attr_accessor :track
|
|
@@ -1495,6 +1495,8 @@ module Google
|
|
|
1495
1495
|
# @param [String] edit_id
|
|
1496
1496
|
# Unique identifier for this edit.
|
|
1497
1497
|
# @param [String] track
|
|
1498
|
+
# The track to read or modify. Acceptable values are: "alpha", "beta", "
|
|
1499
|
+
# production" or "rollout".
|
|
1498
1500
|
# @param [String] fields
|
|
1499
1501
|
# Selector specifying which fields to include in a partial response.
|
|
1500
1502
|
# @param [String] quota_user
|
|
@@ -1536,6 +1538,8 @@ module Google
|
|
|
1536
1538
|
# @param [String] edit_id
|
|
1537
1539
|
# Unique identifier for this edit.
|
|
1538
1540
|
# @param [String] track
|
|
1541
|
+
# The track to read or modify. Acceptable values are: "alpha", "beta", "
|
|
1542
|
+
# production" or "rollout".
|
|
1539
1543
|
# @param [Google::Apis::AndroidpublisherV2::Testers] testers_object
|
|
1540
1544
|
# @param [String] fields
|
|
1541
1545
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1580,6 +1584,8 @@ module Google
|
|
|
1580
1584
|
# @param [String] edit_id
|
|
1581
1585
|
# Unique identifier for this edit.
|
|
1582
1586
|
# @param [String] track
|
|
1587
|
+
# The track to read or modify. Acceptable values are: "alpha", "beta", "
|
|
1588
|
+
# production" or "rollout".
|
|
1583
1589
|
# @param [Google::Apis::AndroidpublisherV2::Testers] testers_object
|
|
1584
1590
|
# @param [String] fields
|
|
1585
1591
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1625,7 +1631,8 @@ module Google
|
|
|
1625
1631
|
# @param [String] edit_id
|
|
1626
1632
|
# Unique identifier for this edit.
|
|
1627
1633
|
# @param [String] track
|
|
1628
|
-
# The track
|
|
1634
|
+
# The track to read or modify. Acceptable values are: "alpha", "beta", "
|
|
1635
|
+
# production" or "rollout".
|
|
1629
1636
|
# @param [String] fields
|
|
1630
1637
|
# Selector specifying which fields to include in a partial response.
|
|
1631
1638
|
# @param [String] quota_user
|
|
@@ -1708,7 +1715,8 @@ module Google
|
|
|
1708
1715
|
# @param [String] edit_id
|
|
1709
1716
|
# Unique identifier for this edit.
|
|
1710
1717
|
# @param [String] track
|
|
1711
|
-
# The track
|
|
1718
|
+
# The track to read or modify. Acceptable values are: "alpha", "beta", "
|
|
1719
|
+
# production" or "rollout".
|
|
1712
1720
|
# @param [Google::Apis::AndroidpublisherV2::Track] track_object
|
|
1713
1721
|
# @param [String] fields
|
|
1714
1722
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1755,7 +1763,8 @@ module Google
|
|
|
1755
1763
|
# @param [String] edit_id
|
|
1756
1764
|
# Unique identifier for this edit.
|
|
1757
1765
|
# @param [String] track
|
|
1758
|
-
# The track
|
|
1766
|
+
# The track to read or modify. Acceptable values are: "alpha", "beta", "
|
|
1767
|
+
# production" or "rollout".
|
|
1759
1768
|
# @param [Google::Apis::AndroidpublisherV2::Track] track_object
|
|
1760
1769
|
# @param [String] fields
|
|
1761
1770
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1beta
|
|
28
28
|
VERSION = 'V1beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180112'
|
|
30
30
|
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
|
26
26
|
module BigqueryV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180112'
|
|
29
29
|
|
|
30
30
|
# View and manage your data in Google BigQuery
|
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -1184,12 +1184,11 @@ module Google
|
|
|
1184
1184
|
# @return [Google::Apis::BigqueryV2::JobConfigurationExtract]
|
|
1185
1185
|
attr_accessor :extract
|
|
1186
1186
|
|
|
1187
|
-
#
|
|
1188
|
-
#
|
|
1189
|
-
#
|
|
1190
|
-
#
|
|
1191
|
-
#
|
|
1192
|
-
# have a different key.
|
|
1187
|
+
# The labels associated with this job. You can use these to organize and group
|
|
1188
|
+
# your jobs. Label keys and values can be no longer than 63 characters, can only
|
|
1189
|
+
# contain lowercase letters, numeric characters, underscores and dashes.
|
|
1190
|
+
# International characters are allowed. Label values are optional. Label keys
|
|
1191
|
+
# must start with a letter and each label in the list must have a different key.
|
|
1193
1192
|
# Corresponds to the JSON property `labels`
|
|
1194
1193
|
# @return [Hash<String,String>]
|
|
1195
1194
|
attr_accessor :labels
|
|
@@ -2742,12 +2741,11 @@ module Google
|
|
|
2742
2741
|
# @return [String]
|
|
2743
2742
|
attr_accessor :kind
|
|
2744
2743
|
|
|
2745
|
-
#
|
|
2746
|
-
#
|
|
2747
|
-
#
|
|
2748
|
-
#
|
|
2749
|
-
#
|
|
2750
|
-
# have a different key.
|
|
2744
|
+
# The labels associated with this table. You can use these to organize and group
|
|
2745
|
+
# your tables. Label keys and values can be no longer than 63 characters, can
|
|
2746
|
+
# only contain lowercase letters, numeric characters, underscores and dashes.
|
|
2747
|
+
# International characters are allowed. Label values are optional. Label keys
|
|
2748
|
+
# must start with a letter and each label in the list must have a different key.
|
|
2751
2749
|
# Corresponds to the JSON property `labels`
|
|
2752
2750
|
# @return [Hash<String,String>]
|
|
2753
2751
|
attr_accessor :labels
|
|
@@ -3170,8 +3168,8 @@ module Google
|
|
|
3170
3168
|
# @return [String]
|
|
3171
3169
|
attr_accessor :kind
|
|
3172
3170
|
|
|
3173
|
-
#
|
|
3174
|
-
#
|
|
3171
|
+
# The labels associated with this table. You can use these to organize and group
|
|
3172
|
+
# your tables.
|
|
3175
3173
|
# Corresponds to the JSON property `labels`
|
|
3176
3174
|
# @return [Hash<String,String>]
|
|
3177
3175
|
attr_accessor :labels
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/billing/
|
|
27
27
|
module CloudbillingV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180116'
|
|
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'
|
|
@@ -369,14 +369,21 @@ module Google
|
|
|
369
369
|
# @return [Google::Apis::CloudbillingV1::AggregationInfo]
|
|
370
370
|
attr_accessor :aggregation_info
|
|
371
371
|
|
|
372
|
-
# Conversion rate for currency conversion, from USD to the currency
|
|
373
|
-
# in the request.
|
|
372
|
+
# Conversion rate used for currency conversion, from USD to the currency
|
|
373
|
+
# specified in the request. This includes any surcharge collected for billing
|
|
374
|
+
# in non USD currency. If a currency is not specified in the request this
|
|
375
|
+
# defaults to 1.0.
|
|
374
376
|
# Example: USD * currency_conversion_rate = JPY
|
|
375
377
|
# Corresponds to the JSON property `currencyConversionRate`
|
|
376
378
|
# @return [Float]
|
|
377
379
|
attr_accessor :currency_conversion_rate
|
|
378
380
|
|
|
379
|
-
# The timestamp from which this pricing was effective
|
|
381
|
+
# The timestamp from which this pricing was effective within the requested
|
|
382
|
+
# time range. This is guaranteed to be greater than or equal to the
|
|
383
|
+
# start_time field in the request and less than the end_time field in the
|
|
384
|
+
# request. If a time range was not specified in the request this field will
|
|
385
|
+
# be equivalent to a time within the last 12 hours, indicating the latest
|
|
386
|
+
# pricing info.
|
|
380
387
|
# Corresponds to the JSON property `effectiveTime`
|
|
381
388
|
# @return [String]
|
|
382
389
|
attr_accessor :effective_time
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/kms/
|
|
27
27
|
module CloudkmsV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180117'
|
|
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'
|
|
@@ -78,11 +78,6 @@ module Google
|
|
|
78
78
|
# @return [Array<Google::Apis::CloudkmsV1::AuditLogConfig>]
|
|
79
79
|
attr_accessor :audit_log_configs
|
|
80
80
|
|
|
81
|
-
#
|
|
82
|
-
# Corresponds to the JSON property `exemptedMembers`
|
|
83
|
-
# @return [Array<String>]
|
|
84
|
-
attr_accessor :exempted_members
|
|
85
|
-
|
|
86
81
|
# Specifies a service that will be enabled for audit logging.
|
|
87
82
|
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
|
88
83
|
# `allServices` is a special value that covers all services.
|
|
@@ -97,7 +92,6 @@ module Google
|
|
|
97
92
|
# Update properties of this object
|
|
98
93
|
def update!(**args)
|
|
99
94
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
|
100
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
101
95
|
@service = args[:service] if args.key?(:service)
|
|
102
96
|
end
|
|
103
97
|
end
|
|
@@ -149,14 +143,6 @@ module Google
|
|
|
149
143
|
class Binding
|
|
150
144
|
include Google::Apis::Core::Hashable
|
|
151
145
|
|
|
152
|
-
# Represents an expression text. Example:
|
|
153
|
-
# title: "User account presence"
|
|
154
|
-
# description: "Determines whether the request has a user account"
|
|
155
|
-
# expression: "size(request.user) > 0"
|
|
156
|
-
# Corresponds to the JSON property `condition`
|
|
157
|
-
# @return [Google::Apis::CloudkmsV1::Expr]
|
|
158
|
-
attr_accessor :condition
|
|
159
|
-
|
|
160
146
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
161
147
|
# `members` can have the following values:
|
|
162
148
|
# * `allUsers`: A special identifier that represents anyone who is
|
|
@@ -188,7 +174,6 @@ module Google
|
|
|
188
174
|
|
|
189
175
|
# Update properties of this object
|
|
190
176
|
def update!(**args)
|
|
191
|
-
@condition = args[:condition] if args.key?(:condition)
|
|
192
177
|
@members = args[:members] if args.key?(:members)
|
|
193
178
|
@role = args[:role] if args.key?(:role)
|
|
194
179
|
end
|
|
@@ -444,53 +429,6 @@ module Google
|
|
|
444
429
|
end
|
|
445
430
|
end
|
|
446
431
|
|
|
447
|
-
# Represents an expression text. Example:
|
|
448
|
-
# title: "User account presence"
|
|
449
|
-
# description: "Determines whether the request has a user account"
|
|
450
|
-
# expression: "size(request.user) > 0"
|
|
451
|
-
class Expr
|
|
452
|
-
include Google::Apis::Core::Hashable
|
|
453
|
-
|
|
454
|
-
# An optional description of the expression. This is a longer text which
|
|
455
|
-
# describes the expression, e.g. when hovered over it in a UI.
|
|
456
|
-
# Corresponds to the JSON property `description`
|
|
457
|
-
# @return [String]
|
|
458
|
-
attr_accessor :description
|
|
459
|
-
|
|
460
|
-
# Textual representation of an expression in
|
|
461
|
-
# Common Expression Language syntax.
|
|
462
|
-
# The application context of the containing message determines which
|
|
463
|
-
# well-known feature set of CEL is supported.
|
|
464
|
-
# Corresponds to the JSON property `expression`
|
|
465
|
-
# @return [String]
|
|
466
|
-
attr_accessor :expression
|
|
467
|
-
|
|
468
|
-
# An optional string indicating the location of the expression for error
|
|
469
|
-
# reporting, e.g. a file name and a position in the file.
|
|
470
|
-
# Corresponds to the JSON property `location`
|
|
471
|
-
# @return [String]
|
|
472
|
-
attr_accessor :location
|
|
473
|
-
|
|
474
|
-
# An optional title for the expression, i.e. a short string describing
|
|
475
|
-
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
476
|
-
# expression.
|
|
477
|
-
# Corresponds to the JSON property `title`
|
|
478
|
-
# @return [String]
|
|
479
|
-
attr_accessor :title
|
|
480
|
-
|
|
481
|
-
def initialize(**args)
|
|
482
|
-
update!(**args)
|
|
483
|
-
end
|
|
484
|
-
|
|
485
|
-
# Update properties of this object
|
|
486
|
-
def update!(**args)
|
|
487
|
-
@description = args[:description] if args.key?(:description)
|
|
488
|
-
@expression = args[:expression] if args.key?(:expression)
|
|
489
|
-
@location = args[:location] if args.key?(:location)
|
|
490
|
-
@title = args[:title] if args.key?(:title)
|
|
491
|
-
end
|
|
492
|
-
end
|
|
493
|
-
|
|
494
432
|
# A KeyRing is a toplevel logical grouping of CryptoKeys.
|
|
495
433
|
class KeyRing
|
|
496
434
|
include Google::Apis::Core::Hashable
|
|
@@ -734,12 +672,6 @@ module Google
|
|
|
734
672
|
# @return [String]
|
|
735
673
|
attr_accessor :etag
|
|
736
674
|
|
|
737
|
-
#
|
|
738
|
-
# Corresponds to the JSON property `iamOwned`
|
|
739
|
-
# @return [Boolean]
|
|
740
|
-
attr_accessor :iam_owned
|
|
741
|
-
alias_method :iam_owned?, :iam_owned
|
|
742
|
-
|
|
743
675
|
# Deprecated.
|
|
744
676
|
# Corresponds to the JSON property `version`
|
|
745
677
|
# @return [Fixnum]
|
|
@@ -754,7 +686,6 @@ module Google
|
|
|
754
686
|
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
|
755
687
|
@bindings = args[:bindings] if args.key?(:bindings)
|
|
756
688
|
@etag = args[:etag] if args.key?(:etag)
|
|
757
|
-
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
|
758
689
|
@version = args[:version] if args.key?(:version)
|
|
759
690
|
end
|
|
760
691
|
end
|
|
@@ -82,12 +82,6 @@ module Google
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class Expr
|
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
-
|
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
-
end
|
|
90
|
-
|
|
91
85
|
class KeyRing
|
|
92
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
87
|
|
|
@@ -165,7 +159,6 @@ module Google
|
|
|
165
159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
166
160
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1::AuditLogConfig::Representation
|
|
167
161
|
|
|
168
|
-
collection :exempted_members, as: 'exemptedMembers'
|
|
169
162
|
property :service, as: 'service'
|
|
170
163
|
end
|
|
171
164
|
end
|
|
@@ -181,8 +174,6 @@ module Google
|
|
|
181
174
|
class Binding
|
|
182
175
|
# @private
|
|
183
176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
184
|
-
property :condition, as: 'condition', class: Google::Apis::CloudkmsV1::Expr, decorator: Google::Apis::CloudkmsV1::Expr::Representation
|
|
185
|
-
|
|
186
177
|
collection :members, as: 'members'
|
|
187
178
|
property :role, as: 'role'
|
|
188
179
|
end
|
|
@@ -250,16 +241,6 @@ module Google
|
|
|
250
241
|
end
|
|
251
242
|
end
|
|
252
243
|
|
|
253
|
-
class Expr
|
|
254
|
-
# @private
|
|
255
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
256
|
-
property :description, as: 'description'
|
|
257
|
-
property :expression, as: 'expression'
|
|
258
|
-
property :location, as: 'location'
|
|
259
|
-
property :title, as: 'title'
|
|
260
|
-
end
|
|
261
|
-
end
|
|
262
|
-
|
|
263
244
|
class KeyRing
|
|
264
245
|
# @private
|
|
265
246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -325,7 +306,6 @@ module Google
|
|
|
325
306
|
collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1::Binding, decorator: Google::Apis::CloudkmsV1::Binding::Representation
|
|
326
307
|
|
|
327
308
|
property :etag, :base64 => true, as: 'etag'
|
|
328
|
-
property :iam_owned, as: 'iamOwned'
|
|
329
309
|
property :version, as: 'version'
|
|
330
310
|
end
|
|
331
311
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/cloud-tasks/
|
|
27
27
|
module CloudtasksV2beta2
|
|
28
28
|
VERSION = 'V2beta2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180120'
|
|
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'
|
|
@@ -558,16 +558,22 @@ module Google
|
|
|
558
558
|
# `filter` can be used to specify a subset of tasks to lease.
|
|
559
559
|
# When `filter` is set to `tag=<my-tag>` then the
|
|
560
560
|
# LeaseTasksResponse will contain only tasks whose
|
|
561
|
-
#
|
|
562
|
-
# 500
|
|
561
|
+
# PullMessage.tag is equal to `<my-tag>`. `<my-tag>` must be
|
|
562
|
+
# less than 500 characters.
|
|
563
563
|
# When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
|
|
564
564
|
# the same tag as the task with the oldest schedule_time will be returned.
|
|
565
565
|
# Grammar Syntax:
|
|
566
566
|
# * `filter = "tag=" tag | "tag_function=" function`
|
|
567
|
-
# * `tag = string
|
|
567
|
+
# * `tag = string`
|
|
568
568
|
# * `function = "oldest_tag()"`
|
|
569
569
|
# The `oldest_tag()` function returns tasks which have the same tag as the
|
|
570
570
|
# oldest task (ordered by schedule time).
|
|
571
|
+
# SDK compatibility: Although the SDK allows tags to be either
|
|
572
|
+
# string or [bytes](/appengine/docs/standard/java/javadoc/com/google/appengine/
|
|
573
|
+
# api/taskqueue/TaskOptions.html#tag-byte:A-),
|
|
574
|
+
# only UTF-8 encoded tags can be used in Cloud Tasks. Tag which aren't UTF-8
|
|
575
|
+
# encoded can't be used in LeaseTasksRequest.filter and won't display in
|
|
576
|
+
# PullMessage.tag.
|
|
571
577
|
# Corresponds to the JSON property `filter`
|
|
572
578
|
# @return [String]
|
|
573
579
|
attr_accessor :filter
|
|
@@ -606,8 +612,7 @@ module Google
|
|
|
606
612
|
# of its large size or because of the sensitivity of data that it
|
|
607
613
|
# contains.
|
|
608
614
|
# Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView`
|
|
609
|
-
# [Google IAM](/iam/) permission on the
|
|
610
|
-
# Task.name resource.
|
|
615
|
+
# [Google IAM](/iam/) permission on the Task.name resource.
|
|
611
616
|
# Corresponds to the JSON property `responseView`
|
|
612
617
|
# @return [String]
|
|
613
618
|
attr_accessor :response_view
|
|
@@ -868,9 +873,13 @@ module Google
|
|
|
868
873
|
# user once a day, you could tag tasks with the user ID.
|
|
869
874
|
# The task's tag can only be set when the
|
|
870
875
|
# task is created.
|
|
871
|
-
# The tag must be less than 500
|
|
876
|
+
# The tag must be less than 500 characters.
|
|
877
|
+
# SDK compatibility: Although the SDK allows tags to be either
|
|
878
|
+
# string or [bytes](/appengine/docs/standard/java/javadoc/com/google/appengine/
|
|
879
|
+
# api/taskqueue/TaskOptions.html#tag-byte:A-),
|
|
880
|
+
# only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8
|
|
881
|
+
# encoded, the tag will be empty when the task is returned by Cloud Tasks.
|
|
872
882
|
# Corresponds to the JSON property `tag`
|
|
873
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
874
883
|
# @return [String]
|
|
875
884
|
attr_accessor :tag
|
|
876
885
|
|
|
@@ -1027,10 +1036,16 @@ module Google
|
|
|
1027
1036
|
# the queue's bucket runs out of tokens. The bucket will be
|
|
1028
1037
|
# continuously refilled with new tokens based on
|
|
1029
1038
|
# RateLimits.max_tasks_dispatched_per_second.
|
|
1030
|
-
# Cloud Tasks will pick the value of `max_burst_size`
|
|
1031
|
-
#
|
|
1032
|
-
#
|
|
1039
|
+
# Cloud Tasks will pick the value of `max_burst_size` based on the value of
|
|
1040
|
+
# RateLimits.max_tasks_dispatched_per_second.
|
|
1041
|
+
# For App Engine queues that were created or updated using
|
|
1042
|
+
# `queue.yaml/xml`, `max_burst_size` is equal to
|
|
1033
1043
|
# [bucket_size](/appengine/docs/standard/python/config/queueref#bucket_size).
|
|
1044
|
+
# Since `max_burst_size` is output only, if CloudTasks.UpdateQueue is
|
|
1045
|
+
# called on a queue created by `queue.yaml/xml`, `max_burst_size` will be
|
|
1046
|
+
# reset based on the value of RateLimits.max_tasks_dispatched_per_second,
|
|
1047
|
+
# regardless of whether RateLimits.max_tasks_dispatched_per_second is
|
|
1048
|
+
# updated.
|
|
1034
1049
|
# Corresponds to the JSON property `maxBurstSize`
|
|
1035
1050
|
# @return [Fixnum]
|
|
1036
1051
|
attr_accessor :max_burst_size
|
|
@@ -1039,9 +1054,9 @@ module Google
|
|
|
1039
1054
|
# to be dispatched for this queue. After this threshold has been
|
|
1040
1055
|
# reached, Cloud Tasks stops dispatching tasks until the number of
|
|
1041
1056
|
# concurrent requests decreases.
|
|
1042
|
-
# The maximum allowed value is 5,000.
|
|
1043
1057
|
# If unspecified when the queue is created, Cloud Tasks will pick the
|
|
1044
1058
|
# default.
|
|
1059
|
+
# The maximum allowed value is 5,000. -1 indicates no limit.
|
|
1045
1060
|
# This field is output only for
|
|
1046
1061
|
# [pull queues](google.cloud.tasks.v2beta2.PullTarget).
|
|
1047
1062
|
# This field has the same meaning as
|
|
@@ -1052,11 +1067,11 @@ module Google
|
|
|
1052
1067
|
attr_accessor :max_concurrent_tasks
|
|
1053
1068
|
|
|
1054
1069
|
# The maximum rate at which tasks are dispatched from this queue.
|
|
1055
|
-
# The maximum allowed value is 500.
|
|
1056
1070
|
# If unspecified when the queue is created, Cloud Tasks will pick the
|
|
1057
1071
|
# default.
|
|
1058
|
-
#
|
|
1059
|
-
# [pull queues](google.cloud.tasks.v2beta2.
|
|
1072
|
+
# * For App Engine queues, the maximum allowed value is 500.
|
|
1073
|
+
# * This field is output only for [pull queues](google.cloud.tasks.v2beta2.
|
|
1074
|
+
# PullTarget).
|
|
1060
1075
|
# In addition to the `max_tasks_dispatched_per_second` limit, a maximum of
|
|
1061
1076
|
# 10 QPS of CloudTasks.LeaseTasks requests are allowed per pull queue.
|
|
1062
1077
|
# This field has the same meaning as
|
|
@@ -1150,9 +1165,10 @@ module Google
|
|
|
1150
1165
|
# @return [Fixnum]
|
|
1151
1166
|
attr_accessor :max_attempts
|
|
1152
1167
|
|
|
1153
|
-
# A task will be scheduled for retry between
|
|
1154
|
-
# RetryConfig.max_backoff duration after
|
|
1155
|
-
# RetryConfig specifies that the task should be
|
|
1168
|
+
# A task will be [scheduled](Task.schedule_time) for retry between
|
|
1169
|
+
# RetryConfig.min_backoff and RetryConfig.max_backoff duration after
|
|
1170
|
+
# it fails, if the queue's RetryConfig specifies that the task should be
|
|
1171
|
+
# retried.
|
|
1156
1172
|
# If unspecified when the queue is created, Cloud Tasks will pick the
|
|
1157
1173
|
# default.
|
|
1158
1174
|
# This field is output only for
|
|
@@ -1207,9 +1223,10 @@ module Google
|
|
|
1207
1223
|
# @return [String]
|
|
1208
1224
|
attr_accessor :max_retry_duration
|
|
1209
1225
|
|
|
1210
|
-
# A task will be scheduled for retry between
|
|
1211
|
-
# RetryConfig.max_backoff duration after
|
|
1212
|
-
# RetryConfig specifies that the task should be
|
|
1226
|
+
# A task will be [scheduled](Task.schedule_time) for retry between
|
|
1227
|
+
# RetryConfig.min_backoff and RetryConfig.max_backoff duration after
|
|
1228
|
+
# it fails, if the queue's RetryConfig specifies that the task should be
|
|
1229
|
+
# retried.
|
|
1213
1230
|
# If unspecified when the queue is created, Cloud Tasks will pick the
|
|
1214
1231
|
# default.
|
|
1215
1232
|
# This field is output only for
|