google-api-client 0.9.2 → 0.9.3

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.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +9 -0
  4. data/Gemfile +1 -0
  5. data/README.md +2 -2
  6. data/api_names.yaml +19 -0
  7. data/api_names_out.yaml +843 -269
  8. data/bin/generate-api +18 -4
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +249 -9
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +208 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +68 -0
  13. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +38 -0
  14. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  15. data/generated/google/apis/admin_datatransfer_v1/representations.rb +12 -0
  16. data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/representations.rb +118 -0
  18. data/generated/google/apis/admin_reports_v1/representations.rb +26 -0
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsense_v1_4/classes.rb +0 -7
  21. data/generated/google/apis/adsense_v1_4/representations.rb +62 -1
  22. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  23. data/generated/google/apis/adsensehost_v4_1/representations.rb +40 -0
  24. data/generated/google/apis/analytics_v3.rb +1 -1
  25. data/generated/google/apis/analytics_v3/representations.rb +188 -0
  26. data/generated/google/apis/analytics_v3/service.rb +3 -3
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/representations.rb +76 -0
  29. data/generated/google/apis/androidenterprise_v1/service.rb +6 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/representations.rb +92 -0
  32. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta5/classes.rb +22 -1
  34. data/generated/google/apis/appengine_v1beta5/representations.rb +69 -0
  35. data/generated/google/apis/appengine_v1beta5/service.rb +43 -0
  36. data/generated/google/apis/appsactivity_v1/representations.rb +22 -0
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/appstate_v1/representations.rb +8 -0
  39. data/generated/google/apis/autoscaler_v1beta2/representations.rb +32 -0
  40. data/generated/google/apis/bigquery_v2.rb +1 -1
  41. data/generated/google/apis/bigquery_v2/classes.rb +31 -0
  42. data/generated/google/apis/bigquery_v2/representations.rb +98 -0
  43. data/generated/google/apis/blogger_v3/representations.rb +70 -0
  44. data/generated/google/apis/books_v1/representations.rb +196 -0
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/representations.rb +64 -0
  47. data/generated/google/apis/civicinfo_v2/representations.rb +40 -0
  48. data/generated/google/apis/classroom_v1/representations.rb +28 -0
  49. data/generated/google/apis/cloudbilling_v1/representations.rb +8 -0
  50. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  51. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  52. data/generated/google/apis/cloudbuild_v1/representations.rb +24 -0
  53. data/generated/google/apis/cloudbuild_v1/service.rb +2 -2
  54. data/generated/google/apis/clouddebugger_v2/representations.rb +54 -0
  55. data/generated/google/apis/cloudlatencytest_v2/representations.rb +14 -0
  56. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  57. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +42 -0
  58. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +15 -2
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +38 -0
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -1
  62. data/generated/google/apis/cloudtrace_v1/representations.rb +10 -0
  63. data/generated/google/apis/clouduseraccounts_beta/representations.rb +38 -0
  64. data/generated/google/apis/compute_beta.rb +1 -1
  65. data/generated/google/apis/compute_beta/classes.rb +512 -0
  66. data/generated/google/apis/compute_beta/representations.rb +599 -0
  67. data/generated/google/apis/compute_beta/service.rb +415 -0
  68. data/generated/google/apis/compute_v1.rb +1 -1
  69. data/generated/google/apis/compute_v1/representations.rb +386 -0
  70. data/generated/google/apis/container_v1/representations.rb +20 -0
  71. data/generated/google/apis/content_v2/representations.rb +296 -0
  72. data/generated/google/apis/coordinate_v1/representations.rb +36 -0
  73. data/generated/google/apis/customsearch_v1/representations.rb +26 -0
  74. data/generated/google/apis/dataproc_v1.rb +1 -1
  75. data/generated/google/apis/dataproc_v1/classes.rb +1415 -0
  76. data/generated/google/apis/dataproc_v1/representations.rb +569 -0
  77. data/generated/google/apis/dataproc_v1/service.rb +581 -4
  78. data/generated/google/apis/datastore_v1beta2/representations.rb +68 -0
  79. data/generated/google/apis/deploymentmanager_v2/representations.rb +58 -0
  80. data/generated/google/apis/dfareporting_v2_3/representations.rb +386 -0
  81. data/generated/google/apis/discovery_v1/representations.rb +40 -0
  82. data/generated/google/apis/dns_v1.rb +1 -1
  83. data/generated/google/apis/dns_v1/classes.rb +2 -2
  84. data/generated/google/apis/dns_v1/representations.rb +16 -0
  85. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +42 -0
  86. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  87. data/generated/google/apis/doubleclicksearch_v2/representations.rb +34 -0
  88. data/generated/google/apis/drive_v2.rb +1 -1
  89. data/generated/google/apis/drive_v2/classes.rb +7 -0
  90. data/generated/google/apis/drive_v2/representations.rb +83 -0
  91. data/generated/google/apis/drive_v3.rb +1 -1
  92. data/generated/google/apis/drive_v3/classes.rb +7 -0
  93. data/generated/google/apis/drive_v3/representations.rb +51 -0
  94. data/generated/google/apis/fitness_v1/representations.rb +40 -0
  95. data/generated/google/apis/fusiontables_v2.rb +1 -1
  96. data/generated/google/apis/fusiontables_v2/representations.rb +48 -0
  97. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  98. data/generated/google/apis/games_configuration_v1configuration/representations.rb +22 -0
  99. data/generated/google/apis/games_management_v1management.rb +1 -1
  100. data/generated/google/apis/games_management_v1management/representations.rb +30 -0
  101. data/generated/google/apis/games_v1.rb +1 -1
  102. data/generated/google/apis/games_v1/representations.rb +198 -0
  103. data/generated/google/apis/gan_v1beta1/representations.rb +34 -0
  104. data/generated/google/apis/genomics_v1.rb +1 -1
  105. data/generated/google/apis/genomics_v1/classes.rb +2 -211
  106. data/generated/google/apis/genomics_v1/representations.rb +119 -84
  107. data/generated/google/apis/gmail_v1/representations.rb +44 -0
  108. data/generated/google/apis/groupsmigration_v1/representations.rb +2 -0
  109. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  110. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  111. data/generated/google/apis/identitytoolkit_v3/classes.rb +105 -0
  112. data/generated/google/apis/identitytoolkit_v3/representations.rb +99 -0
  113. data/generated/google/apis/identitytoolkit_v3/service.rb +36 -1
  114. data/generated/google/apis/kgsearch_v1/representations.rb +2 -0
  115. data/generated/google/apis/licensing_v1/representations.rb +6 -0
  116. data/generated/google/apis/logging_v2beta1/representations.rb +40 -0
  117. data/generated/google/apis/manager_v1beta2/representations.rb +70 -0
  118. data/generated/google/apis/mirror_v1/representations.rb +40 -0
  119. data/generated/google/apis/oauth2_v2.rb +1 -1
  120. data/generated/google/apis/oauth2_v2/representations.rb +8 -0
  121. data/generated/google/apis/pagespeedonline_v2/representations.rb +28 -0
  122. data/generated/google/apis/partners_v2/representations.rb +52 -0
  123. data/generated/google/apis/people_v1.rb +11 -11
  124. data/generated/google/apis/people_v1/classes.rb +888 -961
  125. data/generated/google/apis/people_v1/representations.rb +295 -225
  126. data/generated/google/apis/people_v1/service.rb +61 -65
  127. data/generated/google/apis/plus_domains_v1.rb +1 -1
  128. data/generated/google/apis/plus_domains_v1/representations.rb +124 -0
  129. data/generated/google/apis/plus_v1.rb +1 -1
  130. data/generated/google/apis/plus_v1/representations.rb +102 -0
  131. data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
  132. data/generated/google/apis/prediction_v1_6/representations.rb +42 -0
  133. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +38 -0
  134. data/generated/google/apis/pubsub_v1/representations.rb +42 -0
  135. data/generated/google/apis/qpx_express_v1/representations.rb +48 -0
  136. data/generated/google/apis/replicapool_v1beta2/representations.rb +28 -0
  137. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +30 -0
  138. data/generated/google/apis/reseller_v1.rb +1 -1
  139. data/generated/google/apis/reseller_v1/classes.rb +6 -0
  140. data/generated/google/apis/reseller_v1/representations.rb +23 -0
  141. data/generated/google/apis/resourceviews_v1beta2/representations.rb +32 -0
  142. data/generated/google/apis/script_v1/representations.rb +12 -0
  143. data/generated/google/apis/site_verification_v1/representations.rb +12 -0
  144. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  145. data/generated/google/apis/sqladmin_v1beta4/classes.rb +50 -21
  146. data/generated/google/apis/sqladmin_v1beta4/representations.rb +98 -0
  147. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -3
  148. data/generated/google/apis/storage_v1.rb +1 -1
  149. data/generated/google/apis/storage_v1/representations.rb +52 -0
  150. data/generated/google/apis/storagetransfer_v1/representations.rb +48 -0
  151. data/generated/google/apis/tagmanager_v1.rb +1 -1
  152. data/generated/google/apis/tagmanager_v1/classes.rb +110 -0
  153. data/generated/google/apis/tagmanager_v1/representations.rb +96 -0
  154. data/generated/google/apis/tagmanager_v1/service.rb +303 -1
  155. data/generated/google/apis/taskqueue_v1beta2/representations.rb +12 -0
  156. data/generated/google/apis/tasks_v1/representations.rb +10 -0
  157. data/generated/google/apis/translate_v2.rb +1 -1
  158. data/generated/google/apis/translate_v2/representations.rb +12 -0
  159. data/generated/google/apis/urlshortener_v1/representations.rb +10 -0
  160. data/generated/google/apis/vision_v1.rb +37 -0
  161. data/generated/google/apis/vision_v1/classes.rb +1259 -0
  162. data/generated/google/apis/vision_v1/representations.rb +418 -0
  163. data/generated/google/apis/vision_v1/service.rb +91 -0
  164. data/generated/google/apis/webmasters_v3/representations.rb +32 -0
  165. data/generated/google/apis/youtube_analytics_v1/representations.rb +30 -0
  166. data/generated/google/apis/youtube_v3/representations.rb +332 -0
  167. data/generated/google/apis/youtubereporting_v1/representations.rb +16 -0
  168. data/google-api-client.gemspec +0 -2
  169. data/lib/google/api_client/client_secrets.rb +3 -4
  170. data/lib/google/apis/core/api_command.rb +5 -4
  171. data/lib/google/apis/core/http_command.rb +20 -4
  172. data/lib/google/apis/core/json_representation.rb +20 -2
  173. data/lib/google/apis/generator/annotator.rb +1 -1
  174. data/lib/google/apis/generator/templates/_representation_stub.tmpl +2 -0
  175. data/lib/google/apis/version.rb +1 -1
  176. data/script/generate +2 -1
  177. data/spec/google/api_client/client_secrets_spec.rb +2 -2
  178. data/spec/google/apis/core/api_command_spec.rb +2 -2
  179. data/spec/google/apis/core/http_command_spec.rb +19 -0
  180. data/spec/google/apis/core/json_representation_spec.rb +14 -7
  181. data/spec/google/apis/generator/generator_spec.rb +52 -0
  182. metadata +6 -30
@@ -24,10 +24,14 @@ module Google
24
24
 
25
25
  class Advertiser
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
27
29
  end
28
30
 
29
31
  class Advertisers
30
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
31
35
  end
32
36
 
33
37
  class CcOffer
@@ -35,19 +39,29 @@ module Google
35
39
 
36
40
  class BonusReward
37
41
  class Representation < Google::Apis::Core::JsonRepresentation; end
42
+
43
+ include Google::Apis::Core::JsonObjectSupport
38
44
  end
39
45
 
40
46
  class DefaultFee
41
47
  class Representation < Google::Apis::Core::JsonRepresentation; end
48
+
49
+ include Google::Apis::Core::JsonObjectSupport
42
50
  end
43
51
 
44
52
  class Reward
45
53
  class Representation < Google::Apis::Core::JsonRepresentation; end
54
+
55
+ include Google::Apis::Core::JsonObjectSupport
46
56
  end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
49
61
  class CcOffers
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
51
65
  end
52
66
 
53
67
  class Event
@@ -55,11 +69,17 @@ module Google
55
69
 
56
70
  class Product
57
71
  class Representation < Google::Apis::Core::JsonRepresentation; end
72
+
73
+ include Google::Apis::Core::JsonObjectSupport
58
74
  end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
59
77
  end
60
78
 
61
79
  class Events
62
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
63
83
  end
64
84
 
65
85
  class Link
@@ -67,27 +87,41 @@ module Google
67
87
 
68
88
  class SpecialOffers
69
89
  class Representation < Google::Apis::Core::JsonRepresentation; end
90
+
91
+ include Google::Apis::Core::JsonObjectSupport
70
92
  end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
71
95
  end
72
96
 
73
97
  class Links
74
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
75
101
  end
76
102
 
77
103
  class Money
78
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
79
107
  end
80
108
 
81
109
  class Publisher
82
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
83
113
  end
84
114
 
85
115
  class Publishers
86
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
87
119
  end
88
120
 
89
121
  class Report
90
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
91
125
  end
92
126
 
93
127
  class Advertiser
@@ -28,7 +28,7 @@ module Google
28
28
  # @see
29
29
  module GenomicsV1
30
30
  VERSION = 'V1'
31
- REVISION = '20160209'
31
+ REVISION = '20160219'
32
32
 
33
33
  # View and manage your data in Google BigQuery
34
34
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -129,7 +129,7 @@ module Google
129
129
  # accounts. A `role` is a named list of permissions defined by IAM. **Example** `
130
130
  # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
131
131
  # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
132
- # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
132
+ # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
133
133
  # sean@example.com"] ` ] ` For a description of IAM and its features, see the [
134
134
  # IAM developer's guide](https://cloud.google.com/iam).
135
135
  # Corresponds to the JSON property `policy`
@@ -153,7 +153,7 @@ module Google
153
153
  # accounts. A `role` is a named list of permissions defined by IAM. **Example** `
154
154
  # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
155
155
  # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
156
- # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
156
+ # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
157
157
  # sean@example.com"] ` ] ` For a description of IAM and its features, see the [
158
158
  # IAM developer's guide](https://cloud.google.com/iam).
159
159
  class Policy
@@ -171,11 +171,6 @@ module Google
171
171
  # @return [Array<Google::Apis::GenomicsV1::Binding>]
172
172
  attr_accessor :bindings
173
173
 
174
- #
175
- # Corresponds to the JSON property `rules`
176
- # @return [Array<Google::Apis::GenomicsV1::Rule>]
177
- attr_accessor :rules
178
-
179
174
  # `etag` is used for optimistic concurrency control as a way to help prevent
180
175
  # simultaneous updates of a policy from overwriting each other. It is strongly
181
176
  # suggested that systems make use of the `etag` in the read-modify-write cycle
@@ -196,7 +191,6 @@ module Google
196
191
  def update!(**args)
197
192
  @version = args[:version] if args.key?(:version)
198
193
  @bindings = args[:bindings] if args.key?(:bindings)
199
- @rules = args[:rules] if args.key?(:rules)
200
194
  @etag = args[:etag] if args.key?(:etag)
201
195
  end
202
196
  end
@@ -238,209 +232,6 @@ module Google
238
232
  end
239
233
  end
240
234
 
241
- # A rule to be applied in a Policy.
242
- class Rule
243
- include Google::Apis::Core::Hashable
244
-
245
- # Human-readable description of the rule.
246
- # Corresponds to the JSON property `description`
247
- # @return [String]
248
- attr_accessor :description
249
-
250
- # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
251
- # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
252
- # *') matches all verbs.
253
- # Corresponds to the JSON property `permissions`
254
- # @return [Array<String>]
255
- attr_accessor :permissions
256
-
257
- # Required
258
- # Corresponds to the JSON property `action`
259
- # @return [String]
260
- attr_accessor :action
261
-
262
- # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
263
- # Corresponds to the JSON property `in`
264
- # @return [Array<String>]
265
- attr_accessor :in
266
-
267
- # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of
268
- # entries. The format for in and not_in entries is the same as for members in a
269
- # Binding (see google/iam/v1/policy.proto).
270
- # Corresponds to the JSON property `notIn`
271
- # @return [Array<String>]
272
- attr_accessor :not_in
273
-
274
- # Additional restrictions that must be met
275
- # Corresponds to the JSON property `conditions`
276
- # @return [Array<Google::Apis::GenomicsV1::Condition>]
277
- attr_accessor :conditions
278
-
279
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
280
- # that match the LOG action.
281
- # Corresponds to the JSON property `logConfig`
282
- # @return [Array<Google::Apis::GenomicsV1::LogConfig>]
283
- attr_accessor :log_config
284
-
285
- def initialize(**args)
286
- update!(**args)
287
- end
288
-
289
- # Update properties of this object
290
- def update!(**args)
291
- @description = args[:description] if args.key?(:description)
292
- @permissions = args[:permissions] if args.key?(:permissions)
293
- @action = args[:action] if args.key?(:action)
294
- @in = args[:in] if args.key?(:in)
295
- @not_in = args[:not_in] if args.key?(:not_in)
296
- @conditions = args[:conditions] if args.key?(:conditions)
297
- @log_config = args[:log_config] if args.key?(:log_config)
298
- end
299
- end
300
-
301
- # A condition to be met.
302
- class Condition
303
- include Google::Apis::Core::Hashable
304
-
305
- # Trusted attributes supplied by the IAM system.
306
- # Corresponds to the JSON property `iam`
307
- # @return [String]
308
- attr_accessor :iam
309
-
310
- # Trusted attributes supplied by any service that owns resources and uses the
311
- # IAM system for access control.
312
- # Corresponds to the JSON property `sys`
313
- # @return [String]
314
- attr_accessor :sys
315
-
316
- # Trusted attributes discharged by the service.
317
- # Corresponds to the JSON property `svc`
318
- # @return [String]
319
- attr_accessor :svc
320
-
321
- # An operator to apply the subject with.
322
- # Corresponds to the JSON property `op`
323
- # @return [String]
324
- attr_accessor :op
325
-
326
- # The object of the condition. Exactly one of these must be set.
327
- # Corresponds to the JSON property `value`
328
- # @return [String]
329
- attr_accessor :value
330
-
331
- # The objects of the condition. This is mutually exclusive with 'value'.
332
- # Corresponds to the JSON property `values`
333
- # @return [Array<String>]
334
- attr_accessor :values
335
-
336
- def initialize(**args)
337
- update!(**args)
338
- end
339
-
340
- # Update properties of this object
341
- def update!(**args)
342
- @iam = args[:iam] if args.key?(:iam)
343
- @sys = args[:sys] if args.key?(:sys)
344
- @svc = args[:svc] if args.key?(:svc)
345
- @op = args[:op] if args.key?(:op)
346
- @value = args[:value] if args.key?(:value)
347
- @values = args[:values] if args.key?(:values)
348
- end
349
- end
350
-
351
- # Specifies what kind of log the caller must write Increment a streamz counter
352
- # with the specified metric and field names. Metric names should start with a '/'
353
- # , generally be lowercase-only, and end in "_count". Field names should not
354
- # contain an initial slash. The actual exported metric names will have "/iam/
355
- # policy" prepended. Field names correspond to IAM request parameters and field
356
- # values are their respective values. At present only "iam_principal",
357
- # corresponding to IAMContext.principal, is supported. Examples: counter `
358
- # metric: "/debug_access_count" field: "iam_principal" ` ==> increment counter /
359
- # iam/policy/backend_debug_access_count `iam_principal=[value of IAMContext.
360
- # principal]` At this time we do not support: * multiple field names (though
361
- # this may be supported in the future) * decrementing the counter * incrementing
362
- # it by anything other than 1
363
- class LogConfig
364
- include Google::Apis::Core::Hashable
365
-
366
- # Options for counters
367
- # Corresponds to the JSON property `counter`
368
- # @return [Google::Apis::GenomicsV1::CounterOptions]
369
- attr_accessor :counter
370
-
371
- # Write a Data Access (Gin) log
372
- # Corresponds to the JSON property `dataAccess`
373
- # @return [Google::Apis::GenomicsV1::DataAccessOptions]
374
- attr_accessor :data_access
375
-
376
- # Write a Cloud Audit log
377
- # Corresponds to the JSON property `cloudAudit`
378
- # @return [Google::Apis::GenomicsV1::CloudAuditOptions]
379
- attr_accessor :cloud_audit
380
-
381
- def initialize(**args)
382
- update!(**args)
383
- end
384
-
385
- # Update properties of this object
386
- def update!(**args)
387
- @counter = args[:counter] if args.key?(:counter)
388
- @data_access = args[:data_access] if args.key?(:data_access)
389
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
390
- end
391
- end
392
-
393
- # Options for counters
394
- class CounterOptions
395
- include Google::Apis::Core::Hashable
396
-
397
- # The metric to update.
398
- # Corresponds to the JSON property `metric`
399
- # @return [String]
400
- attr_accessor :metric
401
-
402
- # The field value to attribute.
403
- # Corresponds to the JSON property `field`
404
- # @return [String]
405
- attr_accessor :field
406
-
407
- def initialize(**args)
408
- update!(**args)
409
- end
410
-
411
- # Update properties of this object
412
- def update!(**args)
413
- @metric = args[:metric] if args.key?(:metric)
414
- @field = args[:field] if args.key?(:field)
415
- end
416
- end
417
-
418
- # Write a Data Access (Gin) log
419
- class DataAccessOptions
420
- include Google::Apis::Core::Hashable
421
-
422
- def initialize(**args)
423
- update!(**args)
424
- end
425
-
426
- # Update properties of this object
427
- def update!(**args)
428
- end
429
- end
430
-
431
- # Write a Cloud Audit log
432
- class CloudAuditOptions
433
- include Google::Apis::Core::Hashable
434
-
435
- def initialize(**args)
436
- update!(**args)
437
- end
438
-
439
- # Update properties of this object
440
- def update!(**args)
441
- end
442
- end
443
-
444
235
  # Request message for `GetIamPolicy` method.
445
236
  class GetIamPolicyRequest
446
237
  include Google::Apis::Core::Hashable
@@ -24,266 +24,362 @@ module Google
24
24
 
25
25
  class ListDatasetsResponse
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
27
29
  end
28
30
 
29
31
  class Dataset
30
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
31
35
  end
32
36
 
33
37
  class Empty
34
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
35
41
  end
36
42
 
37
43
  class UndeleteDatasetRequest
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
- end
40
45
 
41
- class SetIamPolicyRequest
42
- class Representation < Google::Apis::Core::JsonRepresentation; end
46
+ include Google::Apis::Core::JsonObjectSupport
43
47
  end
44
48
 
45
- class Policy
46
- class Representation < Google::Apis::Core::JsonRepresentation; end
47
- end
48
-
49
- class Binding
49
+ class SetIamPolicyRequest
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
- end
52
51
 
53
- class Rule
54
- class Representation < Google::Apis::Core::JsonRepresentation; end
52
+ include Google::Apis::Core::JsonObjectSupport
55
53
  end
56
54
 
57
- class Condition
58
- class Representation < Google::Apis::Core::JsonRepresentation; end
59
- end
60
-
61
- class LogConfig
55
+ class Policy
62
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
- end
64
57
 
65
- class CounterOptions
66
- class Representation < Google::Apis::Core::JsonRepresentation; end
58
+ include Google::Apis::Core::JsonObjectSupport
67
59
  end
68
60
 
69
- class DataAccessOptions
61
+ class Binding
70
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
71
- end
72
63
 
73
- class CloudAuditOptions
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
64
+ include Google::Apis::Core::JsonObjectSupport
75
65
  end
76
66
 
77
67
  class GetIamPolicyRequest
78
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
79
71
  end
80
72
 
81
73
  class TestIamPermissionsRequest
82
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
83
77
  end
84
78
 
85
79
  class TestIamPermissionsResponse
86
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
87
83
  end
88
84
 
89
85
  class Operation
90
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
91
89
  end
92
90
 
93
91
  class Status
94
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
97
  class ListOperationsResponse
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
99
101
  end
100
102
 
101
103
  class CancelOperationRequest
102
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
103
107
  end
104
108
 
105
109
  class ImportReadGroupSetsRequest
106
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
109
115
  class ExportReadGroupSetRequest
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
111
119
  end
112
120
 
113
121
  class SearchReadGroupSetsRequest
114
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
115
125
  end
116
126
 
117
127
  class SearchReadGroupSetsResponse
118
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
119
131
  end
120
132
 
121
133
  class ReadGroupSet
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
123
137
  end
124
138
 
125
139
  class ReadGroup
126
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
127
143
  end
128
144
 
129
145
  class Experiment
130
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
133
151
  class Program
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
135
155
  end
136
156
 
137
157
  class ListCoverageBucketsResponse
138
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
139
161
  end
140
162
 
141
163
  class CoverageBucket
142
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
143
167
  end
144
168
 
145
169
  class Range
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
147
173
  end
148
174
 
149
175
  class SearchReadsRequest
150
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
151
179
  end
152
180
 
153
181
  class SearchReadsResponse
154
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
155
185
  end
156
186
 
157
187
  class Read
158
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
159
191
  end
160
192
 
161
193
  class LinearAlignment
162
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
163
197
  end
164
198
 
165
199
  class Position
166
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
167
203
  end
168
204
 
169
205
  class CigarUnit
170
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
171
209
  end
172
210
 
173
211
  class StreamReadsRequest
174
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
175
215
  end
176
216
 
177
217
  class StreamReadsResponse
178
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
179
221
  end
180
222
 
181
223
  class SearchReferenceSetsRequest
182
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
183
227
  end
184
228
 
185
229
  class SearchReferenceSetsResponse
186
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
187
233
  end
188
234
 
189
235
  class ReferenceSet
190
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
191
239
  end
192
240
 
193
241
  class SearchReferencesRequest
194
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
195
245
  end
196
246
 
197
247
  class SearchReferencesResponse
198
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
199
251
  end
200
252
 
201
253
  class Reference
202
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
203
257
  end
204
258
 
205
259
  class ListBasesResponse
206
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
207
263
  end
208
264
 
209
265
  class ImportVariantsRequest
210
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
211
269
  end
212
270
 
213
271
  class VariantSet
214
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
215
275
  end
216
276
 
217
277
  class ReferenceBound
218
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
219
281
  end
220
282
 
221
283
  class VariantSetMetadata
222
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
223
287
  end
224
288
 
225
289
  class ExportVariantSetRequest
226
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
227
293
  end
228
294
 
229
295
  class SearchVariantSetsRequest
230
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
231
299
  end
232
300
 
233
301
  class SearchVariantSetsResponse
234
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
235
305
  end
236
306
 
237
307
  class SearchVariantsRequest
238
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
239
311
  end
240
312
 
241
313
  class SearchVariantsResponse
242
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
243
317
  end
244
318
 
245
319
  class Variant
246
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
247
323
  end
248
324
 
249
325
  class VariantCall
250
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
251
329
  end
252
330
 
253
331
  class SearchCallSetsRequest
254
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
255
335
  end
256
336
 
257
337
  class SearchCallSetsResponse
258
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
259
341
  end
260
342
 
261
343
  class CallSet
262
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
263
347
  end
264
348
 
265
349
  class StreamVariantsRequest
266
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
267
353
  end
268
354
 
269
355
  class StreamVariantsResponse
270
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
271
359
  end
272
360
 
273
361
  class ImportReadGroupSetsResponse
274
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
275
365
  end
276
366
 
277
367
  class ImportVariantsResponse
278
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
279
371
  end
280
372
 
281
373
  class OperationMetadata
282
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
283
377
  end
284
378
 
285
379
  class OperationEvent
286
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
287
383
  end
288
384
 
289
385
  class ListDatasetsResponse
@@ -331,8 +427,6 @@ module Google
331
427
  property :version, as: 'version'
332
428
  collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation
333
429
 
334
- collection :rules, as: 'rules', class: Google::Apis::GenomicsV1::Rule, decorator: Google::Apis::GenomicsV1::Rule::Representation
335
-
336
430
  property :etag, :base64 => true, as: 'etag'
337
431
  end
338
432
  end
@@ -345,65 +439,6 @@ module Google
345
439
  end
346
440
  end
347
441
 
348
- class Rule
349
- # @private
350
- class Representation < Google::Apis::Core::JsonRepresentation
351
- property :description, as: 'description'
352
- collection :permissions, as: 'permissions'
353
- property :action, as: 'action'
354
- collection :in, as: 'in'
355
- collection :not_in, as: 'notIn'
356
- collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::Condition, decorator: Google::Apis::GenomicsV1::Condition::Representation
357
-
358
- collection :log_config, as: 'logConfig', class: Google::Apis::GenomicsV1::LogConfig, decorator: Google::Apis::GenomicsV1::LogConfig::Representation
359
-
360
- end
361
- end
362
-
363
- class Condition
364
- # @private
365
- class Representation < Google::Apis::Core::JsonRepresentation
366
- property :iam, as: 'iam'
367
- property :sys, as: 'sys'
368
- property :svc, as: 'svc'
369
- property :op, as: 'op'
370
- property :value, as: 'value'
371
- collection :values, as: 'values'
372
- end
373
- end
374
-
375
- class LogConfig
376
- # @private
377
- class Representation < Google::Apis::Core::JsonRepresentation
378
- property :counter, as: 'counter', class: Google::Apis::GenomicsV1::CounterOptions, decorator: Google::Apis::GenomicsV1::CounterOptions::Representation
379
-
380
- property :data_access, as: 'dataAccess', class: Google::Apis::GenomicsV1::DataAccessOptions, decorator: Google::Apis::GenomicsV1::DataAccessOptions::Representation
381
-
382
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::GenomicsV1::CloudAuditOptions, decorator: Google::Apis::GenomicsV1::CloudAuditOptions::Representation
383
-
384
- end
385
- end
386
-
387
- class CounterOptions
388
- # @private
389
- class Representation < Google::Apis::Core::JsonRepresentation
390
- property :metric, as: 'metric'
391
- property :field, as: 'field'
392
- end
393
- end
394
-
395
- class DataAccessOptions
396
- # @private
397
- class Representation < Google::Apis::Core::JsonRepresentation
398
- end
399
- end
400
-
401
- class CloudAuditOptions
402
- # @private
403
- class Representation < Google::Apis::Core::JsonRepresentation
404
- end
405
- end
406
-
407
442
  class GetIamPolicyRequest
408
443
  # @private
409
444
  class Representation < Google::Apis::Core::JsonRepresentation