google-api-client 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +37747 -36512
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
  21. data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  26. data/generated/google/apis/appsactivity_v1.rb +3 -3
  27. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  28. data/generated/google/apis/appstate_v1.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +34 -8
  31. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  32. data/generated/google/apis/calendar_v3.rb +1 -1
  33. data/generated/google/apis/calendar_v3/classes.rb +3 -5
  34. data/generated/google/apis/classroom_v1.rb +25 -22
  35. data/generated/google/apis/classroom_v1/classes.rb +910 -1001
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1064 -1272
  38. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  39. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  40. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  41. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  42. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
  44. data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
  45. data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
  46. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  47. data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
  48. data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
  49. data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
  50. data/generated/google/apis/cloudkms_v1.rb +35 -0
  51. data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
  52. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  53. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  54. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
  56. data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
  57. data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
  58. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  59. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
  61. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
  62. data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
  63. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  64. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
  65. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
  66. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
  67. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  68. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
  69. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  70. data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
  71. data/generated/google/apis/compute_beta.rb +1 -1
  72. data/generated/google/apis/compute_beta/classes.rb +813 -82
  73. data/generated/google/apis/compute_beta/representations.rb +305 -0
  74. data/generated/google/apis/compute_beta/service.rb +971 -180
  75. data/generated/google/apis/compute_v1.rb +1 -1
  76. data/generated/google/apis/compute_v1/classes.rb +147 -21
  77. data/generated/google/apis/compute_v1/representations.rb +38 -0
  78. data/generated/google/apis/compute_v1/service.rb +347 -65
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/classes.rb +2 -1
  81. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
  84. data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
  87. data/generated/google/apis/dataproc_v1/representations.rb +220 -204
  88. data/generated/google/apis/dataproc_v1/service.rb +299 -299
  89. data/generated/google/apis/datastore_v1.rb +4 -4
  90. data/generated/google/apis/datastore_v1/classes.rb +688 -688
  91. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  92. data/generated/google/apis/datastore_v1/service.rb +68 -68
  93. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  94. data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
  95. data/generated/google/apis/dns_v1.rb +1 -1
  96. data/generated/google/apis/dns_v2beta1.rb +1 -1
  97. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  98. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  99. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  100. data/generated/google/apis/drive_v2.rb +1 -1
  101. data/generated/google/apis/drive_v2/classes.rb +487 -15
  102. data/generated/google/apis/drive_v2/representations.rb +120 -0
  103. data/generated/google/apis/drive_v2/service.rb +355 -38
  104. data/generated/google/apis/drive_v3.rb +1 -1
  105. data/generated/google/apis/drive_v3/classes.rb +416 -14
  106. data/generated/google/apis/drive_v3/representations.rb +99 -0
  107. data/generated/google/apis/drive_v3/service.rb +315 -28
  108. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  109. data/generated/google/apis/games_management_v1management.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1.rb +7 -7
  112. data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
  113. data/generated/google/apis/genomics_v1/representations.rb +239 -239
  114. data/generated/google/apis/genomics_v1/service.rb +599 -599
  115. data/generated/google/apis/gmail_v1.rb +2 -2
  116. data/generated/google/apis/gmail_v1/service.rb +18 -1
  117. data/generated/google/apis/groupssettings_v1.rb +1 -1
  118. data/generated/google/apis/iam_v1.rb +1 -1
  119. data/generated/google/apis/iam_v1/classes.rb +440 -440
  120. data/generated/google/apis/iam_v1/representations.rb +96 -96
  121. data/generated/google/apis/iam_v1/service.rb +150 -150
  122. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  123. data/generated/google/apis/language_v1beta1.rb +1 -1
  124. data/generated/google/apis/language_v1beta1/classes.rb +235 -235
  125. data/generated/google/apis/language_v1beta1/representations.rb +73 -73
  126. data/generated/google/apis/language_v1beta1/service.rb +49 -49
  127. data/generated/google/apis/licensing_v1.rb +1 -1
  128. data/generated/google/apis/logging_v2beta1.rb +1 -1
  129. data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
  130. data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
  131. data/generated/google/apis/logging_v2beta1/service.rb +315 -316
  132. data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
  133. data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
  134. data/generated/google/apis/manufacturers_v1/service.rb +32 -32
  135. data/generated/google/apis/monitoring_v3.rb +4 -4
  136. data/generated/google/apis/monitoring_v3/classes.rb +229 -229
  137. data/generated/google/apis/monitoring_v3/representations.rb +45 -45
  138. data/generated/google/apis/monitoring_v3/service.rb +141 -141
  139. data/generated/google/apis/partners_v2.rb +3 -3
  140. data/generated/google/apis/partners_v2/classes.rb +1837 -483
  141. data/generated/google/apis/partners_v2/representations.rb +614 -157
  142. data/generated/google/apis/partners_v2/service.rb +881 -150
  143. data/generated/google/apis/people_v1.rb +1 -1
  144. data/generated/google/apis/people_v1/classes.rb +517 -465
  145. data/generated/google/apis/people_v1/representations.rb +138 -107
  146. data/generated/google/apis/people_v1/service.rb +56 -49
  147. data/generated/google/apis/plus_domains_v1.rb +1 -1
  148. data/generated/google/apis/plus_v1.rb +1 -1
  149. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  150. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +529 -458
  151. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
  152. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
  153. data/generated/google/apis/pubsub_v1.rb +4 -4
  154. data/generated/google/apis/pubsub_v1/classes.rb +203 -203
  155. data/generated/google/apis/pubsub_v1/representations.rb +65 -65
  156. data/generated/google/apis/pubsub_v1/service.rb +226 -217
  157. data/generated/google/apis/reseller_v1.rb +1 -1
  158. data/generated/google/apis/reseller_v1/classes.rb +213 -61
  159. data/generated/google/apis/reseller_v1/representations.rb +27 -0
  160. data/generated/google/apis/reseller_v1/service.rb +240 -47
  161. data/generated/google/apis/script_v1.rb +14 -14
  162. data/generated/google/apis/script_v1/classes.rb +95 -95
  163. data/generated/google/apis/script_v1/representations.rb +25 -25
  164. data/generated/google/apis/sheets_v4.rb +1 -1
  165. data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
  166. data/generated/google/apis/sheets_v4/representations.rb +853 -837
  167. data/generated/google/apis/sheets_v4/service.rb +32 -32
  168. data/generated/google/apis/slides_v1.rb +1 -1
  169. data/generated/google/apis/slides_v1/classes.rb +804 -748
  170. data/generated/google/apis/slides_v1/representations.rb +204 -187
  171. data/generated/google/apis/slides_v1/service.rb +16 -16
  172. data/generated/google/apis/speech_v1beta1.rb +1 -1
  173. data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
  174. data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
  175. data/generated/google/apis/speech_v1beta1/service.rb +66 -66
  176. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  177. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
  178. data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
  179. data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
  180. data/generated/google/apis/storage_v1.rb +1 -1
  181. data/generated/google/apis/storage_v1/service.rb +10 -7
  182. data/generated/google/apis/vision_v1.rb +1 -1
  183. data/generated/google/apis/vision_v1/classes.rb +1393 -865
  184. data/generated/google/apis/vision_v1/representations.rb +367 -102
  185. data/generated/google/apis/vision_v1/service.rb +4 -4
  186. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  187. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  188. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  189. data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
  190. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  191. data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
  192. data/lib/google/apis/version.rb +1 -1
  193. metadata +34 -30
@@ -22,425 +22,425 @@ module Google
22
22
  module Apis
23
23
  module CloudkmsV1beta1
24
24
 
25
- class DecryptResponse
25
+ class CloudAuditOptions
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class TestIamPermissionsRequest
31
+ class Binding
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class Policy
37
+ class EncryptRequest
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class EncryptResponse
43
+ class ListCryptoKeyVersionsResponse
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class KeyRing
49
+ class TestIamPermissionsResponse
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class ListLocationsResponse
55
+ class DestroyCryptoKeyVersionRequest
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class RestoreCryptoKeyVersionRequest
61
+ class CryptoKey
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class UpdateCryptoKeyPrimaryVersionRequest
67
+ class Rule
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class DataAccessOptions
73
+ class LogConfig
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class ListKeyRingsResponse
79
+ class SetIamPolicyRequest
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class AuditConfig
85
+ class DecryptRequest
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class CryptoKeyVersion
91
+ class Location
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class CloudAuditOptions
97
+ class ListCryptoKeysResponse
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class Binding
103
+ class Condition
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class EncryptRequest
109
+ class CounterOptions
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class ListCryptoKeyVersionsResponse
115
+ class AuditLogConfig
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class TestIamPermissionsResponse
121
+ class DecryptResponse
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class DestroyCryptoKeyVersionRequest
127
+ class TestIamPermissionsRequest
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class Rule
133
+ class KeyRing
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class CryptoKey
139
+ class EncryptResponse
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class LogConfig
145
+ class ListLocationsResponse
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class SetIamPolicyRequest
151
+ class Policy
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class DecryptRequest
157
+ class UpdateCryptoKeyPrimaryVersionRequest
158
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
159
 
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class Location
163
+ class RestoreCryptoKeyVersionRequest
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class ListCryptoKeysResponse
169
+ class DataAccessOptions
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
- class Condition
175
+ class ListKeyRingsResponse
176
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
177
 
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class CounterOptions
181
+ class AuditConfig
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class AuditLogConfig
187
+ class CryptoKeyVersion
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class DecryptResponse
193
+ class CloudAuditOptions
194
194
  # @private
195
195
  class Representation < Google::Apis::Core::JsonRepresentation
196
- property :plaintext, :base64 => true, as: 'plaintext'
197
196
  end
198
197
  end
199
198
 
200
- class TestIamPermissionsRequest
199
+ class Binding
201
200
  # @private
202
201
  class Representation < Google::Apis::Core::JsonRepresentation
203
- collection :permissions, as: 'permissions'
202
+ collection :members, as: 'members'
203
+ property :role, as: 'role'
204
204
  end
205
205
  end
206
206
 
207
- class Policy
207
+ class EncryptRequest
208
208
  # @private
209
209
  class Representation < Google::Apis::Core::JsonRepresentation
210
- property :iam_owned, as: 'iamOwned'
211
- collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1beta1::Rule, decorator: Google::Apis::CloudkmsV1beta1::Rule::Representation
212
-
213
- property :version, as: 'version'
214
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1beta1::AuditConfig, decorator: Google::Apis::CloudkmsV1beta1::AuditConfig::Representation
215
-
216
- collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1beta1::Binding, decorator: Google::Apis::CloudkmsV1beta1::Binding::Representation
217
-
218
- property :etag, :base64 => true, as: 'etag'
210
+ property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
211
+ property :plaintext, :base64 => true, as: 'plaintext'
219
212
  end
220
213
  end
221
214
 
222
- class EncryptResponse
215
+ class ListCryptoKeyVersionsResponse
223
216
  # @private
224
217
  class Representation < Google::Apis::Core::JsonRepresentation
225
- property :name, as: 'name'
226
- property :ciphertext, :base64 => true, as: 'ciphertext'
218
+ property :next_page_token, as: 'nextPageToken'
219
+ property :total_size, as: 'totalSize'
220
+ collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation
221
+
227
222
  end
228
223
  end
229
224
 
230
- class KeyRing
225
+ class TestIamPermissionsResponse
231
226
  # @private
232
227
  class Representation < Google::Apis::Core::JsonRepresentation
233
- property :name, as: 'name'
234
- property :create_time, as: 'createTime'
228
+ collection :permissions, as: 'permissions'
235
229
  end
236
230
  end
237
231
 
238
- class ListLocationsResponse
232
+ class DestroyCryptoKeyVersionRequest
239
233
  # @private
240
234
  class Representation < Google::Apis::Core::JsonRepresentation
241
- collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1beta1::Location, decorator: Google::Apis::CloudkmsV1beta1::Location::Representation
242
-
243
- property :next_page_token, as: 'nextPageToken'
244
235
  end
245
236
  end
246
237
 
247
- class RestoreCryptoKeyVersionRequest
238
+ class CryptoKey
248
239
  # @private
249
240
  class Representation < Google::Apis::Core::JsonRepresentation
241
+ property :create_time, as: 'createTime'
242
+ property :rotation_period, as: 'rotationPeriod'
243
+ property :primary, as: 'primary', class: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation
244
+
245
+ property :name, as: 'name'
246
+ property :purpose, as: 'purpose'
247
+ property :next_rotation_time, as: 'nextRotationTime'
250
248
  end
251
249
  end
252
250
 
253
- class UpdateCryptoKeyPrimaryVersionRequest
251
+ class Rule
254
252
  # @private
255
253
  class Representation < Google::Apis::Core::JsonRepresentation
256
- property :crypto_key_version_id, as: 'cryptoKeyVersionId'
254
+ collection :permissions, as: 'permissions'
255
+ property :action, as: 'action'
256
+ collection :not_in, as: 'notIn'
257
+ property :description, as: 'description'
258
+ collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1beta1::Condition, decorator: Google::Apis::CloudkmsV1beta1::Condition::Representation
259
+
260
+ collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1beta1::LogConfig, decorator: Google::Apis::CloudkmsV1beta1::LogConfig::Representation
261
+
262
+ collection :in, as: 'in'
257
263
  end
258
264
  end
259
265
 
260
- class DataAccessOptions
266
+ class LogConfig
261
267
  # @private
262
268
  class Representation < Google::Apis::Core::JsonRepresentation
269
+ property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1beta1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1beta1::DataAccessOptions::Representation
270
+
271
+ property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1beta1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1beta1::CloudAuditOptions::Representation
272
+
273
+ property :counter, as: 'counter', class: Google::Apis::CloudkmsV1beta1::CounterOptions, decorator: Google::Apis::CloudkmsV1beta1::CounterOptions::Representation
274
+
263
275
  end
264
276
  end
265
277
 
266
- class ListKeyRingsResponse
278
+ class SetIamPolicyRequest
267
279
  # @private
268
280
  class Representation < Google::Apis::Core::JsonRepresentation
269
- property :next_page_token, as: 'nextPageToken'
270
- property :total_size, as: 'totalSize'
271
- collection :key_rings, as: 'keyRings', class: Google::Apis::CloudkmsV1beta1::KeyRing, decorator: Google::Apis::CloudkmsV1beta1::KeyRing::Representation
281
+ property :policy, as: 'policy', class: Google::Apis::CloudkmsV1beta1::Policy, decorator: Google::Apis::CloudkmsV1beta1::Policy::Representation
272
282
 
283
+ property :update_mask, as: 'updateMask'
273
284
  end
274
285
  end
275
286
 
276
- class AuditConfig
287
+ class DecryptRequest
277
288
  # @private
278
289
  class Representation < Google::Apis::Core::JsonRepresentation
279
- collection :exempted_members, as: 'exemptedMembers'
280
- property :service, as: 'service'
281
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1beta1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1beta1::AuditLogConfig::Representation
282
-
290
+ property :ciphertext, :base64 => true, as: 'ciphertext'
291
+ property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
283
292
  end
284
293
  end
285
294
 
286
- class CryptoKeyVersion
295
+ class Location
287
296
  # @private
288
297
  class Representation < Google::Apis::Core::JsonRepresentation
289
- property :destroy_time, as: 'destroyTime'
290
- property :create_time, as: 'createTime'
291
- property :state, as: 'state'
292
298
  property :name, as: 'name'
293
- property :destroy_event_time, as: 'destroyEventTime'
299
+ property :location_id, as: 'locationId'
300
+ hash :metadata, as: 'metadata'
301
+ hash :labels, as: 'labels'
294
302
  end
295
303
  end
296
304
 
297
- class CloudAuditOptions
305
+ class ListCryptoKeysResponse
298
306
  # @private
299
307
  class Representation < Google::Apis::Core::JsonRepresentation
308
+ property :next_page_token, as: 'nextPageToken'
309
+ collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1beta1::CryptoKey, decorator: Google::Apis::CloudkmsV1beta1::CryptoKey::Representation
310
+
311
+ property :total_size, as: 'totalSize'
300
312
  end
301
313
  end
302
314
 
303
- class Binding
315
+ class Condition
304
316
  # @private
305
317
  class Representation < Google::Apis::Core::JsonRepresentation
306
- collection :members, as: 'members'
307
- property :role, as: 'role'
318
+ property :sys, as: 'sys'
319
+ property :value, as: 'value'
320
+ collection :values, as: 'values'
321
+ property :iam, as: 'iam'
322
+ property :op, as: 'op'
323
+ property :svc, as: 'svc'
308
324
  end
309
325
  end
310
326
 
311
- class EncryptRequest
327
+ class CounterOptions
312
328
  # @private
313
329
  class Representation < Google::Apis::Core::JsonRepresentation
314
- property :plaintext, :base64 => true, as: 'plaintext'
315
- property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
330
+ property :metric, as: 'metric'
331
+ property :field, as: 'field'
316
332
  end
317
333
  end
318
334
 
319
- class ListCryptoKeyVersionsResponse
335
+ class AuditLogConfig
320
336
  # @private
321
337
  class Representation < Google::Apis::Core::JsonRepresentation
322
- collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation
338
+ collection :exempted_members, as: 'exemptedMembers'
339
+ property :log_type, as: 'logType'
340
+ end
341
+ end
323
342
 
324
- property :next_page_token, as: 'nextPageToken'
325
- property :total_size, as: 'totalSize'
343
+ class DecryptResponse
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :plaintext, :base64 => true, as: 'plaintext'
326
347
  end
327
348
  end
328
349
 
329
- class TestIamPermissionsResponse
350
+ class TestIamPermissionsRequest
330
351
  # @private
331
352
  class Representation < Google::Apis::Core::JsonRepresentation
332
353
  collection :permissions, as: 'permissions'
333
354
  end
334
355
  end
335
356
 
336
- class DestroyCryptoKeyVersionRequest
357
+ class KeyRing
337
358
  # @private
338
359
  class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :create_time, as: 'createTime'
361
+ property :name, as: 'name'
339
362
  end
340
363
  end
341
364
 
342
- class Rule
365
+ class EncryptResponse
343
366
  # @private
344
367
  class Representation < Google::Apis::Core::JsonRepresentation
345
- collection :not_in, as: 'notIn'
346
- property :description, as: 'description'
347
- collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1beta1::Condition, decorator: Google::Apis::CloudkmsV1beta1::Condition::Representation
348
-
349
- collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1beta1::LogConfig, decorator: Google::Apis::CloudkmsV1beta1::LogConfig::Representation
350
-
351
- collection :in, as: 'in'
352
- collection :permissions, as: 'permissions'
353
- property :action, as: 'action'
368
+ property :name, as: 'name'
369
+ property :ciphertext, :base64 => true, as: 'ciphertext'
354
370
  end
355
371
  end
356
372
 
357
- class CryptoKey
373
+ class ListLocationsResponse
358
374
  # @private
359
375
  class Representation < Google::Apis::Core::JsonRepresentation
360
- property :purpose, as: 'purpose'
361
- property :next_rotation_time, as: 'nextRotationTime'
362
- property :create_time, as: 'createTime'
363
- property :rotation_period, as: 'rotationPeriod'
364
- property :primary, as: 'primary', class: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation
376
+ collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1beta1::Location, decorator: Google::Apis::CloudkmsV1beta1::Location::Representation
365
377
 
366
- property :name, as: 'name'
378
+ property :next_page_token, as: 'nextPageToken'
367
379
  end
368
380
  end
369
381
 
370
- class LogConfig
382
+ class Policy
371
383
  # @private
372
384
  class Representation < Google::Apis::Core::JsonRepresentation
373
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1beta1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1beta1::CloudAuditOptions::Representation
385
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1beta1::AuditConfig, decorator: Google::Apis::CloudkmsV1beta1::AuditConfig::Representation
374
386
 
375
- property :counter, as: 'counter', class: Google::Apis::CloudkmsV1beta1::CounterOptions, decorator: Google::Apis::CloudkmsV1beta1::CounterOptions::Representation
387
+ collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1beta1::Binding, decorator: Google::Apis::CloudkmsV1beta1::Binding::Representation
376
388
 
377
- property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1beta1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1beta1::DataAccessOptions::Representation
389
+ property :etag, :base64 => true, as: 'etag'
390
+ property :iam_owned, as: 'iamOwned'
391
+ collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1beta1::Rule, decorator: Google::Apis::CloudkmsV1beta1::Rule::Representation
378
392
 
393
+ property :version, as: 'version'
379
394
  end
380
395
  end
381
396
 
382
- class SetIamPolicyRequest
397
+ class UpdateCryptoKeyPrimaryVersionRequest
383
398
  # @private
384
399
  class Representation < Google::Apis::Core::JsonRepresentation
385
- property :policy, as: 'policy', class: Google::Apis::CloudkmsV1beta1::Policy, decorator: Google::Apis::CloudkmsV1beta1::Policy::Representation
386
-
387
- property :update_mask, as: 'updateMask'
400
+ property :crypto_key_version_id, as: 'cryptoKeyVersionId'
388
401
  end
389
402
  end
390
403
 
391
- class DecryptRequest
404
+ class RestoreCryptoKeyVersionRequest
392
405
  # @private
393
406
  class Representation < Google::Apis::Core::JsonRepresentation
394
- property :ciphertext, :base64 => true, as: 'ciphertext'
395
- property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
396
407
  end
397
408
  end
398
409
 
399
- class Location
410
+ class DataAccessOptions
400
411
  # @private
401
412
  class Representation < Google::Apis::Core::JsonRepresentation
402
- hash :labels, as: 'labels'
403
- property :name, as: 'name'
404
- property :location_id, as: 'locationId'
405
- hash :metadata, as: 'metadata'
406
413
  end
407
414
  end
408
415
 
409
- class ListCryptoKeysResponse
416
+ class ListKeyRingsResponse
410
417
  # @private
411
418
  class Representation < Google::Apis::Core::JsonRepresentation
412
419
  property :next_page_token, as: 'nextPageToken'
413
- collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1beta1::CryptoKey, decorator: Google::Apis::CloudkmsV1beta1::CryptoKey::Representation
414
-
415
420
  property :total_size, as: 'totalSize'
416
- end
417
- end
421
+ collection :key_rings, as: 'keyRings', class: Google::Apis::CloudkmsV1beta1::KeyRing, decorator: Google::Apis::CloudkmsV1beta1::KeyRing::Representation
418
422
 
419
- class Condition
420
- # @private
421
- class Representation < Google::Apis::Core::JsonRepresentation
422
- property :op, as: 'op'
423
- property :svc, as: 'svc'
424
- property :sys, as: 'sys'
425
- property :value, as: 'value'
426
- property :iam, as: 'iam'
427
- collection :values, as: 'values'
428
423
  end
429
424
  end
430
425
 
431
- class CounterOptions
426
+ class AuditConfig
432
427
  # @private
433
428
  class Representation < Google::Apis::Core::JsonRepresentation
434
- property :metric, as: 'metric'
435
- property :field, as: 'field'
429
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1beta1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1beta1::AuditLogConfig::Representation
430
+
431
+ collection :exempted_members, as: 'exemptedMembers'
432
+ property :service, as: 'service'
436
433
  end
437
434
  end
438
435
 
439
- class AuditLogConfig
436
+ class CryptoKeyVersion
440
437
  # @private
441
438
  class Representation < Google::Apis::Core::JsonRepresentation
442
- collection :exempted_members, as: 'exemptedMembers'
443
- property :log_type, as: 'logType'
439
+ property :state, as: 'state'
440
+ property :name, as: 'name'
441
+ property :destroy_event_time, as: 'destroyEventTime'
442
+ property :destroy_time, as: 'destroyTime'
443
+ property :create_time, as: 'createTime'
444
444
  end
445
445
  end
446
446
  end