google-api-client 0.17.3 → 0.17.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +77 -2
  5. data/generated/google/apis/androidenterprise_v1/representations.rb +31 -0
  6. data/generated/google/apis/androidenterprise_v1/service.rb +100 -0
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1/classes.rb +300 -0
  9. data/generated/google/apis/androidmanagement_v1/representations.rb +76 -0
  10. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  11. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +5 -2
  12. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -8
  13. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  14. data/generated/google/apis/cloudkms_v1.rb +1 -1
  15. data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
  16. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  17. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -10
  18. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
  19. data/generated/google/apis/cloudtasks_v2beta2/service.rb +11 -6
  20. data/generated/google/apis/compute_alpha.rb +1 -1
  21. data/generated/google/apis/compute_alpha/classes.rb +782 -111
  22. data/generated/google/apis/compute_alpha/representations.rb +282 -2
  23. data/generated/google/apis/compute_alpha/service.rb +611 -6
  24. data/generated/google/apis/compute_beta.rb +1 -1
  25. data/generated/google/apis/compute_beta/classes.rb +342 -43
  26. data/generated/google/apis/compute_beta/representations.rb +109 -0
  27. data/generated/google/apis/compute_beta/service.rb +225 -6
  28. data/generated/google/apis/compute_v1.rb +1 -1
  29. data/generated/google/apis/compute_v1/classes.rb +48 -43
  30. data/generated/google/apis/compute_v1/service.rb +6 -6
  31. data/generated/google/apis/container_v1beta1/classes.rb +17 -0
  32. data/generated/google/apis/container_v1beta1/representations.rb +1 -0
  33. data/generated/google/apis/content_v2.rb +1 -1
  34. data/generated/google/apis/content_v2/classes.rb +131 -9
  35. data/generated/google/apis/content_v2/representations.rb +38 -0
  36. data/generated/google/apis/content_v2/service.rb +35 -23
  37. data/generated/google/apis/content_v2sandbox.rb +1 -1
  38. data/generated/google/apis/content_v2sandbox/classes.rb +99 -9
  39. data/generated/google/apis/content_v2sandbox/representations.rb +22 -0
  40. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  41. data/generated/google/apis/dialogflow_v2beta1/service.rb +11 -11
  42. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  43. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  44. data/generated/google/apis/fusiontables_v2.rb +1 -1
  45. data/generated/google/apis/fusiontables_v2/service.rb +37 -0
  46. data/generated/google/apis/ml_v1.rb +1 -1
  47. data/generated/google/apis/ml_v1/classes.rb +26 -177
  48. data/generated/google/apis/ml_v1/representations.rb +3 -0
  49. data/generated/google/apis/ml_v1/service.rb +3 -1
  50. data/generated/google/apis/monitoring_v3.rb +1 -1
  51. data/generated/google/apis/monitoring_v3/classes.rb +10 -1
  52. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  53. data/generated/google/apis/poly_v1.rb +32 -0
  54. data/generated/google/apis/poly_v1/classes.rb +426 -0
  55. data/generated/google/apis/poly_v1/representations.rb +194 -0
  56. data/generated/google/apis/poly_v1/service.rb +273 -0
  57. data/generated/google/apis/pubsub_v1.rb +1 -1
  58. data/generated/google/apis/pubsub_v1/classes.rb +243 -0
  59. data/generated/google/apis/pubsub_v1/representations.rb +115 -0
  60. data/generated/google/apis/pubsub_v1/service.rb +269 -1
  61. data/generated/google/apis/speech_v1.rb +4 -1
  62. data/generated/google/apis/speech_v1beta1.rb +4 -1
  63. data/generated/google/apis/testing_v1.rb +1 -1
  64. data/generated/google/apis/testing_v1/classes.rb +1 -1
  65. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  66. data/generated/google/apis/youtube_v3.rb +1 -1
  67. data/generated/google/apis/youtube_v3/classes.rb +13 -0
  68. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  69. data/lib/google/apis/core/base_service.rb +4 -1
  70. data/lib/google/apis/options.rb +5 -1
  71. data/lib/google/apis/version.rb +1 -1
  72. metadata +6 -2
@@ -81,7 +81,9 @@ module Google
81
81
  end
82
82
 
83
83
  # Performs prediction on the data in the request.
84
- # **** REMOVE FROM GENERATED DOCUMENTATION
84
+ # Cloud ML Engine implements a custom `predict` verb on top of an HTTP POST
85
+ # method. For details of the format, see the **guide to the
86
+ # [predict request format](/ml-engine/docs/v1/predict-request)**.
85
87
  # @param [String] name
86
88
  # Required. The resource name of a model or a version.
87
89
  # Authorization: requires the `predict` permission on the specified resource.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/monitoring/api/
28
28
  module MonitoringV3
29
29
  VERSION = 'V3'
30
- REVISION = '20171113'
30
+ REVISION = '20171125'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1786,11 +1786,19 @@ module Google
1786
1786
  # @return [Google::Apis::MonitoringV3::HttpCheck]
1787
1787
  attr_accessor :http_check
1788
1788
 
1789
- # The internal checkers that this check will egress from.
1789
+ # The internal checkers that this check will egress from. If is_internal is true
1790
+ # and this list is empty, the check will egress from all InternalCheckers
1791
+ # configured for the project that owns this CheckConfig.
1790
1792
  # Corresponds to the JSON property `internalCheckers`
1791
1793
  # @return [Array<Google::Apis::MonitoringV3::InternalChecker>]
1792
1794
  attr_accessor :internal_checkers
1793
1795
 
1796
+ # Denotes whether this check is a check that egresses from InternalCheckers.
1797
+ # Corresponds to the JSON property `isInternal`
1798
+ # @return [Boolean]
1799
+ attr_accessor :is_internal
1800
+ alias_method :is_internal?, :is_internal
1801
+
1794
1802
  # An object representing a resource that can be used for monitoring, logging,
1795
1803
  # billing, or other purposes. Examples include virtual machine instances,
1796
1804
  # databases, and storage devices such as disks. The type field identifies a
@@ -1856,6 +1864,7 @@ module Google
1856
1864
  @display_name = args[:display_name] if args.key?(:display_name)
1857
1865
  @http_check = args[:http_check] if args.key?(:http_check)
1858
1866
  @internal_checkers = args[:internal_checkers] if args.key?(:internal_checkers)
1867
+ @is_internal = args[:is_internal] if args.key?(:is_internal)
1859
1868
  @monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
1860
1869
  @name = args[:name] if args.key?(:name)
1861
1870
  @period = args[:period] if args.key?(:period)
@@ -715,6 +715,7 @@ module Google
715
715
 
716
716
  collection :internal_checkers, as: 'internalCheckers', class: Google::Apis::MonitoringV3::InternalChecker, decorator: Google::Apis::MonitoringV3::InternalChecker::Representation
717
717
 
718
+ property :is_internal, as: 'isInternal'
718
719
  property :monitored_resource, as: 'monitoredResource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation
719
720
 
720
721
  property :name, as: 'name'
@@ -0,0 +1,32 @@
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/poly_v1/service.rb'
16
+ require 'google/apis/poly_v1/classes.rb'
17
+ require 'google/apis/poly_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Poly API
22
+ #
23
+ # The Poly API provides read-only access to assets hosted on <a href="https://
24
+ # poly.google.com">poly.google.com</a>.
25
+ #
26
+ # @see https://devsite.googleplex.com/poly/
27
+ module PolyV1
28
+ VERSION = 'V1'
29
+ REVISION = '20171124'
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,426 @@
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 PolyV1
24
+
25
+ # Represents and describes an asset in the Poly library. An asset is a 3D model
26
+ # or scene created using [Tilt Brush](//www.tiltbrush.com),
27
+ # [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file
28
+ # that can be upload to Poly.
29
+ class Asset
30
+ include Google::Apis::Core::Hashable
31
+
32
+ # The author's publicly visible name. Use this name when giving credit to the
33
+ # author. For more information, see [Licensing](/poly/discover/licensing).
34
+ # Corresponds to the JSON property `authorName`
35
+ # @return [String]
36
+ attr_accessor :author_name
37
+
38
+ # For published assets, the time when the asset was published.
39
+ # For unpublished assets, the time when the asset was created.
40
+ # Corresponds to the JSON property `createTime`
41
+ # @return [String]
42
+ attr_accessor :create_time
43
+
44
+ # The human-readable description, set by the asset's author.
45
+ # Corresponds to the JSON property `description`
46
+ # @return [String]
47
+ attr_accessor :description
48
+
49
+ # The human-readable name, set by the asset's author.
50
+ # Corresponds to the JSON property `displayName`
51
+ # @return [String]
52
+ attr_accessor :display_name
53
+
54
+ # A list of Formats where each
55
+ # format describes one representation of the asset.
56
+ # Corresponds to the JSON property `formats`
57
+ # @return [Array<Google::Apis::PolyV1::Format>]
58
+ attr_accessor :formats
59
+
60
+ # Whether this asset has been curated by the Poly team.
61
+ # Corresponds to the JSON property `isCurated`
62
+ # @return [Boolean]
63
+ attr_accessor :is_curated
64
+ alias_method :is_curated?, :is_curated
65
+
66
+ # The license under which the author has made the asset available
67
+ # for use, if any.
68
+ # Corresponds to the JSON property `license`
69
+ # @return [String]
70
+ attr_accessor :license
71
+
72
+ # The unique identifier for the asset in the form:
73
+ # `assets/`ASSET_ID``.
74
+ # Corresponds to the JSON property `name`
75
+ # @return [String]
76
+ attr_accessor :name
77
+
78
+ # Hints for displaying the asset, based on information available when the asset
79
+ # was uploaded.
80
+ # Corresponds to the JSON property `presentationParams`
81
+ # @return [Google::Apis::PolyV1::PresentationParams]
82
+ attr_accessor :presentation_params
83
+
84
+ # Represents a file in Poly, which can be a root,
85
+ # resource, or thumbnail file.
86
+ # Corresponds to the JSON property `thumbnail`
87
+ # @return [Google::Apis::PolyV1::File]
88
+ attr_accessor :thumbnail
89
+
90
+ # The time when the asset was last modified. For published assets, whose
91
+ # contents are immutable, the update time changes only when metadata
92
+ # properties, such as visibility, are updated.
93
+ # Corresponds to the JSON property `updateTime`
94
+ # @return [String]
95
+ attr_accessor :update_time
96
+
97
+ # The visibility of the asset and who can access it.
98
+ # Corresponds to the JSON property `visibility`
99
+ # @return [String]
100
+ attr_accessor :visibility
101
+
102
+ def initialize(**args)
103
+ update!(**args)
104
+ end
105
+
106
+ # Update properties of this object
107
+ def update!(**args)
108
+ @author_name = args[:author_name] if args.key?(:author_name)
109
+ @create_time = args[:create_time] if args.key?(:create_time)
110
+ @description = args[:description] if args.key?(:description)
111
+ @display_name = args[:display_name] if args.key?(:display_name)
112
+ @formats = args[:formats] if args.key?(:formats)
113
+ @is_curated = args[:is_curated] if args.key?(:is_curated)
114
+ @license = args[:license] if args.key?(:license)
115
+ @name = args[:name] if args.key?(:name)
116
+ @presentation_params = args[:presentation_params] if args.key?(:presentation_params)
117
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
118
+ @update_time = args[:update_time] if args.key?(:update_time)
119
+ @visibility = args[:visibility] if args.key?(:visibility)
120
+ end
121
+ end
122
+
123
+ # Represents a file in Poly, which can be a root,
124
+ # resource, or thumbnail file.
125
+ class File
126
+ include Google::Apis::Core::Hashable
127
+
128
+ # The MIME content-type, such as `image/png`.
129
+ # For more information, see
130
+ # [MIME types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/
131
+ # MIME_types).
132
+ # Corresponds to the JSON property `contentType`
133
+ # @return [String]
134
+ attr_accessor :content_type
135
+
136
+ # The path of the resource file relative to the root file.
137
+ # For root or thumbnail files, this is just the filename.
138
+ # Corresponds to the JSON property `relativePath`
139
+ # @return [String]
140
+ attr_accessor :relative_path
141
+
142
+ # The URL where the file data can be retrieved.
143
+ # Corresponds to the JSON property `url`
144
+ # @return [String]
145
+ attr_accessor :url
146
+
147
+ def initialize(**args)
148
+ update!(**args)
149
+ end
150
+
151
+ # Update properties of this object
152
+ def update!(**args)
153
+ @content_type = args[:content_type] if args.key?(:content_type)
154
+ @relative_path = args[:relative_path] if args.key?(:relative_path)
155
+ @url = args[:url] if args.key?(:url)
156
+ end
157
+ end
158
+
159
+ # The same asset can be represented in different formats, for example,
160
+ # a [WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its
161
+ # corresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file
162
+ # with its corresponding .glb binary data. A format refers to a specific
163
+ # representation of an asset and contains all information needed to
164
+ # retrieve and describe this representation.
165
+ class Format
166
+ include Google::Apis::Core::Hashable
167
+
168
+ # Information on the complexity of this Format.
169
+ # Corresponds to the JSON property `formatComplexity`
170
+ # @return [Google::Apis::PolyV1::FormatComplexity]
171
+ attr_accessor :format_complexity
172
+
173
+ # A short string that identifies the format type of this representation.
174
+ # Possible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
175
+ # Corresponds to the JSON property `formatType`
176
+ # @return [String]
177
+ attr_accessor :format_type
178
+
179
+ # A list of dependencies of the root element. May include, but is not
180
+ # limited to, materials, textures, and shader programs.
181
+ # Corresponds to the JSON property `resources`
182
+ # @return [Array<Google::Apis::PolyV1::File>]
183
+ attr_accessor :resources
184
+
185
+ # Represents a file in Poly, which can be a root,
186
+ # resource, or thumbnail file.
187
+ # Corresponds to the JSON property `root`
188
+ # @return [Google::Apis::PolyV1::File]
189
+ attr_accessor :root
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @format_complexity = args[:format_complexity] if args.key?(:format_complexity)
198
+ @format_type = args[:format_type] if args.key?(:format_type)
199
+ @resources = args[:resources] if args.key?(:resources)
200
+ @root = args[:root] if args.key?(:root)
201
+ end
202
+ end
203
+
204
+ # Information on the complexity of this Format.
205
+ class FormatComplexity
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # A non-negative integer that represents the level of detail (LOD) of this
209
+ # format relative to other formats of the same asset with the same
210
+ # format_type.
211
+ # This hint allows you to sort formats from the most-detailed (0) to
212
+ # least-detailed (integers greater than 0).
213
+ # Corresponds to the JSON property `lodHint`
214
+ # @return [Fixnum]
215
+ attr_accessor :lod_hint
216
+
217
+ # The estimated number of triangles.
218
+ # Corresponds to the JSON property `triangleCount`
219
+ # @return [Fixnum]
220
+ attr_accessor :triangle_count
221
+
222
+ def initialize(**args)
223
+ update!(**args)
224
+ end
225
+
226
+ # Update properties of this object
227
+ def update!(**args)
228
+ @lod_hint = args[:lod_hint] if args.key?(:lod_hint)
229
+ @triangle_count = args[:triangle_count] if args.key?(:triangle_count)
230
+ end
231
+ end
232
+
233
+ # A response message from a request to list.
234
+ class ListAssetsResponse
235
+ include Google::Apis::Core::Hashable
236
+
237
+ # A list of assets that match the criteria specified in the request.
238
+ # Corresponds to the JSON property `assets`
239
+ # @return [Array<Google::Apis::PolyV1::Asset>]
240
+ attr_accessor :assets
241
+
242
+ # The continuation token for retrieving the next page. If empty,
243
+ # indicates that there are no more pages. To get the next page, submit the
244
+ # same request specifying this value as the
245
+ # page_token.
246
+ # Corresponds to the JSON property `nextPageToken`
247
+ # @return [String]
248
+ attr_accessor :next_page_token
249
+
250
+ # The total number of assets in the list, without pagination.
251
+ # Corresponds to the JSON property `totalSize`
252
+ # @return [Fixnum]
253
+ attr_accessor :total_size
254
+
255
+ def initialize(**args)
256
+ update!(**args)
257
+ end
258
+
259
+ # Update properties of this object
260
+ def update!(**args)
261
+ @assets = args[:assets] if args.key?(:assets)
262
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
263
+ @total_size = args[:total_size] if args.key?(:total_size)
264
+ end
265
+ end
266
+
267
+ # A response message from a request to list.
268
+ class ListLikedAssetsResponse
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # A list of assets that match the criteria specified in the request.
272
+ # Corresponds to the JSON property `assets`
273
+ # @return [Array<Google::Apis::PolyV1::Asset>]
274
+ attr_accessor :assets
275
+
276
+ # The continuation token for retrieving the next page. If empty,
277
+ # indicates that there are no more pages. To get the next page, submit the
278
+ # same request specifying this value as the
279
+ # page_token.
280
+ # Corresponds to the JSON property `nextPageToken`
281
+ # @return [String]
282
+ attr_accessor :next_page_token
283
+
284
+ # The total number of assets in the list, without pagination.
285
+ # Corresponds to the JSON property `totalSize`
286
+ # @return [Fixnum]
287
+ attr_accessor :total_size
288
+
289
+ def initialize(**args)
290
+ update!(**args)
291
+ end
292
+
293
+ # Update properties of this object
294
+ def update!(**args)
295
+ @assets = args[:assets] if args.key?(:assets)
296
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
297
+ @total_size = args[:total_size] if args.key?(:total_size)
298
+ end
299
+ end
300
+
301
+ # A response message from a request to list.
302
+ class ListUserAssetsResponse
303
+ include Google::Apis::Core::Hashable
304
+
305
+ # The continuation token for retrieving the next page. If empty,
306
+ # indicates that there are no more pages. To get the next page, submit the
307
+ # same request specifying this value as the
308
+ # page_token.
309
+ # Corresponds to the JSON property `nextPageToken`
310
+ # @return [String]
311
+ attr_accessor :next_page_token
312
+
313
+ # The total number of assets in the list, without pagination.
314
+ # Corresponds to the JSON property `totalSize`
315
+ # @return [Fixnum]
316
+ attr_accessor :total_size
317
+
318
+ # A list of UserAssets matching the request.
319
+ # Corresponds to the JSON property `userAssets`
320
+ # @return [Array<Google::Apis::PolyV1::UserAsset>]
321
+ attr_accessor :user_assets
322
+
323
+ def initialize(**args)
324
+ update!(**args)
325
+ end
326
+
327
+ # Update properties of this object
328
+ def update!(**args)
329
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
330
+ @total_size = args[:total_size] if args.key?(:total_size)
331
+ @user_assets = args[:user_assets] if args.key?(:user_assets)
332
+ end
333
+ end
334
+
335
+ # Hints for displaying the asset, based on information available when the asset
336
+ # was uploaded.
337
+ class PresentationParams
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # The materials' diffuse/albedo color. This does not apply to vertex colors
341
+ # or texture maps.
342
+ # Corresponds to the JSON property `colorSpace`
343
+ # @return [String]
344
+ attr_accessor :color_space
345
+
346
+ # A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the
347
+ # response you see "w: 1" and nothing else this is the default value of
348
+ # [0, 0, 0, 1] where x,y, and z are 0.
349
+ # Corresponds to the JSON property `orientingRotation`
350
+ # @return [Google::Apis::PolyV1::Quaternion]
351
+ attr_accessor :orienting_rotation
352
+
353
+ def initialize(**args)
354
+ update!(**args)
355
+ end
356
+
357
+ # Update properties of this object
358
+ def update!(**args)
359
+ @color_space = args[:color_space] if args.key?(:color_space)
360
+ @orienting_rotation = args[:orienting_rotation] if args.key?(:orienting_rotation)
361
+ end
362
+ end
363
+
364
+ # A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the
365
+ # response you see "w: 1" and nothing else this is the default value of
366
+ # [0, 0, 0, 1] where x,y, and z are 0.
367
+ class Quaternion
368
+ include Google::Apis::Core::Hashable
369
+
370
+ # The scalar component.
371
+ # Corresponds to the JSON property `w`
372
+ # @return [Float]
373
+ attr_accessor :w
374
+
375
+ # The x component.
376
+ # Corresponds to the JSON property `x`
377
+ # @return [Float]
378
+ attr_accessor :x
379
+
380
+ # The y component.
381
+ # Corresponds to the JSON property `y`
382
+ # @return [Float]
383
+ attr_accessor :y
384
+
385
+ # The z component.
386
+ # Corresponds to the JSON property `z`
387
+ # @return [Float]
388
+ attr_accessor :z
389
+
390
+ def initialize(**args)
391
+ update!(**args)
392
+ end
393
+
394
+ # Update properties of this object
395
+ def update!(**args)
396
+ @w = args[:w] if args.key?(:w)
397
+ @x = args[:x] if args.key?(:x)
398
+ @y = args[:y] if args.key?(:y)
399
+ @z = args[:z] if args.key?(:z)
400
+ end
401
+ end
402
+
403
+ # Data about the user's asset.
404
+ class UserAsset
405
+ include Google::Apis::Core::Hashable
406
+
407
+ # Represents and describes an asset in the Poly library. An asset is a 3D model
408
+ # or scene created using [Tilt Brush](//www.tiltbrush.com),
409
+ # [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file
410
+ # that can be upload to Poly.
411
+ # Corresponds to the JSON property `asset`
412
+ # @return [Google::Apis::PolyV1::Asset]
413
+ attr_accessor :asset
414
+
415
+ def initialize(**args)
416
+ update!(**args)
417
+ end
418
+
419
+ # Update properties of this object
420
+ def update!(**args)
421
+ @asset = args[:asset] if args.key?(:asset)
422
+ end
423
+ end
424
+ end
425
+ end
426
+ end