google-apis-run_v1alpha1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/run_v1alpha1/classes.rb +105 -2137
- data/lib/google/apis/run_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1alpha1/representations.rb +1 -783
- data/lib/google/apis/run_v1alpha1/service.rb +0 -1598
- metadata +4 -4
@@ -50,300 +50,6 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# RPC to list authorized domains.
|
54
|
-
# @param [String] parent
|
55
|
-
# Name of the parent Application resource. Example: `apps/myapp`.
|
56
|
-
# @param [Fixnum] page_size
|
57
|
-
# Maximum results to return per page.
|
58
|
-
# @param [String] page_token
|
59
|
-
# Continuation token for fetching the next page of results.
|
60
|
-
# @param [String] fields
|
61
|
-
# Selector specifying which fields to include in a partial response.
|
62
|
-
# @param [String] quota_user
|
63
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
-
# @param [Google::Apis::RequestOptions] options
|
66
|
-
# Request-specific options
|
67
|
-
#
|
68
|
-
# @yield [result, err] Result & error if block supplied
|
69
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
|
70
|
-
# @yieldparam err [StandardError] error object if request failed
|
71
|
-
#
|
72
|
-
# @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
|
73
|
-
#
|
74
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
-
def list_namespace_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
-
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/authorizeddomains', options)
|
79
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
|
80
|
-
command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
|
81
|
-
command.params['parent'] = parent unless parent.nil?
|
82
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
83
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
84
|
-
command.query['fields'] = fields unless fields.nil?
|
85
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
-
execute_or_queue_command(command, &block)
|
87
|
-
end
|
88
|
-
|
89
|
-
# Rpc to get information about a configuration.
|
90
|
-
# @param [String] name
|
91
|
-
# The name of the configuration being retrieved. If needed, replace `
|
92
|
-
# namespace_id` with the project ID.
|
93
|
-
# @param [String] fields
|
94
|
-
# Selector specifying which fields to include in a partial response.
|
95
|
-
# @param [String] quota_user
|
96
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
97
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
98
|
-
# @param [Google::Apis::RequestOptions] options
|
99
|
-
# Request-specific options
|
100
|
-
#
|
101
|
-
# @yield [result, err] Result & error if block supplied
|
102
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
|
103
|
-
# @yieldparam err [StandardError] error object if request failed
|
104
|
-
#
|
105
|
-
# @return [Google::Apis::RunV1alpha1::Configuration]
|
106
|
-
#
|
107
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
108
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
|
-
def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
112
|
-
command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
|
113
|
-
command.response_class = Google::Apis::RunV1alpha1::Configuration
|
114
|
-
command.params['name'] = name unless name.nil?
|
115
|
-
command.query['fields'] = fields unless fields.nil?
|
116
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
-
execute_or_queue_command(command, &block)
|
118
|
-
end
|
119
|
-
|
120
|
-
# Rpc to list configurations.
|
121
|
-
# @param [String] parent
|
122
|
-
# The project ID or project number from which the configurations should be
|
123
|
-
# listed.
|
124
|
-
# @param [String] continue
|
125
|
-
# Optional encoded string to continue paging.
|
126
|
-
# @param [String] field_selector
|
127
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
128
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
129
|
-
# used by Cloud Run.
|
130
|
-
# @param [Boolean] include_uninitialized
|
131
|
-
# Not currently used by Cloud Run.
|
132
|
-
# @param [String] label_selector
|
133
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
134
|
-
# exists, in, and notIn.
|
135
|
-
# @param [Fixnum] limit
|
136
|
-
# The maximum number of records that should be returned.
|
137
|
-
# @param [String] resource_version
|
138
|
-
# The baseline resource version from which the list or watch operation should
|
139
|
-
# start. Not currently used by Cloud Run.
|
140
|
-
# @param [Boolean] watch
|
141
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
142
|
-
# Not currently used by Cloud Run.
|
143
|
-
# @param [String] fields
|
144
|
-
# Selector specifying which fields to include in a partial response.
|
145
|
-
# @param [String] quota_user
|
146
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
147
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
148
|
-
# @param [Google::Apis::RequestOptions] options
|
149
|
-
# Request-specific options
|
150
|
-
#
|
151
|
-
# @yield [result, err] Result & error if block supplied
|
152
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
|
153
|
-
# @yieldparam err [StandardError] error object if request failed
|
154
|
-
#
|
155
|
-
# @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
|
156
|
-
#
|
157
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
158
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
159
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
160
|
-
def list_namespace_configurations(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)
|
161
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options)
|
162
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
|
163
|
-
command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
|
164
|
-
command.params['parent'] = parent unless parent.nil?
|
165
|
-
command.query['continue'] = continue unless continue.nil?
|
166
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
167
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
168
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
169
|
-
command.query['limit'] = limit unless limit.nil?
|
170
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
171
|
-
command.query['watch'] = watch unless watch.nil?
|
172
|
-
command.query['fields'] = fields unless fields.nil?
|
173
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
174
|
-
execute_or_queue_command(command, &block)
|
175
|
-
end
|
176
|
-
|
177
|
-
# Creates a new domain mapping.
|
178
|
-
# @param [String] parent
|
179
|
-
# The project ID or project number in which this domain mapping should be
|
180
|
-
# created.
|
181
|
-
# @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
|
182
|
-
# @param [String] fields
|
183
|
-
# Selector specifying which fields to include in a partial response.
|
184
|
-
# @param [String] quota_user
|
185
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
186
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
187
|
-
# @param [Google::Apis::RequestOptions] options
|
188
|
-
# Request-specific options
|
189
|
-
#
|
190
|
-
# @yield [result, err] Result & error if block supplied
|
191
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
|
192
|
-
# @yieldparam err [StandardError] error object if request failed
|
193
|
-
#
|
194
|
-
# @return [Google::Apis::RunV1alpha1::DomainMapping]
|
195
|
-
#
|
196
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
197
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
198
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
199
|
-
def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
200
|
-
command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
|
201
|
-
command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
202
|
-
command.request_object = domain_mapping_object
|
203
|
-
command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
204
|
-
command.response_class = Google::Apis::RunV1alpha1::DomainMapping
|
205
|
-
command.params['parent'] = parent unless parent.nil?
|
206
|
-
command.query['fields'] = fields unless fields.nil?
|
207
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
208
|
-
execute_or_queue_command(command, &block)
|
209
|
-
end
|
210
|
-
|
211
|
-
# Rpc to delete a domain mapping.
|
212
|
-
# @param [String] name
|
213
|
-
# The name of the domain mapping being deleted. If needed, replace `namespace_id`
|
214
|
-
# with the project ID.
|
215
|
-
# @param [String] api_version
|
216
|
-
# Cloud Run currently ignores this parameter.
|
217
|
-
# @param [String] kind
|
218
|
-
# Cloud Run currently ignores this parameter.
|
219
|
-
# @param [Boolean] orphan_dependents
|
220
|
-
# Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports
|
221
|
-
# cascading behavior, so this must be false. This attribute is deprecated, and
|
222
|
-
# is now replaced with PropagationPolicy See https://github.com/kubernetes/
|
223
|
-
# kubernetes/issues/46659 for more info.
|
224
|
-
# @param [String] propagation_policy
|
225
|
-
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
226
|
-
# setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
|
227
|
-
# workloads/controllers/garbage-collection/ for more information.
|
228
|
-
# @param [String] fields
|
229
|
-
# Selector specifying which fields to include in a partial response.
|
230
|
-
# @param [String] quota_user
|
231
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
232
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
233
|
-
# @param [Google::Apis::RequestOptions] options
|
234
|
-
# Request-specific options
|
235
|
-
#
|
236
|
-
# @yield [result, err] Result & error if block supplied
|
237
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
238
|
-
# @yieldparam err [StandardError] error object if request failed
|
239
|
-
#
|
240
|
-
# @return [Google::Apis::RunV1alpha1::Empty]
|
241
|
-
#
|
242
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
243
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
244
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
245
|
-
def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
246
|
-
command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
|
247
|
-
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
248
|
-
command.response_class = Google::Apis::RunV1alpha1::Empty
|
249
|
-
command.params['name'] = name unless name.nil?
|
250
|
-
command.query['apiVersion'] = api_version unless api_version.nil?
|
251
|
-
command.query['kind'] = kind unless kind.nil?
|
252
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
253
|
-
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
254
|
-
command.query['fields'] = fields unless fields.nil?
|
255
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
256
|
-
execute_or_queue_command(command, &block)
|
257
|
-
end
|
258
|
-
|
259
|
-
# Rpc to get information about a domain mapping.
|
260
|
-
# @param [String] name
|
261
|
-
# The name of the domain mapping being retrieved. If needed, replace `
|
262
|
-
# namespace_id` with the project ID.
|
263
|
-
# @param [String] fields
|
264
|
-
# Selector specifying which fields to include in a partial response.
|
265
|
-
# @param [String] quota_user
|
266
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
267
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
268
|
-
# @param [Google::Apis::RequestOptions] options
|
269
|
-
# Request-specific options
|
270
|
-
#
|
271
|
-
# @yield [result, err] Result & error if block supplied
|
272
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
|
273
|
-
# @yieldparam err [StandardError] error object if request failed
|
274
|
-
#
|
275
|
-
# @return [Google::Apis::RunV1alpha1::DomainMapping]
|
276
|
-
#
|
277
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
278
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
279
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
280
|
-
def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
281
|
-
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
|
282
|
-
command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
283
|
-
command.response_class = Google::Apis::RunV1alpha1::DomainMapping
|
284
|
-
command.params['name'] = name unless name.nil?
|
285
|
-
command.query['fields'] = fields unless fields.nil?
|
286
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
287
|
-
execute_or_queue_command(command, &block)
|
288
|
-
end
|
289
|
-
|
290
|
-
# Rpc to list domain mappings.
|
291
|
-
# @param [String] parent
|
292
|
-
# The project ID or project number from which the domain mappings should be
|
293
|
-
# listed.
|
294
|
-
# @param [String] continue
|
295
|
-
# Optional encoded string to continue paging.
|
296
|
-
# @param [String] field_selector
|
297
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
298
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
299
|
-
# used by Cloud Run.
|
300
|
-
# @param [Boolean] include_uninitialized
|
301
|
-
# Not currently used by Cloud Run.
|
302
|
-
# @param [String] label_selector
|
303
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
304
|
-
# exists, in, and notIn.
|
305
|
-
# @param [Fixnum] limit
|
306
|
-
# The maximum number of records that should be returned.
|
307
|
-
# @param [String] resource_version
|
308
|
-
# The baseline resource version from which the list or watch operation should
|
309
|
-
# start. Not currently used by Cloud Run.
|
310
|
-
# @param [Boolean] watch
|
311
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
312
|
-
# Not currently used by Cloud Run.
|
313
|
-
# @param [String] fields
|
314
|
-
# Selector specifying which fields to include in a partial response.
|
315
|
-
# @param [String] quota_user
|
316
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
317
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
318
|
-
# @param [Google::Apis::RequestOptions] options
|
319
|
-
# Request-specific options
|
320
|
-
#
|
321
|
-
# @yield [result, err] Result & error if block supplied
|
322
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
|
323
|
-
# @yieldparam err [StandardError] error object if request failed
|
324
|
-
#
|
325
|
-
# @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
|
326
|
-
#
|
327
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
328
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
329
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
330
|
-
def list_namespace_domainmappings(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)
|
331
|
-
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
|
332
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
|
333
|
-
command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
|
334
|
-
command.params['parent'] = parent unless parent.nil?
|
335
|
-
command.query['continue'] = continue unless continue.nil?
|
336
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
337
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
338
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
339
|
-
command.query['limit'] = limit unless limit.nil?
|
340
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
341
|
-
command.query['watch'] = watch unless watch.nil?
|
342
|
-
command.query['fields'] = fields unless fields.nil?
|
343
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
344
|
-
execute_or_queue_command(command, &block)
|
345
|
-
end
|
346
|
-
|
347
53
|
# Create a job.
|
348
54
|
# @param [String] parent
|
349
55
|
# Required. The namespace in which the job should be created. Replace `
|
@@ -507,1310 +213,6 @@ module Google
|
|
507
213
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
508
214
|
execute_or_queue_command(command, &block)
|
509
215
|
end
|
510
|
-
|
511
|
-
# Rpc to delete a revision.
|
512
|
-
# @param [String] name
|
513
|
-
# The name of the revision being deleted. If needed, replace `namespace_id` with
|
514
|
-
# the project ID.
|
515
|
-
# @param [String] api_version
|
516
|
-
# Cloud Run currently ignores this parameter.
|
517
|
-
# @param [String] kind
|
518
|
-
# Cloud Run currently ignores this parameter.
|
519
|
-
# @param [Boolean] orphan_dependents
|
520
|
-
# Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports
|
521
|
-
# cascading behavior, so this must be false. This attribute is deprecated, and
|
522
|
-
# is now replaced with PropagationPolicy See https://github.com/kubernetes/
|
523
|
-
# kubernetes/issues/46659 for more info.
|
524
|
-
# @param [String] propagation_policy
|
525
|
-
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
526
|
-
# setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
|
527
|
-
# workloads/controllers/garbage-collection/ for more information.
|
528
|
-
# @param [String] fields
|
529
|
-
# Selector specifying which fields to include in a partial response.
|
530
|
-
# @param [String] quota_user
|
531
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
532
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
533
|
-
# @param [Google::Apis::RequestOptions] options
|
534
|
-
# Request-specific options
|
535
|
-
#
|
536
|
-
# @yield [result, err] Result & error if block supplied
|
537
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
538
|
-
# @yieldparam err [StandardError] error object if request failed
|
539
|
-
#
|
540
|
-
# @return [Google::Apis::RunV1alpha1::Empty]
|
541
|
-
#
|
542
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
543
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
544
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
545
|
-
def delete_namespace_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
546
|
-
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
547
|
-
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
548
|
-
command.response_class = Google::Apis::RunV1alpha1::Empty
|
549
|
-
command.params['name'] = name unless name.nil?
|
550
|
-
command.query['apiVersion'] = api_version unless api_version.nil?
|
551
|
-
command.query['kind'] = kind unless kind.nil?
|
552
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
553
|
-
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
554
|
-
command.query['fields'] = fields unless fields.nil?
|
555
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
556
|
-
execute_or_queue_command(command, &block)
|
557
|
-
end
|
558
|
-
|
559
|
-
# Rpc to get information about a revision.
|
560
|
-
# @param [String] name
|
561
|
-
# The name of the revision being retrieved. If needed, replace `namespace_id`
|
562
|
-
# with the project ID.
|
563
|
-
# @param [String] fields
|
564
|
-
# Selector specifying which fields to include in a partial response.
|
565
|
-
# @param [String] quota_user
|
566
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
567
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
568
|
-
# @param [Google::Apis::RequestOptions] options
|
569
|
-
# Request-specific options
|
570
|
-
#
|
571
|
-
# @yield [result, err] Result & error if block supplied
|
572
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Revision] parsed result object
|
573
|
-
# @yieldparam err [StandardError] error object if request failed
|
574
|
-
#
|
575
|
-
# @return [Google::Apis::RunV1alpha1::Revision]
|
576
|
-
#
|
577
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
578
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
579
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
580
|
-
def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
581
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
582
|
-
command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation
|
583
|
-
command.response_class = Google::Apis::RunV1alpha1::Revision
|
584
|
-
command.params['name'] = name unless name.nil?
|
585
|
-
command.query['fields'] = fields unless fields.nil?
|
586
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
587
|
-
execute_or_queue_command(command, &block)
|
588
|
-
end
|
589
|
-
|
590
|
-
# Rpc to list revisions.
|
591
|
-
# @param [String] parent
|
592
|
-
# The project ID or project number from which the revisions should be listed.
|
593
|
-
# @param [String] continue
|
594
|
-
# Optional encoded string to continue paging.
|
595
|
-
# @param [String] field_selector
|
596
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
597
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
598
|
-
# used by Cloud Run.
|
599
|
-
# @param [Boolean] include_uninitialized
|
600
|
-
# Not currently used by Cloud Run.
|
601
|
-
# @param [String] label_selector
|
602
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
603
|
-
# exists, in, and notIn.
|
604
|
-
# @param [Fixnum] limit
|
605
|
-
# The maximum number of records that should be returned.
|
606
|
-
# @param [String] resource_version
|
607
|
-
# The baseline resource version from which the list or watch operation should
|
608
|
-
# start. Not currently used by Cloud Run.
|
609
|
-
# @param [Boolean] watch
|
610
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
611
|
-
# Not currently used by Cloud Run.
|
612
|
-
# @param [String] fields
|
613
|
-
# Selector specifying which fields to include in a partial response.
|
614
|
-
# @param [String] quota_user
|
615
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
616
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
617
|
-
# @param [Google::Apis::RequestOptions] options
|
618
|
-
# Request-specific options
|
619
|
-
#
|
620
|
-
# @yield [result, err] Result & error if block supplied
|
621
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListRevisionsResponse] parsed result object
|
622
|
-
# @yieldparam err [StandardError] error object if request failed
|
623
|
-
#
|
624
|
-
# @return [Google::Apis::RunV1alpha1::ListRevisionsResponse]
|
625
|
-
#
|
626
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
627
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
628
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
629
|
-
def list_namespace_revisions(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)
|
630
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/revisions', options)
|
631
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation
|
632
|
-
command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse
|
633
|
-
command.params['parent'] = parent unless parent.nil?
|
634
|
-
command.query['continue'] = continue unless continue.nil?
|
635
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
636
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
637
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
638
|
-
command.query['limit'] = limit unless limit.nil?
|
639
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
640
|
-
command.query['watch'] = watch unless watch.nil?
|
641
|
-
command.query['fields'] = fields unless fields.nil?
|
642
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
643
|
-
execute_or_queue_command(command, &block)
|
644
|
-
end
|
645
|
-
|
646
|
-
# Rpc to get information about a route.
|
647
|
-
# @param [String] name
|
648
|
-
# The name of the route being retrieved. If needed, replace `namespace_id` with
|
649
|
-
# the project ID.
|
650
|
-
# @param [String] fields
|
651
|
-
# Selector specifying which fields to include in a partial response.
|
652
|
-
# @param [String] quota_user
|
653
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
654
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
655
|
-
# @param [Google::Apis::RequestOptions] options
|
656
|
-
# Request-specific options
|
657
|
-
#
|
658
|
-
# @yield [result, err] Result & error if block supplied
|
659
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Route] parsed result object
|
660
|
-
# @yieldparam err [StandardError] error object if request failed
|
661
|
-
#
|
662
|
-
# @return [Google::Apis::RunV1alpha1::Route]
|
663
|
-
#
|
664
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
665
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
666
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
667
|
-
def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block)
|
668
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
669
|
-
command.response_representation = Google::Apis::RunV1alpha1::Route::Representation
|
670
|
-
command.response_class = Google::Apis::RunV1alpha1::Route
|
671
|
-
command.params['name'] = name unless name.nil?
|
672
|
-
command.query['fields'] = fields unless fields.nil?
|
673
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
674
|
-
execute_or_queue_command(command, &block)
|
675
|
-
end
|
676
|
-
|
677
|
-
# Rpc to list routes.
|
678
|
-
# @param [String] parent
|
679
|
-
# The project ID or project number from which the routes should be listed.
|
680
|
-
# @param [String] continue
|
681
|
-
# Optional encoded string to continue paging.
|
682
|
-
# @param [String] field_selector
|
683
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
684
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
685
|
-
# used by Cloud Run.
|
686
|
-
# @param [Boolean] include_uninitialized
|
687
|
-
# Not currently used by Cloud Run.
|
688
|
-
# @param [String] label_selector
|
689
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
690
|
-
# exists, in, and notIn.
|
691
|
-
# @param [Fixnum] limit
|
692
|
-
# The maximum number of records that should be returned.
|
693
|
-
# @param [String] resource_version
|
694
|
-
# The baseline resource version from which the list or watch operation should
|
695
|
-
# start. Not currently used by Cloud Run.
|
696
|
-
# @param [Boolean] watch
|
697
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
698
|
-
# Not currently used by Cloud Run.
|
699
|
-
# @param [String] fields
|
700
|
-
# Selector specifying which fields to include in a partial response.
|
701
|
-
# @param [String] quota_user
|
702
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
703
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
704
|
-
# @param [Google::Apis::RequestOptions] options
|
705
|
-
# Request-specific options
|
706
|
-
#
|
707
|
-
# @yield [result, err] Result & error if block supplied
|
708
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListRoutesResponse] parsed result object
|
709
|
-
# @yieldparam err [StandardError] error object if request failed
|
710
|
-
#
|
711
|
-
# @return [Google::Apis::RunV1alpha1::ListRoutesResponse]
|
712
|
-
#
|
713
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
714
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
715
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
716
|
-
def list_namespace_routes(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)
|
717
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/routes', options)
|
718
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation
|
719
|
-
command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse
|
720
|
-
command.params['parent'] = parent unless parent.nil?
|
721
|
-
command.query['continue'] = continue unless continue.nil?
|
722
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
723
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
724
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
725
|
-
command.query['limit'] = limit unless limit.nil?
|
726
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
727
|
-
command.query['watch'] = watch unless watch.nil?
|
728
|
-
command.query['fields'] = fields unless fields.nil?
|
729
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
730
|
-
execute_or_queue_command(command, &block)
|
731
|
-
end
|
732
|
-
|
733
|
-
# Rpc to create a service.
|
734
|
-
# @param [String] parent
|
735
|
-
# The project ID or project number in which this service should be created.
|
736
|
-
# @param [Google::Apis::RunV1alpha1::Service] service_object
|
737
|
-
# @param [String] fields
|
738
|
-
# Selector specifying which fields to include in a partial response.
|
739
|
-
# @param [String] quota_user
|
740
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
741
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
742
|
-
# @param [Google::Apis::RequestOptions] options
|
743
|
-
# Request-specific options
|
744
|
-
#
|
745
|
-
# @yield [result, err] Result & error if block supplied
|
746
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
747
|
-
# @yieldparam err [StandardError] error object if request failed
|
748
|
-
#
|
749
|
-
# @return [Google::Apis::RunV1alpha1::Service]
|
750
|
-
#
|
751
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
752
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
|
-
def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
755
|
-
command = make_simple_command(:post, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
|
756
|
-
command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
|
757
|
-
command.request_object = service_object
|
758
|
-
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
759
|
-
command.response_class = Google::Apis::RunV1alpha1::Service
|
760
|
-
command.params['parent'] = parent unless parent.nil?
|
761
|
-
command.query['fields'] = fields unless fields.nil?
|
762
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
763
|
-
execute_or_queue_command(command, &block)
|
764
|
-
end
|
765
|
-
|
766
|
-
# Rpc to delete a service. This will cause the Service to stop serving traffic
|
767
|
-
# and will delete the child entities like Routes, Configurations and Revisions.
|
768
|
-
# @param [String] name
|
769
|
-
# The name of the service being deleted. If needed, replace `namespace_id` with
|
770
|
-
# the project ID.
|
771
|
-
# @param [String] api_version
|
772
|
-
# Cloud Run currently ignores this parameter.
|
773
|
-
# @param [String] kind
|
774
|
-
# Cloud Run currently ignores this parameter.
|
775
|
-
# @param [Boolean] orphan_dependents
|
776
|
-
# Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports
|
777
|
-
# cascading behavior, so this must be false. This attribute is deprecated, and
|
778
|
-
# is now replaced with PropagationPolicy See https://github.com/kubernetes/
|
779
|
-
# kubernetes/issues/46659 for more info.
|
780
|
-
# @param [String] propagation_policy
|
781
|
-
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
782
|
-
# setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
|
783
|
-
# workloads/controllers/garbage-collection/ for more information.
|
784
|
-
# @param [String] fields
|
785
|
-
# Selector specifying which fields to include in a partial response.
|
786
|
-
# @param [String] quota_user
|
787
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
788
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
789
|
-
# @param [Google::Apis::RequestOptions] options
|
790
|
-
# Request-specific options
|
791
|
-
#
|
792
|
-
# @yield [result, err] Result & error if block supplied
|
793
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
794
|
-
# @yieldparam err [StandardError] error object if request failed
|
795
|
-
#
|
796
|
-
# @return [Google::Apis::RunV1alpha1::Empty]
|
797
|
-
#
|
798
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
799
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
800
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
801
|
-
def delete_namespace_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
802
|
-
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
803
|
-
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
804
|
-
command.response_class = Google::Apis::RunV1alpha1::Empty
|
805
|
-
command.params['name'] = name unless name.nil?
|
806
|
-
command.query['apiVersion'] = api_version unless api_version.nil?
|
807
|
-
command.query['kind'] = kind unless kind.nil?
|
808
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
809
|
-
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
810
|
-
command.query['fields'] = fields unless fields.nil?
|
811
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
812
|
-
execute_or_queue_command(command, &block)
|
813
|
-
end
|
814
|
-
|
815
|
-
# Rpc to get information about a service.
|
816
|
-
# @param [String] name
|
817
|
-
# The name of the service being retrieved. If needed, replace `namespace_id`
|
818
|
-
# with the project ID.
|
819
|
-
# @param [String] fields
|
820
|
-
# Selector specifying which fields to include in a partial response.
|
821
|
-
# @param [String] quota_user
|
822
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
823
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
824
|
-
# @param [Google::Apis::RequestOptions] options
|
825
|
-
# Request-specific options
|
826
|
-
#
|
827
|
-
# @yield [result, err] Result & error if block supplied
|
828
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
829
|
-
# @yieldparam err [StandardError] error object if request failed
|
830
|
-
#
|
831
|
-
# @return [Google::Apis::RunV1alpha1::Service]
|
832
|
-
#
|
833
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
834
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
835
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
836
|
-
def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
837
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
838
|
-
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
839
|
-
command.response_class = Google::Apis::RunV1alpha1::Service
|
840
|
-
command.params['name'] = name unless name.nil?
|
841
|
-
command.query['fields'] = fields unless fields.nil?
|
842
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
843
|
-
execute_or_queue_command(command, &block)
|
844
|
-
end
|
845
|
-
|
846
|
-
# Rpc to list services.
|
847
|
-
# @param [String] parent
|
848
|
-
# The project ID or project number from which the services should be listed.
|
849
|
-
# @param [String] continue
|
850
|
-
# Optional encoded string to continue paging.
|
851
|
-
# @param [String] field_selector
|
852
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
853
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
854
|
-
# used by Cloud Run.
|
855
|
-
# @param [Boolean] include_uninitialized
|
856
|
-
# Not currently used by Cloud Run.
|
857
|
-
# @param [String] label_selector
|
858
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
859
|
-
# exists, in, and notIn.
|
860
|
-
# @param [Fixnum] limit
|
861
|
-
# The maximum number of records that should be returned.
|
862
|
-
# @param [String] resource_version
|
863
|
-
# The baseline resource version from which the list or watch operation should
|
864
|
-
# start. Not currently used by Cloud Run.
|
865
|
-
# @param [Boolean] watch
|
866
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
867
|
-
# Not currently used by Cloud Run.
|
868
|
-
# @param [String] fields
|
869
|
-
# Selector specifying which fields to include in a partial response.
|
870
|
-
# @param [String] quota_user
|
871
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
872
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
873
|
-
# @param [Google::Apis::RequestOptions] options
|
874
|
-
# Request-specific options
|
875
|
-
#
|
876
|
-
# @yield [result, err] Result & error if block supplied
|
877
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListServicesResponse] parsed result object
|
878
|
-
# @yieldparam err [StandardError] error object if request failed
|
879
|
-
#
|
880
|
-
# @return [Google::Apis::RunV1alpha1::ListServicesResponse]
|
881
|
-
#
|
882
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
883
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
884
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
885
|
-
def list_namespace_services(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)
|
886
|
-
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
|
887
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation
|
888
|
-
command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse
|
889
|
-
command.params['parent'] = parent unless parent.nil?
|
890
|
-
command.query['continue'] = continue unless continue.nil?
|
891
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
892
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
893
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
894
|
-
command.query['limit'] = limit unless limit.nil?
|
895
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
896
|
-
command.query['watch'] = watch unless watch.nil?
|
897
|
-
command.query['fields'] = fields unless fields.nil?
|
898
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
899
|
-
execute_or_queue_command(command, &block)
|
900
|
-
end
|
901
|
-
|
902
|
-
# Rpc to replace a service. Only the spec and metadata labels and annotations
|
903
|
-
# are modifiable. After the Update request, Cloud Run will work to make the '
|
904
|
-
# status' match the requested 'spec'. May provide metadata.resourceVersion to
|
905
|
-
# enforce update from last read for optimistic concurrency control.
|
906
|
-
# @param [String] name
|
907
|
-
# The name of the service being replaced. If needed, replace `namespace_id` with
|
908
|
-
# the project ID.
|
909
|
-
# @param [Google::Apis::RunV1alpha1::Service] service_object
|
910
|
-
# @param [String] fields
|
911
|
-
# Selector specifying which fields to include in a partial response.
|
912
|
-
# @param [String] quota_user
|
913
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
914
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
915
|
-
# @param [Google::Apis::RequestOptions] options
|
916
|
-
# Request-specific options
|
917
|
-
#
|
918
|
-
# @yield [result, err] Result & error if block supplied
|
919
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
920
|
-
# @yieldparam err [StandardError] error object if request failed
|
921
|
-
#
|
922
|
-
# @return [Google::Apis::RunV1alpha1::Service]
|
923
|
-
#
|
924
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
925
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
926
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
927
|
-
def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
928
|
-
command = make_simple_command(:put, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
929
|
-
command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
|
930
|
-
command.request_object = service_object
|
931
|
-
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
932
|
-
command.response_class = Google::Apis::RunV1alpha1::Service
|
933
|
-
command.params['name'] = name unless name.nil?
|
934
|
-
command.query['fields'] = fields unless fields.nil?
|
935
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
936
|
-
execute_or_queue_command(command, &block)
|
937
|
-
end
|
938
|
-
|
939
|
-
# Lists information about the supported locations for this service.
|
940
|
-
# @param [String] name
|
941
|
-
# The resource that owns the locations collection, if applicable.
|
942
|
-
# @param [String] filter
|
943
|
-
# A filter to narrow down results to a preferred subset. The filtering language
|
944
|
-
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
945
|
-
# AIP-160](https://google.aip.dev/160).
|
946
|
-
# @param [Fixnum] page_size
|
947
|
-
# The maximum number of results to return. If not set, the service will select a
|
948
|
-
# default.
|
949
|
-
# @param [String] page_token
|
950
|
-
# A page token received from the `next_page_token` field in the response. Send
|
951
|
-
# that page token to receive the subsequent page.
|
952
|
-
# @param [String] fields
|
953
|
-
# Selector specifying which fields to include in a partial response.
|
954
|
-
# @param [String] quota_user
|
955
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
956
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
957
|
-
# @param [Google::Apis::RequestOptions] options
|
958
|
-
# Request-specific options
|
959
|
-
#
|
960
|
-
# @yield [result, err] Result & error if block supplied
|
961
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object
|
962
|
-
# @yieldparam err [StandardError] error object if request failed
|
963
|
-
#
|
964
|
-
# @return [Google::Apis::RunV1alpha1::ListLocationsResponse]
|
965
|
-
#
|
966
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
967
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
968
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
969
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
970
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
|
971
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation
|
972
|
-
command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse
|
973
|
-
command.params['name'] = name unless name.nil?
|
974
|
-
command.query['filter'] = filter unless filter.nil?
|
975
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
976
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
977
|
-
command.query['fields'] = fields unless fields.nil?
|
978
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
979
|
-
execute_or_queue_command(command, &block)
|
980
|
-
end
|
981
|
-
|
982
|
-
# RPC to list authorized domains.
|
983
|
-
# @param [String] parent
|
984
|
-
# Name of the parent Application resource. Example: `apps/myapp`.
|
985
|
-
# @param [Fixnum] page_size
|
986
|
-
# Maximum results to return per page.
|
987
|
-
# @param [String] page_token
|
988
|
-
# Continuation token for fetching the next page of results.
|
989
|
-
# @param [String] fields
|
990
|
-
# Selector specifying which fields to include in a partial response.
|
991
|
-
# @param [String] quota_user
|
992
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
993
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
994
|
-
# @param [Google::Apis::RequestOptions] options
|
995
|
-
# Request-specific options
|
996
|
-
#
|
997
|
-
# @yield [result, err] Result & error if block supplied
|
998
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
|
999
|
-
# @yieldparam err [StandardError] error object if request failed
|
1000
|
-
#
|
1001
|
-
# @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
|
1002
|
-
#
|
1003
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1004
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1005
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1006
|
-
def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1007
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
|
1008
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
|
1009
|
-
command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
|
1010
|
-
command.params['parent'] = parent unless parent.nil?
|
1011
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1012
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1013
|
-
command.query['fields'] = fields unless fields.nil?
|
1014
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1015
|
-
execute_or_queue_command(command, &block)
|
1016
|
-
end
|
1017
|
-
|
1018
|
-
# Rpc to get information about a configuration.
|
1019
|
-
# @param [String] name
|
1020
|
-
# The name of the configuration being retrieved. If needed, replace `
|
1021
|
-
# namespace_id` with the project ID.
|
1022
|
-
# @param [String] fields
|
1023
|
-
# Selector specifying which fields to include in a partial response.
|
1024
|
-
# @param [String] quota_user
|
1025
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1026
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1027
|
-
# @param [Google::Apis::RequestOptions] options
|
1028
|
-
# Request-specific options
|
1029
|
-
#
|
1030
|
-
# @yield [result, err] Result & error if block supplied
|
1031
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
|
1032
|
-
# @yieldparam err [StandardError] error object if request failed
|
1033
|
-
#
|
1034
|
-
# @return [Google::Apis::RunV1alpha1::Configuration]
|
1035
|
-
#
|
1036
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1037
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1038
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1039
|
-
def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
|
1040
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1041
|
-
command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
|
1042
|
-
command.response_class = Google::Apis::RunV1alpha1::Configuration
|
1043
|
-
command.params['name'] = name unless name.nil?
|
1044
|
-
command.query['fields'] = fields unless fields.nil?
|
1045
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1046
|
-
execute_or_queue_command(command, &block)
|
1047
|
-
end
|
1048
|
-
|
1049
|
-
# Rpc to list configurations.
|
1050
|
-
# @param [String] parent
|
1051
|
-
# The project ID or project number from which the configurations should be
|
1052
|
-
# listed.
|
1053
|
-
# @param [String] continue
|
1054
|
-
# Optional encoded string to continue paging.
|
1055
|
-
# @param [String] field_selector
|
1056
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
1057
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
1058
|
-
# used by Cloud Run.
|
1059
|
-
# @param [Boolean] include_uninitialized
|
1060
|
-
# Not currently used by Cloud Run.
|
1061
|
-
# @param [String] label_selector
|
1062
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
1063
|
-
# exists, in, and notIn.
|
1064
|
-
# @param [Fixnum] limit
|
1065
|
-
# The maximum number of records that should be returned.
|
1066
|
-
# @param [String] resource_version
|
1067
|
-
# The baseline resource version from which the list or watch operation should
|
1068
|
-
# start. Not currently used by Cloud Run.
|
1069
|
-
# @param [Boolean] watch
|
1070
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
1071
|
-
# Not currently used by Cloud Run.
|
1072
|
-
# @param [String] fields
|
1073
|
-
# Selector specifying which fields to include in a partial response.
|
1074
|
-
# @param [String] quota_user
|
1075
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1076
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1077
|
-
# @param [Google::Apis::RequestOptions] options
|
1078
|
-
# Request-specific options
|
1079
|
-
#
|
1080
|
-
# @yield [result, err] Result & error if block supplied
|
1081
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
|
1082
|
-
# @yieldparam err [StandardError] error object if request failed
|
1083
|
-
#
|
1084
|
-
# @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
|
1085
|
-
#
|
1086
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1087
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1088
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1089
|
-
def list_project_location_configurations(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)
|
1090
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options)
|
1091
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
|
1092
|
-
command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
|
1093
|
-
command.params['parent'] = parent unless parent.nil?
|
1094
|
-
command.query['continue'] = continue unless continue.nil?
|
1095
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1096
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1097
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1098
|
-
command.query['limit'] = limit unless limit.nil?
|
1099
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1100
|
-
command.query['watch'] = watch unless watch.nil?
|
1101
|
-
command.query['fields'] = fields unless fields.nil?
|
1102
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1103
|
-
execute_or_queue_command(command, &block)
|
1104
|
-
end
|
1105
|
-
|
1106
|
-
# Creates a new domain mapping.
|
1107
|
-
# @param [String] parent
|
1108
|
-
# The project ID or project number in which this domain mapping should be
|
1109
|
-
# created.
|
1110
|
-
# @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
|
1111
|
-
# @param [String] fields
|
1112
|
-
# Selector specifying which fields to include in a partial response.
|
1113
|
-
# @param [String] quota_user
|
1114
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1115
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1116
|
-
# @param [Google::Apis::RequestOptions] options
|
1117
|
-
# Request-specific options
|
1118
|
-
#
|
1119
|
-
# @yield [result, err] Result & error if block supplied
|
1120
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
|
1121
|
-
# @yieldparam err [StandardError] error object if request failed
|
1122
|
-
#
|
1123
|
-
# @return [Google::Apis::RunV1alpha1::DomainMapping]
|
1124
|
-
#
|
1125
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1126
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1127
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1128
|
-
def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1129
|
-
command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options)
|
1130
|
-
command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
1131
|
-
command.request_object = domain_mapping_object
|
1132
|
-
command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
1133
|
-
command.response_class = Google::Apis::RunV1alpha1::DomainMapping
|
1134
|
-
command.params['parent'] = parent unless parent.nil?
|
1135
|
-
command.query['fields'] = fields unless fields.nil?
|
1136
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1137
|
-
execute_or_queue_command(command, &block)
|
1138
|
-
end
|
1139
|
-
|
1140
|
-
# Rpc to delete a domain mapping.
|
1141
|
-
# @param [String] name
|
1142
|
-
# The name of the domain mapping being deleted. If needed, replace `namespace_id`
|
1143
|
-
# with the project ID.
|
1144
|
-
# @param [String] api_version
|
1145
|
-
# Cloud Run currently ignores this parameter.
|
1146
|
-
# @param [String] kind
|
1147
|
-
# Cloud Run currently ignores this parameter.
|
1148
|
-
# @param [Boolean] orphan_dependents
|
1149
|
-
# Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports
|
1150
|
-
# cascading behavior, so this must be false. This attribute is deprecated, and
|
1151
|
-
# is now replaced with PropagationPolicy See https://github.com/kubernetes/
|
1152
|
-
# kubernetes/issues/46659 for more info.
|
1153
|
-
# @param [String] propagation_policy
|
1154
|
-
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
1155
|
-
# setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
|
1156
|
-
# workloads/controllers/garbage-collection/ for more information.
|
1157
|
-
# @param [String] fields
|
1158
|
-
# Selector specifying which fields to include in a partial response.
|
1159
|
-
# @param [String] quota_user
|
1160
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1161
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1162
|
-
# @param [Google::Apis::RequestOptions] options
|
1163
|
-
# Request-specific options
|
1164
|
-
#
|
1165
|
-
# @yield [result, err] Result & error if block supplied
|
1166
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
1167
|
-
# @yieldparam err [StandardError] error object if request failed
|
1168
|
-
#
|
1169
|
-
# @return [Google::Apis::RunV1alpha1::Empty]
|
1170
|
-
#
|
1171
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1172
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1173
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1174
|
-
def delete_project_location_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1175
|
-
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
1176
|
-
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
1177
|
-
command.response_class = Google::Apis::RunV1alpha1::Empty
|
1178
|
-
command.params['name'] = name unless name.nil?
|
1179
|
-
command.query['apiVersion'] = api_version unless api_version.nil?
|
1180
|
-
command.query['kind'] = kind unless kind.nil?
|
1181
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
1182
|
-
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1183
|
-
command.query['fields'] = fields unless fields.nil?
|
1184
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1185
|
-
execute_or_queue_command(command, &block)
|
1186
|
-
end
|
1187
|
-
|
1188
|
-
# Rpc to get information about a domain mapping.
|
1189
|
-
# @param [String] name
|
1190
|
-
# The name of the domain mapping being retrieved. If needed, replace `
|
1191
|
-
# namespace_id` with the project ID.
|
1192
|
-
# @param [String] fields
|
1193
|
-
# Selector specifying which fields to include in a partial response.
|
1194
|
-
# @param [String] quota_user
|
1195
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1196
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1197
|
-
# @param [Google::Apis::RequestOptions] options
|
1198
|
-
# Request-specific options
|
1199
|
-
#
|
1200
|
-
# @yield [result, err] Result & error if block supplied
|
1201
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
|
1202
|
-
# @yieldparam err [StandardError] error object if request failed
|
1203
|
-
#
|
1204
|
-
# @return [Google::Apis::RunV1alpha1::DomainMapping]
|
1205
|
-
#
|
1206
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1207
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1208
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1209
|
-
def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
1210
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1211
|
-
command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
1212
|
-
command.response_class = Google::Apis::RunV1alpha1::DomainMapping
|
1213
|
-
command.params['name'] = name unless name.nil?
|
1214
|
-
command.query['fields'] = fields unless fields.nil?
|
1215
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1216
|
-
execute_or_queue_command(command, &block)
|
1217
|
-
end
|
1218
|
-
|
1219
|
-
# Rpc to list domain mappings.
|
1220
|
-
# @param [String] parent
|
1221
|
-
# The project ID or project number from which the domain mappings should be
|
1222
|
-
# listed.
|
1223
|
-
# @param [String] continue
|
1224
|
-
# Optional encoded string to continue paging.
|
1225
|
-
# @param [String] field_selector
|
1226
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
1227
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
1228
|
-
# used by Cloud Run.
|
1229
|
-
# @param [Boolean] include_uninitialized
|
1230
|
-
# Not currently used by Cloud Run.
|
1231
|
-
# @param [String] label_selector
|
1232
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
1233
|
-
# exists, in, and notIn.
|
1234
|
-
# @param [Fixnum] limit
|
1235
|
-
# The maximum number of records that should be returned.
|
1236
|
-
# @param [String] resource_version
|
1237
|
-
# The baseline resource version from which the list or watch operation should
|
1238
|
-
# start. Not currently used by Cloud Run.
|
1239
|
-
# @param [Boolean] watch
|
1240
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
1241
|
-
# Not currently used by Cloud Run.
|
1242
|
-
# @param [String] fields
|
1243
|
-
# Selector specifying which fields to include in a partial response.
|
1244
|
-
# @param [String] quota_user
|
1245
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1246
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1247
|
-
# @param [Google::Apis::RequestOptions] options
|
1248
|
-
# Request-specific options
|
1249
|
-
#
|
1250
|
-
# @yield [result, err] Result & error if block supplied
|
1251
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
|
1252
|
-
# @yieldparam err [StandardError] error object if request failed
|
1253
|
-
#
|
1254
|
-
# @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
|
1255
|
-
#
|
1256
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1257
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1258
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1259
|
-
def list_project_location_domainmappings(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)
|
1260
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options)
|
1261
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
|
1262
|
-
command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
|
1263
|
-
command.params['parent'] = parent unless parent.nil?
|
1264
|
-
command.query['continue'] = continue unless continue.nil?
|
1265
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1266
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1267
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1268
|
-
command.query['limit'] = limit unless limit.nil?
|
1269
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1270
|
-
command.query['watch'] = watch unless watch.nil?
|
1271
|
-
command.query['fields'] = fields unless fields.nil?
|
1272
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1273
|
-
execute_or_queue_command(command, &block)
|
1274
|
-
end
|
1275
|
-
|
1276
|
-
# Rpc to delete a revision.
|
1277
|
-
# @param [String] name
|
1278
|
-
# The name of the revision being deleted. If needed, replace `namespace_id` with
|
1279
|
-
# the project ID.
|
1280
|
-
# @param [String] api_version
|
1281
|
-
# Cloud Run currently ignores this parameter.
|
1282
|
-
# @param [String] kind
|
1283
|
-
# Cloud Run currently ignores this parameter.
|
1284
|
-
# @param [Boolean] orphan_dependents
|
1285
|
-
# Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports
|
1286
|
-
# cascading behavior, so this must be false. This attribute is deprecated, and
|
1287
|
-
# is now replaced with PropagationPolicy See https://github.com/kubernetes/
|
1288
|
-
# kubernetes/issues/46659 for more info.
|
1289
|
-
# @param [String] propagation_policy
|
1290
|
-
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
1291
|
-
# setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
|
1292
|
-
# workloads/controllers/garbage-collection/ for more information.
|
1293
|
-
# @param [String] fields
|
1294
|
-
# Selector specifying which fields to include in a partial response.
|
1295
|
-
# @param [String] quota_user
|
1296
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1297
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1298
|
-
# @param [Google::Apis::RequestOptions] options
|
1299
|
-
# Request-specific options
|
1300
|
-
#
|
1301
|
-
# @yield [result, err] Result & error if block supplied
|
1302
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
1303
|
-
# @yieldparam err [StandardError] error object if request failed
|
1304
|
-
#
|
1305
|
-
# @return [Google::Apis::RunV1alpha1::Empty]
|
1306
|
-
#
|
1307
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1308
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1309
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1310
|
-
def delete_project_location_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1311
|
-
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
1312
|
-
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
1313
|
-
command.response_class = Google::Apis::RunV1alpha1::Empty
|
1314
|
-
command.params['name'] = name unless name.nil?
|
1315
|
-
command.query['apiVersion'] = api_version unless api_version.nil?
|
1316
|
-
command.query['kind'] = kind unless kind.nil?
|
1317
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
1318
|
-
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1319
|
-
command.query['fields'] = fields unless fields.nil?
|
1320
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1321
|
-
execute_or_queue_command(command, &block)
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
# Rpc to get information about a revision.
|
1325
|
-
# @param [String] name
|
1326
|
-
# The name of the revision being retrieved. If needed, replace `namespace_id`
|
1327
|
-
# with the project ID.
|
1328
|
-
# @param [String] fields
|
1329
|
-
# Selector specifying which fields to include in a partial response.
|
1330
|
-
# @param [String] quota_user
|
1331
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1332
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1333
|
-
# @param [Google::Apis::RequestOptions] options
|
1334
|
-
# Request-specific options
|
1335
|
-
#
|
1336
|
-
# @yield [result, err] Result & error if block supplied
|
1337
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Revision] parsed result object
|
1338
|
-
# @yieldparam err [StandardError] error object if request failed
|
1339
|
-
#
|
1340
|
-
# @return [Google::Apis::RunV1alpha1::Revision]
|
1341
|
-
#
|
1342
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1343
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1344
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1345
|
-
def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
1346
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1347
|
-
command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation
|
1348
|
-
command.response_class = Google::Apis::RunV1alpha1::Revision
|
1349
|
-
command.params['name'] = name unless name.nil?
|
1350
|
-
command.query['fields'] = fields unless fields.nil?
|
1351
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1352
|
-
execute_or_queue_command(command, &block)
|
1353
|
-
end
|
1354
|
-
|
1355
|
-
# Rpc to list revisions.
|
1356
|
-
# @param [String] parent
|
1357
|
-
# The project ID or project number from which the revisions should be listed.
|
1358
|
-
# @param [String] continue
|
1359
|
-
# Optional encoded string to continue paging.
|
1360
|
-
# @param [String] field_selector
|
1361
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
1362
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
1363
|
-
# used by Cloud Run.
|
1364
|
-
# @param [Boolean] include_uninitialized
|
1365
|
-
# Not currently used by Cloud Run.
|
1366
|
-
# @param [String] label_selector
|
1367
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
1368
|
-
# exists, in, and notIn.
|
1369
|
-
# @param [Fixnum] limit
|
1370
|
-
# The maximum number of records that should be returned.
|
1371
|
-
# @param [String] resource_version
|
1372
|
-
# The baseline resource version from which the list or watch operation should
|
1373
|
-
# start. Not currently used by Cloud Run.
|
1374
|
-
# @param [Boolean] watch
|
1375
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
1376
|
-
# Not currently used by Cloud Run.
|
1377
|
-
# @param [String] fields
|
1378
|
-
# Selector specifying which fields to include in a partial response.
|
1379
|
-
# @param [String] quota_user
|
1380
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1381
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1382
|
-
# @param [Google::Apis::RequestOptions] options
|
1383
|
-
# Request-specific options
|
1384
|
-
#
|
1385
|
-
# @yield [result, err] Result & error if block supplied
|
1386
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListRevisionsResponse] parsed result object
|
1387
|
-
# @yieldparam err [StandardError] error object if request failed
|
1388
|
-
#
|
1389
|
-
# @return [Google::Apis::RunV1alpha1::ListRevisionsResponse]
|
1390
|
-
#
|
1391
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1392
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1393
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1394
|
-
def list_project_location_revisions(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)
|
1395
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/revisions', options)
|
1396
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation
|
1397
|
-
command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse
|
1398
|
-
command.params['parent'] = parent unless parent.nil?
|
1399
|
-
command.query['continue'] = continue unless continue.nil?
|
1400
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1401
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1402
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1403
|
-
command.query['limit'] = limit unless limit.nil?
|
1404
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1405
|
-
command.query['watch'] = watch unless watch.nil?
|
1406
|
-
command.query['fields'] = fields unless fields.nil?
|
1407
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1408
|
-
execute_or_queue_command(command, &block)
|
1409
|
-
end
|
1410
|
-
|
1411
|
-
# Rpc to get information about a route.
|
1412
|
-
# @param [String] name
|
1413
|
-
# The name of the route being retrieved. If needed, replace `namespace_id` with
|
1414
|
-
# the project ID.
|
1415
|
-
# @param [String] fields
|
1416
|
-
# Selector specifying which fields to include in a partial response.
|
1417
|
-
# @param [String] quota_user
|
1418
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1419
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1420
|
-
# @param [Google::Apis::RequestOptions] options
|
1421
|
-
# Request-specific options
|
1422
|
-
#
|
1423
|
-
# @yield [result, err] Result & error if block supplied
|
1424
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Route] parsed result object
|
1425
|
-
# @yieldparam err [StandardError] error object if request failed
|
1426
|
-
#
|
1427
|
-
# @return [Google::Apis::RunV1alpha1::Route]
|
1428
|
-
#
|
1429
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1430
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1431
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1432
|
-
def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block)
|
1433
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1434
|
-
command.response_representation = Google::Apis::RunV1alpha1::Route::Representation
|
1435
|
-
command.response_class = Google::Apis::RunV1alpha1::Route
|
1436
|
-
command.params['name'] = name unless name.nil?
|
1437
|
-
command.query['fields'] = fields unless fields.nil?
|
1438
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1439
|
-
execute_or_queue_command(command, &block)
|
1440
|
-
end
|
1441
|
-
|
1442
|
-
# Rpc to list routes.
|
1443
|
-
# @param [String] parent
|
1444
|
-
# The project ID or project number from which the routes should be listed.
|
1445
|
-
# @param [String] continue
|
1446
|
-
# Optional encoded string to continue paging.
|
1447
|
-
# @param [String] field_selector
|
1448
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
1449
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
1450
|
-
# used by Cloud Run.
|
1451
|
-
# @param [Boolean] include_uninitialized
|
1452
|
-
# Not currently used by Cloud Run.
|
1453
|
-
# @param [String] label_selector
|
1454
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
1455
|
-
# exists, in, and notIn.
|
1456
|
-
# @param [Fixnum] limit
|
1457
|
-
# The maximum number of records that should be returned.
|
1458
|
-
# @param [String] resource_version
|
1459
|
-
# The baseline resource version from which the list or watch operation should
|
1460
|
-
# start. Not currently used by Cloud Run.
|
1461
|
-
# @param [Boolean] watch
|
1462
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
1463
|
-
# Not currently used by Cloud Run.
|
1464
|
-
# @param [String] fields
|
1465
|
-
# Selector specifying which fields to include in a partial response.
|
1466
|
-
# @param [String] quota_user
|
1467
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1468
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1469
|
-
# @param [Google::Apis::RequestOptions] options
|
1470
|
-
# Request-specific options
|
1471
|
-
#
|
1472
|
-
# @yield [result, err] Result & error if block supplied
|
1473
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListRoutesResponse] parsed result object
|
1474
|
-
# @yieldparam err [StandardError] error object if request failed
|
1475
|
-
#
|
1476
|
-
# @return [Google::Apis::RunV1alpha1::ListRoutesResponse]
|
1477
|
-
#
|
1478
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1479
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1480
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1481
|
-
def list_project_location_routes(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)
|
1482
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/routes', options)
|
1483
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation
|
1484
|
-
command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse
|
1485
|
-
command.params['parent'] = parent unless parent.nil?
|
1486
|
-
command.query['continue'] = continue unless continue.nil?
|
1487
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1488
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1489
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1490
|
-
command.query['limit'] = limit unless limit.nil?
|
1491
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1492
|
-
command.query['watch'] = watch unless watch.nil?
|
1493
|
-
command.query['fields'] = fields unless fields.nil?
|
1494
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1495
|
-
execute_or_queue_command(command, &block)
|
1496
|
-
end
|
1497
|
-
|
1498
|
-
# Rpc to create a service.
|
1499
|
-
# @param [String] parent
|
1500
|
-
# The project ID or project number in which this service should be created.
|
1501
|
-
# @param [Google::Apis::RunV1alpha1::Service] service_object
|
1502
|
-
# @param [String] fields
|
1503
|
-
# Selector specifying which fields to include in a partial response.
|
1504
|
-
# @param [String] quota_user
|
1505
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1506
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1507
|
-
# @param [Google::Apis::RequestOptions] options
|
1508
|
-
# Request-specific options
|
1509
|
-
#
|
1510
|
-
# @yield [result, err] Result & error if block supplied
|
1511
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
1512
|
-
# @yieldparam err [StandardError] error object if request failed
|
1513
|
-
#
|
1514
|
-
# @return [Google::Apis::RunV1alpha1::Service]
|
1515
|
-
#
|
1516
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1517
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1518
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1519
|
-
def create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1520
|
-
command = make_simple_command(:post, 'v1alpha1/{+parent}/services', options)
|
1521
|
-
command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1522
|
-
command.request_object = service_object
|
1523
|
-
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1524
|
-
command.response_class = Google::Apis::RunV1alpha1::Service
|
1525
|
-
command.params['parent'] = parent unless parent.nil?
|
1526
|
-
command.query['fields'] = fields unless fields.nil?
|
1527
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1528
|
-
execute_or_queue_command(command, &block)
|
1529
|
-
end
|
1530
|
-
|
1531
|
-
# Rpc to delete a service. This will cause the Service to stop serving traffic
|
1532
|
-
# and will delete the child entities like Routes, Configurations and Revisions.
|
1533
|
-
# @param [String] name
|
1534
|
-
# The name of the service being deleted. If needed, replace `namespace_id` with
|
1535
|
-
# the project ID.
|
1536
|
-
# @param [String] api_version
|
1537
|
-
# Cloud Run currently ignores this parameter.
|
1538
|
-
# @param [String] kind
|
1539
|
-
# Cloud Run currently ignores this parameter.
|
1540
|
-
# @param [Boolean] orphan_dependents
|
1541
|
-
# Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports
|
1542
|
-
# cascading behavior, so this must be false. This attribute is deprecated, and
|
1543
|
-
# is now replaced with PropagationPolicy See https://github.com/kubernetes/
|
1544
|
-
# kubernetes/issues/46659 for more info.
|
1545
|
-
# @param [String] propagation_policy
|
1546
|
-
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
1547
|
-
# setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
|
1548
|
-
# workloads/controllers/garbage-collection/ for more information.
|
1549
|
-
# @param [String] fields
|
1550
|
-
# Selector specifying which fields to include in a partial response.
|
1551
|
-
# @param [String] quota_user
|
1552
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1553
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1554
|
-
# @param [Google::Apis::RequestOptions] options
|
1555
|
-
# Request-specific options
|
1556
|
-
#
|
1557
|
-
# @yield [result, err] Result & error if block supplied
|
1558
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
1559
|
-
# @yieldparam err [StandardError] error object if request failed
|
1560
|
-
#
|
1561
|
-
# @return [Google::Apis::RunV1alpha1::Empty]
|
1562
|
-
#
|
1563
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1564
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1565
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1566
|
-
def delete_project_location_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1567
|
-
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
1568
|
-
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
1569
|
-
command.response_class = Google::Apis::RunV1alpha1::Empty
|
1570
|
-
command.params['name'] = name unless name.nil?
|
1571
|
-
command.query['apiVersion'] = api_version unless api_version.nil?
|
1572
|
-
command.query['kind'] = kind unless kind.nil?
|
1573
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
1574
|
-
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1575
|
-
command.query['fields'] = fields unless fields.nil?
|
1576
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1577
|
-
execute_or_queue_command(command, &block)
|
1578
|
-
end
|
1579
|
-
|
1580
|
-
# Rpc to get information about a service.
|
1581
|
-
# @param [String] name
|
1582
|
-
# The name of the service being retrieved. If needed, replace `namespace_id`
|
1583
|
-
# with the project ID.
|
1584
|
-
# @param [String] fields
|
1585
|
-
# Selector specifying which fields to include in a partial response.
|
1586
|
-
# @param [String] quota_user
|
1587
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1588
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1589
|
-
# @param [Google::Apis::RequestOptions] options
|
1590
|
-
# Request-specific options
|
1591
|
-
#
|
1592
|
-
# @yield [result, err] Result & error if block supplied
|
1593
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
1594
|
-
# @yieldparam err [StandardError] error object if request failed
|
1595
|
-
#
|
1596
|
-
# @return [Google::Apis::RunV1alpha1::Service]
|
1597
|
-
#
|
1598
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1599
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1600
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1601
|
-
def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
1602
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1603
|
-
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1604
|
-
command.response_class = Google::Apis::RunV1alpha1::Service
|
1605
|
-
command.params['name'] = name unless name.nil?
|
1606
|
-
command.query['fields'] = fields unless fields.nil?
|
1607
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1608
|
-
execute_or_queue_command(command, &block)
|
1609
|
-
end
|
1610
|
-
|
1611
|
-
# Get the IAM Access Control policy currently in effect for the given Cloud Run
|
1612
|
-
# service. This result does not include any inherited policies.
|
1613
|
-
# @param [String] resource
|
1614
|
-
# REQUIRED: The resource for which the policy is being requested. See the
|
1615
|
-
# operation documentation for the appropriate value for this field.
|
1616
|
-
# @param [Fixnum] options_requested_policy_version
|
1617
|
-
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
1618
|
-
# 3. Requests specifying an invalid value will be rejected. Requests for
|
1619
|
-
# policies with any conditional bindings must specify version 3. Policies
|
1620
|
-
# without any conditional bindings may specify any valid value or leave the
|
1621
|
-
# field unset. To learn which resources support conditions in their IAM policies,
|
1622
|
-
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1623
|
-
# resource-policies).
|
1624
|
-
# @param [String] fields
|
1625
|
-
# Selector specifying which fields to include in a partial response.
|
1626
|
-
# @param [String] quota_user
|
1627
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1628
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1629
|
-
# @param [Google::Apis::RequestOptions] options
|
1630
|
-
# Request-specific options
|
1631
|
-
#
|
1632
|
-
# @yield [result, err] Result & error if block supplied
|
1633
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Policy] parsed result object
|
1634
|
-
# @yieldparam err [StandardError] error object if request failed
|
1635
|
-
#
|
1636
|
-
# @return [Google::Apis::RunV1alpha1::Policy]
|
1637
|
-
#
|
1638
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1639
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1640
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1641
|
-
def get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1642
|
-
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
1643
|
-
command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation
|
1644
|
-
command.response_class = Google::Apis::RunV1alpha1::Policy
|
1645
|
-
command.params['resource'] = resource unless resource.nil?
|
1646
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1647
|
-
command.query['fields'] = fields unless fields.nil?
|
1648
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1649
|
-
execute_or_queue_command(command, &block)
|
1650
|
-
end
|
1651
|
-
|
1652
|
-
# Rpc to list services.
|
1653
|
-
# @param [String] parent
|
1654
|
-
# The project ID or project number from which the services should be listed.
|
1655
|
-
# @param [String] continue
|
1656
|
-
# Optional encoded string to continue paging.
|
1657
|
-
# @param [String] field_selector
|
1658
|
-
# Allows to filter resources based on a specific value for a field name. Send
|
1659
|
-
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
1660
|
-
# used by Cloud Run.
|
1661
|
-
# @param [Boolean] include_uninitialized
|
1662
|
-
# Not currently used by Cloud Run.
|
1663
|
-
# @param [String] label_selector
|
1664
|
-
# Allows to filter resources based on a label. Supported operations are =, !=,
|
1665
|
-
# exists, in, and notIn.
|
1666
|
-
# @param [Fixnum] limit
|
1667
|
-
# The maximum number of records that should be returned.
|
1668
|
-
# @param [String] resource_version
|
1669
|
-
# The baseline resource version from which the list or watch operation should
|
1670
|
-
# start. Not currently used by Cloud Run.
|
1671
|
-
# @param [Boolean] watch
|
1672
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
1673
|
-
# Not currently used by Cloud Run.
|
1674
|
-
# @param [String] fields
|
1675
|
-
# Selector specifying which fields to include in a partial response.
|
1676
|
-
# @param [String] quota_user
|
1677
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1678
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1679
|
-
# @param [Google::Apis::RequestOptions] options
|
1680
|
-
# Request-specific options
|
1681
|
-
#
|
1682
|
-
# @yield [result, err] Result & error if block supplied
|
1683
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListServicesResponse] parsed result object
|
1684
|
-
# @yieldparam err [StandardError] error object if request failed
|
1685
|
-
#
|
1686
|
-
# @return [Google::Apis::RunV1alpha1::ListServicesResponse]
|
1687
|
-
#
|
1688
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1689
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1690
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1691
|
-
def list_project_location_services(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)
|
1692
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/services', options)
|
1693
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation
|
1694
|
-
command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse
|
1695
|
-
command.params['parent'] = parent unless parent.nil?
|
1696
|
-
command.query['continue'] = continue unless continue.nil?
|
1697
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1698
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1699
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1700
|
-
command.query['limit'] = limit unless limit.nil?
|
1701
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1702
|
-
command.query['watch'] = watch unless watch.nil?
|
1703
|
-
command.query['fields'] = fields unless fields.nil?
|
1704
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1705
|
-
execute_or_queue_command(command, &block)
|
1706
|
-
end
|
1707
|
-
|
1708
|
-
# Rpc to replace a service. Only the spec and metadata labels and annotations
|
1709
|
-
# are modifiable. After the Update request, Cloud Run will work to make the '
|
1710
|
-
# status' match the requested 'spec'. May provide metadata.resourceVersion to
|
1711
|
-
# enforce update from last read for optimistic concurrency control.
|
1712
|
-
# @param [String] name
|
1713
|
-
# The name of the service being replaced. If needed, replace `namespace_id` with
|
1714
|
-
# the project ID.
|
1715
|
-
# @param [Google::Apis::RunV1alpha1::Service] service_object
|
1716
|
-
# @param [String] fields
|
1717
|
-
# Selector specifying which fields to include in a partial response.
|
1718
|
-
# @param [String] quota_user
|
1719
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1720
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1721
|
-
# @param [Google::Apis::RequestOptions] options
|
1722
|
-
# Request-specific options
|
1723
|
-
#
|
1724
|
-
# @yield [result, err] Result & error if block supplied
|
1725
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
1726
|
-
# @yieldparam err [StandardError] error object if request failed
|
1727
|
-
#
|
1728
|
-
# @return [Google::Apis::RunV1alpha1::Service]
|
1729
|
-
#
|
1730
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1731
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1732
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1733
|
-
def replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1734
|
-
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
1735
|
-
command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1736
|
-
command.request_object = service_object
|
1737
|
-
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1738
|
-
command.response_class = Google::Apis::RunV1alpha1::Service
|
1739
|
-
command.params['name'] = name unless name.nil?
|
1740
|
-
command.query['fields'] = fields unless fields.nil?
|
1741
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1742
|
-
execute_or_queue_command(command, &block)
|
1743
|
-
end
|
1744
|
-
|
1745
|
-
# Sets the IAM Access control policy for the specified Service. Overwrites any
|
1746
|
-
# existing policy.
|
1747
|
-
# @param [String] resource
|
1748
|
-
# REQUIRED: The resource for which the policy is being specified. See the
|
1749
|
-
# operation documentation for the appropriate value for this field.
|
1750
|
-
# @param [Google::Apis::RunV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
1751
|
-
# @param [String] fields
|
1752
|
-
# Selector specifying which fields to include in a partial response.
|
1753
|
-
# @param [String] quota_user
|
1754
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1755
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1756
|
-
# @param [Google::Apis::RequestOptions] options
|
1757
|
-
# Request-specific options
|
1758
|
-
#
|
1759
|
-
# @yield [result, err] Result & error if block supplied
|
1760
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Policy] parsed result object
|
1761
|
-
# @yieldparam err [StandardError] error object if request failed
|
1762
|
-
#
|
1763
|
-
# @return [Google::Apis::RunV1alpha1::Policy]
|
1764
|
-
#
|
1765
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1766
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1767
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1768
|
-
def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1769
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
1770
|
-
command.request_representation = Google::Apis::RunV1alpha1::SetIamPolicyRequest::Representation
|
1771
|
-
command.request_object = set_iam_policy_request_object
|
1772
|
-
command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation
|
1773
|
-
command.response_class = Google::Apis::RunV1alpha1::Policy
|
1774
|
-
command.params['resource'] = resource unless resource.nil?
|
1775
|
-
command.query['fields'] = fields unless fields.nil?
|
1776
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1777
|
-
execute_or_queue_command(command, &block)
|
1778
|
-
end
|
1779
|
-
|
1780
|
-
# Returns permissions that a caller has on the specified Project. There are no
|
1781
|
-
# permissions required for making this API call.
|
1782
|
-
# @param [String] resource
|
1783
|
-
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1784
|
-
# operation documentation for the appropriate value for this field.
|
1785
|
-
# @param [Google::Apis::RunV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1786
|
-
# @param [String] fields
|
1787
|
-
# Selector specifying which fields to include in a partial response.
|
1788
|
-
# @param [String] quota_user
|
1789
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1790
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1791
|
-
# @param [Google::Apis::RequestOptions] options
|
1792
|
-
# Request-specific options
|
1793
|
-
#
|
1794
|
-
# @yield [result, err] Result & error if block supplied
|
1795
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::TestIamPermissionsResponse] parsed result object
|
1796
|
-
# @yieldparam err [StandardError] error object if request failed
|
1797
|
-
#
|
1798
|
-
# @return [Google::Apis::RunV1alpha1::TestIamPermissionsResponse]
|
1799
|
-
#
|
1800
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1801
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1802
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1803
|
-
def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1804
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
1805
|
-
command.request_representation = Google::Apis::RunV1alpha1::TestIamPermissionsRequest::Representation
|
1806
|
-
command.request_object = test_iam_permissions_request_object
|
1807
|
-
command.response_representation = Google::Apis::RunV1alpha1::TestIamPermissionsResponse::Representation
|
1808
|
-
command.response_class = Google::Apis::RunV1alpha1::TestIamPermissionsResponse
|
1809
|
-
command.params['resource'] = resource unless resource.nil?
|
1810
|
-
command.query['fields'] = fields unless fields.nil?
|
1811
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1812
|
-
execute_or_queue_command(command, &block)
|
1813
|
-
end
|
1814
216
|
|
1815
217
|
protected
|
1816
218
|
|