google-api-client 0.21.2 → 0.22.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 +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +181 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +59 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +42 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +31 -0
- data/generated/google/apis/bigquery_v2/representations.rb +16 -0
- data/generated/google/apis/bigquery_v2/service.rb +6 -3
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +0 -56
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +33 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -2
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +146 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +62 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -9
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +6 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +27 -15
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +17 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +76 -28
- data/generated/google/apis/people_v1/representations.rb +19 -0
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +2 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -12
- data/generated/google/apis/pubsub_v1/service.rb +41 -20
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +41 -0
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +5 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -27
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -15
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -27
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -15
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +41 -41
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +44 -38
- data/generated/google/apis/storage_v1/service.rb +10 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +26 -0
- data/generated/google/apis/testing_v1/representations.rb +15 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -10
- data/generated/google/apis/resourceviews_v1beta1.rb +0 -50
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +0 -338
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +0 -201
- data/generated/google/apis/resourceviews_v1beta1/service.rb +0 -637
- data/generated/google/apis/resourceviews_v1beta2.rb +0 -50
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +0 -660
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +0 -301
- data/generated/google/apis/resourceviews_v1beta2/service.rb +0 -540
@@ -1,50 +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/resourceviews_v1beta2/service.rb'
|
16
|
-
require 'google/apis/resourceviews_v1beta2/classes.rb'
|
17
|
-
require 'google/apis/resourceviews_v1beta2/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google Compute Engine Instance Groups API
|
22
|
-
#
|
23
|
-
# The Resource View API allows users to create and manage logical sets of Google
|
24
|
-
# Compute Engine instances.
|
25
|
-
#
|
26
|
-
# @see https://developers.google.com/compute/
|
27
|
-
module ResourceviewsV1beta2
|
28
|
-
VERSION = 'V1beta2'
|
29
|
-
REVISION = '20160512'
|
30
|
-
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
-
|
34
|
-
# View your data across Google Cloud Platform services
|
35
|
-
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
36
|
-
|
37
|
-
# View and manage your Google Compute Engine resources
|
38
|
-
AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
|
39
|
-
|
40
|
-
# View your Google Compute Engine resources
|
41
|
-
AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
|
42
|
-
|
43
|
-
# View and manage your Google Cloud Platform management resources and deployment status information
|
44
|
-
AUTH_NDEV_CLOUDMAN = 'https://www.googleapis.com/auth/ndev.cloudman'
|
45
|
-
|
46
|
-
# View your Google Cloud Platform management resources and deployment status information
|
47
|
-
AUTH_NDEV_CLOUDMAN_READONLY = 'https://www.googleapis.com/auth/ndev.cloudman.readonly'
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
@@ -1,660 +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 ResourceviewsV1beta2
|
24
|
-
|
25
|
-
# The Label to be applied to the resource views.
|
26
|
-
class Label
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Key of the label.
|
30
|
-
# Corresponds to the JSON property `key`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :key
|
33
|
-
|
34
|
-
# Value of the label.
|
35
|
-
# Corresponds to the JSON property `value`
|
36
|
-
# @return [String]
|
37
|
-
attr_accessor :value
|
38
|
-
|
39
|
-
def initialize(**args)
|
40
|
-
update!(**args)
|
41
|
-
end
|
42
|
-
|
43
|
-
# Update properties of this object
|
44
|
-
def update!(**args)
|
45
|
-
@key = args[:key] if args.key?(:key)
|
46
|
-
@value = args[:value] if args.key?(:value)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
# The list response item that contains the resource and end points information.
|
51
|
-
class ListResourceResponseItem
|
52
|
-
include Google::Apis::Core::Hashable
|
53
|
-
|
54
|
-
# The list of service end points on the resource.
|
55
|
-
# Corresponds to the JSON property `endpoints`
|
56
|
-
# @return [Hash<String,Array<Fixnum>>]
|
57
|
-
attr_accessor :endpoints
|
58
|
-
|
59
|
-
# The full URL of the resource.
|
60
|
-
# Corresponds to the JSON property `resource`
|
61
|
-
# @return [String]
|
62
|
-
attr_accessor :resource
|
63
|
-
|
64
|
-
def initialize(**args)
|
65
|
-
update!(**args)
|
66
|
-
end
|
67
|
-
|
68
|
-
# Update properties of this object
|
69
|
-
def update!(**args)
|
70
|
-
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
71
|
-
@resource = args[:resource] if args.key?(:resource)
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
# An operation resource, used to manage asynchronous API requests.
|
76
|
-
class Operation
|
77
|
-
include Google::Apis::Core::Hashable
|
78
|
-
|
79
|
-
# [Output only] An optional identifier specified by the client when the mutation
|
80
|
-
# was initiated. Must be unique for all operation resources in the project.
|
81
|
-
# Corresponds to the JSON property `clientOperationId`
|
82
|
-
# @return [String]
|
83
|
-
attr_accessor :client_operation_id
|
84
|
-
|
85
|
-
# [Output Only] The time that this operation was requested, in RFC3339 text
|
86
|
-
# format.
|
87
|
-
# Corresponds to the JSON property `creationTimestamp`
|
88
|
-
# @return [String]
|
89
|
-
attr_accessor :creation_timestamp
|
90
|
-
|
91
|
-
# [Output Only] The time that this operation was completed, in RFC3339 text
|
92
|
-
# format.
|
93
|
-
# Corresponds to the JSON property `endTime`
|
94
|
-
# @return [String]
|
95
|
-
attr_accessor :end_time
|
96
|
-
|
97
|
-
# [Output Only] If errors occurred during processing of this operation, this
|
98
|
-
# field will be populated.
|
99
|
-
# Corresponds to the JSON property `error`
|
100
|
-
# @return [Google::Apis::ResourceviewsV1beta2::Operation::Error]
|
101
|
-
attr_accessor :error
|
102
|
-
|
103
|
-
# [Output only] If operation fails, the HTTP error message returned.
|
104
|
-
# Corresponds to the JSON property `httpErrorMessage`
|
105
|
-
# @return [String]
|
106
|
-
attr_accessor :http_error_message
|
107
|
-
|
108
|
-
# [Output only] If operation fails, the HTTP error status code returned.
|
109
|
-
# Corresponds to the JSON property `httpErrorStatusCode`
|
110
|
-
# @return [Fixnum]
|
111
|
-
attr_accessor :http_error_status_code
|
112
|
-
|
113
|
-
# [Output Only] Unique identifier for the resource, generated by the server.
|
114
|
-
# Corresponds to the JSON property `id`
|
115
|
-
# @return [Fixnum]
|
116
|
-
attr_accessor :id
|
117
|
-
|
118
|
-
# [Output Only] The time that this operation was requested, in RFC3339 text
|
119
|
-
# format.
|
120
|
-
# Corresponds to the JSON property `insertTime`
|
121
|
-
# @return [String]
|
122
|
-
attr_accessor :insert_time
|
123
|
-
|
124
|
-
# [Output only] Type of the resource.
|
125
|
-
# Corresponds to the JSON property `kind`
|
126
|
-
# @return [String]
|
127
|
-
attr_accessor :kind
|
128
|
-
|
129
|
-
# [Output Only] Name of the resource.
|
130
|
-
# Corresponds to the JSON property `name`
|
131
|
-
# @return [String]
|
132
|
-
attr_accessor :name
|
133
|
-
|
134
|
-
# [Output only] Type of the operation. Operations include insert, update, and
|
135
|
-
# delete.
|
136
|
-
# Corresponds to the JSON property `operationType`
|
137
|
-
# @return [String]
|
138
|
-
attr_accessor :operation_type
|
139
|
-
|
140
|
-
# [Output only] An optional progress indicator that ranges from 0 to 100. There
|
141
|
-
# is no requirement that this be linear or support any granularity of operations.
|
142
|
-
# This should not be used to guess at when the operation will be complete. This
|
143
|
-
# number should be monotonically increasing as the operation progresses.
|
144
|
-
# Corresponds to the JSON property `progress`
|
145
|
-
# @return [Fixnum]
|
146
|
-
attr_accessor :progress
|
147
|
-
|
148
|
-
# [Output Only] URL of the region where the operation resides. Only available
|
149
|
-
# when performing regional operations.
|
150
|
-
# Corresponds to the JSON property `region`
|
151
|
-
# @return [String]
|
152
|
-
attr_accessor :region
|
153
|
-
|
154
|
-
# [Output Only] Server-defined fully-qualified URL for this resource.
|
155
|
-
# Corresponds to the JSON property `selfLink`
|
156
|
-
# @return [String]
|
157
|
-
attr_accessor :self_link
|
158
|
-
|
159
|
-
# [Output Only] The time that this operation was started by the server, in
|
160
|
-
# RFC3339 text format.
|
161
|
-
# Corresponds to the JSON property `startTime`
|
162
|
-
# @return [String]
|
163
|
-
attr_accessor :start_time
|
164
|
-
|
165
|
-
# [Output Only] Status of the operation.
|
166
|
-
# Corresponds to the JSON property `status`
|
167
|
-
# @return [String]
|
168
|
-
attr_accessor :status
|
169
|
-
|
170
|
-
# [Output Only] An optional textual description of the current status of the
|
171
|
-
# operation.
|
172
|
-
# Corresponds to the JSON property `statusMessage`
|
173
|
-
# @return [String]
|
174
|
-
attr_accessor :status_message
|
175
|
-
|
176
|
-
# [Output Only] Unique target ID which identifies a particular incarnation of
|
177
|
-
# the target.
|
178
|
-
# Corresponds to the JSON property `targetId`
|
179
|
-
# @return [Fixnum]
|
180
|
-
attr_accessor :target_id
|
181
|
-
|
182
|
-
# [Output only] URL of the resource the operation is mutating.
|
183
|
-
# Corresponds to the JSON property `targetLink`
|
184
|
-
# @return [String]
|
185
|
-
attr_accessor :target_link
|
186
|
-
|
187
|
-
# [Output Only] User who requested the operation, for example: user@example.com.
|
188
|
-
# Corresponds to the JSON property `user`
|
189
|
-
# @return [String]
|
190
|
-
attr_accessor :user
|
191
|
-
|
192
|
-
# [Output Only] If there are issues with this operation, a warning is returned.
|
193
|
-
# Corresponds to the JSON property `warnings`
|
194
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::Operation::Warning>]
|
195
|
-
attr_accessor :warnings
|
196
|
-
|
197
|
-
# [Output Only] URL of the zone where the operation resides. Only available when
|
198
|
-
# performing per-zone operations.
|
199
|
-
# Corresponds to the JSON property `zone`
|
200
|
-
# @return [String]
|
201
|
-
attr_accessor :zone
|
202
|
-
|
203
|
-
def initialize(**args)
|
204
|
-
update!(**args)
|
205
|
-
end
|
206
|
-
|
207
|
-
# Update properties of this object
|
208
|
-
def update!(**args)
|
209
|
-
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
210
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
211
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
212
|
-
@error = args[:error] if args.key?(:error)
|
213
|
-
@http_error_message = args[:http_error_message] if args.key?(:http_error_message)
|
214
|
-
@http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
|
215
|
-
@id = args[:id] if args.key?(:id)
|
216
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
217
|
-
@kind = args[:kind] if args.key?(:kind)
|
218
|
-
@name = args[:name] if args.key?(:name)
|
219
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
220
|
-
@progress = args[:progress] if args.key?(:progress)
|
221
|
-
@region = args[:region] if args.key?(:region)
|
222
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
223
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
224
|
-
@status = args[:status] if args.key?(:status)
|
225
|
-
@status_message = args[:status_message] if args.key?(:status_message)
|
226
|
-
@target_id = args[:target_id] if args.key?(:target_id)
|
227
|
-
@target_link = args[:target_link] if args.key?(:target_link)
|
228
|
-
@user = args[:user] if args.key?(:user)
|
229
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
230
|
-
@zone = args[:zone] if args.key?(:zone)
|
231
|
-
end
|
232
|
-
|
233
|
-
# [Output Only] If errors occurred during processing of this operation, this
|
234
|
-
# field will be populated.
|
235
|
-
class Error
|
236
|
-
include Google::Apis::Core::Hashable
|
237
|
-
|
238
|
-
# [Output Only] The array of errors encountered while processing this operation.
|
239
|
-
# Corresponds to the JSON property `errors`
|
240
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::Operation::Error::Error>]
|
241
|
-
attr_accessor :errors
|
242
|
-
|
243
|
-
def initialize(**args)
|
244
|
-
update!(**args)
|
245
|
-
end
|
246
|
-
|
247
|
-
# Update properties of this object
|
248
|
-
def update!(**args)
|
249
|
-
@errors = args[:errors] if args.key?(:errors)
|
250
|
-
end
|
251
|
-
|
252
|
-
#
|
253
|
-
class Error
|
254
|
-
include Google::Apis::Core::Hashable
|
255
|
-
|
256
|
-
# [Output Only] The error type identifier for this error.
|
257
|
-
# Corresponds to the JSON property `code`
|
258
|
-
# @return [String]
|
259
|
-
attr_accessor :code
|
260
|
-
|
261
|
-
# [Output Only] Indicates the field in the request which caused the error. This
|
262
|
-
# property is optional.
|
263
|
-
# Corresponds to the JSON property `location`
|
264
|
-
# @return [String]
|
265
|
-
attr_accessor :location
|
266
|
-
|
267
|
-
# [Output Only] An optional, human-readable error message.
|
268
|
-
# Corresponds to the JSON property `message`
|
269
|
-
# @return [String]
|
270
|
-
attr_accessor :message
|
271
|
-
|
272
|
-
def initialize(**args)
|
273
|
-
update!(**args)
|
274
|
-
end
|
275
|
-
|
276
|
-
# Update properties of this object
|
277
|
-
def update!(**args)
|
278
|
-
@code = args[:code] if args.key?(:code)
|
279
|
-
@location = args[:location] if args.key?(:location)
|
280
|
-
@message = args[:message] if args.key?(:message)
|
281
|
-
end
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
#
|
286
|
-
class Warning
|
287
|
-
include Google::Apis::Core::Hashable
|
288
|
-
|
289
|
-
# [Output only] The warning type identifier for this warning.
|
290
|
-
# Corresponds to the JSON property `code`
|
291
|
-
# @return [String]
|
292
|
-
attr_accessor :code
|
293
|
-
|
294
|
-
# [Output only] Metadata for this warning in key:value format.
|
295
|
-
# Corresponds to the JSON property `data`
|
296
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::Operation::Warning::Datum>]
|
297
|
-
attr_accessor :data
|
298
|
-
|
299
|
-
# [Output only] Optional human-readable details for this warning.
|
300
|
-
# Corresponds to the JSON property `message`
|
301
|
-
# @return [String]
|
302
|
-
attr_accessor :message
|
303
|
-
|
304
|
-
def initialize(**args)
|
305
|
-
update!(**args)
|
306
|
-
end
|
307
|
-
|
308
|
-
# Update properties of this object
|
309
|
-
def update!(**args)
|
310
|
-
@code = args[:code] if args.key?(:code)
|
311
|
-
@data = args[:data] if args.key?(:data)
|
312
|
-
@message = args[:message] if args.key?(:message)
|
313
|
-
end
|
314
|
-
|
315
|
-
#
|
316
|
-
class Datum
|
317
|
-
include Google::Apis::Core::Hashable
|
318
|
-
|
319
|
-
# [Output Only] Metadata key for this warning.
|
320
|
-
# Corresponds to the JSON property `key`
|
321
|
-
# @return [String]
|
322
|
-
attr_accessor :key
|
323
|
-
|
324
|
-
# [Output Only] Metadata value for this warning.
|
325
|
-
# Corresponds to the JSON property `value`
|
326
|
-
# @return [String]
|
327
|
-
attr_accessor :value
|
328
|
-
|
329
|
-
def initialize(**args)
|
330
|
-
update!(**args)
|
331
|
-
end
|
332
|
-
|
333
|
-
# Update properties of this object
|
334
|
-
def update!(**args)
|
335
|
-
@key = args[:key] if args.key?(:key)
|
336
|
-
@value = args[:value] if args.key?(:value)
|
337
|
-
end
|
338
|
-
end
|
339
|
-
end
|
340
|
-
end
|
341
|
-
|
342
|
-
#
|
343
|
-
class OperationList
|
344
|
-
include Google::Apis::Core::Hashable
|
345
|
-
|
346
|
-
# Unique identifier for the resource; defined by the server (output only).
|
347
|
-
# Corresponds to the JSON property `id`
|
348
|
-
# @return [String]
|
349
|
-
attr_accessor :id
|
350
|
-
|
351
|
-
# The operation resources.
|
352
|
-
# Corresponds to the JSON property `items`
|
353
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::Operation>]
|
354
|
-
attr_accessor :items
|
355
|
-
|
356
|
-
# Type of resource.
|
357
|
-
# Corresponds to the JSON property `kind`
|
358
|
-
# @return [String]
|
359
|
-
attr_accessor :kind
|
360
|
-
|
361
|
-
# A token used to continue a truncated list request (output only).
|
362
|
-
# Corresponds to the JSON property `nextPageToken`
|
363
|
-
# @return [String]
|
364
|
-
attr_accessor :next_page_token
|
365
|
-
|
366
|
-
# Server defined URL for this resource (output only).
|
367
|
-
# Corresponds to the JSON property `selfLink`
|
368
|
-
# @return [String]
|
369
|
-
attr_accessor :self_link
|
370
|
-
|
371
|
-
def initialize(**args)
|
372
|
-
update!(**args)
|
373
|
-
end
|
374
|
-
|
375
|
-
# Update properties of this object
|
376
|
-
def update!(**args)
|
377
|
-
@id = args[:id] if args.key?(:id)
|
378
|
-
@items = args[:items] if args.key?(:items)
|
379
|
-
@kind = args[:kind] if args.key?(:kind)
|
380
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
381
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
382
|
-
end
|
383
|
-
end
|
384
|
-
|
385
|
-
# The resource view object.
|
386
|
-
class ResourceView
|
387
|
-
include Google::Apis::Core::Hashable
|
388
|
-
|
389
|
-
# The creation time of the resource view.
|
390
|
-
# Corresponds to the JSON property `creationTimestamp`
|
391
|
-
# @return [String]
|
392
|
-
attr_accessor :creation_timestamp
|
393
|
-
|
394
|
-
# The detailed description of the resource view.
|
395
|
-
# Corresponds to the JSON property `description`
|
396
|
-
# @return [String]
|
397
|
-
attr_accessor :description
|
398
|
-
|
399
|
-
# Services endpoint information.
|
400
|
-
# Corresponds to the JSON property `endpoints`
|
401
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>]
|
402
|
-
attr_accessor :endpoints
|
403
|
-
|
404
|
-
# The fingerprint of the service endpoint information.
|
405
|
-
# Corresponds to the JSON property `fingerprint`
|
406
|
-
# @return [String]
|
407
|
-
attr_accessor :fingerprint
|
408
|
-
|
409
|
-
# [Output Only] The ID of the resource view.
|
410
|
-
# Corresponds to the JSON property `id`
|
411
|
-
# @return [String]
|
412
|
-
attr_accessor :id
|
413
|
-
|
414
|
-
# Type of the resource.
|
415
|
-
# Corresponds to the JSON property `kind`
|
416
|
-
# @return [String]
|
417
|
-
attr_accessor :kind
|
418
|
-
|
419
|
-
# The labels for events.
|
420
|
-
# Corresponds to the JSON property `labels`
|
421
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::Label>]
|
422
|
-
attr_accessor :labels
|
423
|
-
|
424
|
-
# The name of the resource view.
|
425
|
-
# Corresponds to the JSON property `name`
|
426
|
-
# @return [String]
|
427
|
-
attr_accessor :name
|
428
|
-
|
429
|
-
# The URL of a Compute Engine network to which the resources in the view belong.
|
430
|
-
# Corresponds to the JSON property `network`
|
431
|
-
# @return [String]
|
432
|
-
attr_accessor :network
|
433
|
-
|
434
|
-
# A list of all resources in the resource view.
|
435
|
-
# Corresponds to the JSON property `resources`
|
436
|
-
# @return [Array<String>]
|
437
|
-
attr_accessor :resources
|
438
|
-
|
439
|
-
# [Output Only] A self-link to the resource view.
|
440
|
-
# Corresponds to the JSON property `selfLink`
|
441
|
-
# @return [String]
|
442
|
-
attr_accessor :self_link
|
443
|
-
|
444
|
-
# The total number of resources in the resource view.
|
445
|
-
# Corresponds to the JSON property `size`
|
446
|
-
# @return [Fixnum]
|
447
|
-
attr_accessor :size
|
448
|
-
|
449
|
-
def initialize(**args)
|
450
|
-
update!(**args)
|
451
|
-
end
|
452
|
-
|
453
|
-
# Update properties of this object
|
454
|
-
def update!(**args)
|
455
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
456
|
-
@description = args[:description] if args.key?(:description)
|
457
|
-
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
458
|
-
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
459
|
-
@id = args[:id] if args.key?(:id)
|
460
|
-
@kind = args[:kind] if args.key?(:kind)
|
461
|
-
@labels = args[:labels] if args.key?(:labels)
|
462
|
-
@name = args[:name] if args.key?(:name)
|
463
|
-
@network = args[:network] if args.key?(:network)
|
464
|
-
@resources = args[:resources] if args.key?(:resources)
|
465
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
466
|
-
@size = args[:size] if args.key?(:size)
|
467
|
-
end
|
468
|
-
end
|
469
|
-
|
470
|
-
# The service endpoint that may be started in a VM.
|
471
|
-
class ServiceEndpoint
|
472
|
-
include Google::Apis::Core::Hashable
|
473
|
-
|
474
|
-
# The name of the service endpoint.
|
475
|
-
# Corresponds to the JSON property `name`
|
476
|
-
# @return [String]
|
477
|
-
attr_accessor :name
|
478
|
-
|
479
|
-
# The port of the service endpoint.
|
480
|
-
# Corresponds to the JSON property `port`
|
481
|
-
# @return [Fixnum]
|
482
|
-
attr_accessor :port
|
483
|
-
|
484
|
-
def initialize(**args)
|
485
|
-
update!(**args)
|
486
|
-
end
|
487
|
-
|
488
|
-
# Update properties of this object
|
489
|
-
def update!(**args)
|
490
|
-
@name = args[:name] if args.key?(:name)
|
491
|
-
@port = args[:port] if args.key?(:port)
|
492
|
-
end
|
493
|
-
end
|
494
|
-
|
495
|
-
# The request to add resources to the resource view.
|
496
|
-
class AddResourcesRequest
|
497
|
-
include Google::Apis::Core::Hashable
|
498
|
-
|
499
|
-
# The list of resources to be added.
|
500
|
-
# Corresponds to the JSON property `resources`
|
501
|
-
# @return [Array<String>]
|
502
|
-
attr_accessor :resources
|
503
|
-
|
504
|
-
def initialize(**args)
|
505
|
-
update!(**args)
|
506
|
-
end
|
507
|
-
|
508
|
-
# Update properties of this object
|
509
|
-
def update!(**args)
|
510
|
-
@resources = args[:resources] if args.key?(:resources)
|
511
|
-
end
|
512
|
-
end
|
513
|
-
|
514
|
-
#
|
515
|
-
class GetServiceResponse
|
516
|
-
include Google::Apis::Core::Hashable
|
517
|
-
|
518
|
-
# The service information.
|
519
|
-
# Corresponds to the JSON property `endpoints`
|
520
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>]
|
521
|
-
attr_accessor :endpoints
|
522
|
-
|
523
|
-
# The fingerprint of the service information.
|
524
|
-
# Corresponds to the JSON property `fingerprint`
|
525
|
-
# @return [String]
|
526
|
-
attr_accessor :fingerprint
|
527
|
-
|
528
|
-
def initialize(**args)
|
529
|
-
update!(**args)
|
530
|
-
end
|
531
|
-
|
532
|
-
# Update properties of this object
|
533
|
-
def update!(**args)
|
534
|
-
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
535
|
-
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
536
|
-
end
|
537
|
-
end
|
538
|
-
|
539
|
-
# The response to a list request.
|
540
|
-
class ZoneViewsList
|
541
|
-
include Google::Apis::Core::Hashable
|
542
|
-
|
543
|
-
# The result that contains all resource views that meet the criteria.
|
544
|
-
# Corresponds to the JSON property `items`
|
545
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::ResourceView>]
|
546
|
-
attr_accessor :items
|
547
|
-
|
548
|
-
# Type of resource.
|
549
|
-
# Corresponds to the JSON property `kind`
|
550
|
-
# @return [String]
|
551
|
-
attr_accessor :kind
|
552
|
-
|
553
|
-
# A token used for pagination.
|
554
|
-
# Corresponds to the JSON property `nextPageToken`
|
555
|
-
# @return [String]
|
556
|
-
attr_accessor :next_page_token
|
557
|
-
|
558
|
-
# Server defined URL for this resource (output only).
|
559
|
-
# Corresponds to the JSON property `selfLink`
|
560
|
-
# @return [String]
|
561
|
-
attr_accessor :self_link
|
562
|
-
|
563
|
-
def initialize(**args)
|
564
|
-
update!(**args)
|
565
|
-
end
|
566
|
-
|
567
|
-
# Update properties of this object
|
568
|
-
def update!(**args)
|
569
|
-
@items = args[:items] if args.key?(:items)
|
570
|
-
@kind = args[:kind] if args.key?(:kind)
|
571
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
572
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
573
|
-
end
|
574
|
-
end
|
575
|
-
|
576
|
-
# The response to a list resource request.
|
577
|
-
class ListResourcesResponse
|
578
|
-
include Google::Apis::Core::Hashable
|
579
|
-
|
580
|
-
# The formatted JSON that is requested by the user.
|
581
|
-
# Corresponds to the JSON property `items`
|
582
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::ListResourceResponseItem>]
|
583
|
-
attr_accessor :items
|
584
|
-
|
585
|
-
# The URL of a Compute Engine network to which the resources in the view belong.
|
586
|
-
# Corresponds to the JSON property `network`
|
587
|
-
# @return [String]
|
588
|
-
attr_accessor :network
|
589
|
-
|
590
|
-
# A token used for pagination.
|
591
|
-
# Corresponds to the JSON property `nextPageToken`
|
592
|
-
# @return [String]
|
593
|
-
attr_accessor :next_page_token
|
594
|
-
|
595
|
-
def initialize(**args)
|
596
|
-
update!(**args)
|
597
|
-
end
|
598
|
-
|
599
|
-
# Update properties of this object
|
600
|
-
def update!(**args)
|
601
|
-
@items = args[:items] if args.key?(:items)
|
602
|
-
@network = args[:network] if args.key?(:network)
|
603
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
604
|
-
end
|
605
|
-
end
|
606
|
-
|
607
|
-
# The request to remove resources from the resource view.
|
608
|
-
class RemoveResourcesRequest
|
609
|
-
include Google::Apis::Core::Hashable
|
610
|
-
|
611
|
-
# The list of resources to be removed.
|
612
|
-
# Corresponds to the JSON property `resources`
|
613
|
-
# @return [Array<String>]
|
614
|
-
attr_accessor :resources
|
615
|
-
|
616
|
-
def initialize(**args)
|
617
|
-
update!(**args)
|
618
|
-
end
|
619
|
-
|
620
|
-
# Update properties of this object
|
621
|
-
def update!(**args)
|
622
|
-
@resources = args[:resources] if args.key?(:resources)
|
623
|
-
end
|
624
|
-
end
|
625
|
-
|
626
|
-
#
|
627
|
-
class SetServiceRequest
|
628
|
-
include Google::Apis::Core::Hashable
|
629
|
-
|
630
|
-
# The service information to be updated.
|
631
|
-
# Corresponds to the JSON property `endpoints`
|
632
|
-
# @return [Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>]
|
633
|
-
attr_accessor :endpoints
|
634
|
-
|
635
|
-
# Fingerprint of the service information; a hash of the contents. This field is
|
636
|
-
# used for optimistic locking when updating the service entries.
|
637
|
-
# Corresponds to the JSON property `fingerprint`
|
638
|
-
# @return [String]
|
639
|
-
attr_accessor :fingerprint
|
640
|
-
|
641
|
-
# The name of the resource if user wants to update the service information of
|
642
|
-
# the resource.
|
643
|
-
# Corresponds to the JSON property `resourceName`
|
644
|
-
# @return [String]
|
645
|
-
attr_accessor :resource_name
|
646
|
-
|
647
|
-
def initialize(**args)
|
648
|
-
update!(**args)
|
649
|
-
end
|
650
|
-
|
651
|
-
# Update properties of this object
|
652
|
-
def update!(**args)
|
653
|
-
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
654
|
-
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
655
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
656
|
-
end
|
657
|
-
end
|
658
|
-
end
|
659
|
-
end
|
660
|
-
end
|