google-api-client 0.26.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +78 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +34 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -11
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2.rb +58 -0
- data/generated/google/apis/bigtableadmin_v2/classes.rb +1661 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +703 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +1181 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1158 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +432 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +4 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +4 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2 -2
- 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_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +44 -36
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +36 -26
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +44 -36
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +3 -3
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -3
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +3 -3
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +7 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -0
- data/generated/google/apis/jobs_v3/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -10
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +45 -1
- data/generated/google/apis/pagespeedonline_v5/representations.rb +23 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +140 -215
- data/generated/google/apis/testing_v1/service.rb +5 -7
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -6
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +0 -45
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +0 -733
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +0 -294
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +0 -488
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
51
|
+
# Gets the details of an Android application APK.
|
52
52
|
# @param [Google::Apis::TestingV1::FileReference] file_reference_object
|
53
53
|
# @param [String] fields
|
54
54
|
# Selector specifying which fields to include in a partial response.
|
@@ -117,7 +117,7 @@ module Google
|
|
117
117
|
execute_or_queue_command(command, &block)
|
118
118
|
end
|
119
119
|
|
120
|
-
#
|
120
|
+
# Creates and runs a matrix of tests according to the given specifications.
|
121
121
|
# Unsupported environments will be returned in the state UNSUPPORTED.
|
122
122
|
# Matrices are limited to at most 200 supported executions.
|
123
123
|
# May return any of the following canonical error codes:
|
@@ -163,7 +163,7 @@ module Google
|
|
163
163
|
execute_or_queue_command(command, &block)
|
164
164
|
end
|
165
165
|
|
166
|
-
#
|
166
|
+
# Checks the status of a test matrix.
|
167
167
|
# May return any of the following canonical error codes:
|
168
168
|
# - PERMISSION_DENIED - if the user is not authorized to read project
|
169
169
|
# - INVALID_ARGUMENT - if the request is malformed
|
@@ -200,17 +200,15 @@ module Google
|
|
200
200
|
execute_or_queue_command(command, &block)
|
201
201
|
end
|
202
202
|
|
203
|
-
#
|
203
|
+
# Gets the catalog of supported test environments.
|
204
204
|
# May return any of the following canonical error codes:
|
205
205
|
# - INVALID_ARGUMENT - if the request is malformed
|
206
206
|
# - NOT_FOUND - if the environment type does not exist
|
207
207
|
# - INTERNAL - if an internal error occurred
|
208
208
|
# @param [String] environment_type
|
209
|
-
# The type of environment that should be listed.
|
210
|
-
# Required
|
209
|
+
# Required. The type of environment that should be listed.
|
211
210
|
# @param [String] project_id
|
212
211
|
# For authorization, the cloud project requesting the TestEnvironmentCatalog.
|
213
|
-
# Optional
|
214
212
|
# @param [String] fields
|
215
213
|
# Selector specifying which fields to include in a partial response.
|
216
214
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
26
26
|
module TexttospeechV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181208'
|
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'
|
@@ -34,6 +34,10 @@ module Google
|
|
34
34
|
# An identifier which selects 'audio effects' profiles that are applied on
|
35
35
|
# (post synthesized) text to speech.
|
36
36
|
# Effects are applied on top of each other in the order they are given.
|
37
|
+
# See
|
38
|
+
# [audio-profiles](https:
|
39
|
+
# //cloud.google.com/text-to-speech/docs/audio-profiles)
|
40
|
+
# for current supported profile ids.
|
37
41
|
# Corresponds to the JSON property `effectsProfileId`
|
38
42
|
# @return [Array<String>]
|
39
43
|
attr_accessor :effects_profile_id
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/youtube/partner/
|
26
26
|
module YoutubePartnerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181210'
|
29
29
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-12-
|
14
|
+
date: 2018-12-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -346,6 +346,10 @@ files:
|
|
346
346
|
- generated/google/apis/bigquerydatatransfer_v1/classes.rb
|
347
347
|
- generated/google/apis/bigquerydatatransfer_v1/representations.rb
|
348
348
|
- generated/google/apis/bigquerydatatransfer_v1/service.rb
|
349
|
+
- generated/google/apis/bigtableadmin_v2.rb
|
350
|
+
- generated/google/apis/bigtableadmin_v2/classes.rb
|
351
|
+
- generated/google/apis/bigtableadmin_v2/representations.rb
|
352
|
+
- generated/google/apis/bigtableadmin_v2/service.rb
|
349
353
|
- generated/google/apis/binaryauthorization_v1beta1.rb
|
350
354
|
- generated/google/apis/binaryauthorization_v1beta1/classes.rb
|
351
355
|
- generated/google/apis/binaryauthorization_v1beta1/representations.rb
|
@@ -390,6 +394,10 @@ files:
|
|
390
394
|
- generated/google/apis/cloudbuild_v1/classes.rb
|
391
395
|
- generated/google/apis/cloudbuild_v1/representations.rb
|
392
396
|
- generated/google/apis/cloudbuild_v1/service.rb
|
397
|
+
- generated/google/apis/cloudbuild_v1alpha1.rb
|
398
|
+
- generated/google/apis/cloudbuild_v1alpha1/classes.rb
|
399
|
+
- generated/google/apis/cloudbuild_v1alpha1/representations.rb
|
400
|
+
- generated/google/apis/cloudbuild_v1alpha1/service.rb
|
393
401
|
- generated/google/apis/clouddebugger_v2.rb
|
394
402
|
- generated/google/apis/clouddebugger_v2/classes.rb
|
395
403
|
- generated/google/apis/clouddebugger_v2/representations.rb
|
@@ -846,10 +854,6 @@ files:
|
|
846
854
|
- generated/google/apis/replicapool_v1beta1/classes.rb
|
847
855
|
- generated/google/apis/replicapool_v1beta1/representations.rb
|
848
856
|
- generated/google/apis/replicapool_v1beta1/service.rb
|
849
|
-
- generated/google/apis/replicapoolupdater_v1beta1.rb
|
850
|
-
- generated/google/apis/replicapoolupdater_v1beta1/classes.rb
|
851
|
-
- generated/google/apis/replicapoolupdater_v1beta1/representations.rb
|
852
|
-
- generated/google/apis/replicapoolupdater_v1beta1/service.rb
|
853
857
|
- generated/google/apis/reseller_v1.rb
|
854
858
|
- generated/google/apis/reseller_v1/classes.rb
|
855
859
|
- generated/google/apis/reseller_v1/representations.rb
|
@@ -1,45 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/replicapoolupdater_v1beta1/service.rb'
|
16
|
-
require 'google/apis/replicapoolupdater_v1beta1/classes.rb'
|
17
|
-
require 'google/apis/replicapoolupdater_v1beta1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google Compute Engine Instance Group Updater API
|
22
|
-
#
|
23
|
-
# [Deprecated. Please use compute.instanceGroupManagers.update method.
|
24
|
-
# replicapoolupdater API will be disabled after December 30th, 2016] Updates
|
25
|
-
# groups of Compute Engine instances.
|
26
|
-
#
|
27
|
-
# @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service
|
28
|
-
module ReplicapoolupdaterV1beta1
|
29
|
-
VERSION = 'V1beta1'
|
30
|
-
REVISION = '20161003'
|
31
|
-
|
32
|
-
# View and manage your data across Google Cloud Platform services
|
33
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
|
-
|
35
|
-
# View your data across Google Cloud Platform services
|
36
|
-
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
37
|
-
|
38
|
-
# View and manage replica pools
|
39
|
-
AUTH_REPLICAPOOL = 'https://www.googleapis.com/auth/replicapool'
|
40
|
-
|
41
|
-
# View replica pools
|
42
|
-
AUTH_REPLICAPOOL_READONLY = 'https://www.googleapis.com/auth/replicapool.readonly'
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
@@ -1,733 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module ReplicapoolupdaterV1beta1
|
24
|
-
|
25
|
-
# Update of a single instance.
|
26
|
-
class InstanceUpdate
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Errors that occurred during the instance update.
|
30
|
-
# Corresponds to the JSON property `error`
|
31
|
-
# @return [Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error]
|
32
|
-
attr_accessor :error
|
33
|
-
|
34
|
-
# Fully-qualified URL of the instance being updated.
|
35
|
-
# Corresponds to the JSON property `instance`
|
36
|
-
# @return [String]
|
37
|
-
attr_accessor :instance
|
38
|
-
|
39
|
-
# Status of the instance update. Possible values are:
|
40
|
-
# - "PENDING": The instance update is pending execution.
|
41
|
-
# - "ROLLING_FORWARD": The instance update is going forward.
|
42
|
-
# - "ROLLING_BACK": The instance update is being rolled back.
|
43
|
-
# - "PAUSED": The instance update is temporarily paused (inactive).
|
44
|
-
# - "ROLLED_OUT": The instance update is finished, the instance is running the
|
45
|
-
# new template.
|
46
|
-
# - "ROLLED_BACK": The instance update is finished, the instance has been
|
47
|
-
# reverted to the previous template.
|
48
|
-
# - "CANCELLED": The instance update is paused and no longer can be resumed,
|
49
|
-
# undefined in which template the instance is running.
|
50
|
-
# Corresponds to the JSON property `status`
|
51
|
-
# @return [String]
|
52
|
-
attr_accessor :status
|
53
|
-
|
54
|
-
def initialize(**args)
|
55
|
-
update!(**args)
|
56
|
-
end
|
57
|
-
|
58
|
-
# Update properties of this object
|
59
|
-
def update!(**args)
|
60
|
-
@error = args[:error] if args.key?(:error)
|
61
|
-
@instance = args[:instance] if args.key?(:instance)
|
62
|
-
@status = args[:status] if args.key?(:status)
|
63
|
-
end
|
64
|
-
|
65
|
-
# Errors that occurred during the instance update.
|
66
|
-
class Error
|
67
|
-
include Google::Apis::Core::Hashable
|
68
|
-
|
69
|
-
# [Output Only] The array of errors encountered while processing this operation.
|
70
|
-
# Corresponds to the JSON property `errors`
|
71
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Error>]
|
72
|
-
attr_accessor :errors
|
73
|
-
|
74
|
-
def initialize(**args)
|
75
|
-
update!(**args)
|
76
|
-
end
|
77
|
-
|
78
|
-
# Update properties of this object
|
79
|
-
def update!(**args)
|
80
|
-
@errors = args[:errors] if args.key?(:errors)
|
81
|
-
end
|
82
|
-
|
83
|
-
#
|
84
|
-
class Error
|
85
|
-
include Google::Apis::Core::Hashable
|
86
|
-
|
87
|
-
# [Output Only] The error type identifier for this error.
|
88
|
-
# Corresponds to the JSON property `code`
|
89
|
-
# @return [String]
|
90
|
-
attr_accessor :code
|
91
|
-
|
92
|
-
# [Output Only] Indicates the field in the request that caused the error. This
|
93
|
-
# property is optional.
|
94
|
-
# Corresponds to the JSON property `location`
|
95
|
-
# @return [String]
|
96
|
-
attr_accessor :location
|
97
|
-
|
98
|
-
# [Output Only] An optional, human-readable error message.
|
99
|
-
# Corresponds to the JSON property `message`
|
100
|
-
# @return [String]
|
101
|
-
attr_accessor :message
|
102
|
-
|
103
|
-
def initialize(**args)
|
104
|
-
update!(**args)
|
105
|
-
end
|
106
|
-
|
107
|
-
# Update properties of this object
|
108
|
-
def update!(**args)
|
109
|
-
@code = args[:code] if args.key?(:code)
|
110
|
-
@location = args[:location] if args.key?(:location)
|
111
|
-
@message = args[:message] if args.key?(:message)
|
112
|
-
end
|
113
|
-
end
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
# Response returned by ListInstanceUpdates method.
|
118
|
-
class InstanceUpdateList
|
119
|
-
include Google::Apis::Core::Hashable
|
120
|
-
|
121
|
-
# Collection of requested instance updates.
|
122
|
-
# Corresponds to the JSON property `items`
|
123
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate>]
|
124
|
-
attr_accessor :items
|
125
|
-
|
126
|
-
# [Output Only] Type of the resource.
|
127
|
-
# Corresponds to the JSON property `kind`
|
128
|
-
# @return [String]
|
129
|
-
attr_accessor :kind
|
130
|
-
|
131
|
-
# A token used to continue a truncated list request.
|
132
|
-
# Corresponds to the JSON property `nextPageToken`
|
133
|
-
# @return [String]
|
134
|
-
attr_accessor :next_page_token
|
135
|
-
|
136
|
-
# [Output Only] The fully qualified URL for the resource.
|
137
|
-
# Corresponds to the JSON property `selfLink`
|
138
|
-
# @return [String]
|
139
|
-
attr_accessor :self_link
|
140
|
-
|
141
|
-
def initialize(**args)
|
142
|
-
update!(**args)
|
143
|
-
end
|
144
|
-
|
145
|
-
# Update properties of this object
|
146
|
-
def update!(**args)
|
147
|
-
@items = args[:items] if args.key?(:items)
|
148
|
-
@kind = args[:kind] if args.key?(:kind)
|
149
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
150
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
|
-
# An operation resource, used to manage asynchronous API requests.
|
155
|
-
class Operation
|
156
|
-
include Google::Apis::Core::Hashable
|
157
|
-
|
158
|
-
#
|
159
|
-
# Corresponds to the JSON property `clientOperationId`
|
160
|
-
# @return [String]
|
161
|
-
attr_accessor :client_operation_id
|
162
|
-
|
163
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
164
|
-
# Corresponds to the JSON property `creationTimestamp`
|
165
|
-
# @return [String]
|
166
|
-
attr_accessor :creation_timestamp
|
167
|
-
|
168
|
-
#
|
169
|
-
# Corresponds to the JSON property `endTime`
|
170
|
-
# @return [String]
|
171
|
-
attr_accessor :end_time
|
172
|
-
|
173
|
-
# [Output Only] If errors occurred during processing of this operation, this
|
174
|
-
# field will be populated.
|
175
|
-
# Corresponds to the JSON property `error`
|
176
|
-
# @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error]
|
177
|
-
attr_accessor :error
|
178
|
-
|
179
|
-
#
|
180
|
-
# Corresponds to the JSON property `httpErrorMessage`
|
181
|
-
# @return [String]
|
182
|
-
attr_accessor :http_error_message
|
183
|
-
|
184
|
-
#
|
185
|
-
# Corresponds to the JSON property `httpErrorStatusCode`
|
186
|
-
# @return [Fixnum]
|
187
|
-
attr_accessor :http_error_status_code
|
188
|
-
|
189
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
190
|
-
# Corresponds to the JSON property `id`
|
191
|
-
# @return [Fixnum]
|
192
|
-
attr_accessor :id
|
193
|
-
|
194
|
-
# [Output Only] The time that this operation was requested. This is in RFC 3339
|
195
|
-
# format.
|
196
|
-
# Corresponds to the JSON property `insertTime`
|
197
|
-
# @return [String]
|
198
|
-
attr_accessor :insert_time
|
199
|
-
|
200
|
-
# [Output Only] Type of the resource. Always replicapoolupdater#operation for
|
201
|
-
# Operation resources.
|
202
|
-
# Corresponds to the JSON property `kind`
|
203
|
-
# @return [String]
|
204
|
-
attr_accessor :kind
|
205
|
-
|
206
|
-
# [Output Only] Name of the resource.
|
207
|
-
# Corresponds to the JSON property `name`
|
208
|
-
# @return [String]
|
209
|
-
attr_accessor :name
|
210
|
-
|
211
|
-
#
|
212
|
-
# Corresponds to the JSON property `operationType`
|
213
|
-
# @return [String]
|
214
|
-
attr_accessor :operation_type
|
215
|
-
|
216
|
-
#
|
217
|
-
# Corresponds to the JSON property `progress`
|
218
|
-
# @return [Fixnum]
|
219
|
-
attr_accessor :progress
|
220
|
-
|
221
|
-
# [Output Only] URL of the region where the operation resides.
|
222
|
-
# Corresponds to the JSON property `region`
|
223
|
-
# @return [String]
|
224
|
-
attr_accessor :region
|
225
|
-
|
226
|
-
# [Output Only] The fully qualified URL for the resource.
|
227
|
-
# Corresponds to the JSON property `selfLink`
|
228
|
-
# @return [String]
|
229
|
-
attr_accessor :self_link
|
230
|
-
|
231
|
-
# [Output Only] The time that this operation was started by the server. This is
|
232
|
-
# in RFC 3339 format.
|
233
|
-
# Corresponds to the JSON property `startTime`
|
234
|
-
# @return [String]
|
235
|
-
attr_accessor :start_time
|
236
|
-
|
237
|
-
# [Output Only] Status of the operation. Can be one of the following: "PENDING",
|
238
|
-
# "RUNNING", or "DONE".
|
239
|
-
# Corresponds to the JSON property `status`
|
240
|
-
# @return [String]
|
241
|
-
attr_accessor :status
|
242
|
-
|
243
|
-
# [Output Only] An optional textual description of the current status of the
|
244
|
-
# operation.
|
245
|
-
# Corresponds to the JSON property `statusMessage`
|
246
|
-
# @return [String]
|
247
|
-
attr_accessor :status_message
|
248
|
-
|
249
|
-
# [Output Only] Unique target id which identifies a particular incarnation of
|
250
|
-
# the target.
|
251
|
-
# Corresponds to the JSON property `targetId`
|
252
|
-
# @return [Fixnum]
|
253
|
-
attr_accessor :target_id
|
254
|
-
|
255
|
-
# [Output Only] URL of the resource the operation is mutating.
|
256
|
-
# Corresponds to the JSON property `targetLink`
|
257
|
-
# @return [String]
|
258
|
-
attr_accessor :target_link
|
259
|
-
|
260
|
-
#
|
261
|
-
# Corresponds to the JSON property `user`
|
262
|
-
# @return [String]
|
263
|
-
attr_accessor :user
|
264
|
-
|
265
|
-
#
|
266
|
-
# Corresponds to the JSON property `warnings`
|
267
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning>]
|
268
|
-
attr_accessor :warnings
|
269
|
-
|
270
|
-
# [Output Only] URL of the zone where the operation resides.
|
271
|
-
# Corresponds to the JSON property `zone`
|
272
|
-
# @return [String]
|
273
|
-
attr_accessor :zone
|
274
|
-
|
275
|
-
def initialize(**args)
|
276
|
-
update!(**args)
|
277
|
-
end
|
278
|
-
|
279
|
-
# Update properties of this object
|
280
|
-
def update!(**args)
|
281
|
-
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
282
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
283
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
284
|
-
@error = args[:error] if args.key?(:error)
|
285
|
-
@http_error_message = args[:http_error_message] if args.key?(:http_error_message)
|
286
|
-
@http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
|
287
|
-
@id = args[:id] if args.key?(:id)
|
288
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
289
|
-
@kind = args[:kind] if args.key?(:kind)
|
290
|
-
@name = args[:name] if args.key?(:name)
|
291
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
292
|
-
@progress = args[:progress] if args.key?(:progress)
|
293
|
-
@region = args[:region] if args.key?(:region)
|
294
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
295
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
296
|
-
@status = args[:status] if args.key?(:status)
|
297
|
-
@status_message = args[:status_message] if args.key?(:status_message)
|
298
|
-
@target_id = args[:target_id] if args.key?(:target_id)
|
299
|
-
@target_link = args[:target_link] if args.key?(:target_link)
|
300
|
-
@user = args[:user] if args.key?(:user)
|
301
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
302
|
-
@zone = args[:zone] if args.key?(:zone)
|
303
|
-
end
|
304
|
-
|
305
|
-
# [Output Only] If errors occurred during processing of this operation, this
|
306
|
-
# field will be populated.
|
307
|
-
class Error
|
308
|
-
include Google::Apis::Core::Hashable
|
309
|
-
|
310
|
-
# [Output Only] The array of errors encountered while processing this operation.
|
311
|
-
# Corresponds to the JSON property `errors`
|
312
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error::Error>]
|
313
|
-
attr_accessor :errors
|
314
|
-
|
315
|
-
def initialize(**args)
|
316
|
-
update!(**args)
|
317
|
-
end
|
318
|
-
|
319
|
-
# Update properties of this object
|
320
|
-
def update!(**args)
|
321
|
-
@errors = args[:errors] if args.key?(:errors)
|
322
|
-
end
|
323
|
-
|
324
|
-
#
|
325
|
-
class Error
|
326
|
-
include Google::Apis::Core::Hashable
|
327
|
-
|
328
|
-
# [Output Only] The error type identifier for this error.
|
329
|
-
# Corresponds to the JSON property `code`
|
330
|
-
# @return [String]
|
331
|
-
attr_accessor :code
|
332
|
-
|
333
|
-
# [Output Only] Indicates the field in the request that caused the error. This
|
334
|
-
# property is optional.
|
335
|
-
# Corresponds to the JSON property `location`
|
336
|
-
# @return [String]
|
337
|
-
attr_accessor :location
|
338
|
-
|
339
|
-
# [Output Only] An optional, human-readable error message.
|
340
|
-
# Corresponds to the JSON property `message`
|
341
|
-
# @return [String]
|
342
|
-
attr_accessor :message
|
343
|
-
|
344
|
-
def initialize(**args)
|
345
|
-
update!(**args)
|
346
|
-
end
|
347
|
-
|
348
|
-
# Update properties of this object
|
349
|
-
def update!(**args)
|
350
|
-
@code = args[:code] if args.key?(:code)
|
351
|
-
@location = args[:location] if args.key?(:location)
|
352
|
-
@message = args[:message] if args.key?(:message)
|
353
|
-
end
|
354
|
-
end
|
355
|
-
end
|
356
|
-
|
357
|
-
#
|
358
|
-
class Warning
|
359
|
-
include Google::Apis::Core::Hashable
|
360
|
-
|
361
|
-
# [Output only] The warning type identifier for this warning.
|
362
|
-
# Corresponds to the JSON property `code`
|
363
|
-
# @return [String]
|
364
|
-
attr_accessor :code
|
365
|
-
|
366
|
-
# [Output only] Metadata for this warning in key:value format.
|
367
|
-
# Corresponds to the JSON property `data`
|
368
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Datum>]
|
369
|
-
attr_accessor :data
|
370
|
-
|
371
|
-
# [Output only] Optional human-readable details for this warning.
|
372
|
-
# Corresponds to the JSON property `message`
|
373
|
-
# @return [String]
|
374
|
-
attr_accessor :message
|
375
|
-
|
376
|
-
def initialize(**args)
|
377
|
-
update!(**args)
|
378
|
-
end
|
379
|
-
|
380
|
-
# Update properties of this object
|
381
|
-
def update!(**args)
|
382
|
-
@code = args[:code] if args.key?(:code)
|
383
|
-
@data = args[:data] if args.key?(:data)
|
384
|
-
@message = args[:message] if args.key?(:message)
|
385
|
-
end
|
386
|
-
|
387
|
-
#
|
388
|
-
class Datum
|
389
|
-
include Google::Apis::Core::Hashable
|
390
|
-
|
391
|
-
# [Output Only] Metadata key for this warning.
|
392
|
-
# Corresponds to the JSON property `key`
|
393
|
-
# @return [String]
|
394
|
-
attr_accessor :key
|
395
|
-
|
396
|
-
# [Output Only] Metadata value for this warning.
|
397
|
-
# Corresponds to the JSON property `value`
|
398
|
-
# @return [String]
|
399
|
-
attr_accessor :value
|
400
|
-
|
401
|
-
def initialize(**args)
|
402
|
-
update!(**args)
|
403
|
-
end
|
404
|
-
|
405
|
-
# Update properties of this object
|
406
|
-
def update!(**args)
|
407
|
-
@key = args[:key] if args.key?(:key)
|
408
|
-
@value = args[:value] if args.key?(:value)
|
409
|
-
end
|
410
|
-
end
|
411
|
-
end
|
412
|
-
end
|
413
|
-
|
414
|
-
# Contains a list of Operation resources.
|
415
|
-
class OperationList
|
416
|
-
include Google::Apis::Core::Hashable
|
417
|
-
|
418
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
419
|
-
# Corresponds to the JSON property `id`
|
420
|
-
# @return [String]
|
421
|
-
attr_accessor :id
|
422
|
-
|
423
|
-
# [Output Only] The Operation resources.
|
424
|
-
# Corresponds to the JSON property `items`
|
425
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::Operation>]
|
426
|
-
attr_accessor :items
|
427
|
-
|
428
|
-
# [Output Only] Type of resource. Always replicapoolupdater#operationList for
|
429
|
-
# OperationList resources.
|
430
|
-
# Corresponds to the JSON property `kind`
|
431
|
-
# @return [String]
|
432
|
-
attr_accessor :kind
|
433
|
-
|
434
|
-
# [Output Only] A token used to continue a truncate.
|
435
|
-
# Corresponds to the JSON property `nextPageToken`
|
436
|
-
# @return [String]
|
437
|
-
attr_accessor :next_page_token
|
438
|
-
|
439
|
-
# [Output Only] The fully qualified URL for the resource.
|
440
|
-
# Corresponds to the JSON property `selfLink`
|
441
|
-
# @return [String]
|
442
|
-
attr_accessor :self_link
|
443
|
-
|
444
|
-
def initialize(**args)
|
445
|
-
update!(**args)
|
446
|
-
end
|
447
|
-
|
448
|
-
# Update properties of this object
|
449
|
-
def update!(**args)
|
450
|
-
@id = args[:id] if args.key?(:id)
|
451
|
-
@items = args[:items] if args.key?(:items)
|
452
|
-
@kind = args[:kind] if args.key?(:kind)
|
453
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
454
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
455
|
-
end
|
456
|
-
end
|
457
|
-
|
458
|
-
# The following represents a resource describing a single update (rollout) of a
|
459
|
-
# group of instances to the given template.
|
460
|
-
class RollingUpdate
|
461
|
-
include Google::Apis::Core::Hashable
|
462
|
-
|
463
|
-
# Specifies the action to take for each instance within the instance group. This
|
464
|
-
# can be RECREATE which will recreate each instance and is only available for
|
465
|
-
# managed instance groups. It can also be REBOOT which performs a soft reboot
|
466
|
-
# for each instance and is only available for regular (non-managed) instance
|
467
|
-
# groups.
|
468
|
-
# Corresponds to the JSON property `actionType`
|
469
|
-
# @return [String]
|
470
|
-
attr_accessor :action_type
|
471
|
-
|
472
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
473
|
-
# Corresponds to the JSON property `creationTimestamp`
|
474
|
-
# @return [String]
|
475
|
-
attr_accessor :creation_timestamp
|
476
|
-
|
477
|
-
# An optional textual description of the resource; provided by the client when
|
478
|
-
# the resource is created.
|
479
|
-
# Corresponds to the JSON property `description`
|
480
|
-
# @return [String]
|
481
|
-
attr_accessor :description
|
482
|
-
|
483
|
-
# [Output Only] Errors that occurred during the rolling update.
|
484
|
-
# Corresponds to the JSON property `error`
|
485
|
-
# @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error]
|
486
|
-
attr_accessor :error
|
487
|
-
|
488
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
489
|
-
# Corresponds to the JSON property `id`
|
490
|
-
# @return [String]
|
491
|
-
attr_accessor :id
|
492
|
-
|
493
|
-
# Fully-qualified URL of an instance group being updated. Exactly one of
|
494
|
-
# instanceGroupManager and instanceGroup must be set.
|
495
|
-
# Corresponds to the JSON property `instanceGroup`
|
496
|
-
# @return [String]
|
497
|
-
attr_accessor :instance_group
|
498
|
-
|
499
|
-
# Fully-qualified URL of an instance group manager being updated. Exactly one of
|
500
|
-
# instanceGroupManager and instanceGroup must be set.
|
501
|
-
# Corresponds to the JSON property `instanceGroupManager`
|
502
|
-
# @return [String]
|
503
|
-
attr_accessor :instance_group_manager
|
504
|
-
|
505
|
-
# Fully-qualified URL of an instance template to apply.
|
506
|
-
# Corresponds to the JSON property `instanceTemplate`
|
507
|
-
# @return [String]
|
508
|
-
attr_accessor :instance_template
|
509
|
-
|
510
|
-
# [Output Only] Type of the resource.
|
511
|
-
# Corresponds to the JSON property `kind`
|
512
|
-
# @return [String]
|
513
|
-
attr_accessor :kind
|
514
|
-
|
515
|
-
# Fully-qualified URL of the instance template encountered while starting the
|
516
|
-
# update.
|
517
|
-
# Corresponds to the JSON property `oldInstanceTemplate`
|
518
|
-
# @return [String]
|
519
|
-
attr_accessor :old_instance_template
|
520
|
-
|
521
|
-
# Parameters of the update process.
|
522
|
-
# Corresponds to the JSON property `policy`
|
523
|
-
# @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy]
|
524
|
-
attr_accessor :policy
|
525
|
-
|
526
|
-
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
|
527
|
-
# is no requirement that this be linear or support any granularity of operations.
|
528
|
-
# This should not be used to guess at when the update will be complete. This
|
529
|
-
# number should be monotonically increasing as the update progresses.
|
530
|
-
# Corresponds to the JSON property `progress`
|
531
|
-
# @return [Fixnum]
|
532
|
-
attr_accessor :progress
|
533
|
-
|
534
|
-
# [Output Only] The fully qualified URL for the resource.
|
535
|
-
# Corresponds to the JSON property `selfLink`
|
536
|
-
# @return [String]
|
537
|
-
attr_accessor :self_link
|
538
|
-
|
539
|
-
# [Output Only] Status of the update. Possible values are:
|
540
|
-
# - "ROLLING_FORWARD": The update is going forward.
|
541
|
-
# - "ROLLING_BACK": The update is being rolled back.
|
542
|
-
# - "PAUSED": The update is temporarily paused (inactive).
|
543
|
-
# - "ROLLED_OUT": The update is finished, all instances have been updated
|
544
|
-
# successfully.
|
545
|
-
# - "ROLLED_BACK": The update is finished, all instances have been reverted to
|
546
|
-
# the previous template.
|
547
|
-
# - "CANCELLED": The update is paused and no longer can be resumed, undefined
|
548
|
-
# how many instances are running in which template.
|
549
|
-
# Corresponds to the JSON property `status`
|
550
|
-
# @return [String]
|
551
|
-
attr_accessor :status
|
552
|
-
|
553
|
-
# [Output Only] An optional textual description of the current status of the
|
554
|
-
# update.
|
555
|
-
# Corresponds to the JSON property `statusMessage`
|
556
|
-
# @return [String]
|
557
|
-
attr_accessor :status_message
|
558
|
-
|
559
|
-
# [Output Only] User who requested the update, for example: user@example.com.
|
560
|
-
# Corresponds to the JSON property `user`
|
561
|
-
# @return [String]
|
562
|
-
attr_accessor :user
|
563
|
-
|
564
|
-
def initialize(**args)
|
565
|
-
update!(**args)
|
566
|
-
end
|
567
|
-
|
568
|
-
# Update properties of this object
|
569
|
-
def update!(**args)
|
570
|
-
@action_type = args[:action_type] if args.key?(:action_type)
|
571
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
572
|
-
@description = args[:description] if args.key?(:description)
|
573
|
-
@error = args[:error] if args.key?(:error)
|
574
|
-
@id = args[:id] if args.key?(:id)
|
575
|
-
@instance_group = args[:instance_group] if args.key?(:instance_group)
|
576
|
-
@instance_group_manager = args[:instance_group_manager] if args.key?(:instance_group_manager)
|
577
|
-
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
578
|
-
@kind = args[:kind] if args.key?(:kind)
|
579
|
-
@old_instance_template = args[:old_instance_template] if args.key?(:old_instance_template)
|
580
|
-
@policy = args[:policy] if args.key?(:policy)
|
581
|
-
@progress = args[:progress] if args.key?(:progress)
|
582
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
583
|
-
@status = args[:status] if args.key?(:status)
|
584
|
-
@status_message = args[:status_message] if args.key?(:status_message)
|
585
|
-
@user = args[:user] if args.key?(:user)
|
586
|
-
end
|
587
|
-
|
588
|
-
# [Output Only] Errors that occurred during the rolling update.
|
589
|
-
class Error
|
590
|
-
include Google::Apis::Core::Hashable
|
591
|
-
|
592
|
-
# [Output Only] The array of errors encountered while processing this operation.
|
593
|
-
# Corresponds to the JSON property `errors`
|
594
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error::Error>]
|
595
|
-
attr_accessor :errors
|
596
|
-
|
597
|
-
def initialize(**args)
|
598
|
-
update!(**args)
|
599
|
-
end
|
600
|
-
|
601
|
-
# Update properties of this object
|
602
|
-
def update!(**args)
|
603
|
-
@errors = args[:errors] if args.key?(:errors)
|
604
|
-
end
|
605
|
-
|
606
|
-
#
|
607
|
-
class Error
|
608
|
-
include Google::Apis::Core::Hashable
|
609
|
-
|
610
|
-
# [Output Only] The error type identifier for this error.
|
611
|
-
# Corresponds to the JSON property `code`
|
612
|
-
# @return [String]
|
613
|
-
attr_accessor :code
|
614
|
-
|
615
|
-
# [Output Only] Indicates the field in the request that caused the error. This
|
616
|
-
# property is optional.
|
617
|
-
# Corresponds to the JSON property `location`
|
618
|
-
# @return [String]
|
619
|
-
attr_accessor :location
|
620
|
-
|
621
|
-
# [Output Only] An optional, human-readable error message.
|
622
|
-
# Corresponds to the JSON property `message`
|
623
|
-
# @return [String]
|
624
|
-
attr_accessor :message
|
625
|
-
|
626
|
-
def initialize(**args)
|
627
|
-
update!(**args)
|
628
|
-
end
|
629
|
-
|
630
|
-
# Update properties of this object
|
631
|
-
def update!(**args)
|
632
|
-
@code = args[:code] if args.key?(:code)
|
633
|
-
@location = args[:location] if args.key?(:location)
|
634
|
-
@message = args[:message] if args.key?(:message)
|
635
|
-
end
|
636
|
-
end
|
637
|
-
end
|
638
|
-
|
639
|
-
# Parameters of the update process.
|
640
|
-
class Policy
|
641
|
-
include Google::Apis::Core::Hashable
|
642
|
-
|
643
|
-
# Number of instances to update before the updater pauses the rolling update.
|
644
|
-
# Corresponds to the JSON property `autoPauseAfterInstances`
|
645
|
-
# @return [Fixnum]
|
646
|
-
attr_accessor :auto_pause_after_instances
|
647
|
-
|
648
|
-
# The maximum amount of time that the updater waits for a HEALTHY state after
|
649
|
-
# all of the update steps are complete. If the HEALTHY state is not received
|
650
|
-
# before the deadline, the instance update is considered a failure.
|
651
|
-
# Corresponds to the JSON property `instanceStartupTimeoutSec`
|
652
|
-
# @return [Fixnum]
|
653
|
-
attr_accessor :instance_startup_timeout_sec
|
654
|
-
|
655
|
-
# The maximum number of instances that can be updated simultaneously. An
|
656
|
-
# instance update is considered complete only after the instance is restarted
|
657
|
-
# and initialized.
|
658
|
-
# Corresponds to the JSON property `maxNumConcurrentInstances`
|
659
|
-
# @return [Fixnum]
|
660
|
-
attr_accessor :max_num_concurrent_instances
|
661
|
-
|
662
|
-
# The maximum number of instance updates that can fail before the group update
|
663
|
-
# is considered a failure. An instance update is considered failed if any of its
|
664
|
-
# update actions (e.g. Stop call on Instance resource in Rolling Reboot) failed
|
665
|
-
# with permanent failure, or if the instance is in an UNHEALTHY state after it
|
666
|
-
# finishes all of the update actions.
|
667
|
-
# Corresponds to the JSON property `maxNumFailedInstances`
|
668
|
-
# @return [Fixnum]
|
669
|
-
attr_accessor :max_num_failed_instances
|
670
|
-
|
671
|
-
# The minimum amount of time that the updater spends to update each instance.
|
672
|
-
# Update time is the time it takes to complete all update actions (e.g. Stop
|
673
|
-
# call on Instance resource in Rolling Reboot), reboot, and initialize. If the
|
674
|
-
# instance update finishes early, the updater pauses for the remainder of the
|
675
|
-
# time before it starts the next instance update.
|
676
|
-
# Corresponds to the JSON property `minInstanceUpdateTimeSec`
|
677
|
-
# @return [Fixnum]
|
678
|
-
attr_accessor :min_instance_update_time_sec
|
679
|
-
|
680
|
-
def initialize(**args)
|
681
|
-
update!(**args)
|
682
|
-
end
|
683
|
-
|
684
|
-
# Update properties of this object
|
685
|
-
def update!(**args)
|
686
|
-
@auto_pause_after_instances = args[:auto_pause_after_instances] if args.key?(:auto_pause_after_instances)
|
687
|
-
@instance_startup_timeout_sec = args[:instance_startup_timeout_sec] if args.key?(:instance_startup_timeout_sec)
|
688
|
-
@max_num_concurrent_instances = args[:max_num_concurrent_instances] if args.key?(:max_num_concurrent_instances)
|
689
|
-
@max_num_failed_instances = args[:max_num_failed_instances] if args.key?(:max_num_failed_instances)
|
690
|
-
@min_instance_update_time_sec = args[:min_instance_update_time_sec] if args.key?(:min_instance_update_time_sec)
|
691
|
-
end
|
692
|
-
end
|
693
|
-
end
|
694
|
-
|
695
|
-
# Response returned by List method.
|
696
|
-
class RollingUpdateList
|
697
|
-
include Google::Apis::Core::Hashable
|
698
|
-
|
699
|
-
# Collection of requested updates.
|
700
|
-
# Corresponds to the JSON property `items`
|
701
|
-
# @return [Array<Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate>]
|
702
|
-
attr_accessor :items
|
703
|
-
|
704
|
-
# [Output Only] Type of the resource.
|
705
|
-
# Corresponds to the JSON property `kind`
|
706
|
-
# @return [String]
|
707
|
-
attr_accessor :kind
|
708
|
-
|
709
|
-
# A token used to continue a truncated list request.
|
710
|
-
# Corresponds to the JSON property `nextPageToken`
|
711
|
-
# @return [String]
|
712
|
-
attr_accessor :next_page_token
|
713
|
-
|
714
|
-
# [Output Only] The fully qualified URL for the resource.
|
715
|
-
# Corresponds to the JSON property `selfLink`
|
716
|
-
# @return [String]
|
717
|
-
attr_accessor :self_link
|
718
|
-
|
719
|
-
def initialize(**args)
|
720
|
-
update!(**args)
|
721
|
-
end
|
722
|
-
|
723
|
-
# Update properties of this object
|
724
|
-
def update!(**args)
|
725
|
-
@items = args[:items] if args.key?(:items)
|
726
|
-
@kind = args[:kind] if args.key?(:kind)
|
727
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
728
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
729
|
-
end
|
730
|
-
end
|
731
|
-
end
|
732
|
-
end
|
733
|
-
end
|