google-api-client 0.46.1 → 0.46.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.gitignore +2 -0
  4. data/CHANGELOG.md +58 -0
  5. data/api_list_config.yaml +8 -0
  6. data/bin/generate-api +77 -15
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  9. data/generated/google/apis/admin_directory_v1.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  11. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  12. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  13. data/generated/google/apis/admin_reports_v1.rb +1 -1
  14. data/generated/google/apis/admob_v1.rb +1 -1
  15. data/generated/google/apis/admob_v1/classes.rb +29 -29
  16. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
  18. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
  19. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  20. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -7
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  24. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  25. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +80 -5
  29. data/generated/google/apis/bigquery_v2/representations.rb +33 -0
  30. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  31. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  32. data/generated/google/apis/billingbudgets_v1/classes.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
  35. data/generated/google/apis/civicinfo_v2.rb +1 -1
  36. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  37. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  38. data/generated/google/apis/classroom_v1.rb +1 -1
  39. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  40. data/generated/google/apis/container_v1.rb +1 -1
  41. data/generated/google/apis/container_v1/classes.rb +22 -10
  42. data/generated/google/apis/container_v1beta1.rb +1 -1
  43. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  44. data/generated/google/apis/content_v2.rb +1 -1
  45. data/generated/google/apis/content_v2_1.rb +1 -1
  46. data/generated/google/apis/content_v2_1/classes.rb +6 -3
  47. data/generated/google/apis/displayvideo_v1.rb +1 -1
  48. data/generated/google/apis/displayvideo_v1/classes.rb +30 -30
  49. data/generated/google/apis/displayvideo_v1/service.rb +8 -8
  50. data/generated/google/apis/dlp_v2.rb +1 -1
  51. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +181 -0
  54. data/generated/google/apis/dns_v1/representations.rb +83 -0
  55. data/generated/google/apis/dns_v1beta2.rb +1 -1
  56. data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
  57. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  58. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  59. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  60. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  61. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  62. data/generated/google/apis/domains_v1beta1.rb +34 -0
  63. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  64. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  65. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  66. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  67. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  68. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  69. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
  70. data/generated/google/apis/drive_v2.rb +1 -1
  71. data/generated/google/apis/drive_v2/classes.rb +2 -0
  72. data/generated/google/apis/drive_v3.rb +1 -1
  73. data/generated/google/apis/drive_v3/classes.rb +4 -2
  74. data/generated/google/apis/fitness_v1.rb +1 -1
  75. data/generated/google/apis/fitness_v1/service.rb +3 -1
  76. data/generated/google/apis/gameservices_v1.rb +1 -1
  77. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  78. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  79. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  80. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  81. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  82. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  83. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  84. data/generated/google/apis/healthcare_v1.rb +1 -1
  85. data/generated/google/apis/healthcare_v1/classes.rb +4 -4
  86. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -6
  88. data/generated/google/apis/licensing_v1.rb +1 -1
  89. data/generated/google/apis/licensing_v1/service.rb +2 -2
  90. data/generated/google/apis/localservices_v1.rb +1 -1
  91. data/generated/google/apis/localservices_v1/service.rb +20 -20
  92. data/generated/google/apis/managedidentities_v1.rb +1 -1
  93. data/generated/google/apis/managedidentities_v1/classes.rb +1 -1
  94. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  95. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  96. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +80 -9
  97. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -1
  98. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  99. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  100. data/generated/google/apis/managedidentities_v1beta1/classes.rb +81 -9
  101. data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -1
  102. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  103. data/generated/google/apis/monitoring_v3.rb +1 -1
  104. data/generated/google/apis/monitoring_v3/classes.rb +8 -8
  105. data/generated/google/apis/people_v1.rb +1 -1
  106. data/generated/google/apis/people_v1/classes.rb +45 -45
  107. data/generated/google/apis/playablelocations_v3.rb +1 -1
  108. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  109. data/generated/google/apis/poly_v1.rb +3 -4
  110. data/generated/google/apis/poly_v1/classes.rb +65 -79
  111. data/generated/google/apis/poly_v1/service.rb +50 -63
  112. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  113. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  114. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  115. data/generated/google/apis/realtimebidding_v1/classes.rb +33 -33
  116. data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
  117. data/generated/google/apis/run_v1.rb +1 -1
  118. data/generated/google/apis/run_v1/classes.rb +7 -6
  119. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  120. data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
  121. data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
  122. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  123. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  124. data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
  125. data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
  126. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  127. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -0
  128. data/generated/google/apis/storagetransfer_v1/representations.rb +1 -0
  129. data/generated/google/apis/storagetransfer_v1/service.rb +17 -18
  130. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  131. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  132. data/generated/google/apis/sts_v1beta.rb +1 -1
  133. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  134. data/generated/google/apis/tpu_v1.rb +1 -1
  135. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  136. data/generated/google/apis/tpu_v1/service.rb +8 -8
  137. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  138. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  139. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  140. data/generated/google/apis/vault_v1.rb +1 -1
  141. data/generated/google/apis/vault_v1/classes.rb +333 -0
  142. data/generated/google/apis/vault_v1/representations.rb +162 -0
  143. data/generated/google/apis/vault_v1/service.rb +151 -0
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_v3.rb +1 -1
  146. data/generated/google/apis/youtube_v3/service.rb +2 -2
  147. data/google-api-client.gemspec +1 -1
  148. data/lib/google/apis/core/api_command.rb +1 -0
  149. data/lib/google/apis/version.rb +1 -1
  150. data/synth.py +40 -0
  151. metadata +13 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/maps/contact-sales/
26
26
  module PlayablelocationsV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200826'
28
+ REVISION = '20201013'
29
29
  end
30
30
  end
31
31
  end
@@ -303,8 +303,8 @@ module Google
303
303
  class GoogleMapsPlayablelocationsV3SamplePlayableLocation
304
304
  include Google::Apis::Core::Hashable
305
305
 
306
- # An object representing a latitude/longitude pair. This is expressed as a pair
307
- # of doubles representing degrees latitude and degrees longitude. Unless
306
+ # An object that represents a latitude/longitude pair. This is expressed as a
307
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
308
308
  # specified otherwise, this must conform to the WGS84 standard. Values must be
309
309
  # within normalized ranges.
310
310
  # Corresponds to the JSON property `centerPoint`
@@ -326,8 +326,8 @@ module Google
326
326
  # @return [String]
327
327
  attr_accessor :plus_code
328
328
 
329
- # An object representing a latitude/longitude pair. This is expressed as a pair
330
- # of doubles representing degrees latitude and degrees longitude. Unless
329
+ # An object that represents a latitude/longitude pair. This is expressed as a
330
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
331
331
  # specified otherwise, this must conform to the WGS84 standard. Values must be
332
332
  # within normalized ranges.
333
333
  # Corresponds to the JSON property `snappedPoint`
@@ -554,8 +554,8 @@ module Google
554
554
  end
555
555
  end
556
556
 
557
- # An object representing a latitude/longitude pair. This is expressed as a pair
558
- # of doubles representing degrees latitude and degrees longitude. Unless
557
+ # An object that represents a latitude/longitude pair. This is expressed as a
558
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
559
559
  # specified otherwise, this must conform to the WGS84 standard. Values must be
560
560
  # within normalized ranges.
561
561
  class GoogleTypeLatLng
@@ -20,14 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Poly API
22
22
  #
23
- # The Poly API provides read access to assets hosted on <a href="https://poly.
24
- # google.com">poly.google.com</a> to all, and upload access to <a href="https://
25
- # poly.google.com">poly.google.com</a> for whitelisted accounts.
23
+ # The Poly API provides read access to assets hosted on poly.google.com to all,
24
+ # and upload access to poly.google.com for whitelisted accounts.
26
25
  #
27
26
  # @see https://developers.google.com/poly/
28
27
  module PolyV1
29
28
  VERSION = 'V1'
30
- REVISION = '20200210'
29
+ REVISION = '20201006'
31
30
  end
32
31
  end
33
32
  end
@@ -23,9 +23,9 @@ module Google
23
23
  module PolyV1
24
24
 
25
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.
26
+ # or scene created using [Tilt Brush](//www.tiltbrush.com), [Blocks](//vr.google.
27
+ # com/blocks/), or any 3D program that produces a file that can be upload to
28
+ # Poly.
29
29
  class Asset
30
30
  include Google::Apis::Core::Hashable
31
31
 
@@ -35,8 +35,8 @@ module Google
35
35
  # @return [String]
36
36
  attr_accessor :author_name
37
37
 
38
- # For published assets, the time when the asset was published.
39
- # For unpublished assets, the time when the asset was created.
38
+ # For published assets, the time when the asset was published. For unpublished
39
+ # assets, the time when the asset was created.
40
40
  # Corresponds to the JSON property `createTime`
41
41
  # @return [String]
42
42
  attr_accessor :create_time
@@ -51,8 +51,7 @@ module Google
51
51
  # @return [String]
52
52
  attr_accessor :display_name
53
53
 
54
- # A list of Formats where each
55
- # format describes one representation of the asset.
54
+ # A list of Formats where each format describes one representation of the asset.
56
55
  # Corresponds to the JSON property `formats`
57
56
  # @return [Array<Google::Apis::PolyV1::Format>]
58
57
  attr_accessor :formats
@@ -63,22 +62,21 @@ module Google
63
62
  attr_accessor :is_curated
64
63
  alias_method :is_curated?, :is_curated
65
64
 
66
- # The license under which the author has made the asset available
67
- # for use, if any.
65
+ # The license under which the author has made the asset available for use, if
66
+ # any.
68
67
  # Corresponds to the JSON property `license`
69
68
  # @return [String]
70
69
  attr_accessor :license
71
70
 
72
71
  # Application-defined opaque metadata for this asset. This field is only
73
72
  # returned when querying for the signed-in user's own assets, not for public
74
- # assets. This string is limited to 1K chars. It is up to the creator of
75
- # the asset to define the format for this string (for example, JSON).
73
+ # assets. This string is limited to 1K chars. It is up to the creator of the
74
+ # asset to define the format for this string (for example, JSON).
76
75
  # Corresponds to the JSON property `metadata`
77
76
  # @return [String]
78
77
  attr_accessor :metadata
79
78
 
80
- # The unique identifier for the asset in the form:
81
- # `assets/`ASSET_ID``.
79
+ # The unique identifier for the asset in the form: `assets/`ASSET_ID``.
82
80
  # Corresponds to the JSON property `name`
83
81
  # @return [String]
84
82
  attr_accessor :name
@@ -89,21 +87,20 @@ module Google
89
87
  # @return [Google::Apis::PolyV1::PresentationParams]
90
88
  attr_accessor :presentation_params
91
89
 
92
- # Info about the sources of this asset (i.e. assets that were remixed to
93
- # create this asset).
90
+ # Info about the sources of this asset (i.e. assets that were remixed to create
91
+ # this asset).
94
92
  # Corresponds to the JSON property `remixInfo`
95
93
  # @return [Google::Apis::PolyV1::RemixInfo]
96
94
  attr_accessor :remix_info
97
95
 
98
- # Represents a file in Poly, which can be a root,
99
- # resource, or thumbnail file.
96
+ # Represents a file in Poly, which can be a root, resource, or thumbnail file.
100
97
  # Corresponds to the JSON property `thumbnail`
101
98
  # @return [Google::Apis::PolyV1::File]
102
99
  attr_accessor :thumbnail
103
100
 
104
101
  # The time when the asset was last modified. For published assets, whose
105
- # contents are immutable, the update time changes only when metadata
106
- # properties, such as visibility, are updated.
102
+ # contents are immutable, the update time changes only when metadata properties,
103
+ # such as visibility, are updated.
107
104
  # Corresponds to the JSON property `updateTime`
108
105
  # @return [String]
109
106
  attr_accessor :update_time
@@ -173,22 +170,18 @@ module Google
173
170
  end
174
171
  end
175
172
 
176
- # Represents a file in Poly, which can be a root,
177
- # resource, or thumbnail file.
173
+ # Represents a file in Poly, which can be a root, resource, or thumbnail file.
178
174
  class File
179
175
  include Google::Apis::Core::Hashable
180
176
 
181
- # The MIME content-type, such as `image/png`.
182
- # For more information, see
183
- # [MIME
177
+ # The MIME content-type, such as `image/png`. For more information, see [MIME
184
178
  # types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).
185
179
  # Corresponds to the JSON property `contentType`
186
180
  # @return [String]
187
181
  attr_accessor :content_type
188
182
 
189
- # The path of the resource file relative to the
190
- # root file. For root or thumbnail files,
191
- # this is just the filename.
183
+ # The path of the resource file relative to the root file. For root or thumbnail
184
+ # files, this is just the filename.
192
185
  # Corresponds to the JSON property `relativePath`
193
186
  # @return [String]
194
187
  attr_accessor :relative_path
@@ -210,12 +203,12 @@ module Google
210
203
  end
211
204
  end
212
205
 
213
- # The same asset can be represented in different formats, for example,
214
- # a [WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its
215
- # corresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file
216
- # with its corresponding .glb binary data. A format refers to a specific
217
- # representation of an asset and contains all information needed to
218
- # retrieve and describe this representation.
206
+ # The same asset can be represented in different formats, for example, a [
207
+ # WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its
208
+ # corresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file with
209
+ # its corresponding .glb binary data. A format refers to a specific
210
+ # representation of an asset and contains all information needed to retrieve and
211
+ # describe this representation.
219
212
  class Format
220
213
  include Google::Apis::Core::Hashable
221
214
 
@@ -230,14 +223,13 @@ module Google
230
223
  # @return [String]
231
224
  attr_accessor :format_type
232
225
 
233
- # A list of dependencies of the root element. May include, but is not
234
- # limited to, materials, textures, and shader programs.
226
+ # A list of dependencies of the root element. May include, but is not limited to,
227
+ # materials, textures, and shader programs.
235
228
  # Corresponds to the JSON property `resources`
236
229
  # @return [Array<Google::Apis::PolyV1::File>]
237
230
  attr_accessor :resources
238
231
 
239
- # Represents a file in Poly, which can be a root,
240
- # resource, or thumbnail file.
232
+ # Represents a file in Poly, which can be a root, resource, or thumbnail file.
241
233
  # Corresponds to the JSON property `root`
242
234
  # @return [Google::Apis::PolyV1::File]
243
235
  attr_accessor :root
@@ -260,10 +252,9 @@ module Google
260
252
  include Google::Apis::Core::Hashable
261
253
 
262
254
  # A non-negative integer that represents the level of detail (LOD) of this
263
- # format relative to other formats of the same asset with the same
264
- # format_type.
265
- # This hint allows you to sort formats from the most-detailed (0) to
266
- # least-detailed (integers greater than 0).
255
+ # format relative to other formats of the same asset with the same format_type.
256
+ # This hint allows you to sort formats from the most-detailed (0) to least-
257
+ # detailed (integers greater than 0).
267
258
  # Corresponds to the JSON property `lodHint`
268
259
  # @return [Fixnum]
269
260
  attr_accessor :lod_hint
@@ -318,10 +309,9 @@ module Google
318
309
  # @return [Array<Google::Apis::PolyV1::Asset>]
319
310
  attr_accessor :assets
320
311
 
321
- # The continuation token for retrieving the next page. If empty,
322
- # indicates that there are no more pages. To get the next page, submit the
323
- # same request specifying this value as the
324
- # page_token.
312
+ # The continuation token for retrieving the next page. If empty, indicates that
313
+ # there are no more pages. To get the next page, submit the same request
314
+ # specifying this value as the page_token.
325
315
  # Corresponds to the JSON property `nextPageToken`
326
316
  # @return [String]
327
317
  attr_accessor :next_page_token
@@ -352,10 +342,9 @@ module Google
352
342
  # @return [Array<Google::Apis::PolyV1::Asset>]
353
343
  attr_accessor :assets
354
344
 
355
- # The continuation token for retrieving the next page. If empty,
356
- # indicates that there are no more pages. To get the next page, submit the
357
- # same request specifying this value as the
358
- # page_token.
345
+ # The continuation token for retrieving the next page. If empty, indicates that
346
+ # there are no more pages. To get the next page, submit the same request
347
+ # specifying this value as the page_token.
359
348
  # Corresponds to the JSON property `nextPageToken`
360
349
  # @return [String]
361
350
  attr_accessor :next_page_token
@@ -381,10 +370,9 @@ module Google
381
370
  class ListUserAssetsResponse
382
371
  include Google::Apis::Core::Hashable
383
372
 
384
- # The continuation token for retrieving the next page. If empty,
385
- # indicates that there are no more pages. To get the next page, submit the
386
- # same request specifying this value as the
387
- # page_token.
373
+ # The continuation token for retrieving the next page. If empty, indicates that
374
+ # there are no more pages. To get the next page, submit the same request
375
+ # specifying this value as the page_token.
388
376
  # Corresponds to the JSON property `nextPageToken`
389
377
  # @return [String]
390
378
  attr_accessor :next_page_token
@@ -466,24 +454,24 @@ module Google
466
454
  class PresentationParams
467
455
  include Google::Apis::Core::Hashable
468
456
 
469
- # A background color which could be used for displaying the 3D asset in a
470
- # 'thumbnail' or 'palette' style view. Authors have the option to set this
471
- # background color when publishing or editing their asset.
472
- # This is represented as a six-digit hexademical triplet specifying the
473
- # RGB components of the background color, e.g. #FF0000 for Red.
457
+ # A background color which could be used for displaying the 3D asset in a '
458
+ # thumbnail' or 'palette' style view. Authors have the option to set this
459
+ # background color when publishing or editing their asset. This is represented
460
+ # as a six-digit hexademical triplet specifying the RGB components of the
461
+ # background color, e.g. #FF0000 for Red.
474
462
  # Corresponds to the JSON property `backgroundColor`
475
463
  # @return [String]
476
464
  attr_accessor :background_color
477
465
 
478
- # The materials' diffuse/albedo color. This does not apply to vertex colors
479
- # or texture maps.
466
+ # The materials' diffuse/albedo color. This does not apply to vertex colors or
467
+ # texture maps.
480
468
  # Corresponds to the JSON property `colorSpace`
481
469
  # @return [String]
482
470
  attr_accessor :color_space
483
471
 
484
472
  # A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the
485
- # response you see "w: 1" and nothing else this is the default value of
486
- # [0, 0, 0, 1] where x,y, and z are 0.
473
+ # response you see "w: 1" and nothing else this is the default value of [0, 0, 0,
474
+ # 1] where x,y, and z are 0.
487
475
  # Corresponds to the JSON property `orientingRotation`
488
476
  # @return [Google::Apis::PolyV1::Quaternion]
489
477
  attr_accessor :orienting_rotation
@@ -501,8 +489,8 @@ module Google
501
489
  end
502
490
 
503
491
  # A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the
504
- # response you see "w: 1" and nothing else this is the default value of
505
- # [0, 0, 0, 1] where x,y, and z are 0.
492
+ # response you see "w: 1" and nothing else this is the default value of [0, 0, 0,
493
+ # 1] where x,y, and z are 0.
506
494
  class Quaternion
507
495
  include Google::Apis::Core::Hashable
508
496
 
@@ -539,13 +527,12 @@ module Google
539
527
  end
540
528
  end
541
529
 
542
- # Info about the sources of this asset (i.e. assets that were remixed to
543
- # create this asset).
530
+ # Info about the sources of this asset (i.e. assets that were remixed to create
531
+ # this asset).
544
532
  class RemixInfo
545
533
  include Google::Apis::Core::Hashable
546
534
 
547
- # Resource ids for the sources of this remix, of the form:
548
- # `assets/`ASSET_ID``
535
+ # Resource ids for the sources of this remix, of the form: `assets/`ASSET_ID``
549
536
  # Corresponds to the JSON property `sourceAsset`
550
537
  # @return [Array<String>]
551
538
  attr_accessor :source_asset
@@ -560,15 +547,14 @@ module Google
560
547
  end
561
548
  end
562
549
 
563
- # A response message from a request to
564
- # startImport. This is returned in the response
565
- # field of the Operation.
550
+ # A response message from a request to startImport. This is returned in the
551
+ # response field of the Operation.
566
552
  class StartAssetImportResponse
567
553
  include Google::Apis::Core::Hashable
568
554
 
569
- # The id of newly created asset. If this is empty when the operation is
570
- # complete it means the import failed. Please refer to the
571
- # assetImportMessages field to understand what went wrong.
555
+ # The id of newly created asset. If this is empty when the operation is complete
556
+ # it means the import failed. Please refer to the assetImportMessages field to
557
+ # understand what went wrong.
572
558
  # Corresponds to the JSON property `assetId`
573
559
  # @return [String]
574
560
  attr_accessor :asset_id
@@ -578,8 +564,8 @@ module Google
578
564
  # @return [String]
579
565
  attr_accessor :asset_import_id
580
566
 
581
- # The message from the asset import. This will contain any warnings
582
- # (or - in the case of failure - errors) that occurred during import.
567
+ # The message from the asset import. This will contain any warnings (or - in the
568
+ # case of failure - errors) that occurred during import.
583
569
  # Corresponds to the JSON property `assetImportMessages`
584
570
  # @return [Array<Google::Apis::PolyV1::AssetImportMessage>]
585
571
  attr_accessor :asset_import_messages
@@ -607,9 +593,9 @@ module Google
607
593
  include Google::Apis::Core::Hashable
608
594
 
609
595
  # Represents and describes an asset in the Poly library. An asset is a 3D model
610
- # or scene created using [Tilt Brush](//www.tiltbrush.com),
611
- # [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file
612
- # that can be upload to Poly.
596
+ # or scene created using [Tilt Brush](//www.tiltbrush.com), [Blocks](//vr.google.
597
+ # com/blocks/), or any 3D program that produces a file that can be upload to
598
+ # Poly.
613
599
  # Corresponds to the JSON property `asset`
614
600
  # @return [Google::Apis::PolyV1::Asset]
615
601
  attr_accessor :asset
@@ -22,9 +22,8 @@ module Google
22
22
  module PolyV1
23
23
  # Poly API
24
24
  #
25
- # The Poly API provides read access to assets hosted on <a href="https://poly.
26
- # google.com">poly.google.com</a> to all, and upload access to <a href="https://
27
- # poly.google.com">poly.google.com</a> for whitelisted accounts.
25
+ # The Poly API provides read access to assets hosted on poly.google.com to all,
26
+ # and upload access to poly.google.com for whitelisted accounts.
28
27
  #
29
28
  # @example
30
29
  # require 'google/apis/poly_v1'
@@ -49,10 +48,9 @@ module Google
49
48
  @batch_path = 'batch'
50
49
  end
51
50
 
52
- # Returns detailed information about an asset given its name.
53
- # PRIVATE assets are returned only if
54
- # the currently authenticated user (via OAuth token) is the author of the
55
- # asset.
51
+ # Returns detailed information about an asset given its name. PRIVATE assets are
52
+ # returned only if the currently authenticated user (via OAuth token) is the
53
+ # author of the asset.
56
54
  # @param [String] name
57
55
  # Required. An asset's name in the form `assets/`ASSET_ID``.
58
56
  # @param [String] fields
@@ -82,40 +80,35 @@ module Google
82
80
  execute_or_queue_command(command, &block)
83
81
  end
84
82
 
85
- # Lists all public, remixable assets. These are assets with an access level
86
- # of PUBLIC and published under the
87
- # CC-By license.
83
+ # Lists all public, remixable assets. These are assets with an access level of
84
+ # PUBLIC and published under the CC-By license.
88
85
  # @param [String] category
89
- # Filter assets based on the specified category. Supported values are:
90
- # `animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`,
91
- # `scenes`, `technology`, and `transport`.
86
+ # Filter assets based on the specified category. Supported values are: `animals`,
87
+ # `architecture`, `art`, `food`, `nature`, `objects`, `people`, `scenes`, `
88
+ # technology`, and `transport`.
92
89
  # @param [Boolean] curated
93
90
  # Return only assets that have been curated by the Poly team.
94
91
  # @param [String] format
95
- # Return only assets with the matching format. Acceptable values are:
96
- # `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
92
+ # Return only assets with the matching format. Acceptable values are: `BLOCKS`, `
93
+ # FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
97
94
  # @param [String] keywords
98
- # One or more search terms to be matched against all text that Poly has
99
- # indexed for assets, which includes display_name,
100
- # description, and tags. Multiple keywords should be
101
- # separated by spaces.
95
+ # One or more search terms to be matched against all text that Poly has indexed
96
+ # for assets, which includes display_name, description, and tags. Multiple
97
+ # keywords should be separated by spaces.
102
98
  # @param [String] max_complexity
103
99
  # Returns assets that are of the specified complexity or less. Defaults to
104
- # COMPLEX. For example, a request for
105
- # MEDIUM assets also includes
106
- # SIMPLE assets.
100
+ # COMPLEX. For example, a request for MEDIUM assets also includes SIMPLE assets.
107
101
  # @param [String] order_by
108
- # Specifies an ordering for assets. Acceptable values are:
109
- # `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
110
- # based on a combination of popularity and other features.
102
+ # Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `
103
+ # OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of
104
+ # popularity and other features.
111
105
  # @param [Fixnum] page_size
112
106
  # The maximum number of assets to be returned. This value must be between `1`
113
107
  # and `100`. Defaults to `20`.
114
108
  # @param [String] page_token
115
- # Specifies a continuation token from a previous search whose results were
116
- # split into multiple pages. To get the next page, submit the same request
117
- # specifying the value from
118
- # next_page_token.
109
+ # Specifies a continuation token from a previous search whose results were split
110
+ # into multiple pages. To get the next page, submit the same request specifying
111
+ # the value from next_page_token.
119
112
  # @param [String] fields
120
113
  # Selector specifying which fields to include in a partial response.
121
114
  # @param [String] quota_user
@@ -150,36 +143,31 @@ module Google
150
143
  execute_or_queue_command(command, &block)
151
144
  end
152
145
 
153
- # Lists assets authored by the given user. Only the value 'me', representing
154
- # the currently-authenticated user, is supported. May include assets with an
155
- # access level of PRIVATE or
156
- # UNLISTED and assets which are
157
- # All Rights Reserved for the
146
+ # Lists assets authored by the given user. Only the value 'me', representing the
147
+ # currently-authenticated user, is supported. May include assets with an access
148
+ # level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the
158
149
  # currently-authenticated user.
159
150
  # @param [String] name
160
151
  # A valid user id. Currently, only the special value 'me', representing the
161
- # currently-authenticated user is supported. To use 'me', you must pass
162
- # an OAuth token with the request.
152
+ # currently-authenticated user is supported. To use 'me', you must pass an OAuth
153
+ # token with the request.
163
154
  # @param [String] format
164
- # Return only assets with the matching format. Acceptable values are:
165
- # `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
155
+ # Return only assets with the matching format. Acceptable values are: `BLOCKS`, `
156
+ # FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
166
157
  # @param [String] order_by
167
- # Specifies an ordering for assets. Acceptable values are:
168
- # `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
169
- # based on a combination of popularity and other features.
158
+ # Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `
159
+ # OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of
160
+ # popularity and other features.
170
161
  # @param [Fixnum] page_size
171
162
  # The maximum number of assets to be returned. This value must be between `1`
172
163
  # and `100`. Defaults to `20`.
173
164
  # @param [String] page_token
174
- # Specifies a continuation token from a previous search whose results were
175
- # split into multiple pages. To get the next page, submit the same request
176
- # specifying the value from
177
- # next_page_token.
165
+ # Specifies a continuation token from a previous search whose results were split
166
+ # into multiple pages. To get the next page, submit the same request specifying
167
+ # the value from next_page_token.
178
168
  # @param [String] visibility
179
- # The visibility of the assets to be returned.
180
- # Defaults to
181
- # VISIBILITY_UNSPECIFIED
182
- # which returns all assets.
169
+ # The visibility of the assets to be returned. Defaults to
170
+ # VISIBILITY_UNSPECIFIED which returns all assets.
183
171
  # @param [String] fields
184
172
  # Selector specifying which fields to include in a partial response.
185
173
  # @param [String] quota_user
@@ -212,28 +200,27 @@ module Google
212
200
  execute_or_queue_command(command, &block)
213
201
  end
214
202
 
215
- # Lists assets that the user has liked. Only the value 'me', representing
216
- # the currently-authenticated user, is supported. May include assets with an
217
- # access level of UNLISTED.
203
+ # Lists assets that the user has liked. Only the value 'me', representing the
204
+ # currently-authenticated user, is supported. May include assets with an access
205
+ # level of UNLISTED.
218
206
  # @param [String] name
219
207
  # A valid user id. Currently, only the special value 'me', representing the
220
- # currently-authenticated user is supported. To use 'me', you must pass
221
- # an OAuth token with the request.
208
+ # currently-authenticated user is supported. To use 'me', you must pass an OAuth
209
+ # token with the request.
222
210
  # @param [String] format
223
- # Return only assets with the matching format. Acceptable values are:
224
- # `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
211
+ # Return only assets with the matching format. Acceptable values are: `BLOCKS`, `
212
+ # FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
225
213
  # @param [String] order_by
226
- # Specifies an ordering for assets. Acceptable values are:
227
- # `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which
228
- # ranks assets based on how recently they were liked.
214
+ # Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `
215
+ # OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which ranks assets based on
216
+ # how recently they were liked.
229
217
  # @param [Fixnum] page_size
230
218
  # The maximum number of assets to be returned. This value must be between `1`
231
219
  # and `100`. Defaults to `20`.
232
220
  # @param [String] page_token
233
- # Specifies a continuation token from a previous search whose results were
234
- # split into multiple pages. To get the next page, submit the same request
235
- # specifying the value from
236
- # next_page_token.
221
+ # Specifies a continuation token from a previous search whose results were split
222
+ # into multiple pages. To get the next page, submit the same request specifying
223
+ # the value from next_page_token.
237
224
  # @param [String] fields
238
225
  # Selector specifying which fields to include in a partial response.
239
226
  # @param [String] quota_user