google-api-client 0.36.1 → 0.36.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
  8. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  11. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  13. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  14. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
  15. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  24. data/generated/google/apis/compute_alpha.rb +1 -1
  25. data/generated/google/apis/compute_alpha/classes.rb +234 -240
  26. data/generated/google/apis/compute_alpha/representations.rb +7 -47
  27. data/generated/google/apis/compute_alpha/service.rb +1233 -1068
  28. data/generated/google/apis/compute_beta.rb +1 -1
  29. data/generated/google/apis/compute_beta/classes.rb +936 -164
  30. data/generated/google/apis/compute_beta/representations.rb +371 -0
  31. data/generated/google/apis/compute_beta/service.rb +1394 -899
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/compute_v1/classes.rb +479 -147
  34. data/generated/google/apis/compute_v1/representations.rb +127 -0
  35. data/generated/google/apis/compute_v1/service.rb +813 -748
  36. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  37. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
  38. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  39. data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
  40. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  41. data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
  42. data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
  43. data/generated/google/apis/dataproc_v1.rb +1 -1
  44. data/generated/google/apis/dataproc_v1/classes.rb +73 -43
  45. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  46. data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
  47. data/generated/google/apis/dialogflow_v2.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
  49. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
  51. data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +70 -0
  54. data/generated/google/apis/dns_v1/representations.rb +32 -0
  55. data/generated/google/apis/dns_v2beta1.rb +1 -1
  56. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  57. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  58. data/generated/google/apis/docs_v1.rb +1 -1
  59. data/generated/google/apis/docs_v1/classes.rb +152 -0
  60. data/generated/google/apis/docs_v1/representations.rb +56 -0
  61. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  62. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  63. data/generated/google/apis/driveactivity_v2.rb +1 -1
  64. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  65. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  66. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  67. data/generated/google/apis/firestore_v1.rb +1 -1
  68. data/generated/google/apis/firestore_v1/classes.rb +1 -1
  69. data/generated/google/apis/firestore_v1/service.rb +24 -22
  70. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  71. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  72. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  73. data/generated/google/apis/fitness_v1.rb +11 -11
  74. data/generated/google/apis/games_management_v1management.rb +1 -1
  75. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  76. data/generated/google/apis/iam_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +83 -141
  78. data/generated/google/apis/iam_v1/representations.rb +0 -6
  79. data/generated/google/apis/iam_v1/service.rb +11 -21
  80. data/generated/google/apis/language_v1beta2.rb +1 -1
  81. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  82. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  83. data/generated/google/apis/logging_v2.rb +3 -2
  84. data/generated/google/apis/logging_v2/service.rb +2 -1
  85. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  86. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
  87. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
  89. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  90. data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
  91. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  92. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  93. data/generated/google/apis/run_v1alpha1.rb +1 -1
  94. data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
  95. data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
  96. data/generated/google/apis/run_v1alpha1/service.rb +862 -46
  97. data/generated/google/apis/run_v1beta1.rb +1 -1
  98. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  99. data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
  100. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
  101. data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
  102. data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
  103. data/generated/google/apis/securitycenter_v1.rb +1 -1
  104. data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
  105. data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
  106. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  107. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  108. data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
  109. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  110. data/generated/google/apis/sheets_v4.rb +1 -1
  111. data/generated/google/apis/sheets_v4/classes.rb +187 -2
  112. data/generated/google/apis/sheets_v4/representations.rb +47 -0
  113. data/generated/google/apis/spanner_v1.rb +1 -1
  114. data/generated/google/apis/spanner_v1/classes.rb +104 -51
  115. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  116. data/generated/google/apis/spanner_v1/service.rb +6 -1
  117. data/generated/google/apis/sql_v1beta4.rb +1 -1
  118. data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
  119. data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
  120. data/generated/google/apis/sql_v1beta4/service.rb +83 -2
  121. data/generated/google/apis/toolresults_v1.rb +31 -0
  122. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  123. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  124. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  125. data/generated/google/apis/vision_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1/service.rb +1 -1
  127. data/lib/google/apis/version.rb +1 -1
  128. metadata +19 -7
  129. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  130. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  131. data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -58,6 +58,24 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class CloudAuditLog
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CloudAuditLogSpec
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CloudAuditLogStatus
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
61
79
  class CloudEventOverrides
62
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
81
 
@@ -268,6 +286,12 @@ module Google
268
286
  include Google::Apis::Core::JsonObjectSupport
269
287
  end
270
288
 
289
+ class ListCloudAuditLogsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
271
295
  class ListConfigurationsResponse
272
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
297
 
@@ -322,6 +346,12 @@ module Google
322
346
  include Google::Apis::Core::JsonObjectSupport
323
347
  end
324
348
 
349
+ class ListStoragesResponse
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
325
355
  class ListTriggersResponse
326
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
357
 
@@ -544,6 +574,24 @@ module Google
544
574
  include Google::Apis::Core::JsonObjectSupport
545
575
  end
546
576
 
577
+ class Storage
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class StorageSpec
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class StorageStatus
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
547
595
  class SubscriberSpec
548
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
597
 
@@ -685,6 +733,49 @@ module Google
685
733
  end
686
734
  end
687
735
 
736
+ class CloudAuditLog
737
+ # @private
738
+ class Representation < Google::Apis::Core::JsonRepresentation
739
+ property :api_version, as: 'apiVersion'
740
+ property :kind, as: 'kind'
741
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
742
+
743
+ property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::CloudAuditLogSpec, decorator: Google::Apis::RunV1alpha1::CloudAuditLogSpec::Representation
744
+
745
+ property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudAuditLogStatus, decorator: Google::Apis::RunV1alpha1::CloudAuditLogStatus::Representation
746
+
747
+ end
748
+ end
749
+
750
+ class CloudAuditLogSpec
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
754
+
755
+ property :method_name, as: 'methodName'
756
+ property :project, as: 'project'
757
+ property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
758
+
759
+ property :resource_name, as: 'resourceName'
760
+ property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
761
+
762
+ property :service_account_name, as: 'serviceAccountName'
763
+ property :service_name, as: 'serviceName'
764
+ property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
765
+
766
+ end
767
+ end
768
+
769
+ class CloudAuditLogStatus
770
+ # @private
771
+ class Representation < Google::Apis::Core::JsonRepresentation
772
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
773
+
774
+ property :observed_generation, as: 'observedGeneration'
775
+ property :sink_uri, as: 'sinkUri'
776
+ end
777
+ end
778
+
688
779
  class CloudEventOverrides
689
780
  # @private
690
781
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1070,6 +1161,19 @@ module Google
1070
1161
  end
1071
1162
  end
1072
1163
 
1164
+ class ListCloudAuditLogsResponse
1165
+ # @private
1166
+ class Representation < Google::Apis::Core::JsonRepresentation
1167
+ property :api_version, as: 'apiVersion'
1168
+ collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudAuditLog, decorator: Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1169
+
1170
+ property :kind, as: 'kind'
1171
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
1172
+
1173
+ collection :unreachable, as: 'unreachable'
1174
+ end
1175
+ end
1176
+
1073
1177
  class ListConfigurationsResponse
1074
1178
  # @private
1075
1179
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1179,6 +1283,19 @@ module Google
1179
1283
  end
1180
1284
  end
1181
1285
 
1286
+ class ListStoragesResponse
1287
+ # @private
1288
+ class Representation < Google::Apis::Core::JsonRepresentation
1289
+ property :api_version, as: 'apiVersion'
1290
+ collection :items, as: 'items', class: Google::Apis::RunV1alpha1::Storage, decorator: Google::Apis::RunV1alpha1::Storage::Representation
1291
+
1292
+ property :kind, as: 'kind'
1293
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
1294
+
1295
+ collection :unreachable, as: 'unreachable'
1296
+ end
1297
+ end
1298
+
1182
1299
  class ListTriggersResponse
1183
1300
  # @private
1184
1301
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1311,6 +1428,7 @@ module Google
1311
1428
  property :retention_duration, as: 'retentionDuration'
1312
1429
  property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
1313
1430
 
1431
+ property :service_account_name, as: 'serviceAccountName'
1314
1432
  property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
1315
1433
 
1316
1434
  property :topic, as: 'topic'
@@ -1634,6 +1752,49 @@ module Google
1634
1752
  end
1635
1753
  end
1636
1754
 
1755
+ class Storage
1756
+ # @private
1757
+ class Representation < Google::Apis::Core::JsonRepresentation
1758
+ property :api_version, as: 'apiVersion'
1759
+ property :kind, as: 'kind'
1760
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
1761
+
1762
+ property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::StorageSpec, decorator: Google::Apis::RunV1alpha1::StorageSpec::Representation
1763
+
1764
+ property :status, as: 'status', class: Google::Apis::RunV1alpha1::StorageStatus, decorator: Google::Apis::RunV1alpha1::StorageStatus::Representation
1765
+
1766
+ end
1767
+ end
1768
+
1769
+ class StorageSpec
1770
+ # @private
1771
+ class Representation < Google::Apis::Core::JsonRepresentation
1772
+ property :bucket, as: 'bucket'
1773
+ property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
1774
+
1775
+ collection :event_types, as: 'eventTypes'
1776
+ property :object_name_prefix, as: 'objectNamePrefix'
1777
+ property :payload_format, as: 'payloadFormat'
1778
+ property :project, as: 'project'
1779
+ property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
1780
+
1781
+ property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
1782
+
1783
+ property :service_account_name, as: 'serviceAccountName'
1784
+ property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
1785
+
1786
+ end
1787
+ end
1788
+
1789
+ class StorageStatus
1790
+ # @private
1791
+ class Representation < Google::Apis::Core::JsonRepresentation
1792
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
1793
+
1794
+ property :observed_generation, as: 'observedGeneration'
1795
+ end
1796
+ end
1797
+
1637
1798
  class SubscriberSpec
1638
1799
  # @private
1639
1800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,6 +84,210 @@ module Google
84
84
  execute_or_queue_command(command, &block)
85
85
  end
86
86
 
87
+ # Creates a new cloudauditlog.
88
+ # @param [String] parent
89
+ # The project ID or project number in which this cloudauditlog should
90
+ # be created.
91
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
92
+ # @param [String] fields
93
+ # Selector specifying which fields to include in a partial response.
94
+ # @param [String] quota_user
95
+ # Available to use for quota purposes for server-side applications. Can be any
96
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
+ # @param [Google::Apis::RequestOptions] options
98
+ # Request-specific options
99
+ #
100
+ # @yield [result, err] Result & error if block supplied
101
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
102
+ # @yieldparam err [StandardError] error object if request failed
103
+ #
104
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
105
+ #
106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
109
+ def create_namespace_cloudauditlog(parent, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogs', options)
111
+ command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
112
+ command.request_object = cloud_audit_log_object
113
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
114
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
115
+ command.params['parent'] = parent unless parent.nil?
116
+ command.query['fields'] = fields unless fields.nil?
117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
118
+ execute_or_queue_command(command, &block)
119
+ end
120
+
121
+ # Rpc to delete a cloudauditlog.
122
+ # @param [String] name
123
+ # The name of the cloudauditlog being deleted. If needed, replace
124
+ # `namespace_id` with the project ID.
125
+ # @param [String] api_version
126
+ # Cloud Run currently ignores this parameter.
127
+ # @param [String] kind
128
+ # Cloud Run currently ignores this parameter.
129
+ # @param [String] propagation_policy
130
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
131
+ # this setting, and deletes in the background. Please see
132
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
133
+ # more information.
134
+ # @param [String] fields
135
+ # Selector specifying which fields to include in a partial response.
136
+ # @param [String] quota_user
137
+ # Available to use for quota purposes for server-side applications. Can be any
138
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
139
+ # @param [Google::Apis::RequestOptions] options
140
+ # Request-specific options
141
+ #
142
+ # @yield [result, err] Result & error if block supplied
143
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
144
+ # @yieldparam err [StandardError] error object if request failed
145
+ #
146
+ # @return [Google::Apis::RunV1alpha1::Empty]
147
+ #
148
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
151
+ def delete_namespace_cloudauditlog(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
152
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
153
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
154
+ command.response_class = Google::Apis::RunV1alpha1::Empty
155
+ command.params['name'] = name unless name.nil?
156
+ command.query['apiVersion'] = api_version unless api_version.nil?
157
+ command.query['kind'] = kind unless kind.nil?
158
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
159
+ command.query['fields'] = fields unless fields.nil?
160
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
161
+ execute_or_queue_command(command, &block)
162
+ end
163
+
164
+ # Rpc to get information about a cloudauditlog.
165
+ # @param [String] name
166
+ # The name of the cloudauditlog being retrieved. If needed, replace
167
+ # `namespace_id` with the project ID.
168
+ # @param [String] fields
169
+ # Selector specifying which fields to include in a partial response.
170
+ # @param [String] quota_user
171
+ # Available to use for quota purposes for server-side applications. Can be any
172
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
173
+ # @param [Google::Apis::RequestOptions] options
174
+ # Request-specific options
175
+ #
176
+ # @yield [result, err] Result & error if block supplied
177
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
178
+ # @yieldparam err [StandardError] error object if request failed
179
+ #
180
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
181
+ #
182
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
183
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
184
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
185
+ def get_namespace_cloudauditlog(name, fields: nil, quota_user: nil, options: nil, &block)
186
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
187
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
188
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
189
+ command.params['name'] = name unless name.nil?
190
+ command.query['fields'] = fields unless fields.nil?
191
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
192
+ execute_or_queue_command(command, &block)
193
+ end
194
+
195
+ # Rpc to list cloudauditlogs.
196
+ # @param [String] parent
197
+ # The project ID or project number from which the cloudauditlogs should
198
+ # be listed.
199
+ # @param [String] continue
200
+ # Optional encoded string to continue paging.
201
+ # @param [String] field_selector
202
+ # Allows to filter resources based on a specific value for a field name.
203
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
204
+ # Not currently used by Cloud Run.
205
+ # @param [Boolean] include_uninitialized
206
+ # Not currently used by Cloud Run.
207
+ # @param [String] label_selector
208
+ # Allows to filter resources based on a label. Supported operations are
209
+ # =, !=, exists, in, and notIn.
210
+ # @param [Fixnum] limit
211
+ # The maximum number of records that should be returned.
212
+ # @param [String] resource_version
213
+ # The baseline resource version from which the list or watch operation should
214
+ # start. Not currently used by Cloud Run.
215
+ # @param [Boolean] watch
216
+ # Flag that indicates that the client expects to watch this resource as well.
217
+ # Not currently used by Cloud Run.
218
+ # @param [String] fields
219
+ # Selector specifying which fields to include in a partial response.
220
+ # @param [String] quota_user
221
+ # Available to use for quota purposes for server-side applications. Can be any
222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
223
+ # @param [Google::Apis::RequestOptions] options
224
+ # Request-specific options
225
+ #
226
+ # @yield [result, err] Result & error if block supplied
227
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse] parsed result object
228
+ # @yieldparam err [StandardError] error object if request failed
229
+ #
230
+ # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse]
231
+ #
232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
235
+ def list_namespace_cloudauditlogs(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)
236
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogs', options)
237
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse::Representation
238
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse
239
+ command.params['parent'] = parent unless parent.nil?
240
+ command.query['continue'] = continue unless continue.nil?
241
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
242
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
243
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
244
+ command.query['limit'] = limit unless limit.nil?
245
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
246
+ command.query['watch'] = watch unless watch.nil?
247
+ command.query['fields'] = fields unless fields.nil?
248
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
249
+ execute_or_queue_command(command, &block)
250
+ end
251
+
252
+ # Rpc to replace a cloudauditlog.
253
+ # Only the spec and metadata labels and annotations are modifiable. After
254
+ # the Update request, Cloud Run will work to make the 'status'
255
+ # match the requested 'spec'.
256
+ # May provide metadata.resourceVersion to enforce update from last read for
257
+ # optimistic concurrency control.
258
+ # @param [String] name
259
+ # The name of the cloudauditlog being retrieved. If needed, replace
260
+ # `namespace_id` with the project ID.
261
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
262
+ # @param [String] fields
263
+ # Selector specifying which fields to include in a partial response.
264
+ # @param [String] quota_user
265
+ # Available to use for quota purposes for server-side applications. Can be any
266
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
267
+ # @param [Google::Apis::RequestOptions] options
268
+ # Request-specific options
269
+ #
270
+ # @yield [result, err] Result & error if block supplied
271
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
272
+ # @yieldparam err [StandardError] error object if request failed
273
+ #
274
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
275
+ #
276
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
277
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
278
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
279
+ def replace_namespace_cloudauditlog_cloud_audit_log(name, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
280
+ command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
281
+ command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
282
+ command.request_object = cloud_audit_log_object
283
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
284
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
285
+ command.params['name'] = name unless name.nil?
286
+ command.query['fields'] = fields unless fields.nil?
287
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
288
+ execute_or_queue_command(command, &block)
289
+ end
290
+
87
291
  # Rpc to get information about a configuration.
88
292
  # @param [String] name
89
293
  # The name of the configuration being retrieved. If needed, replace
@@ -1071,11 +1275,11 @@ module Google
1071
1275
  execute_or_queue_command(command, &block)
1072
1276
  end
1073
1277
 
1074
- # Creates a new trigger.
1278
+ # Creates a new storage.
1075
1279
  # @param [String] parent
1076
- # The project ID or project number in which this trigger should
1280
+ # The project ID or project number in which this storage should
1077
1281
  # be created.
1078
- # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1282
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
1079
1283
  # @param [String] fields
1080
1284
  # Selector specifying which fields to include in a partial response.
1081
1285
  # @param [String] quota_user
@@ -1085,29 +1289,29 @@ module Google
1085
1289
  # Request-specific options
1086
1290
  #
1087
1291
  # @yield [result, err] Result & error if block supplied
1088
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1292
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1089
1293
  # @yieldparam err [StandardError] error object if request failed
1090
1294
  #
1091
- # @return [Google::Apis::RunV1alpha1::Trigger]
1295
+ # @return [Google::Apis::RunV1alpha1::Storage]
1092
1296
  #
1093
1297
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1094
1298
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1095
1299
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1096
- def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1097
- command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1098
- command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1099
- command.request_object = trigger_object
1100
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1101
- command.response_class = Google::Apis::RunV1alpha1::Trigger
1300
+ def create_namespace_storage(parent, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1301
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/storages', options)
1302
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
1303
+ command.request_object = storage_object
1304
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1305
+ command.response_class = Google::Apis::RunV1alpha1::Storage
1102
1306
  command.params['parent'] = parent unless parent.nil?
1103
1307
  command.query['fields'] = fields unless fields.nil?
1104
1308
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1105
1309
  execute_or_queue_command(command, &block)
1106
1310
  end
1107
1311
 
1108
- # Rpc to delete a trigger.
1312
+ # Rpc to delete a storage.
1109
1313
  # @param [String] name
1110
- # The name of the trigger being deleted. If needed, replace
1314
+ # The name of the storage being deleted. If needed, replace
1111
1315
  # `namespace_id` with the project ID.
1112
1316
  # @param [String] api_version
1113
1317
  # Cloud Run currently ignores this parameter.
@@ -1135,8 +1339,8 @@ module Google
1135
1339
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1136
1340
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1137
1341
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1138
- def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1139
- command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1342
+ def delete_namespace_storage(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1343
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1140
1344
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1141
1345
  command.response_class = Google::Apis::RunV1alpha1::Empty
1142
1346
  command.params['name'] = name unless name.nil?
@@ -1148,9 +1352,9 @@ module Google
1148
1352
  execute_or_queue_command(command, &block)
1149
1353
  end
1150
1354
 
1151
- # Rpc to get information about a trigger.
1355
+ # Rpc to get information about a storage.
1152
1356
  # @param [String] name
1153
- # The name of the trigger being retrieved. If needed, replace
1357
+ # The name of the storage being retrieved. If needed, replace
1154
1358
  # `namespace_id` with the project ID.
1155
1359
  # @param [String] fields
1156
1360
  # Selector specifying which fields to include in a partial response.
@@ -1161,27 +1365,27 @@ module Google
1161
1365
  # Request-specific options
1162
1366
  #
1163
1367
  # @yield [result, err] Result & error if block supplied
1164
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1368
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1165
1369
  # @yieldparam err [StandardError] error object if request failed
1166
1370
  #
1167
- # @return [Google::Apis::RunV1alpha1::Trigger]
1371
+ # @return [Google::Apis::RunV1alpha1::Storage]
1168
1372
  #
1169
1373
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1170
1374
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1171
1375
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1172
- def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1173
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1174
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1175
- command.response_class = Google::Apis::RunV1alpha1::Trigger
1376
+ def get_namespace_storage(name, fields: nil, quota_user: nil, options: nil, &block)
1377
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1378
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1379
+ command.response_class = Google::Apis::RunV1alpha1::Storage
1176
1380
  command.params['name'] = name unless name.nil?
1177
1381
  command.query['fields'] = fields unless fields.nil?
1178
1382
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1179
1383
  execute_or_queue_command(command, &block)
1180
1384
  end
1181
1385
 
1182
- # Rpc to list triggers.
1386
+ # Rpc to list storages.
1183
1387
  # @param [String] parent
1184
- # The project ID or project number from which the triggers should
1388
+ # The project ID or project number from which the storages should
1185
1389
  # be listed.
1186
1390
  # @param [String] continue
1187
1391
  # Optional encoded string to continue paging.
@@ -1211,18 +1415,18 @@ module Google
1211
1415
  # Request-specific options
1212
1416
  #
1213
1417
  # @yield [result, err] Result & error if block supplied
1214
- # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
1418
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListStoragesResponse] parsed result object
1215
1419
  # @yieldparam err [StandardError] error object if request failed
1216
1420
  #
1217
- # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
1421
+ # @return [Google::Apis::RunV1alpha1::ListStoragesResponse]
1218
1422
  #
1219
1423
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1220
1424
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1221
1425
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1222
- 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)
1223
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1224
- command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
1225
- command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
1426
+ 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)
1427
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/storages', options)
1428
+ command.response_representation = Google::Apis::RunV1alpha1::ListStoragesResponse::Representation
1429
+ command.response_class = Google::Apis::RunV1alpha1::ListStoragesResponse
1226
1430
  command.params['parent'] = parent unless parent.nil?
1227
1431
  command.query['continue'] = continue unless continue.nil?
1228
1432
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1236,15 +1440,49 @@ module Google
1236
1440
  execute_or_queue_command(command, &block)
1237
1441
  end
1238
1442
 
1239
- # Rpc to replace a trigger.
1443
+ # Rpc to replace a storage.
1240
1444
  # Only the spec and metadata labels and annotations are modifiable. After
1241
1445
  # the Update request, Cloud Run will work to make the 'status'
1242
1446
  # match the requested 'spec'.
1243
1447
  # May provide metadata.resourceVersion to enforce update from last read for
1244
1448
  # optimistic concurrency control.
1245
1449
  # @param [String] name
1246
- # The name of the trigger being retrieved. If needed, replace
1450
+ # The name of the storage being retrieved. If needed, replace
1247
1451
  # `namespace_id` with the project ID.
1452
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
1453
+ # @param [String] fields
1454
+ # Selector specifying which fields to include in a partial response.
1455
+ # @param [String] quota_user
1456
+ # Available to use for quota purposes for server-side applications. Can be any
1457
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1458
+ # @param [Google::Apis::RequestOptions] options
1459
+ # Request-specific options
1460
+ #
1461
+ # @yield [result, err] Result & error if block supplied
1462
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1463
+ # @yieldparam err [StandardError] error object if request failed
1464
+ #
1465
+ # @return [Google::Apis::RunV1alpha1::Storage]
1466
+ #
1467
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1468
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1469
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1470
+ def replace_namespace_storage_storage(name, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1471
+ command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1472
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
1473
+ command.request_object = storage_object
1474
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1475
+ command.response_class = Google::Apis::RunV1alpha1::Storage
1476
+ command.params['name'] = name unless name.nil?
1477
+ command.query['fields'] = fields unless fields.nil?
1478
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1479
+ execute_or_queue_command(command, &block)
1480
+ end
1481
+
1482
+ # Creates a new trigger.
1483
+ # @param [String] parent
1484
+ # The project ID or project number in which this trigger should
1485
+ # be created.
1248
1486
  # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1249
1487
  # @param [String] fields
1250
1488
  # Selector specifying which fields to include in a partial response.
@@ -1263,27 +1501,31 @@ module Google
1263
1501
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1264
1502
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1265
1503
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1266
- def replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1267
- command = make_simple_command(:put, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1504
+ def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1505
+ command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1268
1506
  command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1269
1507
  command.request_object = trigger_object
1270
1508
  command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1271
1509
  command.response_class = Google::Apis::RunV1alpha1::Trigger
1272
- command.params['name'] = name unless name.nil?
1510
+ command.params['parent'] = parent unless parent.nil?
1273
1511
  command.query['fields'] = fields unless fields.nil?
1274
1512
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1275
1513
  execute_or_queue_command(command, &block)
1276
1514
  end
1277
1515
 
1278
- # Lists information about the supported locations for this service.
1516
+ # Rpc to delete a trigger.
1279
1517
  # @param [String] name
1280
- # The resource that owns the locations collection, if applicable.
1281
- # @param [String] filter
1282
- # The standard list filter.
1283
- # @param [Fixnum] page_size
1284
- # The standard list page size.
1285
- # @param [String] page_token
1286
- # The standard list page token.
1518
+ # The name of the trigger being deleted. If needed, replace
1519
+ # `namespace_id` with the project ID.
1520
+ # @param [String] api_version
1521
+ # Cloud Run currently ignores this parameter.
1522
+ # @param [String] kind
1523
+ # Cloud Run currently ignores this parameter.
1524
+ # @param [String] propagation_policy
1525
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1526
+ # this setting, and deletes in the background. Please see
1527
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1528
+ # more information.
1287
1529
  # @param [String] fields
1288
1530
  # Selector specifying which fields to include in a partial response.
1289
1531
  # @param [String] quota_user
@@ -1293,10 +1535,176 @@ module Google
1293
1535
  # Request-specific options
1294
1536
  #
1295
1537
  # @yield [result, err] Result & error if block supplied
1296
- # @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object
1538
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1297
1539
  # @yieldparam err [StandardError] error object if request failed
1298
1540
  #
1299
- # @return [Google::Apis::RunV1alpha1::ListLocationsResponse]
1541
+ # @return [Google::Apis::RunV1alpha1::Empty]
1542
+ #
1543
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1544
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1545
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1546
+ def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1547
+ command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1548
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1549
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1550
+ command.params['name'] = name unless name.nil?
1551
+ command.query['apiVersion'] = api_version unless api_version.nil?
1552
+ command.query['kind'] = kind unless kind.nil?
1553
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1554
+ command.query['fields'] = fields unless fields.nil?
1555
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1556
+ execute_or_queue_command(command, &block)
1557
+ end
1558
+
1559
+ # Rpc to get information about a trigger.
1560
+ # @param [String] name
1561
+ # The name of the trigger being retrieved. If needed, replace
1562
+ # `namespace_id` with the project ID.
1563
+ # @param [String] fields
1564
+ # Selector specifying which fields to include in a partial response.
1565
+ # @param [String] quota_user
1566
+ # Available to use for quota purposes for server-side applications. Can be any
1567
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1568
+ # @param [Google::Apis::RequestOptions] options
1569
+ # Request-specific options
1570
+ #
1571
+ # @yield [result, err] Result & error if block supplied
1572
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1573
+ # @yieldparam err [StandardError] error object if request failed
1574
+ #
1575
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1576
+ #
1577
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1578
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1579
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1580
+ def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1581
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1582
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1583
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
1584
+ command.params['name'] = name unless name.nil?
1585
+ command.query['fields'] = fields unless fields.nil?
1586
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1587
+ execute_or_queue_command(command, &block)
1588
+ end
1589
+
1590
+ # Rpc to list triggers.
1591
+ # @param [String] parent
1592
+ # The project ID or project number from which the triggers should
1593
+ # be listed.
1594
+ # @param [String] continue
1595
+ # Optional encoded string to continue paging.
1596
+ # @param [String] field_selector
1597
+ # Allows to filter resources based on a specific value for a field name.
1598
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1599
+ # Not currently used by Cloud Run.
1600
+ # @param [Boolean] include_uninitialized
1601
+ # Not currently used by Cloud Run.
1602
+ # @param [String] label_selector
1603
+ # Allows to filter resources based on a label. Supported operations are
1604
+ # =, !=, exists, in, and notIn.
1605
+ # @param [Fixnum] limit
1606
+ # The maximum number of records that should be returned.
1607
+ # @param [String] resource_version
1608
+ # The baseline resource version from which the list or watch operation should
1609
+ # start. Not currently used by Cloud Run.
1610
+ # @param [Boolean] watch
1611
+ # Flag that indicates that the client expects to watch this resource as well.
1612
+ # Not currently used by Cloud Run.
1613
+ # @param [String] fields
1614
+ # Selector specifying which fields to include in a partial response.
1615
+ # @param [String] quota_user
1616
+ # Available to use for quota purposes for server-side applications. Can be any
1617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1618
+ # @param [Google::Apis::RequestOptions] options
1619
+ # Request-specific options
1620
+ #
1621
+ # @yield [result, err] Result & error if block supplied
1622
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
1623
+ # @yieldparam err [StandardError] error object if request failed
1624
+ #
1625
+ # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
1626
+ #
1627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1630
+ 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)
1631
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1632
+ command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
1633
+ command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
1634
+ command.params['parent'] = parent unless parent.nil?
1635
+ command.query['continue'] = continue unless continue.nil?
1636
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1637
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1638
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1639
+ command.query['limit'] = limit unless limit.nil?
1640
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1641
+ command.query['watch'] = watch unless watch.nil?
1642
+ command.query['fields'] = fields unless fields.nil?
1643
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1644
+ execute_or_queue_command(command, &block)
1645
+ end
1646
+
1647
+ # Rpc to replace a trigger.
1648
+ # Only the spec and metadata labels and annotations are modifiable. After
1649
+ # the Update request, Cloud Run will work to make the 'status'
1650
+ # match the requested 'spec'.
1651
+ # May provide metadata.resourceVersion to enforce update from last read for
1652
+ # optimistic concurrency control.
1653
+ # @param [String] name
1654
+ # The name of the trigger being retrieved. If needed, replace
1655
+ # `namespace_id` with the project ID.
1656
+ # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1657
+ # @param [String] fields
1658
+ # Selector specifying which fields to include in a partial response.
1659
+ # @param [String] quota_user
1660
+ # Available to use for quota purposes for server-side applications. Can be any
1661
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1662
+ # @param [Google::Apis::RequestOptions] options
1663
+ # Request-specific options
1664
+ #
1665
+ # @yield [result, err] Result & error if block supplied
1666
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1667
+ # @yieldparam err [StandardError] error object if request failed
1668
+ #
1669
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1670
+ #
1671
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1672
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1673
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1674
+ def replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1675
+ command = make_simple_command(:put, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1676
+ command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1677
+ command.request_object = trigger_object
1678
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1679
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
1680
+ command.params['name'] = name unless name.nil?
1681
+ command.query['fields'] = fields unless fields.nil?
1682
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1683
+ execute_or_queue_command(command, &block)
1684
+ end
1685
+
1686
+ # Lists information about the supported locations for this service.
1687
+ # @param [String] name
1688
+ # The resource that owns the locations collection, if applicable.
1689
+ # @param [String] filter
1690
+ # The standard list filter.
1691
+ # @param [Fixnum] page_size
1692
+ # The standard list page size.
1693
+ # @param [String] page_token
1694
+ # The standard list page token.
1695
+ # @param [String] fields
1696
+ # Selector specifying which fields to include in a partial response.
1697
+ # @param [String] quota_user
1698
+ # Available to use for quota purposes for server-side applications. Can be any
1699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1700
+ # @param [Google::Apis::RequestOptions] options
1701
+ # Request-specific options
1702
+ #
1703
+ # @yield [result, err] Result & error if block supplied
1704
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object
1705
+ # @yieldparam err [StandardError] error object if request failed
1706
+ #
1707
+ # @return [Google::Apis::RunV1alpha1::ListLocationsResponse]
1300
1708
  #
1301
1709
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1302
1710
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
@@ -1350,6 +1758,210 @@ module Google
1350
1758
  execute_or_queue_command(command, &block)
1351
1759
  end
1352
1760
 
1761
+ # Creates a new cloudauditlog.
1762
+ # @param [String] parent
1763
+ # The project ID or project number in which this cloudauditlog should
1764
+ # be created.
1765
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
1766
+ # @param [String] fields
1767
+ # Selector specifying which fields to include in a partial response.
1768
+ # @param [String] quota_user
1769
+ # Available to use for quota purposes for server-side applications. Can be any
1770
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1771
+ # @param [Google::Apis::RequestOptions] options
1772
+ # Request-specific options
1773
+ #
1774
+ # @yield [result, err] Result & error if block supplied
1775
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
1776
+ # @yieldparam err [StandardError] error object if request failed
1777
+ #
1778
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
1779
+ #
1780
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1781
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1782
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1783
+ def create_project_location_cloudauditlog(parent, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1784
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudauditlogs', options)
1785
+ command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1786
+ command.request_object = cloud_audit_log_object
1787
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1788
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
1789
+ command.params['parent'] = parent unless parent.nil?
1790
+ command.query['fields'] = fields unless fields.nil?
1791
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1792
+ execute_or_queue_command(command, &block)
1793
+ end
1794
+
1795
+ # Rpc to delete a cloudauditlog.
1796
+ # @param [String] name
1797
+ # The name of the cloudauditlog being deleted. If needed, replace
1798
+ # `namespace_id` with the project ID.
1799
+ # @param [String] api_version
1800
+ # Cloud Run currently ignores this parameter.
1801
+ # @param [String] kind
1802
+ # Cloud Run currently ignores this parameter.
1803
+ # @param [String] propagation_policy
1804
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1805
+ # this setting, and deletes in the background. Please see
1806
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1807
+ # more information.
1808
+ # @param [String] fields
1809
+ # Selector specifying which fields to include in a partial response.
1810
+ # @param [String] quota_user
1811
+ # Available to use for quota purposes for server-side applications. Can be any
1812
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1813
+ # @param [Google::Apis::RequestOptions] options
1814
+ # Request-specific options
1815
+ #
1816
+ # @yield [result, err] Result & error if block supplied
1817
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1818
+ # @yieldparam err [StandardError] error object if request failed
1819
+ #
1820
+ # @return [Google::Apis::RunV1alpha1::Empty]
1821
+ #
1822
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1823
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1824
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1825
+ def delete_project_location_cloudauditlog(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1826
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1827
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1828
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1829
+ command.params['name'] = name unless name.nil?
1830
+ command.query['apiVersion'] = api_version unless api_version.nil?
1831
+ command.query['kind'] = kind unless kind.nil?
1832
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1833
+ command.query['fields'] = fields unless fields.nil?
1834
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1835
+ execute_or_queue_command(command, &block)
1836
+ end
1837
+
1838
+ # Rpc to get information about a cloudauditlog.
1839
+ # @param [String] name
1840
+ # The name of the cloudauditlog being retrieved. If needed, replace
1841
+ # `namespace_id` with the project ID.
1842
+ # @param [String] fields
1843
+ # Selector specifying which fields to include in a partial response.
1844
+ # @param [String] quota_user
1845
+ # Available to use for quota purposes for server-side applications. Can be any
1846
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1847
+ # @param [Google::Apis::RequestOptions] options
1848
+ # Request-specific options
1849
+ #
1850
+ # @yield [result, err] Result & error if block supplied
1851
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
1852
+ # @yieldparam err [StandardError] error object if request failed
1853
+ #
1854
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
1855
+ #
1856
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1857
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1858
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1859
+ def get_project_location_cloudauditlog(name, fields: nil, quota_user: nil, options: nil, &block)
1860
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1861
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1862
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
1863
+ command.params['name'] = name unless name.nil?
1864
+ command.query['fields'] = fields unless fields.nil?
1865
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1866
+ execute_or_queue_command(command, &block)
1867
+ end
1868
+
1869
+ # Rpc to list cloudauditlogs.
1870
+ # @param [String] parent
1871
+ # The project ID or project number from which the cloudauditlogs should
1872
+ # be listed.
1873
+ # @param [String] continue
1874
+ # Optional encoded string to continue paging.
1875
+ # @param [String] field_selector
1876
+ # Allows to filter resources based on a specific value for a field name.
1877
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1878
+ # Not currently used by Cloud Run.
1879
+ # @param [Boolean] include_uninitialized
1880
+ # Not currently used by Cloud Run.
1881
+ # @param [String] label_selector
1882
+ # Allows to filter resources based on a label. Supported operations are
1883
+ # =, !=, exists, in, and notIn.
1884
+ # @param [Fixnum] limit
1885
+ # The maximum number of records that should be returned.
1886
+ # @param [String] resource_version
1887
+ # The baseline resource version from which the list or watch operation should
1888
+ # start. Not currently used by Cloud Run.
1889
+ # @param [Boolean] watch
1890
+ # Flag that indicates that the client expects to watch this resource as well.
1891
+ # Not currently used by Cloud Run.
1892
+ # @param [String] fields
1893
+ # Selector specifying which fields to include in a partial response.
1894
+ # @param [String] quota_user
1895
+ # Available to use for quota purposes for server-side applications. Can be any
1896
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1897
+ # @param [Google::Apis::RequestOptions] options
1898
+ # Request-specific options
1899
+ #
1900
+ # @yield [result, err] Result & error if block supplied
1901
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse] parsed result object
1902
+ # @yieldparam err [StandardError] error object if request failed
1903
+ #
1904
+ # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse]
1905
+ #
1906
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1907
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1908
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1909
+ def list_project_location_cloudauditlogs(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)
1910
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudauditlogs', options)
1911
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse::Representation
1912
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse
1913
+ command.params['parent'] = parent unless parent.nil?
1914
+ command.query['continue'] = continue unless continue.nil?
1915
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1916
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1917
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1918
+ command.query['limit'] = limit unless limit.nil?
1919
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1920
+ command.query['watch'] = watch unless watch.nil?
1921
+ command.query['fields'] = fields unless fields.nil?
1922
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1923
+ execute_or_queue_command(command, &block)
1924
+ end
1925
+
1926
+ # Rpc to replace a cloudauditlog.
1927
+ # Only the spec and metadata labels and annotations are modifiable. After
1928
+ # the Update request, Cloud Run will work to make the 'status'
1929
+ # match the requested 'spec'.
1930
+ # May provide metadata.resourceVersion to enforce update from last read for
1931
+ # optimistic concurrency control.
1932
+ # @param [String] name
1933
+ # The name of the cloudauditlog being retrieved. If needed, replace
1934
+ # `namespace_id` with the project ID.
1935
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
1936
+ # @param [String] fields
1937
+ # Selector specifying which fields to include in a partial response.
1938
+ # @param [String] quota_user
1939
+ # Available to use for quota purposes for server-side applications. Can be any
1940
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1941
+ # @param [Google::Apis::RequestOptions] options
1942
+ # Request-specific options
1943
+ #
1944
+ # @yield [result, err] Result & error if block supplied
1945
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
1946
+ # @yieldparam err [StandardError] error object if request failed
1947
+ #
1948
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
1949
+ #
1950
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1951
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1952
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1953
+ def replace_project_location_cloudauditlog_cloud_audit_log(name, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1954
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
1955
+ command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1956
+ command.request_object = cloud_audit_log_object
1957
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1958
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
1959
+ command.params['name'] = name unless name.nil?
1960
+ command.query['fields'] = fields unless fields.nil?
1961
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1962
+ execute_or_queue_command(command, &block)
1963
+ end
1964
+
1353
1965
  # Rpc to get information about a configuration.
1354
1966
  # @param [String] name
1355
1967
  # The name of the configuration being retrieved. If needed, replace
@@ -2447,6 +3059,210 @@ module Google
2447
3059
  execute_or_queue_command(command, &block)
2448
3060
  end
2449
3061
 
3062
+ # Creates a new storage.
3063
+ # @param [String] parent
3064
+ # The project ID or project number in which this storage should
3065
+ # be created.
3066
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
3067
+ # @param [String] fields
3068
+ # Selector specifying which fields to include in a partial response.
3069
+ # @param [String] quota_user
3070
+ # Available to use for quota purposes for server-side applications. Can be any
3071
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3072
+ # @param [Google::Apis::RequestOptions] options
3073
+ # Request-specific options
3074
+ #
3075
+ # @yield [result, err] Result & error if block supplied
3076
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
3077
+ # @yieldparam err [StandardError] error object if request failed
3078
+ #
3079
+ # @return [Google::Apis::RunV1alpha1::Storage]
3080
+ #
3081
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3082
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3083
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3084
+ def create_project_location_storage(parent, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3085
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/storages', options)
3086
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
3087
+ command.request_object = storage_object
3088
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
3089
+ command.response_class = Google::Apis::RunV1alpha1::Storage
3090
+ command.params['parent'] = parent unless parent.nil?
3091
+ command.query['fields'] = fields unless fields.nil?
3092
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3093
+ execute_or_queue_command(command, &block)
3094
+ end
3095
+
3096
+ # Rpc to delete a storage.
3097
+ # @param [String] name
3098
+ # The name of the storage being deleted. If needed, replace
3099
+ # `namespace_id` with the project ID.
3100
+ # @param [String] api_version
3101
+ # Cloud Run currently ignores this parameter.
3102
+ # @param [String] kind
3103
+ # Cloud Run currently ignores this parameter.
3104
+ # @param [String] propagation_policy
3105
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
3106
+ # this setting, and deletes in the background. Please see
3107
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
3108
+ # more information.
3109
+ # @param [String] fields
3110
+ # Selector specifying which fields to include in a partial response.
3111
+ # @param [String] quota_user
3112
+ # Available to use for quota purposes for server-side applications. Can be any
3113
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3114
+ # @param [Google::Apis::RequestOptions] options
3115
+ # Request-specific options
3116
+ #
3117
+ # @yield [result, err] Result & error if block supplied
3118
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
3119
+ # @yieldparam err [StandardError] error object if request failed
3120
+ #
3121
+ # @return [Google::Apis::RunV1alpha1::Empty]
3122
+ #
3123
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3124
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3125
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3126
+ def delete_project_location_storage(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
3127
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
3128
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
3129
+ command.response_class = Google::Apis::RunV1alpha1::Empty
3130
+ command.params['name'] = name unless name.nil?
3131
+ command.query['apiVersion'] = api_version unless api_version.nil?
3132
+ command.query['kind'] = kind unless kind.nil?
3133
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
3134
+ command.query['fields'] = fields unless fields.nil?
3135
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3136
+ execute_or_queue_command(command, &block)
3137
+ end
3138
+
3139
+ # Rpc to get information about a storage.
3140
+ # @param [String] name
3141
+ # The name of the storage being retrieved. If needed, replace
3142
+ # `namespace_id` with the project ID.
3143
+ # @param [String] fields
3144
+ # Selector specifying which fields to include in a partial response.
3145
+ # @param [String] quota_user
3146
+ # Available to use for quota purposes for server-side applications. Can be any
3147
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3148
+ # @param [Google::Apis::RequestOptions] options
3149
+ # Request-specific options
3150
+ #
3151
+ # @yield [result, err] Result & error if block supplied
3152
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
3153
+ # @yieldparam err [StandardError] error object if request failed
3154
+ #
3155
+ # @return [Google::Apis::RunV1alpha1::Storage]
3156
+ #
3157
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3158
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3159
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3160
+ def get_project_location_storage(name, fields: nil, quota_user: nil, options: nil, &block)
3161
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
3162
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
3163
+ command.response_class = Google::Apis::RunV1alpha1::Storage
3164
+ command.params['name'] = name unless name.nil?
3165
+ command.query['fields'] = fields unless fields.nil?
3166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3167
+ execute_or_queue_command(command, &block)
3168
+ end
3169
+
3170
+ # Rpc to list storages.
3171
+ # @param [String] parent
3172
+ # The project ID or project number from which the storages should
3173
+ # be listed.
3174
+ # @param [String] continue
3175
+ # Optional encoded string to continue paging.
3176
+ # @param [String] field_selector
3177
+ # Allows to filter resources based on a specific value for a field name.
3178
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
3179
+ # Not currently used by Cloud Run.
3180
+ # @param [Boolean] include_uninitialized
3181
+ # Not currently used by Cloud Run.
3182
+ # @param [String] label_selector
3183
+ # Allows to filter resources based on a label. Supported operations are
3184
+ # =, !=, exists, in, and notIn.
3185
+ # @param [Fixnum] limit
3186
+ # The maximum number of records that should be returned.
3187
+ # @param [String] resource_version
3188
+ # The baseline resource version from which the list or watch operation should
3189
+ # start. Not currently used by Cloud Run.
3190
+ # @param [Boolean] watch
3191
+ # Flag that indicates that the client expects to watch this resource as well.
3192
+ # Not currently used by Cloud Run.
3193
+ # @param [String] fields
3194
+ # Selector specifying which fields to include in a partial response.
3195
+ # @param [String] quota_user
3196
+ # Available to use for quota purposes for server-side applications. Can be any
3197
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3198
+ # @param [Google::Apis::RequestOptions] options
3199
+ # Request-specific options
3200
+ #
3201
+ # @yield [result, err] Result & error if block supplied
3202
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListStoragesResponse] parsed result object
3203
+ # @yieldparam err [StandardError] error object if request failed
3204
+ #
3205
+ # @return [Google::Apis::RunV1alpha1::ListStoragesResponse]
3206
+ #
3207
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3208
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3209
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3210
+ 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)
3211
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/storages', options)
3212
+ command.response_representation = Google::Apis::RunV1alpha1::ListStoragesResponse::Representation
3213
+ command.response_class = Google::Apis::RunV1alpha1::ListStoragesResponse
3214
+ command.params['parent'] = parent unless parent.nil?
3215
+ command.query['continue'] = continue unless continue.nil?
3216
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
3217
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
3218
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
3219
+ command.query['limit'] = limit unless limit.nil?
3220
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
3221
+ command.query['watch'] = watch unless watch.nil?
3222
+ command.query['fields'] = fields unless fields.nil?
3223
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3224
+ execute_or_queue_command(command, &block)
3225
+ end
3226
+
3227
+ # Rpc to replace a storage.
3228
+ # Only the spec and metadata labels and annotations are modifiable. After
3229
+ # the Update request, Cloud Run will work to make the 'status'
3230
+ # match the requested 'spec'.
3231
+ # May provide metadata.resourceVersion to enforce update from last read for
3232
+ # optimistic concurrency control.
3233
+ # @param [String] name
3234
+ # The name of the storage being retrieved. If needed, replace
3235
+ # `namespace_id` with the project ID.
3236
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
3237
+ # @param [String] fields
3238
+ # Selector specifying which fields to include in a partial response.
3239
+ # @param [String] quota_user
3240
+ # Available to use for quota purposes for server-side applications. Can be any
3241
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3242
+ # @param [Google::Apis::RequestOptions] options
3243
+ # Request-specific options
3244
+ #
3245
+ # @yield [result, err] Result & error if block supplied
3246
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
3247
+ # @yieldparam err [StandardError] error object if request failed
3248
+ #
3249
+ # @return [Google::Apis::RunV1alpha1::Storage]
3250
+ #
3251
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3252
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3253
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3254
+ def replace_project_location_storage_storage(name, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3255
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
3256
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
3257
+ command.request_object = storage_object
3258
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
3259
+ command.response_class = Google::Apis::RunV1alpha1::Storage
3260
+ command.params['name'] = name unless name.nil?
3261
+ command.query['fields'] = fields unless fields.nil?
3262
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3263
+ execute_or_queue_command(command, &block)
3264
+ end
3265
+
2450
3266
  # Creates a new trigger.
2451
3267
  # @param [String] parent
2452
3268
  # The project ID or project number in which this trigger should