google-api-client 0.13.5 → 0.13.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +58 -0
  3. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1 -1
  8. data/generated/google/apis/adexchangeseller_v1/service.rb +1 -1
  9. data/generated/google/apis/adexchangeseller_v1_1/service.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -1
  11. data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1/service.rb +1 -1
  13. data/generated/google/apis/admin_reports_v1/service.rb +1 -1
  14. data/generated/google/apis/adsense_v1_4.rb +1 -1
  15. data/generated/google/apis/adsense_v1_4/service.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -1
  18. data/generated/google/apis/analytics_v2_4.rb +1 -1
  19. data/generated/google/apis/analytics_v2_4/service.rb +1 -1
  20. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  21. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +74 -54
  22. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +14 -0
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +54 -17
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +15 -18
  26. data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +15 -7
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +2 -1
  30. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1/classes.rb +324 -0
  36. data/generated/google/apis/appengine_v1/representations.rb +152 -0
  37. data/generated/google/apis/appengine_v1/service.rb +406 -0
  38. data/generated/google/apis/appengine_v1beta.rb +1 -1
  39. data/generated/google/apis/appengine_v1beta/classes.rb +59 -1
  40. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  41. data/generated/google/apis/appsactivity_v1.rb +1 -1
  42. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  43. data/generated/google/apis/appsmarket_v2/service.rb +1 -1
  44. data/generated/google/apis/appstate_v1.rb +1 -1
  45. data/generated/google/apis/appstate_v1/service.rb +1 -1
  46. data/generated/google/apis/bigquery_v2.rb +1 -1
  47. data/generated/google/apis/bigquery_v2/classes.rb +70 -0
  48. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  49. data/generated/google/apis/bigquery_v2/service.rb +37 -1
  50. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  51. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +42 -37
  52. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +4 -3
  53. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +8 -8
  54. data/generated/google/apis/blogger_v2/service.rb +1 -1
  55. data/generated/google/apis/blogger_v3/service.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +1 -1
  58. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  60. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  62. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  63. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  64. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1 -1
  65. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -1
  66. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1 -1
  67. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +1 -1
  68. data/generated/google/apis/consumersurveys_v2/service.rb +1 -1
  69. data/generated/google/apis/container_v1.rb +1 -1
  70. data/generated/google/apis/container_v1/classes.rb +1 -1
  71. data/generated/google/apis/container_v1beta1.rb +1 -1
  72. data/generated/google/apis/container_v1beta1/classes.rb +15 -1
  73. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +1 -1
  76. data/generated/google/apis/content_v2sandbox.rb +1 -1
  77. data/generated/google/apis/content_v2sandbox/service.rb +1 -1
  78. data/generated/google/apis/customsearch_v1/service.rb +1 -1
  79. data/generated/google/apis/datastore_v1.rb +1 -1
  80. data/generated/google/apis/datastore_v1/classes.rb +14 -13
  81. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  82. data/generated/google/apis/datastore_v1beta1/classes.rb +19 -18
  83. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  84. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  85. data/generated/google/apis/datastore_v1beta3/classes.rb +13 -12
  86. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  87. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  88. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -1
  89. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -1
  90. data/generated/google/apis/discovery_v1/service.rb +1 -1
  91. data/generated/google/apis/dns_v1.rb +1 -1
  92. data/generated/google/apis/dns_v2beta1.rb +1 -1
  93. data/generated/google/apis/dns_v2beta1/service.rb +1 -1
  94. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  96. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  97. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  98. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +224 -0
  99. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +63 -0
  100. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
  101. data/generated/google/apis/fitness_v1.rb +1 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +39 -0
  103. data/generated/google/apis/fitness_v1/representations.rb +18 -0
  104. data/generated/google/apis/fitness_v1/service.rb +49 -1
  105. data/generated/google/apis/fusiontables_v1/service.rb +1 -1
  106. data/generated/google/apis/fusiontables_v2/service.rb +1 -1
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  109. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/games_v1/service.rb +1 -1
  112. data/generated/google/apis/gmail_v1.rb +1 -1
  113. data/generated/google/apis/gmail_v1/classes.rb +36 -0
  114. data/generated/google/apis/gmail_v1/representations.rb +16 -0
  115. data/generated/google/apis/gmail_v1/service.rb +1 -1
  116. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  117. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  118. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  119. data/generated/google/apis/identitytoolkit_v3/classes.rb +24 -0
  120. data/generated/google/apis/identitytoolkit_v3/representations.rb +4 -0
  121. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -1
  122. data/generated/google/apis/language_v1beta2.rb +1 -1
  123. data/generated/google/apis/language_v1beta2/classes.rb +78 -0
  124. data/generated/google/apis/language_v1beta2/representations.rb +45 -0
  125. data/generated/google/apis/language_v1beta2/service.rb +30 -0
  126. data/generated/google/apis/licensing_v1/service.rb +1 -1
  127. data/generated/google/apis/logging_v2.rb +1 -1
  128. data/generated/google/apis/logging_v2/classes.rb +11 -18
  129. data/generated/google/apis/logging_v2/service.rb +116 -48
  130. data/generated/google/apis/logging_v2beta1.rb +1 -1
  131. data/generated/google/apis/logging_v2beta1/classes.rb +11 -18
  132. data/generated/google/apis/logging_v2beta1/service.rb +16 -8
  133. data/generated/google/apis/mirror_v1/service.rb +1 -1
  134. data/generated/google/apis/oauth2_v1.rb +1 -1
  135. data/generated/google/apis/oauth2_v1/service.rb +1 -1
  136. data/generated/google/apis/oauth2_v2.rb +1 -1
  137. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  138. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  139. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  140. data/generated/google/apis/plus_domains_v1.rb +1 -1
  141. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  142. data/generated/google/apis/plus_v1.rb +1 -1
  143. data/generated/google/apis/plus_v1/service.rb +1 -1
  144. data/generated/google/apis/prediction_v1_2/service.rb +1 -1
  145. data/generated/google/apis/prediction_v1_3/service.rb +1 -1
  146. data/generated/google/apis/prediction_v1_4/service.rb +1 -1
  147. data/generated/google/apis/prediction_v1_5/service.rb +1 -1
  148. data/generated/google/apis/prediction_v1_6/service.rb +1 -1
  149. data/generated/google/apis/qpx_express_v1/service.rb +1 -1
  150. data/generated/google/apis/replicapool_v1beta1/service.rb +1 -1
  151. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -1
  152. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  153. data/generated/google/apis/reseller_v1/service.rb +1 -1
  154. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -1
  155. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  156. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -256
  157. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -99
  158. data/generated/google/apis/serviceuser_v1.rb +1 -1
  159. data/generated/google/apis/serviceuser_v1/classes.rb +3 -3
  160. data/generated/google/apis/site_verification_v1/service.rb +1 -1
  161. data/generated/google/apis/spanner_v1.rb +1 -1
  162. data/generated/google/apis/spanner_v1/classes.rb +0 -458
  163. data/generated/google/apis/spanner_v1/representations.rb +0 -165
  164. data/generated/google/apis/spectrum_v1explorer/service.rb +1 -1
  165. data/generated/google/apis/sqladmin_v1beta3/service.rb +1 -1
  166. data/generated/google/apis/storage_v1.rb +1 -1
  167. data/generated/google/apis/storage_v1/classes.rb +6 -0
  168. data/generated/google/apis/storage_v1/representations.rb +1 -0
  169. data/generated/google/apis/storage_v1/service.rb +10 -3
  170. data/generated/google/apis/storage_v1beta1.rb +1 -1
  171. data/generated/google/apis/storage_v1beta1/service.rb +1 -1
  172. data/generated/google/apis/storage_v1beta2.rb +1 -1
  173. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  174. data/generated/google/apis/surveys_v2/service.rb +1 -1
  175. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  176. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  177. data/generated/google/apis/taskqueue_v1beta1/service.rb +1 -1
  178. data/generated/google/apis/tasks_v1/service.rb +1 -1
  179. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  180. data/generated/google/apis/toolresults_v1beta3/service.rb +5 -5
  181. data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
  182. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +5 -5
  183. data/generated/google/apis/urlshortener_v1/service.rb +1 -1
  184. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  185. data/generated/google/apis/videointelligence_v1beta1/classes.rb +379 -1
  186. data/generated/google/apis/videointelligence_v1beta1/representations.rb +175 -0
  187. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  188. data/generated/google/apis/webmasters_v3.rb +1 -1
  189. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  190. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  191. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  192. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  193. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +1 -1
  194. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  195. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  196. data/lib/google/apis/version.rb +1 -1
  197. metadata +2 -2
@@ -100,18 +100,6 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class CloudAuditOptions
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class Condition
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
103
  class ConfigChange
116
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
105
 
@@ -154,12 +142,6 @@ module Google
154
142
  include Google::Apis::Core::JsonObjectSupport
155
143
  end
156
144
 
157
- class CounterOptions
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
145
  class CustomAuthRequirements
164
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
147
 
@@ -184,12 +166,6 @@ module Google
184
166
  include Google::Apis::Core::JsonObjectSupport
185
167
  end
186
168
 
187
- class DataAccessOptions
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
169
  class DeleteServiceStrategy
194
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
171
 
@@ -328,12 +304,6 @@ module Google
328
304
  include Google::Apis::Core::JsonObjectSupport
329
305
  end
330
306
 
331
- class LogConfig
332
- class Representation < Google::Apis::Core::JsonRepresentation; end
333
-
334
- include Google::Apis::Core::JsonObjectSupport
335
- end
336
-
337
307
  class LogDescriptor
338
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
309
 
@@ -466,12 +436,6 @@ module Google
466
436
  include Google::Apis::Core::JsonObjectSupport
467
437
  end
468
438
 
469
- class Rule
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
439
  class Service
476
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
441
 
@@ -720,25 +684,6 @@ module Google
720
684
  end
721
685
  end
722
686
 
723
- class CloudAuditOptions
724
- # @private
725
- class Representation < Google::Apis::Core::JsonRepresentation
726
- property :log_name, as: 'logName'
727
- end
728
- end
729
-
730
- class Condition
731
- # @private
732
- class Representation < Google::Apis::Core::JsonRepresentation
733
- property :iam, as: 'iam'
734
- property :op, as: 'op'
735
- property :svc, as: 'svc'
736
- property :sys, as: 'sys'
737
- property :value, as: 'value'
738
- collection :values, as: 'values'
739
- end
740
- end
741
-
742
687
  class ConfigChange
743
688
  # @private
744
689
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -800,14 +745,6 @@ module Google
800
745
  end
801
746
  end
802
747
 
803
- class CounterOptions
804
- # @private
805
- class Representation < Google::Apis::Core::JsonRepresentation
806
- property :field, as: 'field'
807
- property :metric, as: 'metric'
808
- end
809
- end
810
-
811
748
  class CustomAuthRequirements
812
749
  # @private
813
750
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -840,13 +777,6 @@ module Google
840
777
  end
841
778
  end
842
779
 
843
- class DataAccessOptions
844
- # @private
845
- class Representation < Google::Apis::Core::JsonRepresentation
846
- property :log_mode, as: 'logMode'
847
- end
848
- end
849
-
850
780
  class DeleteServiceStrategy
851
781
  # @private
852
782
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1082,18 +1012,6 @@ module Google
1082
1012
  end
1083
1013
  end
1084
1014
 
1085
- class LogConfig
1086
- # @private
1087
- class Representation < Google::Apis::Core::JsonRepresentation
1088
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::ServicemanagementV1::CloudAuditOptions, decorator: Google::Apis::ServicemanagementV1::CloudAuditOptions::Representation
1089
-
1090
- property :counter, as: 'counter', class: Google::Apis::ServicemanagementV1::CounterOptions, decorator: Google::Apis::ServicemanagementV1::CounterOptions::Representation
1091
-
1092
- property :data_access, as: 'dataAccess', class: Google::Apis::ServicemanagementV1::DataAccessOptions, decorator: Google::Apis::ServicemanagementV1::DataAccessOptions::Representation
1093
-
1094
- end
1095
- end
1096
-
1097
1015
  class LogDescriptor
1098
1016
  # @private
1099
1017
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1289,8 +1207,6 @@ module Google
1289
1207
 
1290
1208
  property :etag, :base64 => true, as: 'etag'
1291
1209
  property :iam_owned, as: 'iamOwned'
1292
- collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::Rule, decorator: Google::Apis::ServicemanagementV1::Rule::Representation
1293
-
1294
1210
  property :version, as: 'version'
1295
1211
  end
1296
1212
  end
@@ -1336,21 +1252,6 @@ module Google
1336
1252
  end
1337
1253
  end
1338
1254
 
1339
- class Rule
1340
- # @private
1341
- class Representation < Google::Apis::Core::JsonRepresentation
1342
- property :action, as: 'action'
1343
- collection :conditions, as: 'conditions', class: Google::Apis::ServicemanagementV1::Condition, decorator: Google::Apis::ServicemanagementV1::Condition::Representation
1344
-
1345
- property :description, as: 'description'
1346
- collection :in, as: 'in'
1347
- collection :log_config, as: 'logConfig', class: Google::Apis::ServicemanagementV1::LogConfig, decorator: Google::Apis::ServicemanagementV1::LogConfig::Representation
1348
-
1349
- collection :not_in, as: 'notIn'
1350
- collection :permissions, as: 'permissions'
1351
- end
1352
- end
1353
-
1354
1255
  class Service
1355
1256
  # @private
1356
1257
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServiceuserV1
29
29
  VERSION = 'V1'
30
- REVISION = '20170811'
30
+ REVISION = '20170901'
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'
@@ -423,8 +423,8 @@ module Google
423
423
  # @return [String]
424
424
  attr_accessor :address
425
425
 
426
- # The number of seconds to wait for a response from a request. The
427
- # default depends on the deployment context.
426
+ # The number of seconds to wait for a response from a request. The default
427
+ # deadline for gRPC and HTTP requests is 5 seconds.
428
428
  # Corresponds to the JSON property `deadline`
429
429
  # @return [Float]
430
430
  attr_accessor :deadline
@@ -2267,7 +2267,7 @@ module Google
2267
2267
  include Google::Apis::Core::Hashable
2268
2268
 
2269
2269
  # If the value is `false`, it means the operation is still in progress.
2270
- # If true, the operation is completed, and either `error` or `response` is
2270
+ # If `true`, the operation is completed, and either `error` or `response` is
2271
2271
  # available.
2272
2272
  # Corresponds to the JSON property `done`
2273
2273
  # @return [Boolean]
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'siteVerification/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/siteVerification/v1'
54
54
  end
55
55
 
56
56
  # Relinquish ownership of a website or domain.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/spanner/
27
27
  module SpannerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170726'
29
+ REVISION = '20170825'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,148 +22,6 @@ module Google
22
22
  module Apis
23
23
  module SpannerV1
24
24
 
25
- # Specifies the audit configuration for a service.
26
- # The configuration determines which permission types are logged, and what
27
- # identities, if any, are exempted from logging.
28
- # An AuditConfig must have one or more AuditLogConfigs.
29
- # If there are AuditConfigs for both `allServices` and a specific service,
30
- # the union of the two AuditConfigs is used for that service: the log_types
31
- # specified in each AuditConfig are enabled, and the exempted_members in each
32
- # AuditConfig are exempted.
33
- # Example Policy with multiple AuditConfigs:
34
- # `
35
- # "audit_configs": [
36
- # `
37
- # "service": "allServices"
38
- # "audit_log_configs": [
39
- # `
40
- # "log_type": "DATA_READ",
41
- # "exempted_members": [
42
- # "user:foo@gmail.com"
43
- # ]
44
- # `,
45
- # `
46
- # "log_type": "DATA_WRITE",
47
- # `,
48
- # `
49
- # "log_type": "ADMIN_READ",
50
- # `
51
- # ]
52
- # `,
53
- # `
54
- # "service": "fooservice.googleapis.com"
55
- # "audit_log_configs": [
56
- # `
57
- # "log_type": "DATA_READ",
58
- # `,
59
- # `
60
- # "log_type": "DATA_WRITE",
61
- # "exempted_members": [
62
- # "user:bar@gmail.com"
63
- # ]
64
- # `
65
- # ]
66
- # `
67
- # ]
68
- # `
69
- # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
70
- # logging. It also exempts foo@gmail.com from DATA_READ logging, and
71
- # bar@gmail.com from DATA_WRITE logging.
72
- class AuditConfig
73
- include Google::Apis::Core::Hashable
74
-
75
- # The configuration for logging of each type of permission.
76
- # Next ID: 4
77
- # Corresponds to the JSON property `auditLogConfigs`
78
- # @return [Array<Google::Apis::SpannerV1::AuditLogConfig>]
79
- attr_accessor :audit_log_configs
80
-
81
- #
82
- # Corresponds to the JSON property `exemptedMembers`
83
- # @return [Array<String>]
84
- attr_accessor :exempted_members
85
-
86
- # Specifies a service that will be enabled for audit logging.
87
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
88
- # `allServices` is a special value that covers all services.
89
- # Corresponds to the JSON property `service`
90
- # @return [String]
91
- attr_accessor :service
92
-
93
- def initialize(**args)
94
- update!(**args)
95
- end
96
-
97
- # Update properties of this object
98
- def update!(**args)
99
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
100
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
101
- @service = args[:service] if args.key?(:service)
102
- end
103
- end
104
-
105
- # Provides the configuration for logging a type of permissions.
106
- # Example:
107
- # `
108
- # "audit_log_configs": [
109
- # `
110
- # "log_type": "DATA_READ",
111
- # "exempted_members": [
112
- # "user:foo@gmail.com"
113
- # ]
114
- # `,
115
- # `
116
- # "log_type": "DATA_WRITE",
117
- # `
118
- # ]
119
- # `
120
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
121
- # foo@gmail.com from DATA_READ logging.
122
- class AuditLogConfig
123
- include Google::Apis::Core::Hashable
124
-
125
- # Specifies the identities that do not cause logging for this type of
126
- # permission.
127
- # Follows the same format of Binding.members.
128
- # Corresponds to the JSON property `exemptedMembers`
129
- # @return [Array<String>]
130
- attr_accessor :exempted_members
131
-
132
- # The log type that this config enables.
133
- # Corresponds to the JSON property `logType`
134
- # @return [String]
135
- attr_accessor :log_type
136
-
137
- def initialize(**args)
138
- update!(**args)
139
- end
140
-
141
- # Update properties of this object
142
- def update!(**args)
143
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
144
- @log_type = args[:log_type] if args.key?(:log_type)
145
- end
146
- end
147
-
148
- # Authorization-related information used by Cloud Audit Logging.
149
- class AuthorizationLoggingOptions
150
- include Google::Apis::Core::Hashable
151
-
152
- # The type of the permission that was checked.
153
- # Corresponds to the JSON property `permissionType`
154
- # @return [String]
155
- attr_accessor :permission_type
156
-
157
- def initialize(**args)
158
- update!(**args)
159
- end
160
-
161
- # Update properties of this object
162
- def update!(**args)
163
- @permission_type = args[:permission_type] if args.key?(:permission_type)
164
- end
165
- end
166
-
167
25
  # The request for BeginTransaction.
168
26
  class BeginTransactionRequest
169
27
  include Google::Apis::Core::Hashable
@@ -354,14 +212,6 @@ module Google
354
212
  class Binding
355
213
  include Google::Apis::Core::Hashable
356
214
 
357
- # Represents an expression text. Example:
358
- # title: "User account presence"
359
- # description: "Determines whether the request has a user account"
360
- # expression: "size(request.user) > 0"
361
- # Corresponds to the JSON property `condition`
362
- # @return [Google::Apis::SpannerV1::Expr]
363
- attr_accessor :condition
364
-
365
215
  # Specifies the identities requesting access for a Cloud Platform resource.
366
216
  # `members` can have the following values:
367
217
  # * `allUsers`: A special identifier that represents anyone who is
@@ -393,7 +243,6 @@ module Google
393
243
 
394
244
  # Update properties of this object
395
245
  def update!(**args)
396
- @condition = args[:condition] if args.key?(:condition)
397
246
  @members = args[:members] if args.key?(:members)
398
247
  @role = args[:role] if args.key?(:role)
399
248
  end
@@ -441,31 +290,6 @@ module Google
441
290
  end
442
291
  end
443
292
 
444
- # Write a Cloud Audit log
445
- class CloudAuditOptions
446
- include Google::Apis::Core::Hashable
447
-
448
- # Authorization-related information used by Cloud Audit Logging.
449
- # Corresponds to the JSON property `authorizationLoggingOptions`
450
- # @return [Google::Apis::SpannerV1::AuthorizationLoggingOptions]
451
- attr_accessor :authorization_logging_options
452
-
453
- # The log_name to populate in the Cloud Audit Record.
454
- # Corresponds to the JSON property `logName`
455
- # @return [String]
456
- attr_accessor :log_name
457
-
458
- def initialize(**args)
459
- update!(**args)
460
- end
461
-
462
- # Update properties of this object
463
- def update!(**args)
464
- @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
465
- @log_name = args[:log_name] if args.key?(:log_name)
466
- end
467
- end
468
-
469
293
  # The request for Commit.
470
294
  class CommitRequest
471
295
  include Google::Apis::Core::Hashable
@@ -686,81 +510,6 @@ module Google
686
510
  end
687
511
  end
688
512
 
689
- # A condition to be met.
690
- class Condition
691
- include Google::Apis::Core::Hashable
692
-
693
- # Trusted attributes supplied by the IAM system.
694
- # Corresponds to the JSON property `iam`
695
- # @return [String]
696
- attr_accessor :iam
697
-
698
- # An operator to apply the subject with.
699
- # Corresponds to the JSON property `op`
700
- # @return [String]
701
- attr_accessor :op
702
-
703
- # Trusted attributes discharged by the service.
704
- # Corresponds to the JSON property `svc`
705
- # @return [String]
706
- attr_accessor :svc
707
-
708
- # Trusted attributes supplied by any service that owns resources and uses
709
- # the IAM system for access control.
710
- # Corresponds to the JSON property `sys`
711
- # @return [String]
712
- attr_accessor :sys
713
-
714
- # DEPRECATED. Use 'values' instead.
715
- # Corresponds to the JSON property `value`
716
- # @return [String]
717
- attr_accessor :value
718
-
719
- # The objects of the condition. This is mutually exclusive with 'value'.
720
- # Corresponds to the JSON property `values`
721
- # @return [Array<String>]
722
- attr_accessor :values
723
-
724
- def initialize(**args)
725
- update!(**args)
726
- end
727
-
728
- # Update properties of this object
729
- def update!(**args)
730
- @iam = args[:iam] if args.key?(:iam)
731
- @op = args[:op] if args.key?(:op)
732
- @svc = args[:svc] if args.key?(:svc)
733
- @sys = args[:sys] if args.key?(:sys)
734
- @value = args[:value] if args.key?(:value)
735
- @values = args[:values] if args.key?(:values)
736
- end
737
- end
738
-
739
- # Options for counters
740
- class CounterOptions
741
- include Google::Apis::Core::Hashable
742
-
743
- # The field value to attribute.
744
- # Corresponds to the JSON property `field`
745
- # @return [String]
746
- attr_accessor :field
747
-
748
- # The metric to update.
749
- # Corresponds to the JSON property `metric`
750
- # @return [String]
751
- attr_accessor :metric
752
-
753
- def initialize(**args)
754
- update!(**args)
755
- end
756
-
757
- # Update properties of this object
758
- def update!(**args)
759
- @field = args[:field] if args.key?(:field)
760
- @metric = args[:metric] if args.key?(:metric)
761
- end
762
- end
763
-
764
513
  # Metadata type for the operation returned by
765
514
  # CreateDatabase.
766
515
  class CreateDatabaseMetadata
@@ -882,19 +631,6 @@ module Google
882
631
  end
883
632
  end
884
633
 
885
- # Write a Data Access (Gin) log
886
- class DataAccessOptions
887
- include Google::Apis::Core::Hashable
888
-
889
- def initialize(**args)
890
- update!(**args)
891
- end
892
-
893
- # Update properties of this object
894
- def update!(**args)
895
- end
896
- end
897
-
898
634
  # A Cloud Spanner database.
899
635
  class Database
900
636
  include Google::Apis::Core::Hashable
@@ -1049,53 +785,6 @@ module Google
1049
785
  end
1050
786
  end
1051
787
 
1052
- # Represents an expression text. Example:
1053
- # title: "User account presence"
1054
- # description: "Determines whether the request has a user account"
1055
- # expression: "size(request.user) > 0"
1056
- class Expr
1057
- include Google::Apis::Core::Hashable
1058
-
1059
- # An optional description of the expression. This is a longer text which
1060
- # describes the expression, e.g. when hovered over it in a UI.
1061
- # Corresponds to the JSON property `description`
1062
- # @return [String]
1063
- attr_accessor :description
1064
-
1065
- # Textual representation of an expression in
1066
- # Common Expression Language syntax.
1067
- # The application context of the containing message determines which
1068
- # well-known feature set of CEL is supported.
1069
- # Corresponds to the JSON property `expression`
1070
- # @return [String]
1071
- attr_accessor :expression
1072
-
1073
- # An optional string indicating the location of the expression for error
1074
- # reporting, e.g. a file name and a position in the file.
1075
- # Corresponds to the JSON property `location`
1076
- # @return [String]
1077
- attr_accessor :location
1078
-
1079
- # An optional title for the expression, i.e. a short string describing
1080
- # its purpose. This can be used e.g. in UIs which allow to enter the
1081
- # expression.
1082
- # Corresponds to the JSON property `title`
1083
- # @return [String]
1084
- attr_accessor :title
1085
-
1086
- def initialize(**args)
1087
- update!(**args)
1088
- end
1089
-
1090
- # Update properties of this object
1091
- def update!(**args)
1092
- @description = args[:description] if args.key?(:description)
1093
- @expression = args[:expression] if args.key?(:expression)
1094
- @location = args[:location] if args.key?(:location)
1095
- @title = args[:title] if args.key?(:title)
1096
- end
1097
- end
1098
-
1099
788
  # Message representing a single field of a struct.
1100
789
  class Field
1101
790
  include Google::Apis::Core::Hashable
@@ -1526,54 +1215,6 @@ module Google
1526
1215
  end
1527
1216
  end
1528
1217
 
1529
- # Specifies what kind of log the caller must write
1530
- # Increment a streamz counter with the specified metric and field names.
1531
- # Metric names should start with a '/', generally be lowercase-only,
1532
- # and end in "_count". Field names should not contain an initial slash.
1533
- # The actual exported metric names will have "/iam/policy" prepended.
1534
- # Field names correspond to IAM request parameters and field values are
1535
- # their respective values.
1536
- # At present the only supported field names are
1537
- # - "iam_principal", corresponding to IAMContext.principal;
1538
- # - "" (empty string), resulting in one aggretated counter with no field.
1539
- # Examples:
1540
- # counter ` metric: "/debug_access_count" field: "iam_principal" `
1541
- # ==> increment counter /iam/policy/backend_debug_access_count
1542
- # `iam_principal=[value of IAMContext.principal]`
1543
- # At this time we do not support:
1544
- # * multiple field names (though this may be supported in the future)
1545
- # * decrementing the counter
1546
- # * incrementing it by anything other than 1
1547
- class LogConfig
1548
- include Google::Apis::Core::Hashable
1549
-
1550
- # Write a Cloud Audit log
1551
- # Corresponds to the JSON property `cloudAudit`
1552
- # @return [Google::Apis::SpannerV1::CloudAuditOptions]
1553
- attr_accessor :cloud_audit
1554
-
1555
- # Options for counters
1556
- # Corresponds to the JSON property `counter`
1557
- # @return [Google::Apis::SpannerV1::CounterOptions]
1558
- attr_accessor :counter
1559
-
1560
- # Write a Data Access (Gin) log
1561
- # Corresponds to the JSON property `dataAccess`
1562
- # @return [Google::Apis::SpannerV1::DataAccessOptions]
1563
- attr_accessor :data_access
1564
-
1565
- def initialize(**args)
1566
- update!(**args)
1567
- end
1568
-
1569
- # Update properties of this object
1570
- def update!(**args)
1571
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
1572
- @counter = args[:counter] if args.key?(:counter)
1573
- @data_access = args[:data_access] if args.key?(:data_access)
1574
- end
1575
- end
1576
-
1577
1218
  # A modification to one or more Cloud Spanner rows. Mutations can be
1578
1219
  # applied to a Cloud Spanner database by sending them in a
1579
1220
  # Commit call.
@@ -1929,11 +1570,6 @@ module Google
1929
1570
  class Policy
1930
1571
  include Google::Apis::Core::Hashable
1931
1572
 
1932
- # Specifies cloud audit logging configuration for this policy.
1933
- # Corresponds to the JSON property `auditConfigs`
1934
- # @return [Array<Google::Apis::SpannerV1::AuditConfig>]
1935
- attr_accessor :audit_configs
1936
-
1937
1573
  # Associates a list of `members` to a `role`.
1938
1574
  # `bindings` with no members will result in an error.
1939
1575
  # Corresponds to the JSON property `bindings`
@@ -1954,25 +1590,6 @@ module Google
1954
1590
  # @return [String]
1955
1591
  attr_accessor :etag
1956
1592
 
1957
- #
1958
- # Corresponds to the JSON property `iamOwned`
1959
- # @return [Boolean]
1960
- attr_accessor :iam_owned
1961
- alias_method :iam_owned?, :iam_owned
1962
-
1963
- # If more than one rule is specified, the rules are applied in the following
1964
- # manner:
1965
- # - All matching LOG rules are always applied.
1966
- # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
1967
- # Logging will be applied if one or more matching rule requires logging.
1968
- # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
1969
- # granted.
1970
- # Logging will be applied if one or more matching rule requires logging.
1971
- # - Otherwise, if no rule applies, permission is denied.
1972
- # Corresponds to the JSON property `rules`
1973
- # @return [Array<Google::Apis::SpannerV1::Rule>]
1974
- attr_accessor :rules
1975
-
1976
1593
  # Version of the `Policy`. The default version is 0.
1977
1594
  # Corresponds to the JSON property `version`
1978
1595
  # @return [Fixnum]
@@ -1984,11 +1601,8 @@ module Google
1984
1601
 
1985
1602
  # Update properties of this object
1986
1603
  def update!(**args)
1987
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1988
1604
  @bindings = args[:bindings] if args.key?(:bindings)
1989
1605
  @etag = args[:etag] if args.key?(:etag)
1990
- @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
1991
- @rules = args[:rules] if args.key?(:rules)
1992
1606
  @version = args[:version] if args.key?(:version)
1993
1607
  end
1994
1608
  end
@@ -2298,68 +1912,6 @@ module Google
2298
1912
  end
2299
1913
  end
2300
1914
 
2301
- # A rule to be applied in a Policy.
2302
- class Rule
2303
- include Google::Apis::Core::Hashable
2304
-
2305
- # Required
2306
- # Corresponds to the JSON property `action`
2307
- # @return [String]
2308
- attr_accessor :action
2309
-
2310
- # Additional restrictions that must be met
2311
- # Corresponds to the JSON property `conditions`
2312
- # @return [Array<Google::Apis::SpannerV1::Condition>]
2313
- attr_accessor :conditions
2314
-
2315
- # Human-readable description of the rule.
2316
- # Corresponds to the JSON property `description`
2317
- # @return [String]
2318
- attr_accessor :description
2319
-
2320
- # If one or more 'in' clauses are specified, the rule matches if
2321
- # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
2322
- # Corresponds to the JSON property `in`
2323
- # @return [Array<String>]
2324
- attr_accessor :in
2325
-
2326
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
2327
- # that match the LOG action.
2328
- # Corresponds to the JSON property `logConfig`
2329
- # @return [Array<Google::Apis::SpannerV1::LogConfig>]
2330
- attr_accessor :log_config
2331
-
2332
- # If one or more 'not_in' clauses are specified, the rule matches
2333
- # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
2334
- # The format for in and not_in entries is the same as for members in a
2335
- # Binding (see google/iam/v1/policy.proto).
2336
- # Corresponds to the JSON property `notIn`
2337
- # @return [Array<String>]
2338
- attr_accessor :not_in
2339
-
2340
- # A permission is a string of form '<service>.<resource type>.<verb>'
2341
- # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
2342
- # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
2343
- # Corresponds to the JSON property `permissions`
2344
- # @return [Array<String>]
2345
- attr_accessor :permissions
2346
-
2347
- def initialize(**args)
2348
- update!(**args)
2349
- end
2350
-
2351
- # Update properties of this object
2352
- def update!(**args)
2353
- @action = args[:action] if args.key?(:action)
2354
- @conditions = args[:conditions] if args.key?(:conditions)
2355
- @description = args[:description] if args.key?(:description)
2356
- @in = args[:in] if args.key?(:in)
2357
- @log_config = args[:log_config] if args.key?(:log_config)
2358
- @not_in = args[:not_in] if args.key?(:not_in)
2359
- @permissions = args[:permissions] if args.key?(:permissions)
2360
- end
2361
- end
2362
-
2363
1915
  # A session in the Cloud Spanner API.
2364
1916
  class Session
2365
1917
  include Google::Apis::Core::Hashable
@@ -2413,15 +1965,6 @@ module Google
2413
1965
  # @return [Google::Apis::SpannerV1::Policy]
2414
1966
  attr_accessor :policy
2415
1967
 
2416
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2417
- # the fields in the mask will be modified. If no mask is provided, the
2418
- # following default mask is used:
2419
- # paths: "bindings, etag"
2420
- # This field is only used by Cloud IAM.
2421
- # Corresponds to the JSON property `updateMask`
2422
- # @return [String]
2423
- attr_accessor :update_mask
2424
-
2425
1968
  def initialize(**args)
2426
1969
  update!(**args)
2427
1970
  end
@@ -2429,7 +1972,6 @@ module Google
2429
1972
  # Update properties of this object
2430
1973
  def update!(**args)
2431
1974
  @policy = args[:policy] if args.key?(:policy)
2432
- @update_mask = args[:update_mask] if args.key?(:update_mask)
2433
1975
  end
2434
1976
  end
2435
1977