google-api-client 0.29.2 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +106 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +51 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +6 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +24 -21
- data/generated/google/apis/composer_v1/service.rb +4 -2
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +24 -21
- data/generated/google/apis/composer_v1beta1/service.rb +4 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +36 -1
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +44 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +4 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +19 -0
- data/generated/google/apis/fcm_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1.rb +1 -4
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/service.rb +21 -21
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +21 -21
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -1
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +25 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +14 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +25 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +14 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +25 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +14 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +354 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +129 -0
- data/generated/google/apis/run_v1alpha1/service.rb +176 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +2 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -4
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +46 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +29 -0
- data/generated/google/apis/tagmanager_v2/service.rb +219 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -1
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1.rb +2 -17
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -311
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -148
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -419
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/youtube_analytics_v1beta1.rb +0 -46
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +0 -337
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +0 -174
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +0 -473
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class ConfigMapVolumeSource
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class Configuration
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -142,6 +148,18 @@ module Google
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
143
149
|
end
|
144
150
|
|
151
|
+
class EventType
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class EventTypeSpec
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
145
163
|
class ExecAction
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
165
|
|
@@ -190,6 +208,12 @@ module Google
|
|
190
208
|
include Google::Apis::Core::JsonObjectSupport
|
191
209
|
end
|
192
210
|
|
211
|
+
class KeyToPath
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
193
217
|
class Lifecycle
|
194
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
219
|
|
@@ -214,6 +238,12 @@ module Google
|
|
214
238
|
include Google::Apis::Core::JsonObjectSupport
|
215
239
|
end
|
216
240
|
|
241
|
+
class ListEventTypesResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
217
247
|
class ListLocationsResponse
|
218
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
249
|
|
@@ -376,6 +406,12 @@ module Google
|
|
376
406
|
include Google::Apis::Core::JsonObjectSupport
|
377
407
|
end
|
378
408
|
|
409
|
+
class SecretVolumeSource
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
379
415
|
class SecurityContext
|
380
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
417
|
|
@@ -502,6 +538,12 @@ module Google
|
|
502
538
|
include Google::Apis::Core::JsonObjectSupport
|
503
539
|
end
|
504
540
|
|
541
|
+
class Volume
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
505
547
|
class VolumeDevice
|
506
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
549
|
|
@@ -573,6 +615,17 @@ module Google
|
|
573
615
|
end
|
574
616
|
end
|
575
617
|
|
618
|
+
class ConfigMapVolumeSource
|
619
|
+
# @private
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
621
|
+
property :default_mode, as: 'defaultMode'
|
622
|
+
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::KeyToPath, decorator: Google::Apis::RunV1alpha1::KeyToPath::Representation
|
623
|
+
|
624
|
+
property :name, as: 'name'
|
625
|
+
property :optional, as: 'optional'
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
576
629
|
class Configuration
|
577
630
|
# @private
|
578
631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -593,6 +646,7 @@ module Google
|
|
593
646
|
property :last_transition_time, as: 'lastTransitionTime'
|
594
647
|
property :message, as: 'message'
|
595
648
|
property :reason, as: 'reason'
|
649
|
+
property :severity, as: 'severity'
|
596
650
|
property :status, as: 'status'
|
597
651
|
property :type, as: 'type'
|
598
652
|
end
|
@@ -685,8 +739,10 @@ module Google
|
|
685
739
|
class DomainMappingCondition
|
686
740
|
# @private
|
687
741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
742
|
+
property :last_transition_time, as: 'lastTransitionTime'
|
688
743
|
property :message, as: 'message'
|
689
744
|
property :reason, as: 'reason'
|
745
|
+
property :severity, as: 'severity'
|
690
746
|
property :status, as: 'status'
|
691
747
|
property :type, as: 'type'
|
692
748
|
end
|
@@ -738,6 +794,29 @@ module Google
|
|
738
794
|
end
|
739
795
|
end
|
740
796
|
|
797
|
+
class EventType
|
798
|
+
# @private
|
799
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
800
|
+
property :api_version, as: 'apiVersion'
|
801
|
+
property :kind, as: 'kind'
|
802
|
+
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
|
803
|
+
|
804
|
+
property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::EventTypeSpec, decorator: Google::Apis::RunV1alpha1::EventTypeSpec::Representation
|
805
|
+
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
class EventTypeSpec
|
810
|
+
# @private
|
811
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
812
|
+
property :broker, as: 'broker'
|
813
|
+
property :description, as: 'description'
|
814
|
+
property :schema, as: 'schema'
|
815
|
+
property :source, as: 'source'
|
816
|
+
property :type, as: 'type'
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
741
820
|
class ExecAction
|
742
821
|
# @private
|
743
822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -812,6 +891,15 @@ module Google
|
|
812
891
|
end
|
813
892
|
end
|
814
893
|
|
894
|
+
class KeyToPath
|
895
|
+
# @private
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
897
|
+
property :key, as: 'key'
|
898
|
+
property :mode, as: 'mode'
|
899
|
+
property :path, as: 'path'
|
900
|
+
end
|
901
|
+
end
|
902
|
+
|
815
903
|
class Lifecycle
|
816
904
|
# @private
|
817
905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -856,6 +944,19 @@ module Google
|
|
856
944
|
end
|
857
945
|
end
|
858
946
|
|
947
|
+
class ListEventTypesResponse
|
948
|
+
# @private
|
949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
950
|
+
property :api_version, as: 'apiVersion'
|
951
|
+
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::EventType, decorator: Google::Apis::RunV1alpha1::EventType::Representation
|
952
|
+
|
953
|
+
property :kind, as: 'kind'
|
954
|
+
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
|
955
|
+
|
956
|
+
collection :unreachable, as: 'unreachable'
|
957
|
+
end
|
958
|
+
end
|
959
|
+
|
859
960
|
class ListLocationsResponse
|
860
961
|
# @private
|
861
962
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1066,6 +1167,7 @@ module Google
|
|
1066
1167
|
property :last_transition_time, as: 'lastTransitionTime'
|
1067
1168
|
property :message, as: 'message'
|
1068
1169
|
property :reason, as: 'reason'
|
1170
|
+
property :severity, as: 'severity'
|
1069
1171
|
property :status, as: 'status'
|
1070
1172
|
property :type, as: 'type'
|
1071
1173
|
end
|
@@ -1084,6 +1186,8 @@ module Google
|
|
1084
1186
|
property :service_account_name, as: 'serviceAccountName'
|
1085
1187
|
property :serving_state, as: 'servingState'
|
1086
1188
|
property :timeout_seconds, as: 'timeoutSeconds'
|
1189
|
+
collection :volumes, as: 'volumes', class: Google::Apis::RunV1alpha1::Volume, decorator: Google::Apis::RunV1alpha1::Volume::Representation
|
1190
|
+
|
1087
1191
|
end
|
1088
1192
|
end
|
1089
1193
|
|
@@ -1129,6 +1233,7 @@ module Google
|
|
1129
1233
|
property :last_transition_time, as: 'lastTransitionTime'
|
1130
1234
|
property :message, as: 'message'
|
1131
1235
|
property :reason, as: 'reason'
|
1236
|
+
property :severity, as: 'severity'
|
1132
1237
|
property :status, as: 'status'
|
1133
1238
|
property :type, as: 'type'
|
1134
1239
|
end
|
@@ -1177,6 +1282,17 @@ module Google
|
|
1177
1282
|
end
|
1178
1283
|
end
|
1179
1284
|
|
1285
|
+
class SecretVolumeSource
|
1286
|
+
# @private
|
1287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1288
|
+
property :default_mode, as: 'defaultMode'
|
1289
|
+
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::KeyToPath, decorator: Google::Apis::RunV1alpha1::KeyToPath::Representation
|
1290
|
+
|
1291
|
+
property :optional, as: 'optional'
|
1292
|
+
property :secret_name, as: 'secretName'
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1180
1296
|
class SecurityContext
|
1181
1297
|
# @private
|
1182
1298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1213,6 +1329,7 @@ module Google
|
|
1213
1329
|
property :last_transition_time, as: 'lastTransitionTime'
|
1214
1330
|
property :message, as: 'message'
|
1215
1331
|
property :reason, as: 'reason'
|
1332
|
+
property :severity, as: 'severity'
|
1216
1333
|
property :status, as: 'status'
|
1217
1334
|
property :type, as: 'type'
|
1218
1335
|
end
|
@@ -1360,6 +1477,7 @@ module Google
|
|
1360
1477
|
property :last_transition_time, as: 'lastTransitionTime'
|
1361
1478
|
property :message, as: 'message'
|
1362
1479
|
property :reason, as: 'reason'
|
1480
|
+
property :severity, as: 'severity'
|
1363
1481
|
property :status, as: 'status'
|
1364
1482
|
property :type, as: 'type'
|
1365
1483
|
end
|
@@ -1402,6 +1520,17 @@ module Google
|
|
1402
1520
|
end
|
1403
1521
|
end
|
1404
1522
|
|
1523
|
+
class Volume
|
1524
|
+
# @private
|
1525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1526
|
+
property :config_map, as: 'configMap', class: Google::Apis::RunV1alpha1::ConfigMapVolumeSource, decorator: Google::Apis::RunV1alpha1::ConfigMapVolumeSource::Representation
|
1527
|
+
|
1528
|
+
property :name, as: 'name'
|
1529
|
+
property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretVolumeSource, decorator: Google::Apis::RunV1alpha1::SecretVolumeSource::Representation
|
1530
|
+
|
1531
|
+
end
|
1532
|
+
end
|
1533
|
+
|
1405
1534
|
class VolumeDevice
|
1406
1535
|
# @private
|
1407
1536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -344,6 +344,94 @@ module Google
|
|
344
344
|
execute_or_queue_command(command, &block)
|
345
345
|
end
|
346
346
|
|
347
|
+
# Rpc to get information about an EventType.
|
348
|
+
# @param [String] name
|
349
|
+
# The name of the trigger being retrieved. If needed, replace
|
350
|
+
# `namespace_id` with the project ID.
|
351
|
+
# @param [String] fields
|
352
|
+
# Selector specifying which fields to include in a partial response.
|
353
|
+
# @param [String] quota_user
|
354
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
355
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
356
|
+
# @param [Google::Apis::RequestOptions] options
|
357
|
+
# Request-specific options
|
358
|
+
#
|
359
|
+
# @yield [result, err] Result & error if block supplied
|
360
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
|
361
|
+
# @yieldparam err [StandardError] error object if request failed
|
362
|
+
#
|
363
|
+
# @return [Google::Apis::RunV1alpha1::EventType]
|
364
|
+
#
|
365
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
366
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
367
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
368
|
+
def get_namespace_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
|
369
|
+
command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
|
370
|
+
command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
|
371
|
+
command.response_class = Google::Apis::RunV1alpha1::EventType
|
372
|
+
command.params['name'] = name unless name.nil?
|
373
|
+
command.query['fields'] = fields unless fields.nil?
|
374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
375
|
+
execute_or_queue_command(command, &block)
|
376
|
+
end
|
377
|
+
|
378
|
+
# Rpc to list EventTypes.
|
379
|
+
# @param [String] parent
|
380
|
+
# The project ID or project number from which the EventTypes should be
|
381
|
+
# listed.
|
382
|
+
# @param [String] continue
|
383
|
+
# Optional encoded string to continue paging.
|
384
|
+
# @param [String] field_selector
|
385
|
+
# Allows to filter resources based on a specific value for a field name.
|
386
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
387
|
+
# Not currently used by Cloud Run.
|
388
|
+
# @param [Boolean] include_uninitialized
|
389
|
+
# Not currently used by Cloud Run.
|
390
|
+
# @param [String] label_selector
|
391
|
+
# Allows to filter resources based on a label. Supported operations are
|
392
|
+
# =, !=, exists, in, and notIn.
|
393
|
+
# @param [Fixnum] limit
|
394
|
+
# The maximum number of records that should be returned.
|
395
|
+
# @param [String] resource_version
|
396
|
+
# The baseline resource version from which the list or watch operation should
|
397
|
+
# start. Not currently used by Cloud Run.
|
398
|
+
# @param [Boolean] watch
|
399
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
400
|
+
# Not currently used by Cloud Run.
|
401
|
+
# @param [String] fields
|
402
|
+
# Selector specifying which fields to include in a partial response.
|
403
|
+
# @param [String] quota_user
|
404
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
405
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
406
|
+
# @param [Google::Apis::RequestOptions] options
|
407
|
+
# Request-specific options
|
408
|
+
#
|
409
|
+
# @yield [result, err] Result & error if block supplied
|
410
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListEventTypesResponse] parsed result object
|
411
|
+
# @yieldparam err [StandardError] error object if request failed
|
412
|
+
#
|
413
|
+
# @return [Google::Apis::RunV1alpha1::ListEventTypesResponse]
|
414
|
+
#
|
415
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
416
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
417
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
418
|
+
def list_namespace_eventtypes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
419
|
+
command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/eventtypes', options)
|
420
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation
|
421
|
+
command.response_class = Google::Apis::RunV1alpha1::ListEventTypesResponse
|
422
|
+
command.params['parent'] = parent unless parent.nil?
|
423
|
+
command.query['continue'] = continue unless continue.nil?
|
424
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
425
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
426
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
427
|
+
command.query['limit'] = limit unless limit.nil?
|
428
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
429
|
+
command.query['watch'] = watch unless watch.nil?
|
430
|
+
command.query['fields'] = fields unless fields.nil?
|
431
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
432
|
+
execute_or_queue_command(command, &block)
|
433
|
+
end
|
434
|
+
|
347
435
|
# Rpc to delete a revision.
|
348
436
|
# @param [String] name
|
349
437
|
# The name of the revision being deleted. If needed, replace
|
@@ -1318,6 +1406,94 @@ module Google
|
|
1318
1406
|
execute_or_queue_command(command, &block)
|
1319
1407
|
end
|
1320
1408
|
|
1409
|
+
# Rpc to get information about an EventType.
|
1410
|
+
# @param [String] name
|
1411
|
+
# The name of the trigger being retrieved. If needed, replace
|
1412
|
+
# `namespace_id` with the project ID.
|
1413
|
+
# @param [String] fields
|
1414
|
+
# Selector specifying which fields to include in a partial response.
|
1415
|
+
# @param [String] quota_user
|
1416
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1417
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1418
|
+
# @param [Google::Apis::RequestOptions] options
|
1419
|
+
# Request-specific options
|
1420
|
+
#
|
1421
|
+
# @yield [result, err] Result & error if block supplied
|
1422
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
|
1423
|
+
# @yieldparam err [StandardError] error object if request failed
|
1424
|
+
#
|
1425
|
+
# @return [Google::Apis::RunV1alpha1::EventType]
|
1426
|
+
#
|
1427
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1428
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1429
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1430
|
+
def get_project_location_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
|
1431
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1432
|
+
command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
|
1433
|
+
command.response_class = Google::Apis::RunV1alpha1::EventType
|
1434
|
+
command.params['name'] = name unless name.nil?
|
1435
|
+
command.query['fields'] = fields unless fields.nil?
|
1436
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1437
|
+
execute_or_queue_command(command, &block)
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Rpc to list EventTypes.
|
1441
|
+
# @param [String] parent
|
1442
|
+
# The project ID or project number from which the EventTypes should be
|
1443
|
+
# listed.
|
1444
|
+
# @param [String] continue
|
1445
|
+
# Optional encoded string to continue paging.
|
1446
|
+
# @param [String] field_selector
|
1447
|
+
# Allows to filter resources based on a specific value for a field name.
|
1448
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1449
|
+
# Not currently used by Cloud Run.
|
1450
|
+
# @param [Boolean] include_uninitialized
|
1451
|
+
# Not currently used by Cloud Run.
|
1452
|
+
# @param [String] label_selector
|
1453
|
+
# Allows to filter resources based on a label. Supported operations are
|
1454
|
+
# =, !=, exists, in, and notIn.
|
1455
|
+
# @param [Fixnum] limit
|
1456
|
+
# The maximum number of records that should be returned.
|
1457
|
+
# @param [String] resource_version
|
1458
|
+
# The baseline resource version from which the list or watch operation should
|
1459
|
+
# start. Not currently used by Cloud Run.
|
1460
|
+
# @param [Boolean] watch
|
1461
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
1462
|
+
# Not currently used by Cloud Run.
|
1463
|
+
# @param [String] fields
|
1464
|
+
# Selector specifying which fields to include in a partial response.
|
1465
|
+
# @param [String] quota_user
|
1466
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1467
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1468
|
+
# @param [Google::Apis::RequestOptions] options
|
1469
|
+
# Request-specific options
|
1470
|
+
#
|
1471
|
+
# @yield [result, err] Result & error if block supplied
|
1472
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListEventTypesResponse] parsed result object
|
1473
|
+
# @yieldparam err [StandardError] error object if request failed
|
1474
|
+
#
|
1475
|
+
# @return [Google::Apis::RunV1alpha1::ListEventTypesResponse]
|
1476
|
+
#
|
1477
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1478
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1479
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1480
|
+
def list_project_location_eventtypes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1481
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/eventtypes', options)
|
1482
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation
|
1483
|
+
command.response_class = Google::Apis::RunV1alpha1::ListEventTypesResponse
|
1484
|
+
command.params['parent'] = parent unless parent.nil?
|
1485
|
+
command.query['continue'] = continue unless continue.nil?
|
1486
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1487
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1488
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1489
|
+
command.query['limit'] = limit unless limit.nil?
|
1490
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1491
|
+
command.query['watch'] = watch unless watch.nil?
|
1492
|
+
command.query['fields'] = fields unless fields.nil?
|
1493
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1494
|
+
execute_or_queue_command(command, &block)
|
1495
|
+
end
|
1496
|
+
|
1321
1497
|
# Rpc to delete a revision.
|
1322
1498
|
# @param [String] name
|
1323
1499
|
# The name of the revision being deleted. If needed, replace
|