google-api-client 0.41.1 → 0.41.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +6 -6
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +271 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +54 -30
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +23 -29
- 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/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +75 -29
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +84 -29
- data/generated/google/apis/compute_v1/representations.rb +17 -0
- data/generated/google/apis/compute_v1/service.rb +21 -29
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +94 -2
- data/generated/google/apis/container_v1/representations.rb +35 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +121 -17
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +6 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -5
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +74 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +74 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +42 -42
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +3 -6
- data/generated/google/apis/displayvideo_v1/service.rb +0 -4
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +73 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +32 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +1 -6
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +73 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +32 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -3
@@ -88,13 +88,13 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class HttpDelivery
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class HashProp
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -112,6 +112,42 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class Notification
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class NotifierConfig
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class NotifierMetadata
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class NotifierSecret
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class NotifierSecretRef
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class NotifierSpec
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
115
151
|
class Operation
|
116
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
153
|
|
@@ -130,12 +166,24 @@ module Google
|
|
130
166
|
include Google::Apis::Core::JsonObjectSupport
|
131
167
|
end
|
132
168
|
|
169
|
+
class SmtpDelivery
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
133
175
|
class Secret
|
134
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
177
|
|
136
178
|
include Google::Apis::Core::JsonObjectSupport
|
137
179
|
end
|
138
180
|
|
181
|
+
class SlackDelivery
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
139
187
|
class Source
|
140
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
189
|
|
@@ -328,20 +376,18 @@ module Google
|
|
328
376
|
end
|
329
377
|
end
|
330
378
|
|
331
|
-
class
|
379
|
+
class HttpDelivery
|
332
380
|
# @private
|
333
381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
-
property :
|
335
|
-
property :value, :base64 => true, as: 'value'
|
382
|
+
property :uri, as: 'uri'
|
336
383
|
end
|
337
384
|
end
|
338
385
|
|
339
|
-
class
|
386
|
+
class HashProp
|
340
387
|
# @private
|
341
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
342
|
-
property :
|
343
|
-
|
344
|
-
|
389
|
+
property :type, as: 'type'
|
390
|
+
property :value, :base64 => true, as: 'value'
|
345
391
|
end
|
346
392
|
end
|
347
393
|
|
@@ -360,6 +406,65 @@ module Google
|
|
360
406
|
end
|
361
407
|
end
|
362
408
|
|
409
|
+
class Notification
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
property :filter, as: 'filter'
|
413
|
+
property :http_delivery, as: 'httpDelivery', class: Google::Apis::CloudbuildV1alpha2::HttpDelivery, decorator: Google::Apis::CloudbuildV1alpha2::HttpDelivery::Representation
|
414
|
+
|
415
|
+
property :slack_delivery, as: 'slackDelivery', class: Google::Apis::CloudbuildV1alpha2::SlackDelivery, decorator: Google::Apis::CloudbuildV1alpha2::SlackDelivery::Representation
|
416
|
+
|
417
|
+
property :smtp_delivery, as: 'smtpDelivery', class: Google::Apis::CloudbuildV1alpha2::SmtpDelivery, decorator: Google::Apis::CloudbuildV1alpha2::SmtpDelivery::Representation
|
418
|
+
|
419
|
+
hash :struct_delivery, as: 'structDelivery'
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
class NotifierConfig
|
424
|
+
# @private
|
425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
426
|
+
property :api_version, as: 'apiVersion'
|
427
|
+
property :kind, as: 'kind'
|
428
|
+
property :metadata, as: 'metadata', class: Google::Apis::CloudbuildV1alpha2::NotifierMetadata, decorator: Google::Apis::CloudbuildV1alpha2::NotifierMetadata::Representation
|
429
|
+
|
430
|
+
property :spec, as: 'spec', class: Google::Apis::CloudbuildV1alpha2::NotifierSpec, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSpec::Representation
|
431
|
+
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
class NotifierMetadata
|
436
|
+
# @private
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
438
|
+
property :name, as: 'name'
|
439
|
+
property :notifier, as: 'notifier'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
class NotifierSecret
|
444
|
+
# @private
|
445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
446
|
+
property :name, as: 'name'
|
447
|
+
property :value, as: 'value'
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
class NotifierSecretRef
|
452
|
+
# @private
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
454
|
+
property :secret_ref, as: 'secretRef'
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class NotifierSpec
|
459
|
+
# @private
|
460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
461
|
+
property :notification, as: 'notification', class: Google::Apis::CloudbuildV1alpha2::Notification, decorator: Google::Apis::CloudbuildV1alpha2::Notification::Representation
|
462
|
+
|
463
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha2::NotifierSecret, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSecret::Representation
|
464
|
+
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
363
468
|
class Operation
|
364
469
|
# @private
|
365
470
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -400,6 +505,19 @@ module Google
|
|
400
505
|
end
|
401
506
|
end
|
402
507
|
|
508
|
+
class SmtpDelivery
|
509
|
+
# @private
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
property :from_address, as: 'fromAddress'
|
512
|
+
property :password, as: 'password', class: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef::Representation
|
513
|
+
|
514
|
+
property :port, as: 'port'
|
515
|
+
collection :recipient_addresses, as: 'recipientAddresses'
|
516
|
+
property :sender_address, as: 'senderAddress'
|
517
|
+
property :server, as: 'server'
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
403
521
|
class Secret
|
404
522
|
# @private
|
405
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -408,6 +526,14 @@ module Google
|
|
408
526
|
end
|
409
527
|
end
|
410
528
|
|
529
|
+
class SlackDelivery
|
530
|
+
# @private
|
531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
532
|
+
property :webhook_uri, as: 'webhookUri', class: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef::Representation
|
533
|
+
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
411
537
|
class Source
|
412
538
|
# @private
|
413
539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -121,53 +121,6 @@ module Google
|
|
121
121
|
execute_or_queue_command(command, &block)
|
122
122
|
end
|
123
123
|
|
124
|
-
# Lists operations that match the specified filter in the request. If the
|
125
|
-
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
|
-
# NOTE: the `name` binding allows API services to override the binding
|
127
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
128
|
-
# override the binding, API services can add a binding such as
|
129
|
-
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
130
|
-
# For backwards compatibility, the default name includes the operations
|
131
|
-
# collection id, however overriding users must ensure the name binding
|
132
|
-
# is the parent resource, without the operations collection id.
|
133
|
-
# @param [String] name
|
134
|
-
# The name of the operation's parent resource.
|
135
|
-
# @param [String] filter
|
136
|
-
# The standard list filter.
|
137
|
-
# @param [Fixnum] page_size
|
138
|
-
# The standard list page size.
|
139
|
-
# @param [String] page_token
|
140
|
-
# The standard list page token.
|
141
|
-
# @param [String] fields
|
142
|
-
# Selector specifying which fields to include in a partial response.
|
143
|
-
# @param [String] quota_user
|
144
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
146
|
-
# @param [Google::Apis::RequestOptions] options
|
147
|
-
# Request-specific options
|
148
|
-
#
|
149
|
-
# @yield [result, err] Result & error if block supplied
|
150
|
-
# @yieldparam result [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse] parsed result object
|
151
|
-
# @yieldparam err [StandardError] error object if request failed
|
152
|
-
#
|
153
|
-
# @return [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse]
|
154
|
-
#
|
155
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
-
command = make_simple_command(:get, 'v1alpha2/{+name}/operations', options)
|
160
|
-
command.response_representation = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse::Representation
|
161
|
-
command.response_class = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse
|
162
|
-
command.params['name'] = name unless name.nil?
|
163
|
-
command.query['filter'] = filter unless filter.nil?
|
164
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
165
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
166
|
-
command.query['fields'] = fields unless fields.nil?
|
167
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
168
|
-
execute_or_queue_command(command, &block)
|
169
|
-
end
|
170
|
-
|
171
124
|
# Creates a `WorkerPool` to run the builds, and returns the new worker pool.
|
172
125
|
# @param [String] parent
|
173
126
|
# Required. The parent resource where this book will be created.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
26
26
|
module CloudidentityV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200629'
|
29
29
|
|
30
30
|
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
31
31
|
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
# @return [Array<String>]
|
402
402
|
attr_accessor :other_accounts
|
403
403
|
|
404
|
-
# Whether the device is owned by the company or an individual
|
404
|
+
# Output only. Whether the device is owned by the company or an individual
|
405
405
|
# Corresponds to the JSON property `ownerType`
|
406
406
|
# @return [String]
|
407
407
|
attr_accessor :owner_type
|
@@ -1020,6 +1020,11 @@ module Google
|
|
1020
1020
|
# @return [Array<Google::Apis::CloudidentityV1beta1::MembershipRole>]
|
1021
1021
|
attr_accessor :roles
|
1022
1022
|
|
1023
|
+
# Output only. The type of the membership.
|
1024
|
+
# Corresponds to the JSON property `type`
|
1025
|
+
# @return [String]
|
1026
|
+
attr_accessor :type
|
1027
|
+
|
1023
1028
|
# Output only. The time when the `Membership` was last updated.
|
1024
1029
|
# Corresponds to the JSON property `updateTime`
|
1025
1030
|
# @return [String]
|
@@ -1036,6 +1041,7 @@ module Google
|
|
1036
1041
|
@name = args[:name] if args.key?(:name)
|
1037
1042
|
@preferred_member_key = args[:preferred_member_key] if args.key?(:preferred_member_key)
|
1038
1043
|
@roles = args[:roles] if args.key?(:roles)
|
1044
|
+
@type = args[:type] if args.key?(:type)
|
1039
1045
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1040
1046
|
end
|
1041
1047
|
end
|
@@ -476,6 +476,7 @@ module Google
|
|
476
476
|
|
477
477
|
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1beta1::MembershipRole, decorator: Google::Apis::CloudidentityV1beta1::MembershipRole::Representation
|
478
478
|
|
479
|
+
property :type, as: 'type'
|
479
480
|
property :update_time, as: 'updateTime'
|
480
481
|
end
|
481
482
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200612'
|
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'
|
@@ -2559,7 +2559,9 @@ module Google
|
|
2559
2559
|
# UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group
|
2560
2560
|
# will serve up to 100% of its configured capacity (depending on balancingMode).
|
2561
2561
|
# A setting of 0 means the group is completely drained, offering 0% of its
|
2562
|
-
# available
|
2562
|
+
# available capacity. Valid range is 0.0 and [0.1,1.0]. You cannot configure a
|
2563
|
+
# setting larger than 0 and smaller than 0.1. You cannot configure a setting of
|
2564
|
+
# 0 when there is only one backend attached to the backend service.
|
2563
2565
|
# This cannot be used for internal load balancing.
|
2564
2566
|
# Corresponds to the JSON property `capacityScaler`
|
2565
2567
|
# @return [Float]
|
@@ -2945,7 +2947,7 @@ module Google
|
|
2945
2947
|
# scoped.
|
2946
2948
|
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
2947
2949
|
# Regional](/compute/docs/reference/rest/`$api_version`/regionBackendServices)
|
2948
|
-
# For more information,
|
2950
|
+
# For more information, see Backend Services.
|
2949
2951
|
# (== resource_for `$api_version`.backendService ==)
|
2950
2952
|
class BackendService
|
2951
2953
|
include Google::Apis::Core::Hashable
|
@@ -3081,8 +3083,8 @@ module Google
|
|
3081
3083
|
# redirected to the load balancer.
|
3082
3084
|
# - MAGLEV: used as a drop in replacement for the ring hash load balancer.
|
3083
3085
|
# Maglev is not as stable as ring hash but has faster table lookup build times
|
3084
|
-
# and host selection times. For more information about Maglev,
|
3085
|
-
#
|
3086
|
+
# and host selection times. For more information about Maglev, see https://ai.
|
3087
|
+
# google/research/pubs/pub44824
|
3086
3088
|
# This field is applicable to either:
|
3087
3089
|
# - A regional backend service with the service_protocol set to HTTP, HTTPS, or
|
3088
3090
|
# HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED.
|
@@ -3194,8 +3196,8 @@ module Google
|
|
3194
3196
|
attr_accessor :session_affinity
|
3195
3197
|
|
3196
3198
|
# The backend service timeout has a different meaning depending on the type of
|
3197
|
-
# load balancer. For more information
|
3198
|
-
#
|
3199
|
+
# load balancer. For more information see, Backend service settings The default
|
3200
|
+
# is 30 seconds.
|
3199
3201
|
# Corresponds to the JSON property `timeoutSec`
|
3200
3202
|
# @return [Fixnum]
|
3201
3203
|
attr_accessor :timeout_sec
|
@@ -12325,6 +12327,21 @@ module Google
|
|
12325
12327
|
# @return [Hash<String,String>]
|
12326
12328
|
attr_accessor :labels
|
12327
12329
|
|
12330
|
+
# [Output Only] Last start timestamp in RFC3339 text format.
|
12331
|
+
# Corresponds to the JSON property `lastStartTimestamp`
|
12332
|
+
# @return [String]
|
12333
|
+
attr_accessor :last_start_timestamp
|
12334
|
+
|
12335
|
+
# [Output Only] Last stop timestamp in RFC3339 text format.
|
12336
|
+
# Corresponds to the JSON property `lastStopTimestamp`
|
12337
|
+
# @return [String]
|
12338
|
+
attr_accessor :last_stop_timestamp
|
12339
|
+
|
12340
|
+
# [Output Only] Last suspended timestamp in RFC3339 text format.
|
12341
|
+
# Corresponds to the JSON property `lastSuspendedTimestamp`
|
12342
|
+
# @return [String]
|
12343
|
+
attr_accessor :last_suspended_timestamp
|
12344
|
+
|
12328
12345
|
# Full or partial URL of the machine type resource to use for this instance, in
|
12329
12346
|
# the format: zones/zone/machineTypes/machine-type. This is provided by the
|
12330
12347
|
# client when the instance is created. For example, the following is a valid
|
@@ -12513,6 +12530,9 @@ module Google
|
|
12513
12530
|
@kind = args[:kind] if args.key?(:kind)
|
12514
12531
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
12515
12532
|
@labels = args[:labels] if args.key?(:labels)
|
12533
|
+
@last_start_timestamp = args[:last_start_timestamp] if args.key?(:last_start_timestamp)
|
12534
|
+
@last_stop_timestamp = args[:last_stop_timestamp] if args.key?(:last_stop_timestamp)
|
12535
|
+
@last_suspended_timestamp = args[:last_suspended_timestamp] if args.key?(:last_suspended_timestamp)
|
12516
12536
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
12517
12537
|
@metadata = args[:metadata] if args.key?(:metadata)
|
12518
12538
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
@@ -15145,9 +15165,9 @@ module Google
|
|
15145
15165
|
class InstanceProperties
|
15146
15166
|
include Google::Apis::Core::Hashable
|
15147
15167
|
|
15148
|
-
# Enables instances created based on
|
15149
|
-
# IP addresses other than their own and receive packets with destination
|
15150
|
-
# addresses other than their own. If these instances will be used as an IP
|
15168
|
+
# Enables instances created based on these properties to send packets with
|
15169
|
+
# source IP addresses other than their own and receive packets with destination
|
15170
|
+
# IP addresses other than their own. If these instances will be used as an IP
|
15151
15171
|
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
15152
15172
|
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
15153
15173
|
# for more information.
|
@@ -15161,14 +15181,14 @@ module Google
|
|
15161
15181
|
# @return [Google::Apis::ComputeAlpha::ConfidentialInstanceConfig]
|
15162
15182
|
attr_accessor :confidential_instance_config
|
15163
15183
|
|
15164
|
-
# An optional text description for the instances that are created from
|
15165
|
-
#
|
15184
|
+
# An optional text description for the instances that are created from these
|
15185
|
+
# properties.
|
15166
15186
|
# Corresponds to the JSON property `description`
|
15167
15187
|
# @return [String]
|
15168
15188
|
attr_accessor :description
|
15169
15189
|
|
15170
15190
|
# An array of disks that are associated with the instances that are created from
|
15171
|
-
#
|
15191
|
+
# these properties.
|
15172
15192
|
# Corresponds to the JSON property `disks`
|
15173
15193
|
# @return [Array<Google::Apis::ComputeAlpha::AttachedDisk>]
|
15174
15194
|
attr_accessor :disks
|
@@ -15179,17 +15199,17 @@ module Google
|
|
15179
15199
|
attr_accessor :display_device
|
15180
15200
|
|
15181
15201
|
# A list of guest accelerator cards' type and count to use for instances created
|
15182
|
-
# from
|
15202
|
+
# from these properties.
|
15183
15203
|
# Corresponds to the JSON property `guestAccelerators`
|
15184
15204
|
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
15185
15205
|
attr_accessor :guest_accelerators
|
15186
15206
|
|
15187
|
-
# Labels to apply to instances that are created from
|
15207
|
+
# Labels to apply to instances that are created from these properties.
|
15188
15208
|
# Corresponds to the JSON property `labels`
|
15189
15209
|
# @return [Hash<String,String>]
|
15190
15210
|
attr_accessor :labels
|
15191
15211
|
|
15192
|
-
# The machine type to use for instances that are created from
|
15212
|
+
# The machine type to use for instances that are created from these properties.
|
15193
15213
|
# Corresponds to the JSON property `machineType`
|
15194
15214
|
# @return [String]
|
15195
15215
|
attr_accessor :machine_type
|
@@ -15199,11 +15219,11 @@ module Google
|
|
15199
15219
|
# @return [Google::Apis::ComputeAlpha::Metadata]
|
15200
15220
|
attr_accessor :metadata
|
15201
15221
|
|
15202
|
-
# Minimum cpu/platform to be used by
|
15203
|
-
#
|
15204
|
-
#
|
15205
|
-
#
|
15206
|
-
#
|
15222
|
+
# Minimum cpu/platform to be used by instances. The instance may be scheduled on
|
15223
|
+
# the specified or newer cpu/platform. Applicable values are the friendly names
|
15224
|
+
# of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "
|
15225
|
+
# Intel Sandy Bridge". For more information, read Specifying a Minimum CPU
|
15226
|
+
# Platform.
|
15207
15227
|
# Corresponds to the JSON property `minCpuPlatform`
|
15208
15228
|
# @return [String]
|
15209
15229
|
attr_accessor :min_cpu_platform
|
@@ -15213,12 +15233,12 @@ module Google
|
|
15213
15233
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
15214
15234
|
attr_accessor :network_interfaces
|
15215
15235
|
|
15216
|
-
# Specifies whether
|
15236
|
+
# Specifies whether instances will be shut down on key revocation.
|
15217
15237
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
15218
15238
|
# @return [String]
|
15219
15239
|
attr_accessor :post_key_revocation_action_type
|
15220
15240
|
|
15221
|
-
# The private IPv6 google access type for
|
15241
|
+
# The private IPv6 google access type for VMs. If not specified, use
|
15222
15242
|
# INHERIT_FROM_SUBNETWORK as default.
|
15223
15243
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
15224
15244
|
# @return [String]
|
@@ -15229,8 +15249,8 @@ module Google
|
|
15229
15249
|
# @return [Google::Apis::ComputeAlpha::ReservationAffinity]
|
15230
15250
|
attr_accessor :reservation_affinity
|
15231
15251
|
|
15232
|
-
# Resource policies (names, not ULRs) applied to instances created from
|
15233
|
-
#
|
15252
|
+
# Resource policies (names, not ULRs) applied to instances created from these
|
15253
|
+
# properties.
|
15234
15254
|
# Corresponds to the JSON property `resourcePolicies`
|
15235
15255
|
# @return [Array<String>]
|
15236
15256
|
attr_accessor :resource_policies
|
@@ -15241,8 +15261,9 @@ module Google
|
|
15241
15261
|
attr_accessor :scheduling
|
15242
15262
|
|
15243
15263
|
# A list of service accounts with specified scopes. Access tokens for these
|
15244
|
-
# service accounts are available to the instances that are created from
|
15245
|
-
#
|
15264
|
+
# service accounts are available to the instances that are created from these
|
15265
|
+
# properties. Use metadata queries to obtain the access tokens for these
|
15266
|
+
# instances.
|
15246
15267
|
# Corresponds to the JSON property `serviceAccounts`
|
15247
15268
|
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
|
15248
15269
|
attr_accessor :service_accounts
|
@@ -19702,10 +19723,12 @@ module Google
|
|
19702
19723
|
# @return [String]
|
19703
19724
|
attr_accessor :i_pv4_range
|
19704
19725
|
|
19705
|
-
# When set to true, the VPC network is created in
|
19706
|
-
# the VPC network is created in
|
19726
|
+
# When set to true, the VPC network is created in auto mode. When set to false,
|
19727
|
+
# the VPC network is created in custom mode.
|
19707
19728
|
# An auto mode VPC network starts with one subnet per region. Each subnet has a
|
19708
19729
|
# predetermined range as described in Auto mode VPC network IP ranges.
|
19730
|
+
# For custom mode VPC networks, you can add subnets using the subnetworks insert
|
19731
|
+
# method.
|
19709
19732
|
# Corresponds to the JSON property `autoCreateSubnetworks`
|
19710
19733
|
# @return [Boolean]
|
19711
19734
|
attr_accessor :auto_create_subnetworks
|
@@ -21337,7 +21360,7 @@ module Google
|
|
21337
21360
|
# @return [String]
|
21338
21361
|
attr_accessor :name
|
21339
21362
|
|
21340
|
-
#
|
21363
|
+
# URL of the node template to create the node group from.
|
21341
21364
|
# Corresponds to the JSON property `nodeTemplate`
|
21342
21365
|
# @return [String]
|
21343
21366
|
attr_accessor :node_template
|
@@ -34294,7 +34317,8 @@ module Google
|
|
34294
34317
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
34295
34318
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
|
34296
34319
|
# 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
|
34297
|
-
# IPv4 is supported. This field
|
34320
|
+
# IPv4 is supported. This field is set at resource creation time. The range can
|
34321
|
+
# be expanded after creation using expandIpCidrRange.
|
34298
34322
|
# Corresponds to the JSON property `ipCidrRange`
|
34299
34323
|
# @return [String]
|
34300
34324
|
attr_accessor :ip_cidr_range
|