google-api-client 0.37.1 → 0.37.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +105 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1/classes.rb +2 -2
  7. data/generated/google/apis/accesscontextmanager_v1/service.rb +10 -8
  8. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -38
  10. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -16
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v3/classes.rb +193 -0
  14. data/generated/google/apis/androidpublisher_v3/representations.rb +89 -0
  15. data/generated/google/apis/appengine_v1.rb +1 -1
  16. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta.rb +1 -1
  18. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  19. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  20. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +15 -14
  22. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/books_v1.rb +1 -1
  25. data/generated/google/apis/books_v1/classes.rb +86 -0
  26. data/generated/google/apis/books_v1/representations.rb +37 -0
  27. data/generated/google/apis/classroom_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  30. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  31. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  32. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  33. data/generated/google/apis/cloudiot_v1.rb +1 -1
  34. data/generated/google/apis/cloudkms_v1.rb +1 -1
  35. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  36. data/generated/google/apis/cloudsearch_v1/classes.rb +0 -2
  37. data/generated/google/apis/cloudsearch_v1/service.rb +12 -0
  38. data/generated/google/apis/cloudshell_v1.rb +1 -1
  39. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  40. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  41. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  42. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  43. data/generated/google/apis/composer_v1beta1.rb +1 -1
  44. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  45. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +30 -26
  49. data/generated/google/apis/content_v2_1.rb +1 -1
  50. data/generated/google/apis/content_v2_1/classes.rb +30 -26
  51. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  52. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -37
  53. data/generated/google/apis/datacatalog_v1beta1/representations.rb +2 -15
  54. data/generated/google/apis/datacatalog_v1beta1/service.rb +0 -43
  55. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  56. data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -0
  57. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  58. data/generated/google/apis/datastore_v1.rb +1 -1
  59. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  60. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  61. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  62. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -7
  63. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -1
  64. data/generated/google/apis/dialogflow_v2.rb +1 -1
  65. data/generated/google/apis/dialogflow_v2/classes.rb +20 -231
  66. data/generated/google/apis/dialogflow_v2/representations.rb +1 -95
  67. data/generated/google/apis/dialogflow_v2/service.rb +26 -390
  68. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -235
  70. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -95
  71. data/generated/google/apis/dialogflow_v2beta1/service.rb +68 -804
  72. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  73. data/generated/google/apis/displayvideo_v1.rb +38 -0
  74. data/generated/google/apis/displayvideo_v1/classes.rb +382 -0
  75. data/generated/google/apis/displayvideo_v1/representations.rb +167 -0
  76. data/generated/google/apis/displayvideo_v1/service.rb +176 -0
  77. data/generated/google/apis/dlp_v2.rb +1 -1
  78. data/generated/google/apis/dlp_v2/classes.rb +31 -0
  79. data/generated/google/apis/dlp_v2/representations.rb +5 -0
  80. data/generated/google/apis/docs_v1.rb +1 -1
  81. data/generated/google/apis/docs_v1/classes.rb +22 -0
  82. data/generated/google/apis/docs_v1/representations.rb +3 -0
  83. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  84. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  85. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  86. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
  87. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  88. data/generated/google/apis/firestore_v1.rb +1 -1
  89. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  90. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  91. data/generated/google/apis/fitness_v1.rb +1 -1
  92. data/generated/google/apis/fitness_v1/service.rb +13 -9
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  95. data/generated/google/apis/iam_v1.rb +1 -1
  96. data/generated/google/apis/language_v1.rb +1 -1
  97. data/generated/google/apis/language_v1beta1.rb +1 -1
  98. data/generated/google/apis/language_v1beta2.rb +1 -1
  99. data/generated/google/apis/logging_v2.rb +1 -1
  100. data/generated/google/apis/logging_v2/classes.rb +22 -35
  101. data/generated/google/apis/logging_v2/representations.rb +0 -2
  102. data/generated/google/apis/logging_v2/service.rb +14 -14
  103. data/generated/google/apis/managedidentities_v1.rb +35 -0
  104. data/generated/google/apis/managedidentities_v1/classes.rb +1662 -0
  105. data/generated/google/apis/managedidentities_v1/representations.rb +576 -0
  106. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  107. data/generated/google/apis/managedidentities_v1alpha1.rb +35 -0
  108. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1661 -0
  109. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +576 -0
  110. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  111. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  112. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1659 -0
  113. data/generated/google/apis/managedidentities_v1beta1/representations.rb +576 -0
  114. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  115. data/generated/google/apis/ml_v1.rb +1 -1
  116. data/generated/google/apis/ml_v1/classes.rb +23 -43
  117. data/generated/google/apis/oauth2_v2.rb +1 -1
  118. data/generated/google/apis/oauth2_v2/classes.rb +0 -68
  119. data/generated/google/apis/oauth2_v2/representations.rb +0 -32
  120. data/generated/google/apis/oauth2_v2/service.rb +0 -30
  121. data/generated/google/apis/pubsub_v1.rb +1 -1
  122. data/generated/google/apis/pubsub_v1/classes.rb +16 -12
  123. data/generated/google/apis/pubsub_v1/service.rb +22 -21
  124. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  125. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  126. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  127. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  128. data/generated/google/apis/run_v1.rb +1 -1
  129. data/generated/google/apis/run_v1/classes.rb +48 -0
  130. data/generated/google/apis/run_v1/representations.rb +17 -0
  131. data/generated/google/apis/run_v1/service.rb +208 -0
  132. data/generated/google/apis/run_v1alpha1.rb +1 -1
  133. data/generated/google/apis/run_v1alpha1/classes.rb +431 -280
  134. data/generated/google/apis/run_v1alpha1/representations.rb +156 -105
  135. data/generated/google/apis/run_v1alpha1/service.rb +874 -448
  136. data/generated/google/apis/run_v1beta1.rb +1 -1
  137. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  138. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  139. data/generated/google/apis/secretmanager_v1.rb +3 -3
  140. data/generated/google/apis/secretmanager_v1/service.rb +2 -2
  141. data/generated/google/apis/secretmanager_v1beta1.rb +3 -3
  142. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -2
  143. data/generated/google/apis/securitycenter_v1.rb +1 -1
  144. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  145. data/generated/google/apis/securitycenter_v1beta1/classes.rb +98 -98
  146. data/generated/google/apis/securitycenter_v1beta1/representations.rb +37 -37
  147. data/generated/google/apis/securitycenter_v1beta1/service.rb +36 -36
  148. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  149. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  150. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  151. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +56 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  153. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  154. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  155. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  156. data/generated/google/apis/servicenetworking_v1/classes.rb +56 -0
  157. data/generated/google/apis/servicenetworking_v1/representations.rb +17 -0
  158. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1beta/classes.rb +56 -0
  160. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -0
  161. data/generated/google/apis/serviceusage_v1.rb +1 -1
  162. data/generated/google/apis/serviceusage_v1/classes.rb +56 -0
  163. data/generated/google/apis/serviceusage_v1/representations.rb +17 -0
  164. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  165. data/generated/google/apis/serviceusage_v1beta1/classes.rb +56 -0
  166. data/generated/google/apis/serviceusage_v1beta1/representations.rb +17 -0
  167. data/generated/google/apis/spanner_v1.rb +1 -1
  168. data/generated/google/apis/spanner_v1/classes.rb +38 -11
  169. data/generated/google/apis/spanner_v1/representations.rb +15 -0
  170. data/generated/google/apis/speech_v1.rb +1 -1
  171. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  172. data/generated/google/apis/speech_v2beta1.rb +1 -1
  173. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  174. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  175. data/generated/google/apis/texttospeech_v1.rb +1 -1
  176. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  177. data/generated/google/apis/toolresults_v1.rb +1 -1
  178. data/generated/google/apis/toolresults_v1/service.rb +1 -1
  179. data/generated/google/apis/translate_v3.rb +1 -1
  180. data/generated/google/apis/translate_v3beta1.rb +1 -1
  181. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  182. data/generated/google/apis/websecurityscanner_v1/classes.rb +6 -0
  183. data/generated/google/apis/websecurityscanner_v1/representations.rb +1 -0
  184. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  185. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -0
  186. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
  187. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  188. data/generated/google/apis/youtube_v3.rb +1 -1
  189. data/generated/google/apis/youtube_v3/classes.rb +72 -33
  190. data/generated/google/apis/youtube_v3/representations.rb +32 -4
  191. data/lib/google/apis/version.rb +1 -1
  192. metadata +19 -3
@@ -100,6 +100,42 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class CloudSchedulerSource
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CloudSchedulerSourceSpec
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CloudSchedulerSourceStatus
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class CloudStorageSource
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class CloudStorageSourceSpec
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class CloudStorageSourceStatus
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
103
139
  class Condition
104
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
141
 
@@ -244,49 +280,49 @@ module Google
244
280
  include Google::Apis::Core::JsonObjectSupport
245
281
  end
246
282
 
247
- class Initializer
283
+ class IntOrString
248
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
285
 
250
286
  include Google::Apis::Core::JsonObjectSupport
251
287
  end
252
288
 
253
- class Initializers
289
+ class KeyToPath
254
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
291
 
256
292
  include Google::Apis::Core::JsonObjectSupport
257
293
  end
258
294
 
259
- class IntOrString
295
+ class Lifecycle
260
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
297
 
262
298
  include Google::Apis::Core::JsonObjectSupport
263
299
  end
264
300
 
265
- class KeyToPath
301
+ class ListAuthorizedDomainsResponse
266
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
303
 
268
304
  include Google::Apis::Core::JsonObjectSupport
269
305
  end
270
306
 
271
- class Lifecycle
307
+ class ListCloudAuditLogsSourcesResponse
272
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
309
 
274
310
  include Google::Apis::Core::JsonObjectSupport
275
311
  end
276
312
 
277
- class ListAuthorizedDomainsResponse
313
+ class ListCloudPubSubSourcesResponse
278
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
315
 
280
316
  include Google::Apis::Core::JsonObjectSupport
281
317
  end
282
318
 
283
- class ListCloudAuditLogsSourcesResponse
319
+ class ListCloudSchedulerSourcesResponse
284
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
321
 
286
322
  include Google::Apis::Core::JsonObjectSupport
287
323
  end
288
324
 
289
- class ListCloudPubSubSourcesResponse
325
+ class ListCloudStorageSourcesResponse
290
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
327
 
292
328
  include Google::Apis::Core::JsonObjectSupport
@@ -334,12 +370,6 @@ module Google
334
370
  include Google::Apis::Core::JsonObjectSupport
335
371
  end
336
372
 
337
- class ListStoragesResponse
338
- class Representation < Google::Apis::Core::JsonRepresentation; end
339
-
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
342
-
343
373
  class ListTriggersResponse
344
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
375
 
@@ -544,24 +574,6 @@ module Google
544
574
  include Google::Apis::Core::JsonObjectSupport
545
575
  end
546
576
 
547
- class Storage
548
- class Representation < Google::Apis::Core::JsonRepresentation; end
549
-
550
- include Google::Apis::Core::JsonObjectSupport
551
- end
552
-
553
- class StorageSpec
554
- class Representation < Google::Apis::Core::JsonRepresentation; end
555
-
556
- include Google::Apis::Core::JsonObjectSupport
557
- end
558
-
559
- class StorageStatus
560
- class Representation < Google::Apis::Core::JsonRepresentation; end
561
-
562
- include Google::Apis::Core::JsonObjectSupport
563
- end
564
-
565
577
  class TcpSocketAction
566
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
579
 
@@ -773,6 +785,92 @@ module Google
773
785
  end
774
786
  end
775
787
 
788
+ class CloudSchedulerSource
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :api_version, as: 'apiVersion'
792
+ property :kind, as: 'kind'
793
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
794
+
795
+ property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::CloudSchedulerSourceSpec, decorator: Google::Apis::RunV1alpha1::CloudSchedulerSourceSpec::Representation
796
+
797
+ property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus, decorator: Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus::Representation
798
+
799
+ end
800
+ end
801
+
802
+ class CloudSchedulerSourceSpec
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
806
+
807
+ property :data, as: 'data'
808
+ property :location, as: 'location'
809
+ property :project, as: 'project'
810
+ property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
811
+
812
+ property :schedule, as: 'schedule'
813
+ property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
814
+
815
+ property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
816
+
817
+ end
818
+ end
819
+
820
+ class CloudSchedulerSourceStatus
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
824
+
825
+ property :observed_generation, as: 'observedGeneration'
826
+ property :sink_uri, as: 'sinkUri'
827
+ end
828
+ end
829
+
830
+ class CloudStorageSource
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ property :api_version, as: 'apiVersion'
834
+ property :kind, as: 'kind'
835
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
836
+
837
+ property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::CloudStorageSourceSpec, decorator: Google::Apis::RunV1alpha1::CloudStorageSourceSpec::Representation
838
+
839
+ property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudStorageSourceStatus, decorator: Google::Apis::RunV1alpha1::CloudStorageSourceStatus::Representation
840
+
841
+ end
842
+ end
843
+
844
+ class CloudStorageSourceSpec
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :bucket, as: 'bucket'
848
+ property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
849
+
850
+ collection :event_types, as: 'eventTypes'
851
+ property :object_name_prefix, as: 'objectNamePrefix'
852
+ property :payload_format, as: 'payloadFormat'
853
+ property :project, as: 'project'
854
+ property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
855
+
856
+ property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
857
+
858
+ property :service_account_name, as: 'serviceAccountName'
859
+ property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
860
+
861
+ end
862
+ end
863
+
864
+ class CloudStorageSourceStatus
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
868
+
869
+ property :observed_generation, as: 'observedGeneration'
870
+ property :sink_uri, as: 'sinkUri'
871
+ end
872
+ end
873
+
776
874
  class Condition
777
875
  # @private
778
876
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,21 +1154,6 @@ module Google
1056
1154
  end
1057
1155
  end
1058
1156
 
1059
- class Initializer
1060
- # @private
1061
- class Representation < Google::Apis::Core::JsonRepresentation
1062
- property :name, as: 'name'
1063
- end
1064
- end
1065
-
1066
- class Initializers
1067
- # @private
1068
- class Representation < Google::Apis::Core::JsonRepresentation
1069
- collection :pending, as: 'pending', class: Google::Apis::RunV1alpha1::Initializer, decorator: Google::Apis::RunV1alpha1::Initializer::Representation
1070
-
1071
- end
1072
- end
1073
-
1074
1157
  class IntOrString
1075
1158
  # @private
1076
1159
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1134,6 +1217,32 @@ module Google
1134
1217
  end
1135
1218
  end
1136
1219
 
1220
+ class ListCloudSchedulerSourcesResponse
1221
+ # @private
1222
+ class Representation < Google::Apis::Core::JsonRepresentation
1223
+ property :api_version, as: 'apiVersion'
1224
+ collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudSchedulerSource, decorator: Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
1225
+
1226
+ property :kind, as: 'kind'
1227
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
1228
+
1229
+ collection :unreachable, as: 'unreachable'
1230
+ end
1231
+ end
1232
+
1233
+ class ListCloudStorageSourcesResponse
1234
+ # @private
1235
+ class Representation < Google::Apis::Core::JsonRepresentation
1236
+ property :api_version, as: 'apiVersion'
1237
+ collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudStorageSource, decorator: Google::Apis::RunV1alpha1::CloudStorageSource::Representation
1238
+
1239
+ property :kind, as: 'kind'
1240
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
1241
+
1242
+ collection :unreachable, as: 'unreachable'
1243
+ end
1244
+ end
1245
+
1137
1246
  class ListConfigurationsResponse
1138
1247
  # @private
1139
1248
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1217,19 +1326,6 @@ module Google
1217
1326
  end
1218
1327
  end
1219
1328
 
1220
- class ListStoragesResponse
1221
- # @private
1222
- class Representation < Google::Apis::Core::JsonRepresentation
1223
- property :api_version, as: 'apiVersion'
1224
- collection :items, as: 'items', class: Google::Apis::RunV1alpha1::Storage, decorator: Google::Apis::RunV1alpha1::Storage::Representation
1225
-
1226
- property :kind, as: 'kind'
1227
- property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
1228
-
1229
- collection :unreachable, as: 'unreachable'
1230
- end
1231
- end
1232
-
1233
1329
  class ListTriggersResponse
1234
1330
  # @private
1235
1331
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1272,8 +1368,6 @@ module Google
1272
1368
  collection :finalizers, as: 'finalizers'
1273
1369
  property :generate_name, as: 'generateName'
1274
1370
  property :generation, as: 'generation'
1275
- property :initializers, as: 'initializers', class: Google::Apis::RunV1alpha1::Initializers, decorator: Google::Apis::RunV1alpha1::Initializers::Representation
1276
-
1277
1371
  hash :labels, as: 'labels'
1278
1372
  property :name, as: 'name'
1279
1373
  property :namespace, as: 'namespace'
@@ -1642,49 +1736,6 @@ module Google
1642
1736
  end
1643
1737
  end
1644
1738
 
1645
- class Storage
1646
- # @private
1647
- class Representation < Google::Apis::Core::JsonRepresentation
1648
- property :api_version, as: 'apiVersion'
1649
- property :kind, as: 'kind'
1650
- property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
1651
-
1652
- property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::StorageSpec, decorator: Google::Apis::RunV1alpha1::StorageSpec::Representation
1653
-
1654
- property :status, as: 'status', class: Google::Apis::RunV1alpha1::StorageStatus, decorator: Google::Apis::RunV1alpha1::StorageStatus::Representation
1655
-
1656
- end
1657
- end
1658
-
1659
- class StorageSpec
1660
- # @private
1661
- class Representation < Google::Apis::Core::JsonRepresentation
1662
- property :bucket, as: 'bucket'
1663
- property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
1664
-
1665
- collection :event_types, as: 'eventTypes'
1666
- property :object_name_prefix, as: 'objectNamePrefix'
1667
- property :payload_format, as: 'payloadFormat'
1668
- property :project, as: 'project'
1669
- property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
1670
-
1671
- property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
1672
-
1673
- property :service_account_name, as: 'serviceAccountName'
1674
- property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
1675
-
1676
- end
1677
- end
1678
-
1679
- class StorageStatus
1680
- # @private
1681
- class Representation < Google::Apis::Core::JsonRepresentation
1682
- collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
1683
-
1684
- property :observed_generation, as: 'observedGeneration'
1685
- end
1686
- end
1687
-
1688
1739
  class TcpSocketAction
1689
1740
  # @private
1690
1741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -414,6 +414,423 @@ module Google
414
414
  execute_or_queue_command(command, &block)
415
415
  end
416
416
 
417
+ # Creates a new cloudschedulersource.
418
+ # @param [String] parent
419
+ # Required. The project ID or project number in which this cloudschedulersource
420
+ # should
421
+ # be created.
422
+ # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
423
+ # @param [String] fields
424
+ # Selector specifying which fields to include in a partial response.
425
+ # @param [String] quota_user
426
+ # Available to use for quota purposes for server-side applications. Can be any
427
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
428
+ # @param [Google::Apis::RequestOptions] options
429
+ # Request-specific options
430
+ #
431
+ # @yield [result, err] Result & error if block supplied
432
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
433
+ # @yieldparam err [StandardError] error object if request failed
434
+ #
435
+ # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
436
+ #
437
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
438
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
439
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
440
+ def create_namespace_cloudschedulersource(parent, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
441
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudschedulersources', options)
442
+ command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
443
+ command.request_object = cloud_scheduler_source_object
444
+ command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
445
+ command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
446
+ command.params['parent'] = parent unless parent.nil?
447
+ command.query['fields'] = fields unless fields.nil?
448
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
449
+ execute_or_queue_command(command, &block)
450
+ end
451
+
452
+ # Rpc to delete a cloudschedulersource.
453
+ # @param [String] name
454
+ # Required. The name of the cloudschedulersource being deleted. If needed,
455
+ # replace
456
+ # `namespace_id` with the project ID.
457
+ # @param [String] api_version
458
+ # Cloud Run currently ignores this parameter.
459
+ # @param [String] kind
460
+ # Cloud Run currently ignores this parameter.
461
+ # @param [String] propagation_policy
462
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
463
+ # this setting, and deletes in the background. Please see
464
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
465
+ # more information.
466
+ # @param [String] fields
467
+ # Selector specifying which fields to include in a partial response.
468
+ # @param [String] quota_user
469
+ # Available to use for quota purposes for server-side applications. Can be any
470
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
471
+ # @param [Google::Apis::RequestOptions] options
472
+ # Request-specific options
473
+ #
474
+ # @yield [result, err] Result & error if block supplied
475
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
476
+ # @yieldparam err [StandardError] error object if request failed
477
+ #
478
+ # @return [Google::Apis::RunV1alpha1::Empty]
479
+ #
480
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
481
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
482
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
483
+ def delete_namespace_cloudschedulersource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
484
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
485
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
486
+ command.response_class = Google::Apis::RunV1alpha1::Empty
487
+ command.params['name'] = name unless name.nil?
488
+ command.query['apiVersion'] = api_version unless api_version.nil?
489
+ command.query['kind'] = kind unless kind.nil?
490
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
491
+ command.query['fields'] = fields unless fields.nil?
492
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
493
+ execute_or_queue_command(command, &block)
494
+ end
495
+
496
+ # Rpc to get information about a cloudschedulersource.
497
+ # @param [String] name
498
+ # Required. The name of the cloudschedulersource being retrieved. If needed,
499
+ # replace
500
+ # `namespace_id` with the project ID.
501
+ # @param [String] fields
502
+ # Selector specifying which fields to include in a partial response.
503
+ # @param [String] quota_user
504
+ # Available to use for quota purposes for server-side applications. Can be any
505
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
506
+ # @param [Google::Apis::RequestOptions] options
507
+ # Request-specific options
508
+ #
509
+ # @yield [result, err] Result & error if block supplied
510
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
511
+ # @yieldparam err [StandardError] error object if request failed
512
+ #
513
+ # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
514
+ #
515
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
516
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
517
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
518
+ def get_namespace_cloudschedulersource(name, fields: nil, quota_user: nil, options: nil, &block)
519
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
520
+ command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
521
+ command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
522
+ command.params['name'] = name unless name.nil?
523
+ command.query['fields'] = fields unless fields.nil?
524
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
525
+ execute_or_queue_command(command, &block)
526
+ end
527
+
528
+ # Rpc to list cloudschedulersources.
529
+ # @param [String] parent
530
+ # Required. The project ID or project number from which the
531
+ # cloudschedulersources
532
+ # should be listed.
533
+ # @param [String] continue
534
+ # Optional encoded string to continue paging.
535
+ # @param [String] field_selector
536
+ # Allows to filter resources based on a specific value for a field name.
537
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
538
+ # Not currently used by Cloud Run.
539
+ # @param [Boolean] include_uninitialized
540
+ # Not currently used by Cloud Run.
541
+ # @param [String] label_selector
542
+ # Allows to filter resources based on a label. Supported operations are
543
+ # =, !=, exists, in, and notIn.
544
+ # @param [Fixnum] limit
545
+ # The maximum number of records that should be returned.
546
+ # @param [String] resource_version
547
+ # The baseline resource version from which the list or watch operation should
548
+ # start. Not currently used by Cloud Run.
549
+ # @param [Boolean] watch
550
+ # Flag that indicates that the client expects to watch this resource as well.
551
+ # Not currently used by Cloud Run.
552
+ # @param [String] fields
553
+ # Selector specifying which fields to include in a partial response.
554
+ # @param [String] quota_user
555
+ # Available to use for quota purposes for server-side applications. Can be any
556
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
557
+ # @param [Google::Apis::RequestOptions] options
558
+ # Request-specific options
559
+ #
560
+ # @yield [result, err] Result & error if block supplied
561
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] parsed result object
562
+ # @yieldparam err [StandardError] error object if request failed
563
+ #
564
+ # @return [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse]
565
+ #
566
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
567
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
568
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
569
+ def list_namespace_cloudschedulersources(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)
570
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudschedulersources', options)
571
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse::Representation
572
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
573
+ command.params['parent'] = parent unless parent.nil?
574
+ command.query['continue'] = continue unless continue.nil?
575
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
576
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
577
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
578
+ command.query['limit'] = limit unless limit.nil?
579
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
580
+ command.query['watch'] = watch unless watch.nil?
581
+ command.query['fields'] = fields unless fields.nil?
582
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
583
+ execute_or_queue_command(command, &block)
584
+ end
585
+
586
+ # Rpc to replace a cloudschedulersource.
587
+ # Only the spec and metadata labels and annotations are modifiable. After
588
+ # the Update request, Cloud Run will work to make the 'status'
589
+ # match the requested 'spec'.
590
+ # May provide metadata.resourceVersion to enforce update from last read for
591
+ # optimistic concurrency control.
592
+ # @param [String] name
593
+ # Required. The name of the cloudschedulersource being retrieved. If needed,
594
+ # replace
595
+ # `namespace_id` with the project ID.
596
+ # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
597
+ # @param [String] fields
598
+ # Selector specifying which fields to include in a partial response.
599
+ # @param [String] quota_user
600
+ # Available to use for quota purposes for server-side applications. Can be any
601
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
602
+ # @param [Google::Apis::RequestOptions] options
603
+ # Request-specific options
604
+ #
605
+ # @yield [result, err] Result & error if block supplied
606
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
607
+ # @yieldparam err [StandardError] error object if request failed
608
+ #
609
+ # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
610
+ #
611
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
612
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
613
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
614
+ def replace_namespace_cloudschedulersource_cloud_scheduler_source(name, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
615
+ command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
616
+ command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
617
+ command.request_object = cloud_scheduler_source_object
618
+ command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
619
+ command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
620
+ command.params['name'] = name unless name.nil?
621
+ command.query['fields'] = fields unless fields.nil?
622
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
623
+ execute_or_queue_command(command, &block)
624
+ end
625
+
626
+ # Creates a new cloudstoragesource.
627
+ # @param [String] parent
628
+ # Required. The project ID or project number in which this cloudstoragesource
629
+ # should
630
+ # be created.
631
+ # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
632
+ # @param [String] fields
633
+ # Selector specifying which fields to include in a partial response.
634
+ # @param [String] quota_user
635
+ # Available to use for quota purposes for server-side applications. Can be any
636
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
637
+ # @param [Google::Apis::RequestOptions] options
638
+ # Request-specific options
639
+ #
640
+ # @yield [result, err] Result & error if block supplied
641
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
642
+ # @yieldparam err [StandardError] error object if request failed
643
+ #
644
+ # @return [Google::Apis::RunV1alpha1::CloudStorageSource]
645
+ #
646
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
647
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
648
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
649
+ def create_namespace_cloudstoragesource(parent, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
650
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudstoragesources', options)
651
+ command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
652
+ command.request_object = cloud_storage_source_object
653
+ command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
654
+ command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
655
+ command.params['parent'] = parent unless parent.nil?
656
+ command.query['fields'] = fields unless fields.nil?
657
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
658
+ execute_or_queue_command(command, &block)
659
+ end
660
+
661
+ # Rpc to delete a cloudstoragesource.
662
+ # @param [String] name
663
+ # Required. The name of the cloudstoragesource being deleted. If needed, replace
664
+ # `namespace_id` with the project ID.
665
+ # @param [String] api_version
666
+ # Cloud Run currently ignores this parameter.
667
+ # @param [String] kind
668
+ # Cloud Run currently ignores this parameter.
669
+ # @param [String] propagation_policy
670
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
671
+ # this setting, and deletes in the background. Please see
672
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
673
+ # more information.
674
+ # @param [String] fields
675
+ # Selector specifying which fields to include in a partial response.
676
+ # @param [String] quota_user
677
+ # Available to use for quota purposes for server-side applications. Can be any
678
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
679
+ # @param [Google::Apis::RequestOptions] options
680
+ # Request-specific options
681
+ #
682
+ # @yield [result, err] Result & error if block supplied
683
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
684
+ # @yieldparam err [StandardError] error object if request failed
685
+ #
686
+ # @return [Google::Apis::RunV1alpha1::Empty]
687
+ #
688
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
689
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
690
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
691
+ def delete_namespace_cloudstoragesource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
692
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
693
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
694
+ command.response_class = Google::Apis::RunV1alpha1::Empty
695
+ command.params['name'] = name unless name.nil?
696
+ command.query['apiVersion'] = api_version unless api_version.nil?
697
+ command.query['kind'] = kind unless kind.nil?
698
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
699
+ command.query['fields'] = fields unless fields.nil?
700
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
701
+ execute_or_queue_command(command, &block)
702
+ end
703
+
704
+ # Rpc to get information about a cloudstoragesource.
705
+ # @param [String] name
706
+ # Required. The name of the cloudstoragesource being retrieved. If needed,
707
+ # replace
708
+ # `namespace_id` with the project ID.
709
+ # @param [String] fields
710
+ # Selector specifying which fields to include in a partial response.
711
+ # @param [String] quota_user
712
+ # Available to use for quota purposes for server-side applications. Can be any
713
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
714
+ # @param [Google::Apis::RequestOptions] options
715
+ # Request-specific options
716
+ #
717
+ # @yield [result, err] Result & error if block supplied
718
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
719
+ # @yieldparam err [StandardError] error object if request failed
720
+ #
721
+ # @return [Google::Apis::RunV1alpha1::CloudStorageSource]
722
+ #
723
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
724
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
725
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
726
+ def get_namespace_cloudstoragesource(name, fields: nil, quota_user: nil, options: nil, &block)
727
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
728
+ command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
729
+ command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
730
+ command.params['name'] = name unless name.nil?
731
+ command.query['fields'] = fields unless fields.nil?
732
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
733
+ execute_or_queue_command(command, &block)
734
+ end
735
+
736
+ # Rpc to list cloudstoragesources.
737
+ # @param [String] parent
738
+ # Required. The project ID or project number from which the cloudstoragesources
739
+ # should
740
+ # be listed.
741
+ # @param [String] continue
742
+ # Optional encoded string to continue paging.
743
+ # @param [String] field_selector
744
+ # Allows to filter resources based on a specific value for a field name.
745
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
746
+ # Not currently used by Cloud Run.
747
+ # @param [Boolean] include_uninitialized
748
+ # Not currently used by Cloud Run.
749
+ # @param [String] label_selector
750
+ # Allows to filter resources based on a label. Supported operations are
751
+ # =, !=, exists, in, and notIn.
752
+ # @param [Fixnum] limit
753
+ # The maximum number of records that should be returned.
754
+ # @param [String] resource_version
755
+ # The baseline resource version from which the list or watch operation should
756
+ # start. Not currently used by Cloud Run.
757
+ # @param [Boolean] watch
758
+ # Flag that indicates that the client expects to watch this resource as well.
759
+ # Not currently used by Cloud Run.
760
+ # @param [String] fields
761
+ # Selector specifying which fields to include in a partial response.
762
+ # @param [String] quota_user
763
+ # Available to use for quota purposes for server-side applications. Can be any
764
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
765
+ # @param [Google::Apis::RequestOptions] options
766
+ # Request-specific options
767
+ #
768
+ # @yield [result, err] Result & error if block supplied
769
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] parsed result object
770
+ # @yieldparam err [StandardError] error object if request failed
771
+ #
772
+ # @return [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse]
773
+ #
774
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
775
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
776
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
777
+ def list_namespace_cloudstoragesources(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)
778
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudstoragesources', options)
779
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse::Representation
780
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse
781
+ command.params['parent'] = parent unless parent.nil?
782
+ command.query['continue'] = continue unless continue.nil?
783
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
784
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
785
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
786
+ command.query['limit'] = limit unless limit.nil?
787
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
788
+ command.query['watch'] = watch unless watch.nil?
789
+ command.query['fields'] = fields unless fields.nil?
790
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
791
+ execute_or_queue_command(command, &block)
792
+ end
793
+
794
+ # Rpc to replace a cloudstoragesource.
795
+ # Only the spec and metadata labels and annotations are modifiable. After
796
+ # the Update request, Cloud Run will work to make the 'status'
797
+ # match the requested 'spec'.
798
+ # May provide metadata.resourceVersion to enforce update from last read for
799
+ # optimistic concurrency control.
800
+ # @param [String] name
801
+ # Required. The name of the cloudstoragesource being retrieved. If needed,
802
+ # replace
803
+ # `namespace_id` with the project ID.
804
+ # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
805
+ # @param [String] fields
806
+ # Selector specifying which fields to include in a partial response.
807
+ # @param [String] quota_user
808
+ # Available to use for quota purposes for server-side applications. Can be any
809
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
810
+ # @param [Google::Apis::RequestOptions] options
811
+ # Request-specific options
812
+ #
813
+ # @yield [result, err] Result & error if block supplied
814
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
815
+ # @yieldparam err [StandardError] error object if request failed
816
+ #
817
+ # @return [Google::Apis::RunV1alpha1::CloudStorageSource]
818
+ #
819
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
820
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
821
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
822
+ def replace_namespace_cloudstoragesource_cloud_storage_source(name, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
823
+ command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
824
+ command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
825
+ command.request_object = cloud_storage_source_object
826
+ command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
827
+ command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
828
+ command.params['name'] = name unless name.nil?
829
+ command.query['fields'] = fields unless fields.nil?
830
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
831
+ execute_or_queue_command(command, &block)
832
+ end
833
+
417
834
  # Rpc to get information about a configuration.
418
835
  # @param [String] name
419
836
  # The name of the configuration being retrieved. If needed, replace
@@ -1109,11 +1526,251 @@ module Google
1109
1526
  execute_or_queue_command(command, &block)
1110
1527
  end
1111
1528
 
1112
- # Creates a new storage.
1529
+ # Creates a new trigger.
1530
+ # @param [String] parent
1531
+ # The project ID or project number in which this trigger should
1532
+ # be created.
1533
+ # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1534
+ # @param [String] fields
1535
+ # Selector specifying which fields to include in a partial response.
1536
+ # @param [String] quota_user
1537
+ # Available to use for quota purposes for server-side applications. Can be any
1538
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1539
+ # @param [Google::Apis::RequestOptions] options
1540
+ # Request-specific options
1541
+ #
1542
+ # @yield [result, err] Result & error if block supplied
1543
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1544
+ # @yieldparam err [StandardError] error object if request failed
1545
+ #
1546
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1547
+ #
1548
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1549
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1550
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1551
+ def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1552
+ command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1553
+ command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1554
+ command.request_object = trigger_object
1555
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1556
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
1557
+ command.params['parent'] = parent unless parent.nil?
1558
+ command.query['fields'] = fields unless fields.nil?
1559
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1560
+ execute_or_queue_command(command, &block)
1561
+ end
1562
+
1563
+ # Rpc to delete a trigger.
1564
+ # @param [String] name
1565
+ # The name of the trigger being deleted. If needed, replace
1566
+ # `namespace_id` with the project ID.
1567
+ # @param [String] api_version
1568
+ # Cloud Run currently ignores this parameter.
1569
+ # @param [String] kind
1570
+ # Cloud Run currently ignores this parameter.
1571
+ # @param [String] propagation_policy
1572
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1573
+ # this setting, and deletes in the background. Please see
1574
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1575
+ # more information.
1576
+ # @param [String] fields
1577
+ # Selector specifying which fields to include in a partial response.
1578
+ # @param [String] quota_user
1579
+ # Available to use for quota purposes for server-side applications. Can be any
1580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1581
+ # @param [Google::Apis::RequestOptions] options
1582
+ # Request-specific options
1583
+ #
1584
+ # @yield [result, err] Result & error if block supplied
1585
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1586
+ # @yieldparam err [StandardError] error object if request failed
1587
+ #
1588
+ # @return [Google::Apis::RunV1alpha1::Empty]
1589
+ #
1590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1593
+ def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1594
+ command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1595
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1596
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1597
+ command.params['name'] = name unless name.nil?
1598
+ command.query['apiVersion'] = api_version unless api_version.nil?
1599
+ command.query['kind'] = kind unless kind.nil?
1600
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1601
+ command.query['fields'] = fields unless fields.nil?
1602
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1603
+ execute_or_queue_command(command, &block)
1604
+ end
1605
+
1606
+ # Rpc to get information about a trigger.
1607
+ # @param [String] name
1608
+ # The name of the trigger being retrieved. If needed, replace
1609
+ # `namespace_id` with the project ID.
1610
+ # @param [String] fields
1611
+ # Selector specifying which fields to include in a partial response.
1612
+ # @param [String] quota_user
1613
+ # Available to use for quota purposes for server-side applications. Can be any
1614
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1615
+ # @param [Google::Apis::RequestOptions] options
1616
+ # Request-specific options
1617
+ #
1618
+ # @yield [result, err] Result & error if block supplied
1619
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1620
+ # @yieldparam err [StandardError] error object if request failed
1621
+ #
1622
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1623
+ #
1624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1627
+ def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1628
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1629
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1630
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
1631
+ command.params['name'] = name unless name.nil?
1632
+ command.query['fields'] = fields unless fields.nil?
1633
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1634
+ execute_or_queue_command(command, &block)
1635
+ end
1636
+
1637
+ # Rpc to list triggers.
1638
+ # @param [String] parent
1639
+ # The project ID or project number from which the triggers should
1640
+ # be listed.
1641
+ # @param [String] continue
1642
+ # Optional. Encoded string to continue paging.
1643
+ # @param [String] field_selector
1644
+ # Allows to filter resources based on a specific value for a field name.
1645
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1646
+ # Not currently used by Cloud Run.
1647
+ # @param [Boolean] include_uninitialized
1648
+ # Not currently used by Cloud Run.
1649
+ # @param [String] label_selector
1650
+ # Allows to filter resources based on a label. Supported operations are
1651
+ # =, !=, exists, in, and notIn.
1652
+ # @param [Fixnum] limit
1653
+ # The maximum number of records that should be returned.
1654
+ # @param [String] resource_version
1655
+ # The baseline resource version from which the list or watch operation should
1656
+ # start. Not currently used by Cloud Run.
1657
+ # @param [Boolean] watch
1658
+ # Flag that indicates that the client expects to watch this resource as well.
1659
+ # Not currently used by Cloud Run.
1660
+ # @param [String] fields
1661
+ # Selector specifying which fields to include in a partial response.
1662
+ # @param [String] quota_user
1663
+ # Available to use for quota purposes for server-side applications. Can be any
1664
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1665
+ # @param [Google::Apis::RequestOptions] options
1666
+ # Request-specific options
1667
+ #
1668
+ # @yield [result, err] Result & error if block supplied
1669
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
1670
+ # @yieldparam err [StandardError] error object if request failed
1671
+ #
1672
+ # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
1673
+ #
1674
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1675
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1676
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1677
+ def list_namespace_triggers(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)
1678
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1679
+ command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
1680
+ command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
1681
+ command.params['parent'] = parent unless parent.nil?
1682
+ command.query['continue'] = continue unless continue.nil?
1683
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1684
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1685
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1686
+ command.query['limit'] = limit unless limit.nil?
1687
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1688
+ command.query['watch'] = watch unless watch.nil?
1689
+ command.query['fields'] = fields unless fields.nil?
1690
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1691
+ execute_or_queue_command(command, &block)
1692
+ end
1693
+
1694
+ # Lists information about the supported locations for this service.
1695
+ # @param [String] name
1696
+ # The resource that owns the locations collection, if applicable.
1697
+ # @param [String] filter
1698
+ # The standard list filter.
1699
+ # @param [Fixnum] page_size
1700
+ # The standard list page size.
1701
+ # @param [String] page_token
1702
+ # The standard list page token.
1703
+ # @param [String] fields
1704
+ # Selector specifying which fields to include in a partial response.
1705
+ # @param [String] quota_user
1706
+ # Available to use for quota purposes for server-side applications. Can be any
1707
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1708
+ # @param [Google::Apis::RequestOptions] options
1709
+ # Request-specific options
1710
+ #
1711
+ # @yield [result, err] Result & error if block supplied
1712
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object
1713
+ # @yieldparam err [StandardError] error object if request failed
1714
+ #
1715
+ # @return [Google::Apis::RunV1alpha1::ListLocationsResponse]
1716
+ #
1717
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1718
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1719
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1720
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1721
+ command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
1722
+ command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation
1723
+ command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse
1724
+ command.params['name'] = name unless name.nil?
1725
+ command.query['filter'] = filter unless filter.nil?
1726
+ command.query['pageSize'] = page_size unless page_size.nil?
1727
+ command.query['pageToken'] = page_token unless page_token.nil?
1728
+ command.query['fields'] = fields unless fields.nil?
1729
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1730
+ execute_or_queue_command(command, &block)
1731
+ end
1732
+
1733
+ # RPC to list authorized domains.
1734
+ # @param [String] parent
1735
+ # Name of the parent Application resource. Example: `apps/myapp`.
1736
+ # @param [Fixnum] page_size
1737
+ # Maximum results to return per page.
1738
+ # @param [String] page_token
1739
+ # Continuation token for fetching the next page of results.
1740
+ # @param [String] fields
1741
+ # Selector specifying which fields to include in a partial response.
1742
+ # @param [String] quota_user
1743
+ # Available to use for quota purposes for server-side applications. Can be any
1744
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1745
+ # @param [Google::Apis::RequestOptions] options
1746
+ # Request-specific options
1747
+ #
1748
+ # @yield [result, err] Result & error if block supplied
1749
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
1750
+ # @yieldparam err [StandardError] error object if request failed
1751
+ #
1752
+ # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
1753
+ #
1754
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1755
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1756
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1757
+ def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1758
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
1759
+ command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
1760
+ command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
1761
+ command.params['parent'] = parent unless parent.nil?
1762
+ command.query['pageSize'] = page_size unless page_size.nil?
1763
+ command.query['pageToken'] = page_token unless page_token.nil?
1764
+ command.query['fields'] = fields unless fields.nil?
1765
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1766
+ execute_or_queue_command(command, &block)
1767
+ end
1768
+
1769
+ # Creates a new cloudauditlogssource.
1113
1770
  # @param [String] parent
1114
- # The project ID or project number in which this storage should
1771
+ # The project ID or project number in which this cloudauditlogssource should
1115
1772
  # be created.
1116
- # @param [Google::Apis::RunV1alpha1::Storage] storage_object
1773
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object
1117
1774
  # @param [String] fields
1118
1775
  # Selector specifying which fields to include in a partial response.
1119
1776
  # @param [String] quota_user
@@ -1123,29 +1780,29 @@ module Google
1123
1780
  # Request-specific options
1124
1781
  #
1125
1782
  # @yield [result, err] Result & error if block supplied
1126
- # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1783
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
1127
1784
  # @yieldparam err [StandardError] error object if request failed
1128
1785
  #
1129
- # @return [Google::Apis::RunV1alpha1::Storage]
1786
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
1130
1787
  #
1131
1788
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1132
1789
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1133
1790
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1134
- def create_namespace_storage(parent, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1135
- command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/storages', options)
1136
- command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
1137
- command.request_object = storage_object
1138
- command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1139
- command.response_class = Google::Apis::RunV1alpha1::Storage
1791
+ def create_project_location_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1792
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudauditlogssources', options)
1793
+ command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1794
+ command.request_object = cloud_audit_logs_source_object
1795
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1796
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
1140
1797
  command.params['parent'] = parent unless parent.nil?
1141
1798
  command.query['fields'] = fields unless fields.nil?
1142
1799
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1143
1800
  execute_or_queue_command(command, &block)
1144
1801
  end
1145
1802
 
1146
- # Rpc to delete a storage.
1803
+ # Rpc to delete a cloudauditlogssource.
1147
1804
  # @param [String] name
1148
- # The name of the storage being deleted. If needed, replace
1805
+ # The name of the cloudauditlogssource being deleted. If needed, replace
1149
1806
  # `namespace_id` with the project ID.
1150
1807
  # @param [String] api_version
1151
1808
  # Cloud Run currently ignores this parameter.
@@ -1173,8 +1830,8 @@ module Google
1173
1830
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1174
1831
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1175
1832
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1176
- def delete_namespace_storage(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1177
- command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1833
+ def delete_project_location_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1834
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1178
1835
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1179
1836
  command.response_class = Google::Apis::RunV1alpha1::Empty
1180
1837
  command.params['name'] = name unless name.nil?
@@ -1186,9 +1843,9 @@ module Google
1186
1843
  execute_or_queue_command(command, &block)
1187
1844
  end
1188
1845
 
1189
- # Rpc to get information about a storage.
1846
+ # Rpc to get information about a cloudauditlogssource.
1190
1847
  # @param [String] name
1191
- # The name of the storage being retrieved. If needed, replace
1848
+ # The name of the cloudauditlogssource being retrieved. If needed, replace
1192
1849
  # `namespace_id` with the project ID.
1193
1850
  # @param [String] fields
1194
1851
  # Selector specifying which fields to include in a partial response.
@@ -1199,28 +1856,28 @@ module Google
1199
1856
  # Request-specific options
1200
1857
  #
1201
1858
  # @yield [result, err] Result & error if block supplied
1202
- # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1859
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
1203
1860
  # @yieldparam err [StandardError] error object if request failed
1204
1861
  #
1205
- # @return [Google::Apis::RunV1alpha1::Storage]
1862
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
1206
1863
  #
1207
1864
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1208
1865
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1209
1866
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1210
- def get_namespace_storage(name, fields: nil, quota_user: nil, options: nil, &block)
1211
- command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1212
- command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1213
- command.response_class = Google::Apis::RunV1alpha1::Storage
1867
+ def get_project_location_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
1868
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1869
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1870
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
1214
1871
  command.params['name'] = name unless name.nil?
1215
1872
  command.query['fields'] = fields unless fields.nil?
1216
1873
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1217
1874
  execute_or_queue_command(command, &block)
1218
1875
  end
1219
1876
 
1220
- # Rpc to list storages.
1877
+ # Rpc to list cloudauditlogssources.
1221
1878
  # @param [String] parent
1222
- # The project ID or project number from which the storages should
1223
- # be listed.
1879
+ # The project ID or project number from which the cloudauditlogssources
1880
+ # should be listed.
1224
1881
  # @param [String] continue
1225
1882
  # Optional encoded string to continue paging.
1226
1883
  # @param [String] field_selector
@@ -1249,18 +1906,18 @@ module Google
1249
1906
  # Request-specific options
1250
1907
  #
1251
1908
  # @yield [result, err] Result & error if block supplied
1252
- # @yieldparam result [Google::Apis::RunV1alpha1::ListStoragesResponse] parsed result object
1909
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
1253
1910
  # @yieldparam err [StandardError] error object if request failed
1254
1911
  #
1255
- # @return [Google::Apis::RunV1alpha1::ListStoragesResponse]
1912
+ # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
1256
1913
  #
1257
1914
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1258
1915
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1259
1916
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1260
- def list_namespace_storages(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)
1261
- command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/storages', options)
1262
- command.response_representation = Google::Apis::RunV1alpha1::ListStoragesResponse::Representation
1263
- command.response_class = Google::Apis::RunV1alpha1::ListStoragesResponse
1917
+ def list_project_location_cloudauditlogssources(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)
1918
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudauditlogssources', options)
1919
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation
1920
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse
1264
1921
  command.params['parent'] = parent unless parent.nil?
1265
1922
  command.query['continue'] = continue unless continue.nil?
1266
1923
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1274,50 +1931,11 @@ module Google
1274
1931
  execute_or_queue_command(command, &block)
1275
1932
  end
1276
1933
 
1277
- # Rpc to replace a storage.
1278
- # Only the spec and metadata labels and annotations are modifiable. After
1279
- # the Update request, Cloud Run will work to make the 'status'
1280
- # match the requested 'spec'.
1281
- # May provide metadata.resourceVersion to enforce update from last read for
1282
- # optimistic concurrency control.
1283
- # @param [String] name
1284
- # The name of the storage being retrieved. If needed, replace
1285
- # `namespace_id` with the project ID.
1286
- # @param [Google::Apis::RunV1alpha1::Storage] storage_object
1287
- # @param [String] fields
1288
- # Selector specifying which fields to include in a partial response.
1289
- # @param [String] quota_user
1290
- # Available to use for quota purposes for server-side applications. Can be any
1291
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1292
- # @param [Google::Apis::RequestOptions] options
1293
- # Request-specific options
1294
- #
1295
- # @yield [result, err] Result & error if block supplied
1296
- # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1297
- # @yieldparam err [StandardError] error object if request failed
1298
- #
1299
- # @return [Google::Apis::RunV1alpha1::Storage]
1300
- #
1301
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1302
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1303
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1304
- def replace_namespace_storage_storage(name, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1305
- command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1306
- command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
1307
- command.request_object = storage_object
1308
- command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1309
- command.response_class = Google::Apis::RunV1alpha1::Storage
1310
- command.params['name'] = name unless name.nil?
1311
- command.query['fields'] = fields unless fields.nil?
1312
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1313
- execute_or_queue_command(command, &block)
1314
- end
1315
-
1316
- # Creates a new trigger.
1934
+ # Creates a new cloudpubsubsource.
1317
1935
  # @param [String] parent
1318
- # The project ID or project number in which this trigger should
1936
+ # The project ID or project number in which this cloudpubsubsource should
1319
1937
  # be created.
1320
- # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1938
+ # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object
1321
1939
  # @param [String] fields
1322
1940
  # Selector specifying which fields to include in a partial response.
1323
1941
  # @param [String] quota_user
@@ -1327,29 +1945,29 @@ module Google
1327
1945
  # Request-specific options
1328
1946
  #
1329
1947
  # @yield [result, err] Result & error if block supplied
1330
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1948
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
1331
1949
  # @yieldparam err [StandardError] error object if request failed
1332
1950
  #
1333
- # @return [Google::Apis::RunV1alpha1::Trigger]
1951
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
1334
1952
  #
1335
1953
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1336
1954
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1337
1955
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1338
- def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1339
- command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1340
- command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1341
- command.request_object = trigger_object
1342
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1343
- command.response_class = Google::Apis::RunV1alpha1::Trigger
1956
+ def create_project_location_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1957
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudpubsubsources', options)
1958
+ command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1959
+ command.request_object = cloud_pub_sub_source_object
1960
+ command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1961
+ command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
1344
1962
  command.params['parent'] = parent unless parent.nil?
1345
1963
  command.query['fields'] = fields unless fields.nil?
1346
1964
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1347
1965
  execute_or_queue_command(command, &block)
1348
1966
  end
1349
1967
 
1350
- # Rpc to delete a trigger.
1968
+ # Rpc to delete a cloudpubsubsource.
1351
1969
  # @param [String] name
1352
- # The name of the trigger being deleted. If needed, replace
1970
+ # The name of the cloudpubsubsource being deleted. If needed, replace
1353
1971
  # `namespace_id` with the project ID.
1354
1972
  # @param [String] api_version
1355
1973
  # Cloud Run currently ignores this parameter.
@@ -1377,8 +1995,8 @@ module Google
1377
1995
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1378
1996
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1379
1997
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1380
- def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1381
- command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1998
+ def delete_project_location_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1999
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1382
2000
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1383
2001
  command.response_class = Google::Apis::RunV1alpha1::Empty
1384
2002
  command.params['name'] = name unless name.nil?
@@ -1390,9 +2008,9 @@ module Google
1390
2008
  execute_or_queue_command(command, &block)
1391
2009
  end
1392
2010
 
1393
- # Rpc to get information about a trigger.
2011
+ # Rpc to get information about a cloudpubsubsource.
1394
2012
  # @param [String] name
1395
- # The name of the trigger being retrieved. If needed, replace
2013
+ # The name of the cloudpubsubsource being retrieved. If needed, replace
1396
2014
  # `namespace_id` with the project ID.
1397
2015
  # @param [String] fields
1398
2016
  # Selector specifying which fields to include in a partial response.
@@ -1403,30 +2021,30 @@ module Google
1403
2021
  # Request-specific options
1404
2022
  #
1405
2023
  # @yield [result, err] Result & error if block supplied
1406
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
2024
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
1407
2025
  # @yieldparam err [StandardError] error object if request failed
1408
2026
  #
1409
- # @return [Google::Apis::RunV1alpha1::Trigger]
2027
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
1410
2028
  #
1411
2029
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1412
2030
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1413
2031
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1414
- def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1415
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1416
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1417
- command.response_class = Google::Apis::RunV1alpha1::Trigger
2032
+ def get_project_location_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block)
2033
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2034
+ command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
2035
+ command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
1418
2036
  command.params['name'] = name unless name.nil?
1419
2037
  command.query['fields'] = fields unless fields.nil?
1420
2038
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1421
2039
  execute_or_queue_command(command, &block)
1422
2040
  end
1423
2041
 
1424
- # Rpc to list triggers.
2042
+ # Rpc to list cloudpubsubsources.
1425
2043
  # @param [String] parent
1426
- # The project ID or project number from which the triggers should
2044
+ # The project ID or project number from which the cloudpubsubsources should
1427
2045
  # be listed.
1428
2046
  # @param [String] continue
1429
- # Optional. Encoded string to continue paging.
2047
+ # Optional encoded string to continue paging.
1430
2048
  # @param [String] field_selector
1431
2049
  # Allows to filter resources based on a specific value for a field name.
1432
2050
  # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
@@ -1453,18 +2071,18 @@ module Google
1453
2071
  # Request-specific options
1454
2072
  #
1455
2073
  # @yield [result, err] Result & error if block supplied
1456
- # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
2074
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
1457
2075
  # @yieldparam err [StandardError] error object if request failed
1458
2076
  #
1459
- # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
2077
+ # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
1460
2078
  #
1461
2079
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1462
2080
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1463
2081
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1464
- def list_namespace_triggers(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)
1465
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1466
- command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
1467
- command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
2082
+ def list_project_location_cloudpubsubsources(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)
2083
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudpubsubsources', options)
2084
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation
2085
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse
1468
2086
  command.params['parent'] = parent unless parent.nil?
1469
2087
  command.query['continue'] = continue unless continue.nil?
1470
2088
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1478,86 +2096,12 @@ module Google
1478
2096
  execute_or_queue_command(command, &block)
1479
2097
  end
1480
2098
 
1481
- # Lists information about the supported locations for this service.
1482
- # @param [String] name
1483
- # The resource that owns the locations collection, if applicable.
1484
- # @param [String] filter
1485
- # The standard list filter.
1486
- # @param [Fixnum] page_size
1487
- # The standard list page size.
1488
- # @param [String] page_token
1489
- # The standard list page token.
1490
- # @param [String] fields
1491
- # Selector specifying which fields to include in a partial response.
1492
- # @param [String] quota_user
1493
- # Available to use for quota purposes for server-side applications. Can be any
1494
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1495
- # @param [Google::Apis::RequestOptions] options
1496
- # Request-specific options
1497
- #
1498
- # @yield [result, err] Result & error if block supplied
1499
- # @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object
1500
- # @yieldparam err [StandardError] error object if request failed
1501
- #
1502
- # @return [Google::Apis::RunV1alpha1::ListLocationsResponse]
1503
- #
1504
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1505
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1506
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1507
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1508
- command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
1509
- command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation
1510
- command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse
1511
- command.params['name'] = name unless name.nil?
1512
- command.query['filter'] = filter unless filter.nil?
1513
- command.query['pageSize'] = page_size unless page_size.nil?
1514
- command.query['pageToken'] = page_token unless page_token.nil?
1515
- command.query['fields'] = fields unless fields.nil?
1516
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1517
- execute_or_queue_command(command, &block)
1518
- end
1519
-
1520
- # RPC to list authorized domains.
1521
- # @param [String] parent
1522
- # Name of the parent Application resource. Example: `apps/myapp`.
1523
- # @param [Fixnum] page_size
1524
- # Maximum results to return per page.
1525
- # @param [String] page_token
1526
- # Continuation token for fetching the next page of results.
1527
- # @param [String] fields
1528
- # Selector specifying which fields to include in a partial response.
1529
- # @param [String] quota_user
1530
- # Available to use for quota purposes for server-side applications. Can be any
1531
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1532
- # @param [Google::Apis::RequestOptions] options
1533
- # Request-specific options
1534
- #
1535
- # @yield [result, err] Result & error if block supplied
1536
- # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
1537
- # @yieldparam err [StandardError] error object if request failed
1538
- #
1539
- # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
1540
- #
1541
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1542
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1543
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1544
- def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1545
- command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
1546
- command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
1547
- command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
1548
- command.params['parent'] = parent unless parent.nil?
1549
- command.query['pageSize'] = page_size unless page_size.nil?
1550
- command.query['pageToken'] = page_token unless page_token.nil?
1551
- command.query['fields'] = fields unless fields.nil?
1552
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1553
- execute_or_queue_command(command, &block)
1554
- end
1555
-
1556
- # Creates a new cloudauditlogssource.
2099
+ # Creates a new cloudschedulersource.
1557
2100
  # @param [String] parent
1558
- # The project ID or project number in which this cloudauditlogssource should
2101
+ # Required. The project ID or project number in which this cloudschedulersource
2102
+ # should
1559
2103
  # be created.
1560
- # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object
2104
+ # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
1561
2105
  # @param [String] fields
1562
2106
  # Selector specifying which fields to include in a partial response.
1563
2107
  # @param [String] quota_user
@@ -1567,29 +2111,30 @@ module Google
1567
2111
  # Request-specific options
1568
2112
  #
1569
2113
  # @yield [result, err] Result & error if block supplied
1570
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
2114
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
1571
2115
  # @yieldparam err [StandardError] error object if request failed
1572
2116
  #
1573
- # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
2117
+ # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
1574
2118
  #
1575
2119
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1576
2120
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1577
2121
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1578
- def create_project_location_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1579
- command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudauditlogssources', options)
1580
- command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1581
- command.request_object = cloud_audit_logs_source_object
1582
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1583
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
2122
+ def create_project_location_cloudschedulersource(parent, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2123
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudschedulersources', options)
2124
+ command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
2125
+ command.request_object = cloud_scheduler_source_object
2126
+ command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
2127
+ command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
1584
2128
  command.params['parent'] = parent unless parent.nil?
1585
2129
  command.query['fields'] = fields unless fields.nil?
1586
2130
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1587
2131
  execute_or_queue_command(command, &block)
1588
2132
  end
1589
2133
 
1590
- # Rpc to delete a cloudauditlogssource.
2134
+ # Rpc to delete a cloudschedulersource.
1591
2135
  # @param [String] name
1592
- # The name of the cloudauditlogssource being deleted. If needed, replace
2136
+ # Required. The name of the cloudschedulersource being deleted. If needed,
2137
+ # replace
1593
2138
  # `namespace_id` with the project ID.
1594
2139
  # @param [String] api_version
1595
2140
  # Cloud Run currently ignores this parameter.
@@ -1617,7 +2162,7 @@ module Google
1617
2162
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1618
2163
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1619
2164
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1620
- def delete_project_location_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2165
+ def delete_project_location_cloudschedulersource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1621
2166
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1622
2167
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1623
2168
  command.response_class = Google::Apis::RunV1alpha1::Empty
@@ -1630,9 +2175,10 @@ module Google
1630
2175
  execute_or_queue_command(command, &block)
1631
2176
  end
1632
2177
 
1633
- # Rpc to get information about a cloudauditlogssource.
2178
+ # Rpc to get information about a cloudschedulersource.
1634
2179
  # @param [String] name
1635
- # The name of the cloudauditlogssource being retrieved. If needed, replace
2180
+ # Required. The name of the cloudschedulersource being retrieved. If needed,
2181
+ # replace
1636
2182
  # `namespace_id` with the project ID.
1637
2183
  # @param [String] fields
1638
2184
  # Selector specifying which fields to include in a partial response.
@@ -1643,27 +2189,28 @@ module Google
1643
2189
  # Request-specific options
1644
2190
  #
1645
2191
  # @yield [result, err] Result & error if block supplied
1646
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
2192
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
1647
2193
  # @yieldparam err [StandardError] error object if request failed
1648
2194
  #
1649
- # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
2195
+ # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
1650
2196
  #
1651
2197
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1652
2198
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1653
2199
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1654
- def get_project_location_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
2200
+ def get_project_location_cloudschedulersource(name, fields: nil, quota_user: nil, options: nil, &block)
1655
2201
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1656
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1657
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
2202
+ command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
2203
+ command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
1658
2204
  command.params['name'] = name unless name.nil?
1659
2205
  command.query['fields'] = fields unless fields.nil?
1660
2206
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1661
2207
  execute_or_queue_command(command, &block)
1662
2208
  end
1663
2209
 
1664
- # Rpc to list cloudauditlogssources.
2210
+ # Rpc to list cloudschedulersources.
1665
2211
  # @param [String] parent
1666
- # The project ID or project number from which the cloudauditlogssources
2212
+ # Required. The project ID or project number from which the
2213
+ # cloudschedulersources
1667
2214
  # should be listed.
1668
2215
  # @param [String] continue
1669
2216
  # Optional encoded string to continue paging.
@@ -1693,36 +2240,77 @@ module Google
1693
2240
  # Request-specific options
1694
2241
  #
1695
2242
  # @yield [result, err] Result & error if block supplied
1696
- # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
2243
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] parsed result object
2244
+ # @yieldparam err [StandardError] error object if request failed
2245
+ #
2246
+ # @return [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse]
2247
+ #
2248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2251
+ def list_project_location_cloudschedulersources(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)
2252
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudschedulersources', options)
2253
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse::Representation
2254
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
2255
+ command.params['parent'] = parent unless parent.nil?
2256
+ command.query['continue'] = continue unless continue.nil?
2257
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
2258
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
2259
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
2260
+ command.query['limit'] = limit unless limit.nil?
2261
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
2262
+ command.query['watch'] = watch unless watch.nil?
2263
+ command.query['fields'] = fields unless fields.nil?
2264
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2265
+ execute_or_queue_command(command, &block)
2266
+ end
2267
+
2268
+ # Rpc to replace a cloudschedulersource.
2269
+ # Only the spec and metadata labels and annotations are modifiable. After
2270
+ # the Update request, Cloud Run will work to make the 'status'
2271
+ # match the requested 'spec'.
2272
+ # May provide metadata.resourceVersion to enforce update from last read for
2273
+ # optimistic concurrency control.
2274
+ # @param [String] name
2275
+ # Required. The name of the cloudschedulersource being retrieved. If needed,
2276
+ # replace
2277
+ # `namespace_id` with the project ID.
2278
+ # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
2279
+ # @param [String] fields
2280
+ # Selector specifying which fields to include in a partial response.
2281
+ # @param [String] quota_user
2282
+ # Available to use for quota purposes for server-side applications. Can be any
2283
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2284
+ # @param [Google::Apis::RequestOptions] options
2285
+ # Request-specific options
2286
+ #
2287
+ # @yield [result, err] Result & error if block supplied
2288
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
1697
2289
  # @yieldparam err [StandardError] error object if request failed
1698
2290
  #
1699
- # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
2291
+ # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
1700
2292
  #
1701
2293
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1702
2294
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1703
2295
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1704
- def list_project_location_cloudauditlogssources(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)
1705
- command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudauditlogssources', options)
1706
- command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation
1707
- command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse
1708
- command.params['parent'] = parent unless parent.nil?
1709
- command.query['continue'] = continue unless continue.nil?
1710
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
1711
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1712
- command.query['labelSelector'] = label_selector unless label_selector.nil?
1713
- command.query['limit'] = limit unless limit.nil?
1714
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
1715
- command.query['watch'] = watch unless watch.nil?
2296
+ def replace_project_location_cloudschedulersource_cloud_scheduler_source(name, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2297
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
2298
+ command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
2299
+ command.request_object = cloud_scheduler_source_object
2300
+ command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
2301
+ command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
2302
+ command.params['name'] = name unless name.nil?
1716
2303
  command.query['fields'] = fields unless fields.nil?
1717
2304
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1718
2305
  execute_or_queue_command(command, &block)
1719
2306
  end
1720
2307
 
1721
- # Creates a new cloudpubsubsource.
2308
+ # Creates a new cloudstoragesource.
1722
2309
  # @param [String] parent
1723
- # The project ID or project number in which this cloudpubsubsource should
2310
+ # Required. The project ID or project number in which this cloudstoragesource
2311
+ # should
1724
2312
  # be created.
1725
- # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object
2313
+ # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
1726
2314
  # @param [String] fields
1727
2315
  # Selector specifying which fields to include in a partial response.
1728
2316
  # @param [String] quota_user
@@ -1732,29 +2320,29 @@ module Google
1732
2320
  # Request-specific options
1733
2321
  #
1734
2322
  # @yield [result, err] Result & error if block supplied
1735
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
2323
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
1736
2324
  # @yieldparam err [StandardError] error object if request failed
1737
2325
  #
1738
- # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
2326
+ # @return [Google::Apis::RunV1alpha1::CloudStorageSource]
1739
2327
  #
1740
2328
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1741
2329
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1742
2330
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1743
- def create_project_location_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1744
- command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudpubsubsources', options)
1745
- command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1746
- command.request_object = cloud_pub_sub_source_object
1747
- command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1748
- command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
2331
+ def create_project_location_cloudstoragesource(parent, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2332
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudstoragesources', options)
2333
+ command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
2334
+ command.request_object = cloud_storage_source_object
2335
+ command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
2336
+ command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
1749
2337
  command.params['parent'] = parent unless parent.nil?
1750
2338
  command.query['fields'] = fields unless fields.nil?
1751
2339
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1752
2340
  execute_or_queue_command(command, &block)
1753
2341
  end
1754
2342
 
1755
- # Rpc to delete a cloudpubsubsource.
2343
+ # Rpc to delete a cloudstoragesource.
1756
2344
  # @param [String] name
1757
- # The name of the cloudpubsubsource being deleted. If needed, replace
2345
+ # Required. The name of the cloudstoragesource being deleted. If needed, replace
1758
2346
  # `namespace_id` with the project ID.
1759
2347
  # @param [String] api_version
1760
2348
  # Cloud Run currently ignores this parameter.
@@ -1782,7 +2370,7 @@ module Google
1782
2370
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1783
2371
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1784
2372
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1785
- def delete_project_location_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2373
+ def delete_project_location_cloudstoragesource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1786
2374
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1787
2375
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1788
2376
  command.response_class = Google::Apis::RunV1alpha1::Empty
@@ -1795,9 +2383,10 @@ module Google
1795
2383
  execute_or_queue_command(command, &block)
1796
2384
  end
1797
2385
 
1798
- # Rpc to get information about a cloudpubsubsource.
2386
+ # Rpc to get information about a cloudstoragesource.
1799
2387
  # @param [String] name
1800
- # The name of the cloudpubsubsource being retrieved. If needed, replace
2388
+ # Required. The name of the cloudstoragesource being retrieved. If needed,
2389
+ # replace
1801
2390
  # `namespace_id` with the project ID.
1802
2391
  # @param [String] fields
1803
2392
  # Selector specifying which fields to include in a partial response.
@@ -1808,27 +2397,28 @@ module Google
1808
2397
  # Request-specific options
1809
2398
  #
1810
2399
  # @yield [result, err] Result & error if block supplied
1811
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
2400
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
1812
2401
  # @yieldparam err [StandardError] error object if request failed
1813
2402
  #
1814
- # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
2403
+ # @return [Google::Apis::RunV1alpha1::CloudStorageSource]
1815
2404
  #
1816
2405
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1817
2406
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1818
2407
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1819
- def get_project_location_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block)
2408
+ def get_project_location_cloudstoragesource(name, fields: nil, quota_user: nil, options: nil, &block)
1820
2409
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1821
- command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1822
- command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
2410
+ command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
2411
+ command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
1823
2412
  command.params['name'] = name unless name.nil?
1824
2413
  command.query['fields'] = fields unless fields.nil?
1825
2414
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1826
2415
  execute_or_queue_command(command, &block)
1827
2416
  end
1828
2417
 
1829
- # Rpc to list cloudpubsubsources.
2418
+ # Rpc to list cloudstoragesources.
1830
2419
  # @param [String] parent
1831
- # The project ID or project number from which the cloudpubsubsources should
2420
+ # Required. The project ID or project number from which the cloudstoragesources
2421
+ # should
1832
2422
  # be listed.
1833
2423
  # @param [String] continue
1834
2424
  # Optional encoded string to continue paging.
@@ -1858,18 +2448,18 @@ module Google
1858
2448
  # Request-specific options
1859
2449
  #
1860
2450
  # @yield [result, err] Result & error if block supplied
1861
- # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
2451
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] parsed result object
1862
2452
  # @yieldparam err [StandardError] error object if request failed
1863
2453
  #
1864
- # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
2454
+ # @return [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse]
1865
2455
  #
1866
2456
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1867
2457
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1868
2458
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1869
- def list_project_location_cloudpubsubsources(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)
1870
- command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudpubsubsources', options)
1871
- command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation
1872
- command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse
2459
+ def list_project_location_cloudstoragesources(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)
2460
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudstoragesources', options)
2461
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse::Representation
2462
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse
1873
2463
  command.params['parent'] = parent unless parent.nil?
1874
2464
  command.query['continue'] = continue unless continue.nil?
1875
2465
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1883,6 +2473,46 @@ module Google
1883
2473
  execute_or_queue_command(command, &block)
1884
2474
  end
1885
2475
 
2476
+ # Rpc to replace a cloudstoragesource.
2477
+ # Only the spec and metadata labels and annotations are modifiable. After
2478
+ # the Update request, Cloud Run will work to make the 'status'
2479
+ # match the requested 'spec'.
2480
+ # May provide metadata.resourceVersion to enforce update from last read for
2481
+ # optimistic concurrency control.
2482
+ # @param [String] name
2483
+ # Required. The name of the cloudstoragesource being retrieved. If needed,
2484
+ # replace
2485
+ # `namespace_id` with the project ID.
2486
+ # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
2487
+ # @param [String] fields
2488
+ # Selector specifying which fields to include in a partial response.
2489
+ # @param [String] quota_user
2490
+ # Available to use for quota purposes for server-side applications. Can be any
2491
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2492
+ # @param [Google::Apis::RequestOptions] options
2493
+ # Request-specific options
2494
+ #
2495
+ # @yield [result, err] Result & error if block supplied
2496
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
2497
+ # @yieldparam err [StandardError] error object if request failed
2498
+ #
2499
+ # @return [Google::Apis::RunV1alpha1::CloudStorageSource]
2500
+ #
2501
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2502
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2503
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2504
+ def replace_project_location_cloudstoragesource_cloud_storage_source(name, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2505
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
2506
+ command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
2507
+ command.request_object = cloud_storage_source_object
2508
+ command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
2509
+ command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
2510
+ command.params['name'] = name unless name.nil?
2511
+ command.query['fields'] = fields unless fields.nil?
2512
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2513
+ execute_or_queue_command(command, &block)
2514
+ end
2515
+
1886
2516
  # Rpc to get information about a configuration.
1887
2517
  # @param [String] name
1888
2518
  # The name of the configuration being retrieved. If needed, replace
@@ -2688,210 +3318,6 @@ module Google
2688
3318
  execute_or_queue_command(command, &block)
2689
3319
  end
2690
3320
 
2691
- # Creates a new storage.
2692
- # @param [String] parent
2693
- # The project ID or project number in which this storage should
2694
- # be created.
2695
- # @param [Google::Apis::RunV1alpha1::Storage] storage_object
2696
- # @param [String] fields
2697
- # Selector specifying which fields to include in a partial response.
2698
- # @param [String] quota_user
2699
- # Available to use for quota purposes for server-side applications. Can be any
2700
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2701
- # @param [Google::Apis::RequestOptions] options
2702
- # Request-specific options
2703
- #
2704
- # @yield [result, err] Result & error if block supplied
2705
- # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
2706
- # @yieldparam err [StandardError] error object if request failed
2707
- #
2708
- # @return [Google::Apis::RunV1alpha1::Storage]
2709
- #
2710
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2711
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2712
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2713
- def create_project_location_storage(parent, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2714
- command = make_simple_command(:post, 'v1alpha1/{+parent}/storages', options)
2715
- command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
2716
- command.request_object = storage_object
2717
- command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
2718
- command.response_class = Google::Apis::RunV1alpha1::Storage
2719
- command.params['parent'] = parent unless parent.nil?
2720
- command.query['fields'] = fields unless fields.nil?
2721
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2722
- execute_or_queue_command(command, &block)
2723
- end
2724
-
2725
- # Rpc to delete a storage.
2726
- # @param [String] name
2727
- # The name of the storage being deleted. If needed, replace
2728
- # `namespace_id` with the project ID.
2729
- # @param [String] api_version
2730
- # Cloud Run currently ignores this parameter.
2731
- # @param [String] kind
2732
- # Cloud Run currently ignores this parameter.
2733
- # @param [String] propagation_policy
2734
- # Specifies the propagation policy of delete. Cloud Run currently ignores
2735
- # this setting, and deletes in the background. Please see
2736
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
2737
- # more information.
2738
- # @param [String] fields
2739
- # Selector specifying which fields to include in a partial response.
2740
- # @param [String] quota_user
2741
- # Available to use for quota purposes for server-side applications. Can be any
2742
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2743
- # @param [Google::Apis::RequestOptions] options
2744
- # Request-specific options
2745
- #
2746
- # @yield [result, err] Result & error if block supplied
2747
- # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
2748
- # @yieldparam err [StandardError] error object if request failed
2749
- #
2750
- # @return [Google::Apis::RunV1alpha1::Empty]
2751
- #
2752
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2753
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2754
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2755
- def delete_project_location_storage(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2756
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
2757
- command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
2758
- command.response_class = Google::Apis::RunV1alpha1::Empty
2759
- command.params['name'] = name unless name.nil?
2760
- command.query['apiVersion'] = api_version unless api_version.nil?
2761
- command.query['kind'] = kind unless kind.nil?
2762
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
2763
- command.query['fields'] = fields unless fields.nil?
2764
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2765
- execute_or_queue_command(command, &block)
2766
- end
2767
-
2768
- # Rpc to get information about a storage.
2769
- # @param [String] name
2770
- # The name of the storage being retrieved. If needed, replace
2771
- # `namespace_id` with the project ID.
2772
- # @param [String] fields
2773
- # Selector specifying which fields to include in a partial response.
2774
- # @param [String] quota_user
2775
- # Available to use for quota purposes for server-side applications. Can be any
2776
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2777
- # @param [Google::Apis::RequestOptions] options
2778
- # Request-specific options
2779
- #
2780
- # @yield [result, err] Result & error if block supplied
2781
- # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
2782
- # @yieldparam err [StandardError] error object if request failed
2783
- #
2784
- # @return [Google::Apis::RunV1alpha1::Storage]
2785
- #
2786
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2787
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2788
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2789
- def get_project_location_storage(name, fields: nil, quota_user: nil, options: nil, &block)
2790
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2791
- command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
2792
- command.response_class = Google::Apis::RunV1alpha1::Storage
2793
- command.params['name'] = name unless name.nil?
2794
- command.query['fields'] = fields unless fields.nil?
2795
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2796
- execute_or_queue_command(command, &block)
2797
- end
2798
-
2799
- # Rpc to list storages.
2800
- # @param [String] parent
2801
- # The project ID or project number from which the storages should
2802
- # be listed.
2803
- # @param [String] continue
2804
- # Optional encoded string to continue paging.
2805
- # @param [String] field_selector
2806
- # Allows to filter resources based on a specific value for a field name.
2807
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
2808
- # Not currently used by Cloud Run.
2809
- # @param [Boolean] include_uninitialized
2810
- # Not currently used by Cloud Run.
2811
- # @param [String] label_selector
2812
- # Allows to filter resources based on a label. Supported operations are
2813
- # =, !=, exists, in, and notIn.
2814
- # @param [Fixnum] limit
2815
- # The maximum number of records that should be returned.
2816
- # @param [String] resource_version
2817
- # The baseline resource version from which the list or watch operation should
2818
- # start. Not currently used by Cloud Run.
2819
- # @param [Boolean] watch
2820
- # Flag that indicates that the client expects to watch this resource as well.
2821
- # Not currently used by Cloud Run.
2822
- # @param [String] fields
2823
- # Selector specifying which fields to include in a partial response.
2824
- # @param [String] quota_user
2825
- # Available to use for quota purposes for server-side applications. Can be any
2826
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2827
- # @param [Google::Apis::RequestOptions] options
2828
- # Request-specific options
2829
- #
2830
- # @yield [result, err] Result & error if block supplied
2831
- # @yieldparam result [Google::Apis::RunV1alpha1::ListStoragesResponse] parsed result object
2832
- # @yieldparam err [StandardError] error object if request failed
2833
- #
2834
- # @return [Google::Apis::RunV1alpha1::ListStoragesResponse]
2835
- #
2836
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2837
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2838
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2839
- def list_project_location_storages(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)
2840
- command = make_simple_command(:get, 'v1alpha1/{+parent}/storages', options)
2841
- command.response_representation = Google::Apis::RunV1alpha1::ListStoragesResponse::Representation
2842
- command.response_class = Google::Apis::RunV1alpha1::ListStoragesResponse
2843
- command.params['parent'] = parent unless parent.nil?
2844
- command.query['continue'] = continue unless continue.nil?
2845
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
2846
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
2847
- command.query['labelSelector'] = label_selector unless label_selector.nil?
2848
- command.query['limit'] = limit unless limit.nil?
2849
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
2850
- command.query['watch'] = watch unless watch.nil?
2851
- command.query['fields'] = fields unless fields.nil?
2852
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2853
- execute_or_queue_command(command, &block)
2854
- end
2855
-
2856
- # Rpc to replace a storage.
2857
- # Only the spec and metadata labels and annotations are modifiable. After
2858
- # the Update request, Cloud Run will work to make the 'status'
2859
- # match the requested 'spec'.
2860
- # May provide metadata.resourceVersion to enforce update from last read for
2861
- # optimistic concurrency control.
2862
- # @param [String] name
2863
- # The name of the storage being retrieved. If needed, replace
2864
- # `namespace_id` with the project ID.
2865
- # @param [Google::Apis::RunV1alpha1::Storage] storage_object
2866
- # @param [String] fields
2867
- # Selector specifying which fields to include in a partial response.
2868
- # @param [String] quota_user
2869
- # Available to use for quota purposes for server-side applications. Can be any
2870
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2871
- # @param [Google::Apis::RequestOptions] options
2872
- # Request-specific options
2873
- #
2874
- # @yield [result, err] Result & error if block supplied
2875
- # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
2876
- # @yieldparam err [StandardError] error object if request failed
2877
- #
2878
- # @return [Google::Apis::RunV1alpha1::Storage]
2879
- #
2880
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2881
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2882
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2883
- def replace_project_location_storage_storage(name, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2884
- command = make_simple_command(:put, 'v1alpha1/{+name}', options)
2885
- command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
2886
- command.request_object = storage_object
2887
- command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
2888
- command.response_class = Google::Apis::RunV1alpha1::Storage
2889
- command.params['name'] = name unless name.nil?
2890
- command.query['fields'] = fields unless fields.nil?
2891
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2892
- execute_or_queue_command(command, &block)
2893
- end
2894
-
2895
3321
  # Creates a new trigger.
2896
3322
  # @param [String] parent
2897
3323
  # The project ID or project number in which this trigger should