google-api-client 0.9.28 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +10 -0
- data/api_names.yaml +36512 -36326
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +3 -3
- data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
- data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
- data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
- data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
- data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
- data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
- data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
- data/generated/google/apis/cloudtrace_v1.rb +8 -8
- data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +406 -31
- data/generated/google/apis/compute_beta/representations.rb +154 -0
- data/generated/google/apis/compute_beta/service.rb +262 -9
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +17 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
- data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
- data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
- data/generated/google/apis/dataproc_v1/representations.rb +262 -244
- data/generated/google/apis/dataproc_v1/service.rb +298 -243
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +728 -728
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +932 -932
- data/generated/google/apis/genomics_v1/representations.rb +205 -205
- data/generated/google/apis/genomics_v1/service.rb +1228 -1228
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +60 -60
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +21 -21
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +232 -232
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
- data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
- data/generated/google/apis/logging_v2beta1/service.rb +331 -306
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -253
- data/generated/google/apis/monitoring_v3/representations.rb +58 -58
- data/generated/google/apis/monitoring_v3/service.rb +135 -135
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +985 -855
- data/generated/google/apis/people_v1/representations.rb +227 -220
- data/generated/google/apis/people_v1/service.rb +58 -52
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +257 -257
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +390 -390
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +149 -141
- data/generated/google/apis/script_v1/representations.rb +26 -27
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
- data/generated/google/apis/sheets_v4/representations.rb +850 -834
- data/generated/google/apis/sheets_v4/service.rb +192 -192
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +927 -800
- data/generated/google/apis/slides_v1/representations.rb +253 -211
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
- data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
- data/generated/google/apis/speech_v1beta1/service.rb +51 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +888 -885
- data/generated/google/apis/vision_v1/representations.rb +139 -139
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
- data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
- data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- metadata +36 -30
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeBeta
|
|
27
27
|
VERSION = 'Beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170124'
|
|
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'
|
|
@@ -22,6 +22,287 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ComputeBeta
|
|
24
24
|
|
|
25
|
+
# A specification of the type and number of accelerator cards attached to the
|
|
26
|
+
# instance.
|
|
27
|
+
class AcceleratorConfig
|
|
28
|
+
include Google::Apis::Core::Hashable
|
|
29
|
+
|
|
30
|
+
# The number of the guest accelerator cards exposed to this instance.
|
|
31
|
+
# Corresponds to the JSON property `acceleratorCount`
|
|
32
|
+
# @return [Fixnum]
|
|
33
|
+
attr_accessor :accelerator_count
|
|
34
|
+
|
|
35
|
+
# Full or partial URL of the accelerator type resource to expose to this
|
|
36
|
+
# instance.
|
|
37
|
+
# Corresponds to the JSON property `acceleratorType`
|
|
38
|
+
# @return [String]
|
|
39
|
+
attr_accessor :accelerator_type
|
|
40
|
+
|
|
41
|
+
def initialize(**args)
|
|
42
|
+
update!(**args)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Update properties of this object
|
|
46
|
+
def update!(**args)
|
|
47
|
+
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
|
48
|
+
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# An Accelerator Type resource.
|
|
53
|
+
class AcceleratorType
|
|
54
|
+
include Google::Apis::Core::Hashable
|
|
55
|
+
|
|
56
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
57
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
58
|
+
# @return [String]
|
|
59
|
+
attr_accessor :creation_timestamp
|
|
60
|
+
|
|
61
|
+
# Deprecation status for a public resource.
|
|
62
|
+
# Corresponds to the JSON property `deprecated`
|
|
63
|
+
# @return [Google::Apis::ComputeBeta::DeprecationStatus]
|
|
64
|
+
attr_accessor :deprecated
|
|
65
|
+
|
|
66
|
+
# [Output Only] An optional textual description of the resource.
|
|
67
|
+
# Corresponds to the JSON property `description`
|
|
68
|
+
# @return [String]
|
|
69
|
+
attr_accessor :description
|
|
70
|
+
|
|
71
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
|
72
|
+
# defined by the server.
|
|
73
|
+
# Corresponds to the JSON property `id`
|
|
74
|
+
# @return [String]
|
|
75
|
+
attr_accessor :id
|
|
76
|
+
|
|
77
|
+
# [Output Only] The type of the resource. Always compute#acceleratorType for
|
|
78
|
+
# accelerator types.
|
|
79
|
+
# Corresponds to the JSON property `kind`
|
|
80
|
+
# @return [String]
|
|
81
|
+
attr_accessor :kind
|
|
82
|
+
|
|
83
|
+
# [Output Only] Maximum accelerator cards allowed per instance.
|
|
84
|
+
# Corresponds to the JSON property `maximumCardsPerInstance`
|
|
85
|
+
# @return [Fixnum]
|
|
86
|
+
attr_accessor :maximum_cards_per_instance
|
|
87
|
+
|
|
88
|
+
# [Output Only] Name of the resource.
|
|
89
|
+
# Corresponds to the JSON property `name`
|
|
90
|
+
# @return [String]
|
|
91
|
+
attr_accessor :name
|
|
92
|
+
|
|
93
|
+
# [Output Only] Server-defined fully-qualified URL for this resource.
|
|
94
|
+
# Corresponds to the JSON property `selfLink`
|
|
95
|
+
# @return [String]
|
|
96
|
+
attr_accessor :self_link
|
|
97
|
+
|
|
98
|
+
# [Output Only] The name of the zone where the accelerator type resides, such as
|
|
99
|
+
# us-central1-a.
|
|
100
|
+
# Corresponds to the JSON property `zone`
|
|
101
|
+
# @return [String]
|
|
102
|
+
attr_accessor :zone
|
|
103
|
+
|
|
104
|
+
def initialize(**args)
|
|
105
|
+
update!(**args)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Update properties of this object
|
|
109
|
+
def update!(**args)
|
|
110
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
111
|
+
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
|
112
|
+
@description = args[:description] if args.key?(:description)
|
|
113
|
+
@id = args[:id] if args.key?(:id)
|
|
114
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
115
|
+
@maximum_cards_per_instance = args[:maximum_cards_per_instance] if args.key?(:maximum_cards_per_instance)
|
|
116
|
+
@name = args[:name] if args.key?(:name)
|
|
117
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
118
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
#
|
|
123
|
+
class AcceleratorTypeAggregatedList
|
|
124
|
+
include Google::Apis::Core::Hashable
|
|
125
|
+
|
|
126
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
|
127
|
+
# defined by the server.
|
|
128
|
+
# Corresponds to the JSON property `id`
|
|
129
|
+
# @return [String]
|
|
130
|
+
attr_accessor :id
|
|
131
|
+
|
|
132
|
+
# [Output Only] A map of scoped accelerator type lists.
|
|
133
|
+
# Corresponds to the JSON property `items`
|
|
134
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::AcceleratorTypesScopedList>]
|
|
135
|
+
attr_accessor :items
|
|
136
|
+
|
|
137
|
+
# [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList
|
|
138
|
+
# for aggregated lists of accelerator types.
|
|
139
|
+
# Corresponds to the JSON property `kind`
|
|
140
|
+
# @return [String]
|
|
141
|
+
attr_accessor :kind
|
|
142
|
+
|
|
143
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
144
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
145
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
146
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
147
|
+
# continue paging through the results.
|
|
148
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
149
|
+
# @return [String]
|
|
150
|
+
attr_accessor :next_page_token
|
|
151
|
+
|
|
152
|
+
# [Output Only] Server-defined URL for this resource.
|
|
153
|
+
# Corresponds to the JSON property `selfLink`
|
|
154
|
+
# @return [String]
|
|
155
|
+
attr_accessor :self_link
|
|
156
|
+
|
|
157
|
+
def initialize(**args)
|
|
158
|
+
update!(**args)
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Update properties of this object
|
|
162
|
+
def update!(**args)
|
|
163
|
+
@id = args[:id] if args.key?(:id)
|
|
164
|
+
@items = args[:items] if args.key?(:items)
|
|
165
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
166
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
167
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Contains a list of accelerator types.
|
|
172
|
+
class AcceleratorTypeList
|
|
173
|
+
include Google::Apis::Core::Hashable
|
|
174
|
+
|
|
175
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
176
|
+
# Corresponds to the JSON property `id`
|
|
177
|
+
# @return [String]
|
|
178
|
+
attr_accessor :id
|
|
179
|
+
|
|
180
|
+
# A list of AcceleratorType resources.
|
|
181
|
+
# Corresponds to the JSON property `items`
|
|
182
|
+
# @return [Array<Google::Apis::ComputeBeta::AcceleratorType>]
|
|
183
|
+
attr_accessor :items
|
|
184
|
+
|
|
185
|
+
# [Output Only] Type of resource. Always compute#acceleratorTypeList for lists
|
|
186
|
+
# of accelerator types.
|
|
187
|
+
# Corresponds to the JSON property `kind`
|
|
188
|
+
# @return [String]
|
|
189
|
+
attr_accessor :kind
|
|
190
|
+
|
|
191
|
+
# [Output Only] A token used to continue a truncated list request.
|
|
192
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
193
|
+
# @return [String]
|
|
194
|
+
attr_accessor :next_page_token
|
|
195
|
+
|
|
196
|
+
# [Output Only] Server-defined URL for this resource.
|
|
197
|
+
# Corresponds to the JSON property `selfLink`
|
|
198
|
+
# @return [String]
|
|
199
|
+
attr_accessor :self_link
|
|
200
|
+
|
|
201
|
+
def initialize(**args)
|
|
202
|
+
update!(**args)
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# Update properties of this object
|
|
206
|
+
def update!(**args)
|
|
207
|
+
@id = args[:id] if args.key?(:id)
|
|
208
|
+
@items = args[:items] if args.key?(:items)
|
|
209
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
210
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
211
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
#
|
|
216
|
+
class AcceleratorTypesScopedList
|
|
217
|
+
include Google::Apis::Core::Hashable
|
|
218
|
+
|
|
219
|
+
# [Output Only] List of accelerator types contained in this scope.
|
|
220
|
+
# Corresponds to the JSON property `acceleratorTypes`
|
|
221
|
+
# @return [Array<Google::Apis::ComputeBeta::AcceleratorType>]
|
|
222
|
+
attr_accessor :accelerator_types
|
|
223
|
+
|
|
224
|
+
# [Output Only] An informational warning that appears when the accelerator types
|
|
225
|
+
# list is empty.
|
|
226
|
+
# Corresponds to the JSON property `warning`
|
|
227
|
+
# @return [Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning]
|
|
228
|
+
attr_accessor :warning
|
|
229
|
+
|
|
230
|
+
def initialize(**args)
|
|
231
|
+
update!(**args)
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# Update properties of this object
|
|
235
|
+
def update!(**args)
|
|
236
|
+
@accelerator_types = args[:accelerator_types] if args.key?(:accelerator_types)
|
|
237
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# [Output Only] An informational warning that appears when the accelerator types
|
|
241
|
+
# list is empty.
|
|
242
|
+
class Warning
|
|
243
|
+
include Google::Apis::Core::Hashable
|
|
244
|
+
|
|
245
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
246
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
247
|
+
# Corresponds to the JSON property `code`
|
|
248
|
+
# @return [String]
|
|
249
|
+
attr_accessor :code
|
|
250
|
+
|
|
251
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
252
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
253
|
+
# Corresponds to the JSON property `data`
|
|
254
|
+
# @return [Array<Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning::Datum>]
|
|
255
|
+
attr_accessor :data
|
|
256
|
+
|
|
257
|
+
# [Output Only] A human-readable description of the warning code.
|
|
258
|
+
# Corresponds to the JSON property `message`
|
|
259
|
+
# @return [String]
|
|
260
|
+
attr_accessor :message
|
|
261
|
+
|
|
262
|
+
def initialize(**args)
|
|
263
|
+
update!(**args)
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
# Update properties of this object
|
|
267
|
+
def update!(**args)
|
|
268
|
+
@code = args[:code] if args.key?(:code)
|
|
269
|
+
@data = args[:data] if args.key?(:data)
|
|
270
|
+
@message = args[:message] if args.key?(:message)
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
#
|
|
274
|
+
class Datum
|
|
275
|
+
include Google::Apis::Core::Hashable
|
|
276
|
+
|
|
277
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
278
|
+
# For example, for warnings where there are no results in a list request for a
|
|
279
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
280
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
281
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
282
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
283
|
+
# for IP forwarding).
|
|
284
|
+
# Corresponds to the JSON property `key`
|
|
285
|
+
# @return [String]
|
|
286
|
+
attr_accessor :key
|
|
287
|
+
|
|
288
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
289
|
+
# Corresponds to the JSON property `value`
|
|
290
|
+
# @return [String]
|
|
291
|
+
attr_accessor :value
|
|
292
|
+
|
|
293
|
+
def initialize(**args)
|
|
294
|
+
update!(**args)
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Update properties of this object
|
|
298
|
+
def update!(**args)
|
|
299
|
+
@key = args[:key] if args.key?(:key)
|
|
300
|
+
@value = args[:value] if args.key?(:value)
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
|
|
25
306
|
# An access configuration attached to an instance's network interface. Only one
|
|
26
307
|
# access config per instance is supported.
|
|
27
308
|
class AccessConfig
|
|
@@ -533,18 +814,20 @@ module Google
|
|
|
533
814
|
end
|
|
534
815
|
end
|
|
535
816
|
|
|
536
|
-
#
|
|
537
|
-
#
|
|
817
|
+
# Specifies the audit configuration for a service. It consists of which
|
|
818
|
+
# permission types are logged, and what identities, if any, are exempted from
|
|
819
|
+
# logging. An AuditConifg must have one or more AuditLogConfigs.
|
|
538
820
|
class AuditConfig
|
|
539
821
|
include Google::Apis::Core::Hashable
|
|
540
822
|
|
|
541
|
-
# The configuration for each type of
|
|
823
|
+
# The configuration for logging of each type of permission.
|
|
542
824
|
# Corresponds to the JSON property `auditLogConfigs`
|
|
543
825
|
# @return [Array<Google::Apis::ComputeBeta::AuditLogConfig>]
|
|
544
826
|
attr_accessor :audit_log_configs
|
|
545
827
|
|
|
546
828
|
# Specifies the identities that are exempted from "data access" audit logging
|
|
547
829
|
# for the `service` specified above. Follows the same format of Binding.members.
|
|
830
|
+
# This field is deprecated in favor of per-permission-type exemptions.
|
|
548
831
|
# Corresponds to the JSON property `exemptedMembers`
|
|
549
832
|
# @return [Array<String>]
|
|
550
833
|
attr_accessor :exempted_members
|
|
@@ -568,12 +851,16 @@ module Google
|
|
|
568
851
|
end
|
|
569
852
|
end
|
|
570
853
|
|
|
571
|
-
# Provides the configuration for a
|
|
854
|
+
# Provides the configuration for logging a type of permissions. Example:
|
|
855
|
+
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
|
856
|
+
# user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
|
857
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
|
|
858
|
+
# com from DATA_READ logging.
|
|
572
859
|
class AuditLogConfig
|
|
573
860
|
include Google::Apis::Core::Hashable
|
|
574
861
|
|
|
575
|
-
# Specifies the identities that
|
|
576
|
-
# the same format of Binding.members.
|
|
862
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
863
|
+
# Follows the same format of [Binding.members][].
|
|
577
864
|
# Corresponds to the JSON property `exemptedMembers`
|
|
578
865
|
# @return [Array<String>]
|
|
579
866
|
attr_accessor :exempted_members
|
|
@@ -2284,13 +2571,12 @@ module Google
|
|
|
2284
2571
|
class DiskList
|
|
2285
2572
|
include Google::Apis::Core::Hashable
|
|
2286
2573
|
|
|
2287
|
-
# [Output Only]
|
|
2288
|
-
# defined by the server.
|
|
2574
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
2289
2575
|
# Corresponds to the JSON property `id`
|
|
2290
2576
|
# @return [String]
|
|
2291
2577
|
attr_accessor :id
|
|
2292
2578
|
|
|
2293
|
-
#
|
|
2579
|
+
# A list of Disk resources.
|
|
2294
2580
|
# Corresponds to the JSON property `items`
|
|
2295
2581
|
# @return [Array<Google::Apis::ComputeBeta::Disk>]
|
|
2296
2582
|
attr_accessor :items
|
|
@@ -2300,11 +2586,7 @@ module Google
|
|
|
2300
2586
|
# @return [String]
|
|
2301
2587
|
attr_accessor :kind
|
|
2302
2588
|
|
|
2303
|
-
# [Output Only]
|
|
2304
|
-
# requests. If the number of results is larger than maxResults, use the
|
|
2305
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
2306
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
|
2307
|
-
# continue paging through the results.
|
|
2589
|
+
# [Output Only] A token used to continue a truncated list request.
|
|
2308
2590
|
# Corresponds to the JSON property `nextPageToken`
|
|
2309
2591
|
# @return [String]
|
|
2310
2592
|
attr_accessor :next_page_token
|
|
@@ -2931,7 +3213,7 @@ module Google
|
|
|
2931
3213
|
include Google::Apis::Core::Hashable
|
|
2932
3214
|
|
|
2933
3215
|
# The IP address that this forwarding rule is serving on behalf of.
|
|
2934
|
-
# For global forwarding rules, the address must be a global IP
|
|
3216
|
+
# For global forwarding rules, the address must be a global IP. For regional
|
|
2935
3217
|
# forwarding rules, the address must live in the same region as the forwarding
|
|
2936
3218
|
# rule. By default, this field is empty and an ephemeral IP from the same scope (
|
|
2937
3219
|
# global or regional) will be assigned.
|
|
@@ -2946,7 +3228,7 @@ module Google
|
|
|
2946
3228
|
|
|
2947
3229
|
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
|
|
2948
3230
|
# AH, SCTP or ICMP.
|
|
2949
|
-
# When the load balancing scheme is INTERNAL
|
|
3231
|
+
# When the load balancing scheme is INTERNAL, only TCP and UDP are valid.
|
|
2950
3232
|
# Corresponds to the JSON property `IPProtocol`
|
|
2951
3233
|
# @return [String]
|
|
2952
3234
|
attr_accessor :ip_protocol
|
|
@@ -2982,10 +3264,10 @@ module Google
|
|
|
2982
3264
|
attr_accessor :kind
|
|
2983
3265
|
|
|
2984
3266
|
# This signifies what the ForwardingRule will be used for and can only take the
|
|
2985
|
-
# following values: INTERNAL EXTERNAL The value of INTERNAL means that this
|
|
2986
|
-
# be used for Internal Network Load Balancing (TCP, UDP). The value of
|
|
2987
|
-
# means that this will be used for External Load Balancing (HTTP(S) LB,
|
|
2988
|
-
# TCP/UDP LB, SSL Proxy)
|
|
3267
|
+
# following values: INTERNAL, EXTERNAL The value of INTERNAL means that this
|
|
3268
|
+
# will be used for Internal Network Load Balancing (TCP, UDP). The value of
|
|
3269
|
+
# EXTERNAL means that this will be used for External Load Balancing (HTTP(S) LB,
|
|
3270
|
+
# External TCP/UDP LB, SSL Proxy)
|
|
2989
3271
|
# Corresponds to the JSON property `loadBalancingScheme`
|
|
2990
3272
|
# @return [String]
|
|
2991
3273
|
attr_accessor :load_balancing_scheme
|
|
@@ -4289,6 +4571,11 @@ module Google
|
|
|
4289
4571
|
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
|
|
4290
4572
|
attr_accessor :disks
|
|
4291
4573
|
|
|
4574
|
+
#
|
|
4575
|
+
# Corresponds to the JSON property `guestAccelerators`
|
|
4576
|
+
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
|
4577
|
+
attr_accessor :guest_accelerators
|
|
4578
|
+
|
|
4292
4579
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
4293
4580
|
# defined by the server.
|
|
4294
4581
|
# Corresponds to the JSON property `id`
|
|
@@ -4407,6 +4694,7 @@ module Google
|
|
|
4407
4694
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
4408
4695
|
@description = args[:description] if args.key?(:description)
|
|
4409
4696
|
@disks = args[:disks] if args.key?(:disks)
|
|
4697
|
+
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
|
4410
4698
|
@id = args[:id] if args.key?(:id)
|
|
4411
4699
|
@kind = args[:kind] if args.key?(:kind)
|
|
4412
4700
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
|
@@ -6008,6 +6296,25 @@ module Google
|
|
|
6008
6296
|
end
|
|
6009
6297
|
end
|
|
6010
6298
|
|
|
6299
|
+
#
|
|
6300
|
+
class InstancesSetMachineResourcesRequest
|
|
6301
|
+
include Google::Apis::Core::Hashable
|
|
6302
|
+
|
|
6303
|
+
#
|
|
6304
|
+
# Corresponds to the JSON property `guestAccelerators`
|
|
6305
|
+
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
|
6306
|
+
attr_accessor :guest_accelerators
|
|
6307
|
+
|
|
6308
|
+
def initialize(**args)
|
|
6309
|
+
update!(**args)
|
|
6310
|
+
end
|
|
6311
|
+
|
|
6312
|
+
# Update properties of this object
|
|
6313
|
+
def update!(**args)
|
|
6314
|
+
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
|
6315
|
+
end
|
|
6316
|
+
end
|
|
6317
|
+
|
|
6011
6318
|
#
|
|
6012
6319
|
class InstancesSetMachineTypeRequest
|
|
6013
6320
|
include Google::Apis::Core::Hashable
|
|
@@ -6737,6 +7044,11 @@ module Google
|
|
|
6737
7044
|
# @return [String]
|
|
6738
7045
|
attr_accessor :name
|
|
6739
7046
|
|
|
7047
|
+
# [Output Only] List of network peerings for the resource.
|
|
7048
|
+
# Corresponds to the JSON property `peerings`
|
|
7049
|
+
# @return [Array<Google::Apis::ComputeBeta::NetworkPeering>]
|
|
7050
|
+
attr_accessor :peerings
|
|
7051
|
+
|
|
6740
7052
|
# [Output Only] Server-defined URL for the resource.
|
|
6741
7053
|
# Corresponds to the JSON property `selfLink`
|
|
6742
7054
|
# @return [String]
|
|
@@ -6762,6 +7074,7 @@ module Google
|
|
|
6762
7074
|
@id = args[:id] if args.key?(:id)
|
|
6763
7075
|
@kind = args[:kind] if args.key?(:kind)
|
|
6764
7076
|
@name = args[:name] if args.key?(:name)
|
|
7077
|
+
@peerings = args[:peerings] if args.key?(:peerings)
|
|
6765
7078
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
6766
7079
|
@subnetworks = args[:subnetworks] if args.key?(:subnetworks)
|
|
6767
7080
|
end
|
|
@@ -6790,10 +7103,12 @@ module Google
|
|
|
6790
7103
|
# @return [String]
|
|
6791
7104
|
attr_accessor :name
|
|
6792
7105
|
|
|
6793
|
-
# URL of the network resource for this instance.
|
|
6794
|
-
#
|
|
6795
|
-
#
|
|
6796
|
-
#
|
|
7106
|
+
# URL of the network resource for this instance. When creating an instance, if
|
|
7107
|
+
# neither the network nor the subnetwork is specified, the default network
|
|
7108
|
+
# global/networks/default is used; if the network is not specified but the
|
|
7109
|
+
# subnetwork is specified, the network is inferred.
|
|
7110
|
+
# This field is optional when creating a firewall rule. If not specified when
|
|
7111
|
+
# creating a firewall rule, the default network global/networks/default is used.
|
|
6797
7112
|
# If you specify this property, you can specify the network as a full or partial
|
|
6798
7113
|
# URL. For example, the following are all valid URLs:
|
|
6799
7114
|
# - https://www.googleapis.com/compute/v1/projects/project/global/networks/
|
|
@@ -6888,6 +7203,63 @@ module Google
|
|
|
6888
7203
|
end
|
|
6889
7204
|
end
|
|
6890
7205
|
|
|
7206
|
+
# A network peering attached to a network resource. The message includes the
|
|
7207
|
+
# peering name, peer network, peering state, and a flag indicating whether
|
|
7208
|
+
# Google Compute Engine should automatically create routes for the peering.
|
|
7209
|
+
class NetworkPeering
|
|
7210
|
+
include Google::Apis::Core::Hashable
|
|
7211
|
+
|
|
7212
|
+
# Whether full mesh connectivity is created and managed automatically. When it
|
|
7213
|
+
# is set to true, Google Compute Engine will automatically create and manage the
|
|
7214
|
+
# routes between two networks when the state is ACTIVE. Otherwise, user needs to
|
|
7215
|
+
# create routes manually to route packets to peer network.
|
|
7216
|
+
# Corresponds to the JSON property `autoCreateRoutes`
|
|
7217
|
+
# @return [Boolean]
|
|
7218
|
+
attr_accessor :auto_create_routes
|
|
7219
|
+
alias_method :auto_create_routes?, :auto_create_routes
|
|
7220
|
+
|
|
7221
|
+
# Name of this peering. Provided by the client when the peering is created. The
|
|
7222
|
+
# name must comply with RFC1035. Specifically, the name must be 1-63 characters
|
|
7223
|
+
# long and match regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the
|
|
7224
|
+
# first character must be a lowercase letter, and all the following characters
|
|
7225
|
+
# must be a dash, lowercase letter, or digit, except the last character, which
|
|
7226
|
+
# cannot be a dash.
|
|
7227
|
+
# Corresponds to the JSON property `name`
|
|
7228
|
+
# @return [String]
|
|
7229
|
+
attr_accessor :name
|
|
7230
|
+
|
|
7231
|
+
# The URL of the peer network. It can be either full URL or partial URL. The
|
|
7232
|
+
# peer network may belong to a different project. If the partial URL does not
|
|
7233
|
+
# contain project, it is assumed that the peer network is in the same project as
|
|
7234
|
+
# the current network.
|
|
7235
|
+
# Corresponds to the JSON property `network`
|
|
7236
|
+
# @return [String]
|
|
7237
|
+
attr_accessor :network
|
|
7238
|
+
|
|
7239
|
+
# [Output Only] State for the peering.
|
|
7240
|
+
# Corresponds to the JSON property `state`
|
|
7241
|
+
# @return [String]
|
|
7242
|
+
attr_accessor :state
|
|
7243
|
+
|
|
7244
|
+
# [Output Only] Details about the current state of the peering.
|
|
7245
|
+
# Corresponds to the JSON property `stateDetails`
|
|
7246
|
+
# @return [String]
|
|
7247
|
+
attr_accessor :state_details
|
|
7248
|
+
|
|
7249
|
+
def initialize(**args)
|
|
7250
|
+
update!(**args)
|
|
7251
|
+
end
|
|
7252
|
+
|
|
7253
|
+
# Update properties of this object
|
|
7254
|
+
def update!(**args)
|
|
7255
|
+
@auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
|
|
7256
|
+
@name = args[:name] if args.key?(:name)
|
|
7257
|
+
@network = args[:network] if args.key?(:network)
|
|
7258
|
+
@state = args[:state] if args.key?(:state)
|
|
7259
|
+
@state_details = args[:state_details] if args.key?(:state_details)
|
|
7260
|
+
end
|
|
7261
|
+
end
|
|
7262
|
+
|
|
6891
7263
|
# An Operation resource, used to manage asynchronous API requests.
|
|
6892
7264
|
class Operation
|
|
6893
7265
|
include Google::Apis::Core::Hashable
|
|
@@ -7458,11 +7830,7 @@ module Google
|
|
|
7458
7830
|
class Policy
|
|
7459
7831
|
include Google::Apis::Core::Hashable
|
|
7460
7832
|
|
|
7461
|
-
# Specifies audit logging
|
|
7462
|
-
# refers to data reads/writes and admin reads. "admin activity": generally
|
|
7463
|
-
# refers to admin writes.
|
|
7464
|
-
# Note: `AuditConfig` doesn't apply to "admin activity", which always enables
|
|
7465
|
-
# audit logging.
|
|
7833
|
+
# Specifies cloud audit logging configuration for this policy.
|
|
7466
7834
|
# Corresponds to the JSON property `auditConfigs`
|
|
7467
7835
|
# @return [Array<Google::Apis::ComputeBeta::AuditConfig>]
|
|
7468
7836
|
attr_accessor :audit_configs
|
|
@@ -8206,8 +8574,8 @@ module Google
|
|
|
8206
8574
|
# priority value. If there is still a tie, it uses the layer three and four
|
|
8207
8575
|
# packet headers to select just one of the remaining matching routes. The packet
|
|
8208
8576
|
# is then forwarded as specified by the nextHop field of the winning route -
|
|
8209
|
-
# either to another instance destination,
|
|
8210
|
-
# Engine-operated gateway.
|
|
8577
|
+
# either to another instance destination, an instance gateway, or a Google
|
|
8578
|
+
# Compute Engine-operated gateway.
|
|
8211
8579
|
# Packets that do not match any route in the sending instance's routing table
|
|
8212
8580
|
# are dropped.
|
|
8213
8581
|
class Route
|
|
@@ -8281,6 +8649,12 @@ module Google
|
|
|
8281
8649
|
# @return [String]
|
|
8282
8650
|
attr_accessor :next_hop_network
|
|
8283
8651
|
|
|
8652
|
+
# [Output Only] The network peering name that should handle matching packets,
|
|
8653
|
+
# which should conform to RFC1035.
|
|
8654
|
+
# Corresponds to the JSON property `nextHopPeering`
|
|
8655
|
+
# @return [String]
|
|
8656
|
+
attr_accessor :next_hop_peering
|
|
8657
|
+
|
|
8284
8658
|
# The URL to a VpnTunnel that should handle matching packets.
|
|
8285
8659
|
# Corresponds to the JSON property `nextHopVpnTunnel`
|
|
8286
8660
|
# @return [String]
|
|
@@ -8327,6 +8701,7 @@ module Google
|
|
|
8327
8701
|
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
|
|
8328
8702
|
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
|
|
8329
8703
|
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
|
|
8704
|
+
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
|
|
8330
8705
|
@next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
|
|
8331
8706
|
@priority = args[:priority] if args.key?(:priority)
|
|
8332
8707
|
@self_link = args[:self_link] if args.key?(:self_link)
|