google-api-client 0.9.28 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +10 -0
- data/api_names.yaml +36512 -36326
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +3 -3
- data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
- data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
- data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
- data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
- data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
- data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
- data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
- data/generated/google/apis/cloudtrace_v1.rb +8 -8
- data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +406 -31
- data/generated/google/apis/compute_beta/representations.rb +154 -0
- data/generated/google/apis/compute_beta/service.rb +262 -9
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +17 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
- data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
- data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
- data/generated/google/apis/dataproc_v1/representations.rb +262 -244
- data/generated/google/apis/dataproc_v1/service.rb +298 -243
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +728 -728
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +932 -932
- data/generated/google/apis/genomics_v1/representations.rb +205 -205
- data/generated/google/apis/genomics_v1/service.rb +1228 -1228
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +60 -60
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +21 -21
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +232 -232
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
- data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
- data/generated/google/apis/logging_v2beta1/service.rb +331 -306
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -253
- data/generated/google/apis/monitoring_v3/representations.rb +58 -58
- data/generated/google/apis/monitoring_v3/service.rb +135 -135
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +985 -855
- data/generated/google/apis/people_v1/representations.rb +227 -220
- data/generated/google/apis/people_v1/service.rb +58 -52
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +257 -257
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +390 -390
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +149 -141
- data/generated/google/apis/script_v1/representations.rb +26 -27
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
- data/generated/google/apis/sheets_v4/representations.rb +850 -834
- data/generated/google/apis/sheets_v4/service.rb +192 -192
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +927 -800
- data/generated/google/apis/slides_v1/representations.rb +253 -211
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
- data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
- data/generated/google/apis/speech_v1beta1/service.rb +51 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +888 -885
- data/generated/google/apis/vision_v1/representations.rb +139 -139
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
- data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
- data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- metadata +36 -30
@@ -22,319 +22,319 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
-
class
|
25
|
+
class CreateServiceAccountRequest
|
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
|
31
|
+
class ListServiceAccountsResponse
|
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
|
37
|
+
class QueryGrantableRolesResponse
|
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
|
43
|
+
class SignBlobRequest
|
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
|
49
|
+
class Role
|
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
|
55
|
+
class SetIamPolicyRequest
|
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
|
61
|
+
class Binding
|
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
|
67
|
+
class QueryGrantableRolesRequest
|
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
|
73
|
+
class Empty
|
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
|
79
|
+
class ServiceAccount
|
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
|
85
|
+
class ListServiceAccountKeysResponse
|
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
|
91
|
+
class TestIamPermissionsResponse
|
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
|
97
|
+
class ServiceAccountKey
|
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
|
103
|
+
class CreateServiceAccountKeyRequest
|
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
|
109
|
+
class TestIamPermissionsRequest
|
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
|
115
|
+
class SignBlobResponse
|
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
|
121
|
+
class SignJwtResponse
|
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
|
127
|
+
class SignJwtRequest
|
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
|
133
|
+
class Policy
|
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
|
139
|
+
class AuditData
|
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
|
145
|
+
class BindingDelta
|
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
|
151
|
+
class PolicyDelta
|
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
|
157
|
+
class CreateServiceAccountRequest
|
158
158
|
# @private
|
159
159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
-
property :
|
161
|
-
|
162
|
-
property :
|
163
|
-
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
164
|
-
property :name, as: 'name'
|
165
|
-
property :valid_before_time, as: 'validBeforeTime'
|
166
|
-
property :key_algorithm, as: 'keyAlgorithm'
|
160
|
+
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
161
|
+
|
162
|
+
property :account_id, as: 'accountId'
|
167
163
|
end
|
168
164
|
end
|
169
165
|
|
170
|
-
class
|
166
|
+
class ListServiceAccountsResponse
|
171
167
|
# @private
|
172
168
|
class Representation < Google::Apis::Core::JsonRepresentation
|
173
|
-
|
174
|
-
|
169
|
+
collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
170
|
+
|
171
|
+
property :next_page_token, as: 'nextPageToken'
|
175
172
|
end
|
176
173
|
end
|
177
174
|
|
178
|
-
class
|
175
|
+
class QueryGrantableRolesResponse
|
179
176
|
# @private
|
180
177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
181
|
-
|
182
|
-
|
178
|
+
collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation
|
179
|
+
|
183
180
|
end
|
184
181
|
end
|
185
182
|
|
186
|
-
class
|
183
|
+
class SignBlobRequest
|
187
184
|
# @private
|
188
185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
189
|
-
property :
|
190
|
-
property :key_id, as: 'keyId'
|
186
|
+
property :bytes_to_sign, :base64 => true, as: 'bytesToSign'
|
191
187
|
end
|
192
188
|
end
|
193
189
|
|
194
|
-
class
|
190
|
+
class Role
|
195
191
|
# @private
|
196
192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
-
|
193
|
+
property :title, as: 'title'
|
194
|
+
property :name, as: 'name'
|
195
|
+
property :description, as: 'description'
|
198
196
|
end
|
199
197
|
end
|
200
198
|
|
201
|
-
class
|
199
|
+
class SetIamPolicyRequest
|
202
200
|
# @private
|
203
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
204
|
-
property :
|
205
|
-
property :version, as: 'version'
|
206
|
-
collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
202
|
+
property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation
|
207
203
|
|
208
204
|
end
|
209
205
|
end
|
210
206
|
|
211
|
-
class
|
207
|
+
class Binding
|
212
208
|
# @private
|
213
209
|
class Representation < Google::Apis::Core::JsonRepresentation
|
214
|
-
|
210
|
+
collection :members, as: 'members'
|
211
|
+
property :role, as: 'role'
|
215
212
|
end
|
216
213
|
end
|
217
214
|
|
218
|
-
class
|
215
|
+
class QueryGrantableRolesRequest
|
219
216
|
# @private
|
220
217
|
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
-
property :
|
222
|
-
|
218
|
+
property :full_resource_name, as: 'fullResourceName'
|
223
219
|
end
|
224
220
|
end
|
225
221
|
|
226
|
-
class
|
222
|
+
class Empty
|
227
223
|
# @private
|
228
224
|
class Representation < Google::Apis::Core::JsonRepresentation
|
229
|
-
property :action, as: 'action'
|
230
|
-
property :member, as: 'member'
|
231
|
-
property :role, as: 'role'
|
232
225
|
end
|
233
226
|
end
|
234
227
|
|
235
|
-
class
|
228
|
+
class ServiceAccount
|
236
229
|
# @private
|
237
230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
-
|
239
|
-
|
231
|
+
property :unique_id, as: 'uniqueId'
|
232
|
+
property :oauth2_client_id, as: 'oauth2ClientId'
|
233
|
+
property :display_name, as: 'displayName'
|
234
|
+
property :etag, :base64 => true, as: 'etag'
|
235
|
+
property :name, as: 'name'
|
236
|
+
property :email, as: 'email'
|
237
|
+
property :project_id, as: 'projectId'
|
240
238
|
end
|
241
239
|
end
|
242
240
|
|
243
|
-
class
|
241
|
+
class ListServiceAccountKeysResponse
|
244
242
|
# @private
|
245
243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
246
|
-
|
247
|
-
collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
244
|
+
collection :keys, as: 'keys', class: Google::Apis::IamV1::ServiceAccountKey, decorator: Google::Apis::IamV1::ServiceAccountKey::Representation
|
248
245
|
|
249
246
|
end
|
250
247
|
end
|
251
248
|
|
252
|
-
class
|
249
|
+
class TestIamPermissionsResponse
|
253
250
|
# @private
|
254
251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
255
|
-
|
256
|
-
|
257
|
-
property :account_id, as: 'accountId'
|
252
|
+
collection :permissions, as: 'permissions'
|
258
253
|
end
|
259
254
|
end
|
260
255
|
|
261
|
-
class
|
256
|
+
class ServiceAccountKey
|
262
257
|
# @private
|
263
258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
264
|
-
|
265
|
-
|
259
|
+
property :name, as: 'name'
|
260
|
+
property :valid_before_time, as: 'validBeforeTime'
|
261
|
+
property :key_algorithm, as: 'keyAlgorithm'
|
262
|
+
property :valid_after_time, as: 'validAfterTime'
|
263
|
+
property :private_key_type, as: 'privateKeyType'
|
264
|
+
property :private_key_data, :base64 => true, as: 'privateKeyData'
|
265
|
+
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
266
266
|
end
|
267
267
|
end
|
268
268
|
|
269
|
-
class
|
269
|
+
class CreateServiceAccountKeyRequest
|
270
270
|
# @private
|
271
271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
272
|
-
property :
|
272
|
+
property :key_algorithm, as: 'keyAlgorithm'
|
273
|
+
property :private_key_type, as: 'privateKeyType'
|
273
274
|
end
|
274
275
|
end
|
275
276
|
|
276
|
-
class
|
277
|
+
class TestIamPermissionsRequest
|
277
278
|
# @private
|
278
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
279
|
-
|
280
|
-
property :description, as: 'description'
|
281
|
-
property :title, as: 'title'
|
280
|
+
collection :permissions, as: 'permissions'
|
282
281
|
end
|
283
282
|
end
|
284
283
|
|
285
|
-
class
|
284
|
+
class SignBlobResponse
|
286
285
|
# @private
|
287
286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
-
property :
|
289
|
-
|
287
|
+
property :key_id, as: 'keyId'
|
288
|
+
property :signature, :base64 => true, as: 'signature'
|
290
289
|
end
|
291
290
|
end
|
292
291
|
|
293
|
-
class
|
292
|
+
class SignJwtResponse
|
294
293
|
# @private
|
295
294
|
class Representation < Google::Apis::Core::JsonRepresentation
|
296
|
-
|
297
|
-
property :
|
295
|
+
property :key_id, as: 'keyId'
|
296
|
+
property :signed_jwt, as: 'signedJwt'
|
298
297
|
end
|
299
298
|
end
|
300
299
|
|
301
|
-
class
|
300
|
+
class SignJwtRequest
|
302
301
|
# @private
|
303
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
304
|
-
property :
|
303
|
+
property :payload, as: 'payload'
|
305
304
|
end
|
306
305
|
end
|
307
306
|
|
308
|
-
class
|
307
|
+
class Policy
|
309
308
|
# @private
|
310
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :version, as: 'version'
|
311
|
+
collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
312
|
+
|
313
|
+
property :etag, :base64 => true, as: 'etag'
|
311
314
|
end
|
312
315
|
end
|
313
316
|
|
314
|
-
class
|
317
|
+
class AuditData
|
315
318
|
# @private
|
316
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
317
|
-
property :
|
318
|
-
|
319
|
-
property :email, as: 'email'
|
320
|
-
property :name, as: 'name'
|
321
|
-
property :project_id, as: 'projectId'
|
322
|
-
property :unique_id, as: 'uniqueId'
|
323
|
-
property :oauth2_client_id, as: 'oauth2ClientId'
|
320
|
+
property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation
|
321
|
+
|
324
322
|
end
|
325
323
|
end
|
326
324
|
|
327
|
-
class
|
325
|
+
class BindingDelta
|
328
326
|
# @private
|
329
327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
330
|
-
|
328
|
+
property :action, as: 'action'
|
329
|
+
property :member, as: 'member'
|
330
|
+
property :role, as: 'role'
|
331
331
|
end
|
332
332
|
end
|
333
333
|
|
334
|
-
class
|
334
|
+
class PolicyDelta
|
335
335
|
# @private
|
336
336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
-
collection :
|
337
|
+
collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation
|
338
338
|
|
339
339
|
end
|
340
340
|
end
|
@@ -48,38 +48,6 @@ module Google
|
|
48
48
|
super('https://iam.googleapis.com/', '')
|
49
49
|
end
|
50
50
|
|
51
|
-
# Queries roles that can be granted on a particular resource.
|
52
|
-
# A role is grantable if it can be used as the role in a binding for a policy
|
53
|
-
# for that resource.
|
54
|
-
# @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
|
55
|
-
# @param [String] fields
|
56
|
-
# Selector specifying which fields to include in a partial response.
|
57
|
-
# @param [String] quota_user
|
58
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
-
# @param [Google::Apis::RequestOptions] options
|
61
|
-
# Request-specific options
|
62
|
-
#
|
63
|
-
# @yield [result, err] Result & error if block supplied
|
64
|
-
# @yieldparam result [Google::Apis::IamV1::QueryGrantableRolesResponse] parsed result object
|
65
|
-
# @yieldparam err [StandardError] error object if request failed
|
66
|
-
#
|
67
|
-
# @return [Google::Apis::IamV1::QueryGrantableRolesResponse]
|
68
|
-
#
|
69
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
|
-
def query_grantable_roles(query_grantable_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
-
command = make_simple_command(:post, 'v1/roles:queryGrantableRoles', options)
|
74
|
-
command.request_representation = Google::Apis::IamV1::QueryGrantableRolesRequest::Representation
|
75
|
-
command.request_object = query_grantable_roles_request_object
|
76
|
-
command.response_representation = Google::Apis::IamV1::QueryGrantableRolesResponse::Representation
|
77
|
-
command.response_class = Google::Apis::IamV1::QueryGrantableRolesResponse
|
78
|
-
command.query['fields'] = fields unless fields.nil?
|
79
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
-
execute_or_queue_command(command, &block)
|
81
|
-
end
|
82
|
-
|
83
51
|
# Creates a ServiceAccount
|
84
52
|
# and returns it.
|
85
53
|
# @param [String] name
|
@@ -370,6 +338,43 @@ module Google
|
|
370
338
|
execute_or_queue_command(command, &block)
|
371
339
|
end
|
372
340
|
|
341
|
+
# Signs a blob using a service account's system-managed private key.
|
342
|
+
# @param [String] name
|
343
|
+
# The resource name of the service account in the following format:
|
344
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
345
|
+
# Using `-` as a wildcard for the project will infer the project from
|
346
|
+
# the account. The `account` value can be the `email` address or the
|
347
|
+
# `unique_id` of the service account.
|
348
|
+
# @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object
|
349
|
+
# @param [String] fields
|
350
|
+
# Selector specifying which fields to include in a partial response.
|
351
|
+
# @param [String] quota_user
|
352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
354
|
+
# @param [Google::Apis::RequestOptions] options
|
355
|
+
# Request-specific options
|
356
|
+
#
|
357
|
+
# @yield [result, err] Result & error if block supplied
|
358
|
+
# @yieldparam result [Google::Apis::IamV1::SignBlobResponse] parsed result object
|
359
|
+
# @yieldparam err [StandardError] error object if request failed
|
360
|
+
#
|
361
|
+
# @return [Google::Apis::IamV1::SignBlobResponse]
|
362
|
+
#
|
363
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
364
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
365
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
366
|
+
def sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
367
|
+
command = make_simple_command(:post, 'v1/{+name}:signBlob', options)
|
368
|
+
command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation
|
369
|
+
command.request_object = sign_blob_request_object
|
370
|
+
command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation
|
371
|
+
command.response_class = Google::Apis::IamV1::SignBlobResponse
|
372
|
+
command.params['name'] = name unless name.nil?
|
373
|
+
command.query['fields'] = fields unless fields.nil?
|
374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
375
|
+
execute_or_queue_command(command, &block)
|
376
|
+
end
|
377
|
+
|
373
378
|
# Lists ServiceAccounts for a project.
|
374
379
|
# @param [String] name
|
375
380
|
# Required. The resource name of the project associated with the service
|
@@ -411,14 +416,15 @@ module Google
|
|
411
416
|
execute_or_queue_command(command, &block)
|
412
417
|
end
|
413
418
|
|
414
|
-
#
|
419
|
+
# Creates a ServiceAccountKey
|
420
|
+
# and returns it.
|
415
421
|
# @param [String] name
|
416
422
|
# The resource name of the service account in the following format:
|
417
423
|
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
418
424
|
# Using `-` as a wildcard for the project will infer the project from
|
419
425
|
# the account. The `account` value can be the `email` address or the
|
420
426
|
# `unique_id` of the service account.
|
421
|
-
# @param [Google::Apis::IamV1::
|
427
|
+
# @param [Google::Apis::IamV1::CreateServiceAccountKeyRequest] create_service_account_key_request_object
|
422
428
|
# @param [String] fields
|
423
429
|
# Selector specifying which fields to include in a partial response.
|
424
430
|
# @param [String] quota_user
|
@@ -428,20 +434,20 @@ module Google
|
|
428
434
|
# Request-specific options
|
429
435
|
#
|
430
436
|
# @yield [result, err] Result & error if block supplied
|
431
|
-
# @yieldparam result [Google::Apis::IamV1::
|
437
|
+
# @yieldparam result [Google::Apis::IamV1::ServiceAccountKey] parsed result object
|
432
438
|
# @yieldparam err [StandardError] error object if request failed
|
433
439
|
#
|
434
|
-
# @return [Google::Apis::IamV1::
|
440
|
+
# @return [Google::Apis::IamV1::ServiceAccountKey]
|
435
441
|
#
|
436
442
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
437
443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
438
444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
439
|
-
def
|
440
|
-
command = make_simple_command(:post, 'v1/{+name}
|
441
|
-
command.request_representation = Google::Apis::IamV1::
|
442
|
-
command.request_object =
|
443
|
-
command.response_representation = Google::Apis::IamV1::
|
444
|
-
command.response_class = Google::Apis::IamV1::
|
445
|
+
def create_service_account_key(name, create_service_account_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
446
|
+
command = make_simple_command(:post, 'v1/{+name}/keys', options)
|
447
|
+
command.request_representation = Google::Apis::IamV1::CreateServiceAccountKeyRequest::Representation
|
448
|
+
command.request_object = create_service_account_key_request_object
|
449
|
+
command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation
|
450
|
+
command.response_class = Google::Apis::IamV1::ServiceAccountKey
|
445
451
|
command.params['name'] = name unless name.nil?
|
446
452
|
command.query['fields'] = fields unless fields.nil?
|
447
453
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -560,15 +566,10 @@ module Google
|
|
560
566
|
execute_or_queue_command(command, &block)
|
561
567
|
end
|
562
568
|
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
568
|
-
# Using `-` as a wildcard for the project will infer the project from
|
569
|
-
# the account. The `account` value can be the `email` address or the
|
570
|
-
# `unique_id` of the service account.
|
571
|
-
# @param [Google::Apis::IamV1::CreateServiceAccountKeyRequest] create_service_account_key_request_object
|
569
|
+
# Queries roles that can be granted on a particular resource.
|
570
|
+
# A role is grantable if it can be used as the role in a binding for a policy
|
571
|
+
# for that resource.
|
572
|
+
# @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
|
572
573
|
# @param [String] fields
|
573
574
|
# Selector specifying which fields to include in a partial response.
|
574
575
|
# @param [String] quota_user
|
@@ -578,21 +579,20 @@ module Google
|
|
578
579
|
# Request-specific options
|
579
580
|
#
|
580
581
|
# @yield [result, err] Result & error if block supplied
|
581
|
-
# @yieldparam result [Google::Apis::IamV1::
|
582
|
+
# @yieldparam result [Google::Apis::IamV1::QueryGrantableRolesResponse] parsed result object
|
582
583
|
# @yieldparam err [StandardError] error object if request failed
|
583
584
|
#
|
584
|
-
# @return [Google::Apis::IamV1::
|
585
|
+
# @return [Google::Apis::IamV1::QueryGrantableRolesResponse]
|
585
586
|
#
|
586
587
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
587
588
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
588
589
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
589
|
-
def
|
590
|
-
command = make_simple_command(:post, 'v1/
|
591
|
-
command.request_representation = Google::Apis::IamV1::
|
592
|
-
command.request_object =
|
593
|
-
command.response_representation = Google::Apis::IamV1::
|
594
|
-
command.response_class = Google::Apis::IamV1::
|
595
|
-
command.params['name'] = name unless name.nil?
|
590
|
+
def query_grantable_roles(query_grantable_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
591
|
+
command = make_simple_command(:post, 'v1/roles:queryGrantableRoles', options)
|
592
|
+
command.request_representation = Google::Apis::IamV1::QueryGrantableRolesRequest::Representation
|
593
|
+
command.request_object = query_grantable_roles_request_object
|
594
|
+
command.response_representation = Google::Apis::IamV1::QueryGrantableRolesResponse::Representation
|
595
|
+
command.response_class = Google::Apis::IamV1::QueryGrantableRolesResponse
|
596
596
|
command.query['fields'] = fields unless fields.nil?
|
597
597
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
598
598
|
execute_or_queue_command(command, &block)
|