google-api-client 0.45.1 → 0.46.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 +4 -4
- data/CHANGELOG.md +61 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +5 -5
- data/generated/google/apis/apigee_v1/service.rb +21 -19
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +38 -18
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +513 -131
- data/generated/google/apis/compute_alpha/representations.rb +124 -8
- data/generated/google/apis/compute_alpha/service.rb +1685 -762
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +491 -83
- data/generated/google/apis/compute_beta/representations.rb +96 -1
- data/generated/google/apis/compute_beta/service.rb +802 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +308 -45
- data/generated/google/apis/compute_v1/representations.rb +54 -1
- data/generated/google/apis/compute_v1/service.rb +736 -130
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +87 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +45 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +45 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +87 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +45 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -7
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -15
- data/generated/google/apis/apigateway_v1alpha1.rb +0 -34
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/apigateway_v1alpha2.rb +0 -34
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha2/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1.rb +0 -34
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
|
@@ -64,6 +64,12 @@ module Google
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
67
73
|
class GoogleCloudVideointelligenceV1LabelAnnotation
|
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
75
|
|
|
@@ -118,6 +124,12 @@ module Google
|
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
125
|
end
|
|
120
126
|
|
|
127
|
+
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
121
133
|
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
|
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
135
|
|
|
@@ -226,6 +238,12 @@ module Google
|
|
|
226
238
|
include Google::Apis::Core::JsonObjectSupport
|
|
227
239
|
end
|
|
228
240
|
|
|
241
|
+
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
+
|
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
245
|
+
end
|
|
246
|
+
|
|
229
247
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
|
230
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
249
|
|
|
@@ -280,6 +298,12 @@ module Google
|
|
|
280
298
|
include Google::Apis::Core::JsonObjectSupport
|
|
281
299
|
end
|
|
282
300
|
|
|
301
|
+
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
283
307
|
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
|
|
284
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
309
|
|
|
@@ -388,6 +412,12 @@ module Google
|
|
|
388
412
|
include Google::Apis::Core::JsonObjectSupport
|
|
389
413
|
end
|
|
390
414
|
|
|
415
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
391
421
|
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
|
|
392
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
393
423
|
|
|
@@ -442,6 +472,12 @@ module Google
|
|
|
442
472
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
473
|
end
|
|
444
474
|
|
|
475
|
+
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
|
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
|
+
|
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
479
|
+
end
|
|
480
|
+
|
|
445
481
|
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
|
|
446
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
483
|
|
|
@@ -550,6 +586,12 @@ module Google
|
|
|
550
586
|
include Google::Apis::Core::JsonObjectSupport
|
|
551
587
|
end
|
|
552
588
|
|
|
589
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
|
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
|
+
|
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
593
|
+
end
|
|
594
|
+
|
|
553
595
|
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
|
554
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
597
|
|
|
@@ -604,6 +646,12 @@ module Google
|
|
|
604
646
|
include Google::Apis::Core::JsonObjectSupport
|
|
605
647
|
end
|
|
606
648
|
|
|
649
|
+
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
|
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
651
|
+
|
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
653
|
+
end
|
|
654
|
+
|
|
607
655
|
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
|
|
608
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
657
|
|
|
@@ -1019,6 +1067,13 @@ module Google
|
|
|
1019
1067
|
end
|
|
1020
1068
|
end
|
|
1021
1069
|
|
|
1070
|
+
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
|
|
1071
|
+
# @private
|
|
1072
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1073
|
+
property :version, as: 'version'
|
|
1074
|
+
end
|
|
1075
|
+
end
|
|
1076
|
+
|
|
1022
1077
|
class GoogleCloudVideointelligenceV1LabelAnnotation
|
|
1023
1078
|
# @private
|
|
1024
1079
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1113,6 +1168,15 @@ module Google
|
|
|
1113
1168
|
end
|
|
1114
1169
|
end
|
|
1115
1170
|
|
|
1171
|
+
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
|
|
1172
|
+
# @private
|
|
1173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1174
|
+
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1Track::Representation
|
|
1175
|
+
|
|
1176
|
+
property :version, as: 'version'
|
|
1177
|
+
end
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1116
1180
|
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
|
|
1117
1181
|
# @private
|
|
1118
1182
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1208,6 +1272,8 @@ module Google
|
|
|
1208
1272
|
|
|
1209
1273
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
|
|
1210
1274
|
|
|
1275
|
+
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
|
|
1276
|
+
|
|
1211
1277
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
|
1212
1278
|
|
|
1213
1279
|
property :input_uri, as: 'inputUri'
|
|
@@ -1215,6 +1281,8 @@ module Google
|
|
|
1215
1281
|
|
|
1216
1282
|
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
|
|
1217
1283
|
|
|
1284
|
+
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
|
|
1285
|
+
|
|
1218
1286
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
|
|
1219
1287
|
|
|
1220
1288
|
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
|
@@ -1314,6 +1382,13 @@ module Google
|
|
|
1314
1382
|
end
|
|
1315
1383
|
end
|
|
1316
1384
|
|
|
1385
|
+
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
|
|
1386
|
+
# @private
|
|
1387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1388
|
+
property :version, as: 'version'
|
|
1389
|
+
end
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1317
1392
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
|
1318
1393
|
# @private
|
|
1319
1394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1408,6 +1483,15 @@ module Google
|
|
|
1408
1483
|
end
|
|
1409
1484
|
end
|
|
1410
1485
|
|
|
1486
|
+
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
|
|
1487
|
+
# @private
|
|
1488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1489
|
+
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Track::Representation
|
|
1490
|
+
|
|
1491
|
+
property :version, as: 'version'
|
|
1492
|
+
end
|
|
1493
|
+
end
|
|
1494
|
+
|
|
1411
1495
|
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
|
|
1412
1496
|
# @private
|
|
1413
1497
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1503,6 +1587,8 @@ module Google
|
|
|
1503
1587
|
|
|
1504
1588
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
|
|
1505
1589
|
|
|
1590
|
+
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
|
|
1591
|
+
|
|
1506
1592
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
|
1507
1593
|
|
|
1508
1594
|
property :input_uri, as: 'inputUri'
|
|
@@ -1510,6 +1596,8 @@ module Google
|
|
|
1510
1596
|
|
|
1511
1597
|
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
|
|
1512
1598
|
|
|
1599
|
+
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
|
|
1600
|
+
|
|
1513
1601
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
|
1514
1602
|
|
|
1515
1603
|
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
|
@@ -1609,6 +1697,13 @@ module Google
|
|
|
1609
1697
|
end
|
|
1610
1698
|
end
|
|
1611
1699
|
|
|
1700
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
|
|
1701
|
+
# @private
|
|
1702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1703
|
+
property :version, as: 'version'
|
|
1704
|
+
end
|
|
1705
|
+
end
|
|
1706
|
+
|
|
1612
1707
|
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
|
|
1613
1708
|
# @private
|
|
1614
1709
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1703,6 +1798,15 @@ module Google
|
|
|
1703
1798
|
end
|
|
1704
1799
|
end
|
|
1705
1800
|
|
|
1801
|
+
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
|
|
1802
|
+
# @private
|
|
1803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1804
|
+
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track::Representation
|
|
1805
|
+
|
|
1806
|
+
property :version, as: 'version'
|
|
1807
|
+
end
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1706
1810
|
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
|
|
1707
1811
|
# @private
|
|
1708
1812
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1798,6 +1902,8 @@ module Google
|
|
|
1798
1902
|
|
|
1799
1903
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
|
|
1800
1904
|
|
|
1905
|
+
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
|
|
1906
|
+
|
|
1801
1907
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
|
1802
1908
|
|
|
1803
1909
|
property :input_uri, as: 'inputUri'
|
|
@@ -1805,6 +1911,8 @@ module Google
|
|
|
1805
1911
|
|
|
1806
1912
|
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
|
|
1807
1913
|
|
|
1914
|
+
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
|
|
1915
|
+
|
|
1808
1916
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
|
|
1809
1917
|
|
|
1810
1918
|
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
|
@@ -1904,6 +2012,13 @@ module Google
|
|
|
1904
2012
|
end
|
|
1905
2013
|
end
|
|
1906
2014
|
|
|
2015
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
|
|
2016
|
+
# @private
|
|
2017
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2018
|
+
property :version, as: 'version'
|
|
2019
|
+
end
|
|
2020
|
+
end
|
|
2021
|
+
|
|
1907
2022
|
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
|
1908
2023
|
# @private
|
|
1909
2024
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1998,6 +2113,15 @@ module Google
|
|
|
1998
2113
|
end
|
|
1999
2114
|
end
|
|
2000
2115
|
|
|
2116
|
+
class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
|
|
2117
|
+
# @private
|
|
2118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2119
|
+
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Track::Representation
|
|
2120
|
+
|
|
2121
|
+
property :version, as: 'version'
|
|
2122
|
+
end
|
|
2123
|
+
end
|
|
2124
|
+
|
|
2001
2125
|
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
|
|
2002
2126
|
# @private
|
|
2003
2127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2093,6 +2217,8 @@ module Google
|
|
|
2093
2217
|
|
|
2094
2218
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
|
|
2095
2219
|
|
|
2220
|
+
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
|
|
2221
|
+
|
|
2096
2222
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
|
2097
2223
|
|
|
2098
2224
|
property :input_uri, as: 'inputUri'
|
|
@@ -2100,6 +2226,8 @@ module Google
|
|
|
2100
2226
|
|
|
2101
2227
|
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
|
|
2102
2228
|
|
|
2229
|
+
collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
|
|
2230
|
+
|
|
2103
2231
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
|
2104
2232
|
|
|
2105
2233
|
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
|
@@ -2250,9 +2378,6 @@ module Google
|
|
|
2250
2378
|
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
|
2251
2379
|
# @private
|
|
2252
2380
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2253
|
-
property :thumbnail, :base64 => true, as: 'thumbnail'
|
|
2254
|
-
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
|
2255
|
-
|
|
2256
2381
|
property :version, as: 'version'
|
|
2257
2382
|
end
|
|
2258
2383
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
|
|
27
27
|
module YoutubePartnerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201001'
|
|
30
30
|
|
|
31
31
|
# View and manage your assets and associated content on YouTube
|
|
32
32
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
|
@@ -45,7 +45,7 @@ module Google
|
|
|
45
45
|
|
|
46
46
|
def initialize
|
|
47
47
|
super('https://www.googleapis.com/', '')
|
|
48
|
-
@batch_path = 'batch/youtube'
|
|
48
|
+
@batch_path = 'batch/youtube/v3'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# Inserts a new resource into this collection.
|
|
@@ -1511,7 +1511,7 @@ module Google
|
|
|
1511
1511
|
# The *part* parameter specifies a comma-separated list of one or more
|
|
1512
1512
|
# liveBroadcast resource properties that the API response will include. The part
|
|
1513
1513
|
# names that you can include in the parameter value are id, snippet,
|
|
1514
|
-
# contentDetails, and
|
|
1514
|
+
# contentDetails, status and statistics.
|
|
1515
1515
|
# @param [String] broadcast_status
|
|
1516
1516
|
# Return broadcasts with a certain status, e.g. active broadcasts.
|
|
1517
1517
|
# @param [String] broadcast_type
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.46.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Bazyl
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2020-
|
|
14
|
+
date: 2020-10-05 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: representable
|
|
@@ -334,14 +334,6 @@ files:
|
|
|
334
334
|
- generated/google/apis/androidpublisher_v3/classes.rb
|
|
335
335
|
- generated/google/apis/androidpublisher_v3/representations.rb
|
|
336
336
|
- generated/google/apis/androidpublisher_v3/service.rb
|
|
337
|
-
- generated/google/apis/apigateway_v1alpha1.rb
|
|
338
|
-
- generated/google/apis/apigateway_v1alpha1/classes.rb
|
|
339
|
-
- generated/google/apis/apigateway_v1alpha1/representations.rb
|
|
340
|
-
- generated/google/apis/apigateway_v1alpha1/service.rb
|
|
341
|
-
- generated/google/apis/apigateway_v1alpha2.rb
|
|
342
|
-
- generated/google/apis/apigateway_v1alpha2/classes.rb
|
|
343
|
-
- generated/google/apis/apigateway_v1alpha2/representations.rb
|
|
344
|
-
- generated/google/apis/apigateway_v1alpha2/service.rb
|
|
345
337
|
- generated/google/apis/apigateway_v1beta.rb
|
|
346
338
|
- generated/google/apis/apigateway_v1beta/classes.rb
|
|
347
339
|
- generated/google/apis/apigateway_v1beta/representations.rb
|
|
@@ -370,10 +362,6 @@ files:
|
|
|
370
362
|
- generated/google/apis/appengine_v1beta5/classes.rb
|
|
371
363
|
- generated/google/apis/appengine_v1beta5/representations.rb
|
|
372
364
|
- generated/google/apis/appengine_v1beta5/service.rb
|
|
373
|
-
- generated/google/apis/appsactivity_v1.rb
|
|
374
|
-
- generated/google/apis/appsactivity_v1/classes.rb
|
|
375
|
-
- generated/google/apis/appsactivity_v1/representations.rb
|
|
376
|
-
- generated/google/apis/appsactivity_v1/service.rb
|
|
377
365
|
- generated/google/apis/appsmarket_v2.rb
|
|
378
366
|
- generated/google/apis/appsmarket_v2/classes.rb
|
|
379
367
|
- generated/google/apis/appsmarket_v2/representations.rb
|
|
@@ -1490,7 +1478,7 @@ homepage: https://github.com/google/google-api-ruby-client
|
|
|
1490
1478
|
licenses:
|
|
1491
1479
|
- Apache-2.0
|
|
1492
1480
|
metadata:
|
|
1493
|
-
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.
|
|
1481
|
+
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.46.0
|
|
1494
1482
|
post_install_message:
|
|
1495
1483
|
rdoc_options: []
|
|
1496
1484
|
require_paths:
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Copyright 2015 Google Inc.
|
|
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 'google/apis/apigateway_v1alpha1/service.rb'
|
|
16
|
-
require 'google/apis/apigateway_v1alpha1/classes.rb'
|
|
17
|
-
require 'google/apis/apigateway_v1alpha1/representations.rb'
|
|
18
|
-
|
|
19
|
-
module Google
|
|
20
|
-
module Apis
|
|
21
|
-
# API Gateway API
|
|
22
|
-
#
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
# @see https://cloud.google.com/api-gateway/docs
|
|
26
|
-
module ApigatewayV1alpha1
|
|
27
|
-
VERSION = 'V1alpha1'
|
|
28
|
-
REVISION = '20200901'
|
|
29
|
-
|
|
30
|
-
# View and manage your data across Google Cloud Platform services
|
|
31
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
@@ -1,633 +0,0 @@
|
|
|
1
|
-
# Copyright 2015 Google Inc.
|
|
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 ApigatewayV1alpha1
|
|
24
|
-
|
|
25
|
-
# Specifies the audit configuration for a service. The configuration determines
|
|
26
|
-
# which permission types are logged, and what identities, if any, are exempted
|
|
27
|
-
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
28
|
-
# are AuditConfigs for both `allServices` and a specific service, the union of
|
|
29
|
-
# the two AuditConfigs is used for that service: the log_types specified in each
|
|
30
|
-
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
|
31
|
-
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
|
32
|
-
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
|
33
|
-
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
|
34
|
-
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
|
35
|
-
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
|
36
|
-
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
|
37
|
-
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
|
38
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
|
39
|
-
# DATA_WRITE logging.
|
|
40
|
-
class ApigatewayAuditConfig
|
|
41
|
-
include Google::Apis::Core::Hashable
|
|
42
|
-
|
|
43
|
-
# The configuration for logging of each type of permission.
|
|
44
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
|
45
|
-
# @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayAuditLogConfig>]
|
|
46
|
-
attr_accessor :audit_log_configs
|
|
47
|
-
|
|
48
|
-
# Specifies a service that will be enabled for audit logging. For example, `
|
|
49
|
-
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
50
|
-
# value that covers all services.
|
|
51
|
-
# Corresponds to the JSON property `service`
|
|
52
|
-
# @return [String]
|
|
53
|
-
attr_accessor :service
|
|
54
|
-
|
|
55
|
-
def initialize(**args)
|
|
56
|
-
update!(**args)
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
# Update properties of this object
|
|
60
|
-
def update!(**args)
|
|
61
|
-
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
|
62
|
-
@service = args[:service] if args.key?(:service)
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
# Provides the configuration for logging a type of permissions. Example: ` "
|
|
67
|
-
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
|
68
|
-
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
|
69
|
-
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
|
70
|
-
# DATA_READ logging.
|
|
71
|
-
class ApigatewayAuditLogConfig
|
|
72
|
-
include Google::Apis::Core::Hashable
|
|
73
|
-
|
|
74
|
-
# Specifies the identities that do not cause logging for this type of permission.
|
|
75
|
-
# Follows the same format of Binding.members.
|
|
76
|
-
# Corresponds to the JSON property `exemptedMembers`
|
|
77
|
-
# @return [Array<String>]
|
|
78
|
-
attr_accessor :exempted_members
|
|
79
|
-
|
|
80
|
-
# The log type that this config enables.
|
|
81
|
-
# Corresponds to the JSON property `logType`
|
|
82
|
-
# @return [String]
|
|
83
|
-
attr_accessor :log_type
|
|
84
|
-
|
|
85
|
-
def initialize(**args)
|
|
86
|
-
update!(**args)
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
# Update properties of this object
|
|
90
|
-
def update!(**args)
|
|
91
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
92
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
# Associates `members` with a `role`.
|
|
97
|
-
class ApigatewayBinding
|
|
98
|
-
include Google::Apis::Core::Hashable
|
|
99
|
-
|
|
100
|
-
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
101
|
-
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
102
|
-
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
103
|
-
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
104
|
-
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
105
|
-
# Requestor is owner" description: "Determines if requestor is the document
|
|
106
|
-
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
107
|
-
# Logic): title: "Public documents" description: "Determine whether the document
|
|
108
|
-
# should be publicly visible" expression: "document.type != 'private' &&
|
|
109
|
-
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
110
|
-
# string" description: "Create a notification string with a timestamp."
|
|
111
|
-
# expression: "'New message received at ' + string(document.create_time)" The
|
|
112
|
-
# exact variables and functions that may be referenced within an expression are
|
|
113
|
-
# determined by the service that evaluates it. See the service documentation for
|
|
114
|
-
# additional information.
|
|
115
|
-
# Corresponds to the JSON property `condition`
|
|
116
|
-
# @return [Google::Apis::ApigatewayV1alpha1::ApigatewayExpr]
|
|
117
|
-
attr_accessor :condition
|
|
118
|
-
|
|
119
|
-
# Specifies the identities requesting access for a Cloud Platform resource. `
|
|
120
|
-
# members` can have the following values: * `allUsers`: A special identifier
|
|
121
|
-
# that represents anyone who is on the internet; with or without a Google
|
|
122
|
-
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
123
|
-
# anyone who is authenticated with a Google account or a service account. * `
|
|
124
|
-
# user:`emailid``: An email address that represents a specific Google account.
|
|
125
|
-
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
|
126
|
-
# address that represents a service account. For example, `my-other-app@appspot.
|
|
127
|
-
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
|
128
|
-
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
|
129
|
-
# `uniqueid``: An email address (plus unique identifier) representing a user
|
|
130
|
-
# that has been recently deleted. For example, `alice@example.com?uid=
|
|
131
|
-
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
|
132
|
-
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
|
133
|
-
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
134
|
-
# identifier) representing a service account that has been recently deleted. For
|
|
135
|
-
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
136
|
-
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
|
137
|
-
# emailid`` and the undeleted service account retains the role in the binding. *
|
|
138
|
-
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
139
|
-
# identifier) representing a Google group that has been recently deleted. For
|
|
140
|
-
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
|
141
|
-
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
|
142
|
-
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
|
143
|
-
# primary) that represents all the users of that domain. For example, `google.
|
|
144
|
-
# com` or `example.com`.
|
|
145
|
-
# Corresponds to the JSON property `members`
|
|
146
|
-
# @return [Array<String>]
|
|
147
|
-
attr_accessor :members
|
|
148
|
-
|
|
149
|
-
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
|
150
|
-
# , or `roles/owner`.
|
|
151
|
-
# Corresponds to the JSON property `role`
|
|
152
|
-
# @return [String]
|
|
153
|
-
attr_accessor :role
|
|
154
|
-
|
|
155
|
-
def initialize(**args)
|
|
156
|
-
update!(**args)
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
# Update properties of this object
|
|
160
|
-
def update!(**args)
|
|
161
|
-
@condition = args[:condition] if args.key?(:condition)
|
|
162
|
-
@members = args[:members] if args.key?(:members)
|
|
163
|
-
@role = args[:role] if args.key?(:role)
|
|
164
|
-
end
|
|
165
|
-
end
|
|
166
|
-
|
|
167
|
-
# The request message for Operations.CancelOperation.
|
|
168
|
-
class ApigatewayCancelOperationRequest
|
|
169
|
-
include Google::Apis::Core::Hashable
|
|
170
|
-
|
|
171
|
-
def initialize(**args)
|
|
172
|
-
update!(**args)
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
# Update properties of this object
|
|
176
|
-
def update!(**args)
|
|
177
|
-
end
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
181
|
-
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
182
|
-
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
183
|
-
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
184
|
-
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
185
|
-
# Requestor is owner" description: "Determines if requestor is the document
|
|
186
|
-
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
187
|
-
# Logic): title: "Public documents" description: "Determine whether the document
|
|
188
|
-
# should be publicly visible" expression: "document.type != 'private' &&
|
|
189
|
-
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
190
|
-
# string" description: "Create a notification string with a timestamp."
|
|
191
|
-
# expression: "'New message received at ' + string(document.create_time)" The
|
|
192
|
-
# exact variables and functions that may be referenced within an expression are
|
|
193
|
-
# determined by the service that evaluates it. See the service documentation for
|
|
194
|
-
# additional information.
|
|
195
|
-
class ApigatewayExpr
|
|
196
|
-
include Google::Apis::Core::Hashable
|
|
197
|
-
|
|
198
|
-
# Optional. Description of the expression. This is a longer text which describes
|
|
199
|
-
# the expression, e.g. when hovered over it in a UI.
|
|
200
|
-
# Corresponds to the JSON property `description`
|
|
201
|
-
# @return [String]
|
|
202
|
-
attr_accessor :description
|
|
203
|
-
|
|
204
|
-
# Textual representation of an expression in Common Expression Language syntax.
|
|
205
|
-
# Corresponds to the JSON property `expression`
|
|
206
|
-
# @return [String]
|
|
207
|
-
attr_accessor :expression
|
|
208
|
-
|
|
209
|
-
# Optional. String indicating the location of the expression for error reporting,
|
|
210
|
-
# e.g. a file name and a position in the file.
|
|
211
|
-
# Corresponds to the JSON property `location`
|
|
212
|
-
# @return [String]
|
|
213
|
-
attr_accessor :location
|
|
214
|
-
|
|
215
|
-
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
216
|
-
# This can be used e.g. in UIs which allow to enter the expression.
|
|
217
|
-
# Corresponds to the JSON property `title`
|
|
218
|
-
# @return [String]
|
|
219
|
-
attr_accessor :title
|
|
220
|
-
|
|
221
|
-
def initialize(**args)
|
|
222
|
-
update!(**args)
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
# Update properties of this object
|
|
226
|
-
def update!(**args)
|
|
227
|
-
@description = args[:description] if args.key?(:description)
|
|
228
|
-
@expression = args[:expression] if args.key?(:expression)
|
|
229
|
-
@location = args[:location] if args.key?(:location)
|
|
230
|
-
@title = args[:title] if args.key?(:title)
|
|
231
|
-
end
|
|
232
|
-
end
|
|
233
|
-
|
|
234
|
-
# The response message for Locations.ListLocations.
|
|
235
|
-
class ApigatewayListLocationsResponse
|
|
236
|
-
include Google::Apis::Core::Hashable
|
|
237
|
-
|
|
238
|
-
# A list of locations that matches the specified filter in the request.
|
|
239
|
-
# Corresponds to the JSON property `locations`
|
|
240
|
-
# @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayLocation>]
|
|
241
|
-
attr_accessor :locations
|
|
242
|
-
|
|
243
|
-
# The standard List next-page token.
|
|
244
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
245
|
-
# @return [String]
|
|
246
|
-
attr_accessor :next_page_token
|
|
247
|
-
|
|
248
|
-
def initialize(**args)
|
|
249
|
-
update!(**args)
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
# Update properties of this object
|
|
253
|
-
def update!(**args)
|
|
254
|
-
@locations = args[:locations] if args.key?(:locations)
|
|
255
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
256
|
-
end
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
# The response message for Operations.ListOperations.
|
|
260
|
-
class ApigatewayListOperationsResponse
|
|
261
|
-
include Google::Apis::Core::Hashable
|
|
262
|
-
|
|
263
|
-
# The standard List next-page token.
|
|
264
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
265
|
-
# @return [String]
|
|
266
|
-
attr_accessor :next_page_token
|
|
267
|
-
|
|
268
|
-
# A list of operations that matches the specified filter in the request.
|
|
269
|
-
# Corresponds to the JSON property `operations`
|
|
270
|
-
# @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayOperation>]
|
|
271
|
-
attr_accessor :operations
|
|
272
|
-
|
|
273
|
-
def initialize(**args)
|
|
274
|
-
update!(**args)
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
# Update properties of this object
|
|
278
|
-
def update!(**args)
|
|
279
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
280
|
-
@operations = args[:operations] if args.key?(:operations)
|
|
281
|
-
end
|
|
282
|
-
end
|
|
283
|
-
|
|
284
|
-
# A resource that represents Google Cloud Platform location.
|
|
285
|
-
class ApigatewayLocation
|
|
286
|
-
include Google::Apis::Core::Hashable
|
|
287
|
-
|
|
288
|
-
# The friendly name for this location, typically a nearby city name. For example,
|
|
289
|
-
# "Tokyo".
|
|
290
|
-
# Corresponds to the JSON property `displayName`
|
|
291
|
-
# @return [String]
|
|
292
|
-
attr_accessor :display_name
|
|
293
|
-
|
|
294
|
-
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
|
295
|
-
# region": "us-east1"`
|
|
296
|
-
# Corresponds to the JSON property `labels`
|
|
297
|
-
# @return [Hash<String,String>]
|
|
298
|
-
attr_accessor :labels
|
|
299
|
-
|
|
300
|
-
# The canonical id for this location. For example: `"us-east1"`.
|
|
301
|
-
# Corresponds to the JSON property `locationId`
|
|
302
|
-
# @return [String]
|
|
303
|
-
attr_accessor :location_id
|
|
304
|
-
|
|
305
|
-
# Service-specific metadata. For example the available capacity at the given
|
|
306
|
-
# location.
|
|
307
|
-
# Corresponds to the JSON property `metadata`
|
|
308
|
-
# @return [Hash<String,Object>]
|
|
309
|
-
attr_accessor :metadata
|
|
310
|
-
|
|
311
|
-
# Resource name for the location, which may vary between implementations. For
|
|
312
|
-
# example: `"projects/example-project/locations/us-east1"`
|
|
313
|
-
# Corresponds to the JSON property `name`
|
|
314
|
-
# @return [String]
|
|
315
|
-
attr_accessor :name
|
|
316
|
-
|
|
317
|
-
def initialize(**args)
|
|
318
|
-
update!(**args)
|
|
319
|
-
end
|
|
320
|
-
|
|
321
|
-
# Update properties of this object
|
|
322
|
-
def update!(**args)
|
|
323
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
324
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
325
|
-
@location_id = args[:location_id] if args.key?(:location_id)
|
|
326
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
327
|
-
@name = args[:name] if args.key?(:name)
|
|
328
|
-
end
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
# This resource represents a long-running operation that is the result of a
|
|
332
|
-
# network API call.
|
|
333
|
-
class ApigatewayOperation
|
|
334
|
-
include Google::Apis::Core::Hashable
|
|
335
|
-
|
|
336
|
-
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
337
|
-
# , the operation is completed, and either `error` or `response` is available.
|
|
338
|
-
# Corresponds to the JSON property `done`
|
|
339
|
-
# @return [Boolean]
|
|
340
|
-
attr_accessor :done
|
|
341
|
-
alias_method :done?, :done
|
|
342
|
-
|
|
343
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
344
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
345
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
346
|
-
# data: error code, error message, and error details. You can find out more
|
|
347
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
|
348
|
-
# //cloud.google.com/apis/design/errors).
|
|
349
|
-
# Corresponds to the JSON property `error`
|
|
350
|
-
# @return [Google::Apis::ApigatewayV1alpha1::ApigatewayStatus]
|
|
351
|
-
attr_accessor :error
|
|
352
|
-
|
|
353
|
-
# Service-specific metadata associated with the operation. It typically contains
|
|
354
|
-
# progress information and common metadata such as create time. Some services
|
|
355
|
-
# might not provide such metadata. Any method that returns a long-running
|
|
356
|
-
# operation should document the metadata type, if any.
|
|
357
|
-
# Corresponds to the JSON property `metadata`
|
|
358
|
-
# @return [Hash<String,Object>]
|
|
359
|
-
attr_accessor :metadata
|
|
360
|
-
|
|
361
|
-
# The server-assigned name, which is only unique within the same service that
|
|
362
|
-
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
363
|
-
# be a resource name ending with `operations/`unique_id``.
|
|
364
|
-
# Corresponds to the JSON property `name`
|
|
365
|
-
# @return [String]
|
|
366
|
-
attr_accessor :name
|
|
367
|
-
|
|
368
|
-
# The normal response of the operation in case of success. If the original
|
|
369
|
-
# method returns no data on success, such as `Delete`, the response is `google.
|
|
370
|
-
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
371
|
-
# the response should be the resource. For other methods, the response should
|
|
372
|
-
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
373
|
-
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
374
|
-
# response type is `TakeSnapshotResponse`.
|
|
375
|
-
# Corresponds to the JSON property `response`
|
|
376
|
-
# @return [Hash<String,Object>]
|
|
377
|
-
attr_accessor :response
|
|
378
|
-
|
|
379
|
-
def initialize(**args)
|
|
380
|
-
update!(**args)
|
|
381
|
-
end
|
|
382
|
-
|
|
383
|
-
# Update properties of this object
|
|
384
|
-
def update!(**args)
|
|
385
|
-
@done = args[:done] if args.key?(:done)
|
|
386
|
-
@error = args[:error] if args.key?(:error)
|
|
387
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
388
|
-
@name = args[:name] if args.key?(:name)
|
|
389
|
-
@response = args[:response] if args.key?(:response)
|
|
390
|
-
end
|
|
391
|
-
end
|
|
392
|
-
|
|
393
|
-
# An Identity and Access Management (IAM) policy, which specifies access
|
|
394
|
-
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
395
|
-
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
396
|
-
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
397
|
-
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
398
|
-
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
399
|
-
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
400
|
-
# allows access to a resource only if the expression evaluates to `true`. A
|
|
401
|
-
# condition can add constraints based on attributes of the request, the resource,
|
|
402
|
-
# or both. To learn which resources support conditions in their IAM policies,
|
|
403
|
-
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
404
|
-
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
405
|
-
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
406
|
-
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
407
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
408
|
-
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
409
|
-
# title": "expirable access", "description": "Does not grant access after Sep
|
|
410
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
411
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
412
|
-
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
413
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
414
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
415
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
416
|
-
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
417
|
-
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
418
|
-
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
419
|
-
# google.com/iam/docs/).
|
|
420
|
-
class ApigatewayPolicy
|
|
421
|
-
include Google::Apis::Core::Hashable
|
|
422
|
-
|
|
423
|
-
# Specifies cloud audit logging configuration for this policy.
|
|
424
|
-
# Corresponds to the JSON property `auditConfigs`
|
|
425
|
-
# @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayAuditConfig>]
|
|
426
|
-
attr_accessor :audit_configs
|
|
427
|
-
|
|
428
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
|
429
|
-
# condition` that determines how and when the `bindings` are applied. Each of
|
|
430
|
-
# the `bindings` must contain at least one member.
|
|
431
|
-
# Corresponds to the JSON property `bindings`
|
|
432
|
-
# @return [Array<Google::Apis::ApigatewayV1alpha1::ApigatewayBinding>]
|
|
433
|
-
attr_accessor :bindings
|
|
434
|
-
|
|
435
|
-
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
436
|
-
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
437
|
-
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
438
|
-
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
439
|
-
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
440
|
-
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
441
|
-
# applied to the same version of the policy. **Important:** If you use IAM
|
|
442
|
-
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
|
443
|
-
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
|
444
|
-
# with a version `1` policy, and all of the conditions in the version `3` policy
|
|
445
|
-
# are lost.
|
|
446
|
-
# Corresponds to the JSON property `etag`
|
|
447
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
448
|
-
# @return [String]
|
|
449
|
-
attr_accessor :etag
|
|
450
|
-
|
|
451
|
-
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
|
452
|
-
# Requests that specify an invalid value are rejected. Any operation that
|
|
453
|
-
# affects conditional role bindings must specify version `3`. This requirement
|
|
454
|
-
# applies to the following operations: * Getting a policy that includes a
|
|
455
|
-
# conditional role binding * Adding a conditional role binding to a policy *
|
|
456
|
-
# Changing a conditional role binding in a policy * Removing any role binding,
|
|
457
|
-
# with or without a condition, from a policy that includes conditions **
|
|
458
|
-
# Important:** If you use IAM Conditions, you must include the `etag` field
|
|
459
|
-
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
|
460
|
-
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
|
461
|
-
# conditions in the version `3` policy are lost. If a policy does not include
|
|
462
|
-
# any conditions, operations on that policy may specify any valid version or
|
|
463
|
-
# leave the field unset. To learn which resources support conditions in their
|
|
464
|
-
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
|
465
|
-
# conditions/resource-policies).
|
|
466
|
-
# Corresponds to the JSON property `version`
|
|
467
|
-
# @return [Fixnum]
|
|
468
|
-
attr_accessor :version
|
|
469
|
-
|
|
470
|
-
def initialize(**args)
|
|
471
|
-
update!(**args)
|
|
472
|
-
end
|
|
473
|
-
|
|
474
|
-
# Update properties of this object
|
|
475
|
-
def update!(**args)
|
|
476
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
|
477
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
|
478
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
479
|
-
@version = args[:version] if args.key?(:version)
|
|
480
|
-
end
|
|
481
|
-
end
|
|
482
|
-
|
|
483
|
-
# Request message for `SetIamPolicy` method.
|
|
484
|
-
class ApigatewaySetIamPolicyRequest
|
|
485
|
-
include Google::Apis::Core::Hashable
|
|
486
|
-
|
|
487
|
-
# An Identity and Access Management (IAM) policy, which specifies access
|
|
488
|
-
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
489
|
-
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
490
|
-
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
491
|
-
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
492
|
-
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
493
|
-
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
494
|
-
# allows access to a resource only if the expression evaluates to `true`. A
|
|
495
|
-
# condition can add constraints based on attributes of the request, the resource,
|
|
496
|
-
# or both. To learn which resources support conditions in their IAM policies,
|
|
497
|
-
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
498
|
-
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
499
|
-
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
500
|
-
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
501
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
502
|
-
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
503
|
-
# title": "expirable access", "description": "Does not grant access after Sep
|
|
504
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
505
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
506
|
-
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
507
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
508
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
509
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
510
|
-
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
511
|
-
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
512
|
-
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
513
|
-
# google.com/iam/docs/).
|
|
514
|
-
# Corresponds to the JSON property `policy`
|
|
515
|
-
# @return [Google::Apis::ApigatewayV1alpha1::ApigatewayPolicy]
|
|
516
|
-
attr_accessor :policy
|
|
517
|
-
|
|
518
|
-
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
519
|
-
# the fields in the mask will be modified. If no mask is provided, the following
|
|
520
|
-
# default mask is used: `paths: "bindings, etag"`
|
|
521
|
-
# Corresponds to the JSON property `updateMask`
|
|
522
|
-
# @return [String]
|
|
523
|
-
attr_accessor :update_mask
|
|
524
|
-
|
|
525
|
-
def initialize(**args)
|
|
526
|
-
update!(**args)
|
|
527
|
-
end
|
|
528
|
-
|
|
529
|
-
# Update properties of this object
|
|
530
|
-
def update!(**args)
|
|
531
|
-
@policy = args[:policy] if args.key?(:policy)
|
|
532
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
|
533
|
-
end
|
|
534
|
-
end
|
|
535
|
-
|
|
536
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
537
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
538
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
539
|
-
# data: error code, error message, and error details. You can find out more
|
|
540
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
|
541
|
-
# //cloud.google.com/apis/design/errors).
|
|
542
|
-
class ApigatewayStatus
|
|
543
|
-
include Google::Apis::Core::Hashable
|
|
544
|
-
|
|
545
|
-
# The status code, which should be an enum value of google.rpc.Code.
|
|
546
|
-
# Corresponds to the JSON property `code`
|
|
547
|
-
# @return [Fixnum]
|
|
548
|
-
attr_accessor :code
|
|
549
|
-
|
|
550
|
-
# A list of messages that carry the error details. There is a common set of
|
|
551
|
-
# message types for APIs to use.
|
|
552
|
-
# Corresponds to the JSON property `details`
|
|
553
|
-
# @return [Array<Hash<String,Object>>]
|
|
554
|
-
attr_accessor :details
|
|
555
|
-
|
|
556
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
|
557
|
-
# error message should be localized and sent in the google.rpc.Status.details
|
|
558
|
-
# field, or localized by the client.
|
|
559
|
-
# Corresponds to the JSON property `message`
|
|
560
|
-
# @return [String]
|
|
561
|
-
attr_accessor :message
|
|
562
|
-
|
|
563
|
-
def initialize(**args)
|
|
564
|
-
update!(**args)
|
|
565
|
-
end
|
|
566
|
-
|
|
567
|
-
# Update properties of this object
|
|
568
|
-
def update!(**args)
|
|
569
|
-
@code = args[:code] if args.key?(:code)
|
|
570
|
-
@details = args[:details] if args.key?(:details)
|
|
571
|
-
@message = args[:message] if args.key?(:message)
|
|
572
|
-
end
|
|
573
|
-
end
|
|
574
|
-
|
|
575
|
-
# Request message for `TestIamPermissions` method.
|
|
576
|
-
class ApigatewayTestIamPermissionsRequest
|
|
577
|
-
include Google::Apis::Core::Hashable
|
|
578
|
-
|
|
579
|
-
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
580
|
-
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
|
581
|
-
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
582
|
-
# Corresponds to the JSON property `permissions`
|
|
583
|
-
# @return [Array<String>]
|
|
584
|
-
attr_accessor :permissions
|
|
585
|
-
|
|
586
|
-
def initialize(**args)
|
|
587
|
-
update!(**args)
|
|
588
|
-
end
|
|
589
|
-
|
|
590
|
-
# Update properties of this object
|
|
591
|
-
def update!(**args)
|
|
592
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
|
593
|
-
end
|
|
594
|
-
end
|
|
595
|
-
|
|
596
|
-
# Response message for `TestIamPermissions` method.
|
|
597
|
-
class ApigatewayTestIamPermissionsResponse
|
|
598
|
-
include Google::Apis::Core::Hashable
|
|
599
|
-
|
|
600
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
601
|
-
# Corresponds to the JSON property `permissions`
|
|
602
|
-
# @return [Array<String>]
|
|
603
|
-
attr_accessor :permissions
|
|
604
|
-
|
|
605
|
-
def initialize(**args)
|
|
606
|
-
update!(**args)
|
|
607
|
-
end
|
|
608
|
-
|
|
609
|
-
# Update properties of this object
|
|
610
|
-
def update!(**args)
|
|
611
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
|
612
|
-
end
|
|
613
|
-
end
|
|
614
|
-
|
|
615
|
-
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
616
|
-
# messages in your APIs. A typical example is to use it as the request or the
|
|
617
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
618
|
-
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
619
|
-
# `Empty` is empty JSON object ````.
|
|
620
|
-
class Empty
|
|
621
|
-
include Google::Apis::Core::Hashable
|
|
622
|
-
|
|
623
|
-
def initialize(**args)
|
|
624
|
-
update!(**args)
|
|
625
|
-
end
|
|
626
|
-
|
|
627
|
-
# Update properties of this object
|
|
628
|
-
def update!(**args)
|
|
629
|
-
end
|
|
630
|
-
end
|
|
631
|
-
end
|
|
632
|
-
end
|
|
633
|
-
end
|