google-apis-securesourcemanager_v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +6 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/securesourcemanager_v1/classes.rb +2336 -0
- data/lib/google/apis/securesourcemanager_v1/gem_version.rb +28 -0
- data/lib/google/apis/securesourcemanager_v1/representations.rb +942 -0
- data/lib/google/apis/securesourcemanager_v1/service.rb +2326 -0
- data/lib/google/apis/securesourcemanager_v1.rb +37 -0
- data/lib/google-apis-securesourcemanager_v1.rb +15 -0
- metadata +79 -0
@@ -0,0 +1,942 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module SecuresourcemanagerV1
|
24
|
+
|
25
|
+
class AuditConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AuditLogConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BatchCreatePullRequestCommentsRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Binding
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Branch
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class BranchRule
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CancelOperationRequest
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class Check
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CloseIssueRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ClosePullRequestRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class Code
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class Comment
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class CreatePullRequestCommentRequest
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Empty
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class Expr
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class FetchBlobResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class FetchTreeResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class FileDiff
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Hook
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class HostConfig
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class InitialConfig
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Instance
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Issue
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class IssueComment
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class ListBranchRulesResponse
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class ListHooksResponse
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class ListInstancesResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class ListIssueCommentsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class ListIssuesResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class ListLocationsResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ListOperationsResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class ListPullRequestCommentsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class ListPullRequestFileDiffsResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class ListPullRequestsResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class ListRepositoriesResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class Location
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class MergePullRequestRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class OpenIssueRequest
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class OpenPullRequestRequest
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class Operation
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class OperationMetadata
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class Policy
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class Position
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class PrivateConfig
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class PullRequest
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class PullRequestComment
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class PushOption
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class Repository
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class ResolvePullRequestCommentsRequest
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class Review
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class SetIamPolicyRequest
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class Status
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class TestIamPermissionsRequest
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class TestIamPermissionsResponse
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class TreeEntry
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class UrIs
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class UnresolvePullRequestCommentsRequest
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class WorkforceIdentityFederationConfig
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class AuditConfig
|
374
|
+
# @private
|
375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
376
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SecuresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::SecuresourcemanagerV1::AuditLogConfig::Representation
|
377
|
+
|
378
|
+
property :service, as: 'service'
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
class AuditLogConfig
|
383
|
+
# @private
|
384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
385
|
+
collection :exempted_members, as: 'exemptedMembers'
|
386
|
+
property :log_type, as: 'logType'
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
class BatchCreatePullRequestCommentsRequest
|
391
|
+
# @private
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
393
|
+
collection :requests, as: 'requests', class: Google::Apis::SecuresourcemanagerV1::CreatePullRequestCommentRequest, decorator: Google::Apis::SecuresourcemanagerV1::CreatePullRequestCommentRequest::Representation
|
394
|
+
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
class Binding
|
399
|
+
# @private
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
property :condition, as: 'condition', class: Google::Apis::SecuresourcemanagerV1::Expr, decorator: Google::Apis::SecuresourcemanagerV1::Expr::Representation
|
402
|
+
|
403
|
+
collection :members, as: 'members'
|
404
|
+
property :role, as: 'role'
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
class Branch
|
409
|
+
# @private
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
411
|
+
property :ref, as: 'ref'
|
412
|
+
property :sha, as: 'sha'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class BranchRule
|
417
|
+
# @private
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
property :allow_stale_reviews, as: 'allowStaleReviews'
|
420
|
+
hash :annotations, as: 'annotations'
|
421
|
+
property :create_time, as: 'createTime'
|
422
|
+
property :disabled, as: 'disabled'
|
423
|
+
property :etag, as: 'etag'
|
424
|
+
property :include_pattern, as: 'includePattern'
|
425
|
+
property :minimum_approvals_count, as: 'minimumApprovalsCount'
|
426
|
+
property :minimum_reviews_count, as: 'minimumReviewsCount'
|
427
|
+
property :name, as: 'name'
|
428
|
+
property :require_comments_resolved, as: 'requireCommentsResolved'
|
429
|
+
property :require_linear_history, as: 'requireLinearHistory'
|
430
|
+
property :require_pull_request, as: 'requirePullRequest'
|
431
|
+
collection :required_status_checks, as: 'requiredStatusChecks', class: Google::Apis::SecuresourcemanagerV1::Check, decorator: Google::Apis::SecuresourcemanagerV1::Check::Representation
|
432
|
+
|
433
|
+
property :uid, as: 'uid'
|
434
|
+
property :update_time, as: 'updateTime'
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
class CancelOperationRequest
|
439
|
+
# @private
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
class Check
|
445
|
+
# @private
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
447
|
+
property :context, as: 'context'
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
class CloseIssueRequest
|
452
|
+
# @private
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
454
|
+
property :etag, as: 'etag'
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class ClosePullRequestRequest
|
459
|
+
# @private
|
460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
class Code
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
property :body, as: 'body'
|
468
|
+
property :effective_commit_sha, as: 'effectiveCommitSha'
|
469
|
+
property :effective_root_comment, as: 'effectiveRootComment'
|
470
|
+
property :position, as: 'position', class: Google::Apis::SecuresourcemanagerV1::Position, decorator: Google::Apis::SecuresourcemanagerV1::Position::Representation
|
471
|
+
|
472
|
+
property :reply, as: 'reply'
|
473
|
+
property :resolved, as: 'resolved'
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
class Comment
|
478
|
+
# @private
|
479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
property :body, as: 'body'
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
class CreatePullRequestCommentRequest
|
485
|
+
# @private
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
property :parent, as: 'parent'
|
488
|
+
property :pull_request_comment, as: 'pullRequestComment', class: Google::Apis::SecuresourcemanagerV1::PullRequestComment, decorator: Google::Apis::SecuresourcemanagerV1::PullRequestComment::Representation
|
489
|
+
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
class Empty
|
494
|
+
# @private
|
495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
class Expr
|
500
|
+
# @private
|
501
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
502
|
+
property :description, as: 'description'
|
503
|
+
property :expression, as: 'expression'
|
504
|
+
property :location, as: 'location'
|
505
|
+
property :title, as: 'title'
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
class FetchBlobResponse
|
510
|
+
# @private
|
511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
512
|
+
property :content, as: 'content'
|
513
|
+
property :sha, as: 'sha'
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
class FetchTreeResponse
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
property :next_page_token, as: 'nextPageToken'
|
521
|
+
collection :tree_entries, as: 'treeEntries', class: Google::Apis::SecuresourcemanagerV1::TreeEntry, decorator: Google::Apis::SecuresourcemanagerV1::TreeEntry::Representation
|
522
|
+
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
class FileDiff
|
527
|
+
# @private
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
529
|
+
property :action, as: 'action'
|
530
|
+
property :name, as: 'name'
|
531
|
+
property :patch, as: 'patch'
|
532
|
+
property :sha, as: 'sha'
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
class Hook
|
537
|
+
# @private
|
538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
539
|
+
property :create_time, as: 'createTime'
|
540
|
+
property :disabled, as: 'disabled'
|
541
|
+
collection :events, as: 'events'
|
542
|
+
property :name, as: 'name'
|
543
|
+
property :push_option, as: 'pushOption', class: Google::Apis::SecuresourcemanagerV1::PushOption, decorator: Google::Apis::SecuresourcemanagerV1::PushOption::Representation
|
544
|
+
|
545
|
+
property :sensitive_query_string, as: 'sensitiveQueryString'
|
546
|
+
property :target_uri, as: 'targetUri'
|
547
|
+
property :uid, as: 'uid'
|
548
|
+
property :update_time, as: 'updateTime'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
class HostConfig
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
property :api, as: 'api'
|
556
|
+
property :git_http, as: 'gitHttp'
|
557
|
+
property :git_ssh, as: 'gitSsh'
|
558
|
+
property :html, as: 'html'
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
class InitialConfig
|
563
|
+
# @private
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
+
property :default_branch, as: 'defaultBranch'
|
566
|
+
collection :gitignores, as: 'gitignores'
|
567
|
+
property :license, as: 'license'
|
568
|
+
property :readme, as: 'readme'
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
class Instance
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :create_time, as: 'createTime'
|
576
|
+
property :host_config, as: 'hostConfig', class: Google::Apis::SecuresourcemanagerV1::HostConfig, decorator: Google::Apis::SecuresourcemanagerV1::HostConfig::Representation
|
577
|
+
|
578
|
+
property :kms_key, as: 'kmsKey'
|
579
|
+
hash :labels, as: 'labels'
|
580
|
+
property :name, as: 'name'
|
581
|
+
property :private_config, as: 'privateConfig', class: Google::Apis::SecuresourcemanagerV1::PrivateConfig, decorator: Google::Apis::SecuresourcemanagerV1::PrivateConfig::Representation
|
582
|
+
|
583
|
+
property :state, as: 'state'
|
584
|
+
property :state_note, as: 'stateNote'
|
585
|
+
property :update_time, as: 'updateTime'
|
586
|
+
property :workforce_identity_federation_config, as: 'workforceIdentityFederationConfig', class: Google::Apis::SecuresourcemanagerV1::WorkforceIdentityFederationConfig, decorator: Google::Apis::SecuresourcemanagerV1::WorkforceIdentityFederationConfig::Representation
|
587
|
+
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
class Issue
|
592
|
+
# @private
|
593
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
594
|
+
property :body, as: 'body'
|
595
|
+
property :close_time, as: 'closeTime'
|
596
|
+
property :create_time, as: 'createTime'
|
597
|
+
property :etag, as: 'etag'
|
598
|
+
property :name, as: 'name'
|
599
|
+
property :state, as: 'state'
|
600
|
+
property :title, as: 'title'
|
601
|
+
property :update_time, as: 'updateTime'
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
class IssueComment
|
606
|
+
# @private
|
607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
608
|
+
property :body, as: 'body'
|
609
|
+
property :create_time, as: 'createTime'
|
610
|
+
property :name, as: 'name'
|
611
|
+
property :update_time, as: 'updateTime'
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
class ListBranchRulesResponse
|
616
|
+
# @private
|
617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
618
|
+
collection :branch_rules, as: 'branchRules', class: Google::Apis::SecuresourcemanagerV1::BranchRule, decorator: Google::Apis::SecuresourcemanagerV1::BranchRule::Representation
|
619
|
+
|
620
|
+
property :next_page_token, as: 'nextPageToken'
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
class ListHooksResponse
|
625
|
+
# @private
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
627
|
+
collection :hooks, as: 'hooks', class: Google::Apis::SecuresourcemanagerV1::Hook, decorator: Google::Apis::SecuresourcemanagerV1::Hook::Representation
|
628
|
+
|
629
|
+
property :next_page_token, as: 'nextPageToken'
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
class ListInstancesResponse
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
collection :instances, as: 'instances', class: Google::Apis::SecuresourcemanagerV1::Instance, decorator: Google::Apis::SecuresourcemanagerV1::Instance::Representation
|
637
|
+
|
638
|
+
property :next_page_token, as: 'nextPageToken'
|
639
|
+
collection :unreachable, as: 'unreachable'
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
class ListIssueCommentsResponse
|
644
|
+
# @private
|
645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
646
|
+
collection :issue_comments, as: 'issueComments', class: Google::Apis::SecuresourcemanagerV1::IssueComment, decorator: Google::Apis::SecuresourcemanagerV1::IssueComment::Representation
|
647
|
+
|
648
|
+
property :next_page_token, as: 'nextPageToken'
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
class ListIssuesResponse
|
653
|
+
# @private
|
654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
+
collection :issues, as: 'issues', class: Google::Apis::SecuresourcemanagerV1::Issue, decorator: Google::Apis::SecuresourcemanagerV1::Issue::Representation
|
656
|
+
|
657
|
+
property :next_page_token, as: 'nextPageToken'
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
class ListLocationsResponse
|
662
|
+
# @private
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
collection :locations, as: 'locations', class: Google::Apis::SecuresourcemanagerV1::Location, decorator: Google::Apis::SecuresourcemanagerV1::Location::Representation
|
665
|
+
|
666
|
+
property :next_page_token, as: 'nextPageToken'
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
class ListOperationsResponse
|
671
|
+
# @private
|
672
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
673
|
+
property :next_page_token, as: 'nextPageToken'
|
674
|
+
collection :operations, as: 'operations', class: Google::Apis::SecuresourcemanagerV1::Operation, decorator: Google::Apis::SecuresourcemanagerV1::Operation::Representation
|
675
|
+
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
class ListPullRequestCommentsResponse
|
680
|
+
# @private
|
681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :next_page_token, as: 'nextPageToken'
|
683
|
+
collection :pull_request_comments, as: 'pullRequestComments', class: Google::Apis::SecuresourcemanagerV1::PullRequestComment, decorator: Google::Apis::SecuresourcemanagerV1::PullRequestComment::Representation
|
684
|
+
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
class ListPullRequestFileDiffsResponse
|
689
|
+
# @private
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
+
collection :file_diffs, as: 'fileDiffs', class: Google::Apis::SecuresourcemanagerV1::FileDiff, decorator: Google::Apis::SecuresourcemanagerV1::FileDiff::Representation
|
692
|
+
|
693
|
+
property :next_page_token, as: 'nextPageToken'
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
class ListPullRequestsResponse
|
698
|
+
# @private
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
property :next_page_token, as: 'nextPageToken'
|
701
|
+
collection :pull_requests, as: 'pullRequests', class: Google::Apis::SecuresourcemanagerV1::PullRequest, decorator: Google::Apis::SecuresourcemanagerV1::PullRequest::Representation
|
702
|
+
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
class ListRepositoriesResponse
|
707
|
+
# @private
|
708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
709
|
+
property :next_page_token, as: 'nextPageToken'
|
710
|
+
collection :repositories, as: 'repositories', class: Google::Apis::SecuresourcemanagerV1::Repository, decorator: Google::Apis::SecuresourcemanagerV1::Repository::Representation
|
711
|
+
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
class Location
|
716
|
+
# @private
|
717
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
718
|
+
property :display_name, as: 'displayName'
|
719
|
+
hash :labels, as: 'labels'
|
720
|
+
property :location_id, as: 'locationId'
|
721
|
+
hash :metadata, as: 'metadata'
|
722
|
+
property :name, as: 'name'
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
class MergePullRequestRequest
|
727
|
+
# @private
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
class OpenIssueRequest
|
733
|
+
# @private
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
735
|
+
property :etag, as: 'etag'
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
class OpenPullRequestRequest
|
740
|
+
# @private
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
745
|
+
class Operation
|
746
|
+
# @private
|
747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
748
|
+
property :done, as: 'done'
|
749
|
+
property :error, as: 'error', class: Google::Apis::SecuresourcemanagerV1::Status, decorator: Google::Apis::SecuresourcemanagerV1::Status::Representation
|
750
|
+
|
751
|
+
hash :metadata, as: 'metadata'
|
752
|
+
property :name, as: 'name'
|
753
|
+
hash :response, as: 'response'
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
class OperationMetadata
|
758
|
+
# @private
|
759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
760
|
+
property :api_version, as: 'apiVersion'
|
761
|
+
property :create_time, as: 'createTime'
|
762
|
+
property :end_time, as: 'endTime'
|
763
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
764
|
+
property :status_message, as: 'statusMessage'
|
765
|
+
property :target, as: 'target'
|
766
|
+
property :verb, as: 'verb'
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
class Policy
|
771
|
+
# @private
|
772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
773
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SecuresourcemanagerV1::AuditConfig, decorator: Google::Apis::SecuresourcemanagerV1::AuditConfig::Representation
|
774
|
+
|
775
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SecuresourcemanagerV1::Binding, decorator: Google::Apis::SecuresourcemanagerV1::Binding::Representation
|
776
|
+
|
777
|
+
property :etag, :base64 => true, as: 'etag'
|
778
|
+
property :version, as: 'version'
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
class Position
|
783
|
+
# @private
|
784
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
785
|
+
property :line, :numeric_string => true, as: 'line'
|
786
|
+
property :path, as: 'path'
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
class PrivateConfig
|
791
|
+
# @private
|
792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
793
|
+
property :ca_pool, as: 'caPool'
|
794
|
+
property :http_service_attachment, as: 'httpServiceAttachment'
|
795
|
+
property :is_private, as: 'isPrivate'
|
796
|
+
collection :psc_allowed_projects, as: 'pscAllowedProjects'
|
797
|
+
property :ssh_service_attachment, as: 'sshServiceAttachment'
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
class PullRequest
|
802
|
+
# @private
|
803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
804
|
+
property :base, as: 'base', class: Google::Apis::SecuresourcemanagerV1::Branch, decorator: Google::Apis::SecuresourcemanagerV1::Branch::Representation
|
805
|
+
|
806
|
+
property :body, as: 'body'
|
807
|
+
property :close_time, as: 'closeTime'
|
808
|
+
property :create_time, as: 'createTime'
|
809
|
+
property :head, as: 'head', class: Google::Apis::SecuresourcemanagerV1::Branch, decorator: Google::Apis::SecuresourcemanagerV1::Branch::Representation
|
810
|
+
|
811
|
+
property :name, as: 'name'
|
812
|
+
property :state, as: 'state'
|
813
|
+
property :title, as: 'title'
|
814
|
+
property :update_time, as: 'updateTime'
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
class PullRequestComment
|
819
|
+
# @private
|
820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
821
|
+
property :code, as: 'code', class: Google::Apis::SecuresourcemanagerV1::Code, decorator: Google::Apis::SecuresourcemanagerV1::Code::Representation
|
822
|
+
|
823
|
+
property :comment, as: 'comment', class: Google::Apis::SecuresourcemanagerV1::Comment, decorator: Google::Apis::SecuresourcemanagerV1::Comment::Representation
|
824
|
+
|
825
|
+
property :create_time, as: 'createTime'
|
826
|
+
property :name, as: 'name'
|
827
|
+
property :review, as: 'review', class: Google::Apis::SecuresourcemanagerV1::Review, decorator: Google::Apis::SecuresourcemanagerV1::Review::Representation
|
828
|
+
|
829
|
+
property :update_time, as: 'updateTime'
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
833
|
+
class PushOption
|
834
|
+
# @private
|
835
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
836
|
+
property :branch_filter, as: 'branchFilter'
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
class Repository
|
841
|
+
# @private
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
843
|
+
property :create_time, as: 'createTime'
|
844
|
+
property :description, as: 'description'
|
845
|
+
property :etag, as: 'etag'
|
846
|
+
property :initial_config, as: 'initialConfig', class: Google::Apis::SecuresourcemanagerV1::InitialConfig, decorator: Google::Apis::SecuresourcemanagerV1::InitialConfig::Representation
|
847
|
+
|
848
|
+
property :instance, as: 'instance'
|
849
|
+
property :name, as: 'name'
|
850
|
+
property :uid, as: 'uid'
|
851
|
+
property :update_time, as: 'updateTime'
|
852
|
+
property :uris, as: 'uris', class: Google::Apis::SecuresourcemanagerV1::UrIs, decorator: Google::Apis::SecuresourcemanagerV1::UrIs::Representation
|
853
|
+
|
854
|
+
end
|
855
|
+
end
|
856
|
+
|
857
|
+
class ResolvePullRequestCommentsRequest
|
858
|
+
# @private
|
859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
860
|
+
property :auto_fill, as: 'autoFill'
|
861
|
+
collection :names, as: 'names'
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
class Review
|
866
|
+
# @private
|
867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
868
|
+
property :action_type, as: 'actionType'
|
869
|
+
property :body, as: 'body'
|
870
|
+
property :effective_commit_sha, as: 'effectiveCommitSha'
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
class SetIamPolicyRequest
|
875
|
+
# @private
|
876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
877
|
+
property :policy, as: 'policy', class: Google::Apis::SecuresourcemanagerV1::Policy, decorator: Google::Apis::SecuresourcemanagerV1::Policy::Representation
|
878
|
+
|
879
|
+
property :update_mask, as: 'updateMask'
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
883
|
+
class Status
|
884
|
+
# @private
|
885
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
886
|
+
property :code, as: 'code'
|
887
|
+
collection :details, as: 'details'
|
888
|
+
property :message, as: 'message'
|
889
|
+
end
|
890
|
+
end
|
891
|
+
|
892
|
+
class TestIamPermissionsRequest
|
893
|
+
# @private
|
894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
895
|
+
collection :permissions, as: 'permissions'
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
class TestIamPermissionsResponse
|
900
|
+
# @private
|
901
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
902
|
+
collection :permissions, as: 'permissions'
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
class TreeEntry
|
907
|
+
# @private
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
909
|
+
property :mode, as: 'mode'
|
910
|
+
property :path, as: 'path'
|
911
|
+
property :sha, as: 'sha'
|
912
|
+
property :size, :numeric_string => true, as: 'size'
|
913
|
+
property :type, as: 'type'
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
917
|
+
class UrIs
|
918
|
+
# @private
|
919
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
920
|
+
property :api, as: 'api'
|
921
|
+
property :git_https, as: 'gitHttps'
|
922
|
+
property :html, as: 'html'
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
926
|
+
class UnresolvePullRequestCommentsRequest
|
927
|
+
# @private
|
928
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
929
|
+
property :auto_fill, as: 'autoFill'
|
930
|
+
collection :names, as: 'names'
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
class WorkforceIdentityFederationConfig
|
935
|
+
# @private
|
936
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
937
|
+
property :enabled, as: 'enabled'
|
938
|
+
end
|
939
|
+
end
|
940
|
+
end
|
941
|
+
end
|
942
|
+
end
|