| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  | # Copyright 2015 Google Inc. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Licensed under the Apache License, Version 2.0 (the "License"); | 
					
						
							|  |  |  | # you may not use this file except in compliance with the License. | 
					
						
							|  |  |  | # You may obtain a copy of the License at | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #      http://www.apache.org/licenses/LICENSE-2.0 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  | # distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  | # See the License for the specific language governing permissions and | 
					
						
							|  |  |  | # limitations under the License. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | require 'google/apis/core/base_service' | 
					
						
							|  |  |  | require 'google/apis/core/json_representation' | 
					
						
							|  |  |  | require 'google/apis/core/hashable' | 
					
						
							|  |  |  | require 'google/apis/errors' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Google | 
					
						
							|  |  |  |   module Apis | 
					
						
							|  |  |  |     module RunV1alpha1 | 
					
						
							| 
									
										
										
										
											2020-07-16 00:38:22 +00:00
										 |  |  |       # Cloud Run Admin API | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |       # | 
					
						
							|  |  |  |       # Deploy and manage user provided container images that scale automatically | 
					
						
							|  |  |  |       #  based on HTTP traffic. | 
					
						
							|  |  |  |       # | 
					
						
							|  |  |  |       # @example | 
					
						
							|  |  |  |       #    require 'google/apis/run_v1alpha1' | 
					
						
							|  |  |  |       # | 
					
						
							|  |  |  |       #    Run = Google::Apis::RunV1alpha1 # Alias the module | 
					
						
							|  |  |  |       #    service = Run::CloudRunService.new | 
					
						
							|  |  |  |       # | 
					
						
							|  |  |  |       # @see https://cloud.google.com/run/ | 
					
						
							|  |  |  |       class CloudRunService < Google::Apis::Core::BaseService | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         #  API key. Your API key identifies your project and provides you with API access, | 
					
						
							|  |  |  |         #  quota, and reports. Required unless you provide an OAuth 2.0 token. | 
					
						
							|  |  |  |         attr_accessor :key | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         # @return [String] | 
					
						
							|  |  |  |         #  Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #  arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         attr_accessor :quota_user | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         def initialize | 
					
						
							|  |  |  |           super('https://run.googleapis.com/', '') | 
					
						
							|  |  |  |           @batch_path = 'batch' | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # RPC to list authorized domains. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   Name of the parent Application resource. Example: `apps/myapp`. | 
					
						
							|  |  |  |         # @param [Fixnum] page_size | 
					
						
							|  |  |  |         #   Maximum results to return per page. | 
					
						
							|  |  |  |         # @param [String] page_token | 
					
						
							|  |  |  |         #   Continuation token for fetching the next page of results. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_namespace_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/authorizeddomains', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['pageSize'] = page_size unless page_size.nil? | 
					
						
							|  |  |  |           command.query['pageToken'] = page_token unless page_token.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Creates a new cloudauditlogssource. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number in which this cloudauditlogssource should be | 
					
						
							|  |  |  |         #   created. | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource] | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def create_namespace_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogssources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_audit_logs_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to delete a cloudauditlogssource. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudauditlogssource being deleted. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def delete_namespace_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to get information about a cloudauditlogssource. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudauditlogssource being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource] | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def get_namespace_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to list cloudauditlogssources. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number from which the cloudauditlogssources should | 
					
						
							|  |  |  |         #   be listed. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def list_namespace_cloudauditlogssources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogssources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Creates a new cloudpubsubsource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number in which this cloudpubsubsource should be | 
					
						
							|  |  |  |         #   created. | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudPubSubSource] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def create_namespace_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudpubsubsources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_pub_sub_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to delete a cloudpubsubsource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudpubsubsource being deleted. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def delete_namespace_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to get information about a cloudpubsubsource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudpubsubsource being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudPubSubSource] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def get_namespace_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to list cloudpubsubsources. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number from which the cloudpubsubsources should be | 
					
						
							|  |  |  |         #   listed. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def list_namespace_cloudpubsubsources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudpubsubsources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Creates a new cloudschedulersource. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   Required. The project ID or project number in which this cloudschedulersource | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   should be created. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def create_namespace_cloudschedulersource(parent, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudschedulersources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_scheduler_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to delete a cloudschedulersource. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudschedulersource being deleted. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def delete_namespace_cloudschedulersource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a cloudschedulersource. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudschedulersource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_namespace_cloudschedulersource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list cloudschedulersources. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   Required. The project ID or project number from which the | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   cloudschedulersources should be listed. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_namespace_cloudschedulersources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudschedulersources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to replace a cloudschedulersource. Only the spec and metadata labels and | 
					
						
							|  |  |  |         # annotations are modifiable. After the Update request, Cloud Run will work to | 
					
						
							|  |  |  |         # make the 'status' match the requested 'spec'. May provide metadata. | 
					
						
							|  |  |  |         # resourceVersion to enforce update from last read for optimistic concurrency | 
					
						
							|  |  |  |         # control. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudschedulersource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def replace_namespace_cloudschedulersource_cloud_scheduler_source(name, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_scheduler_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Creates a new cloudstoragesource. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   Required. The project ID or project number in which this cloudstoragesource | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   should be created. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::CloudStorageSource] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def create_namespace_cloudstoragesource(parent, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudstoragesources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_storage_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to delete a cloudstoragesource. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudstoragesource being deleted. If needed, replace | 
					
						
							|  |  |  |         #   `namespace_id` with the project ID. | 
					
						
							|  |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def delete_namespace_cloudstoragesource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a cloudstoragesource. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudstoragesource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::CloudStorageSource] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_namespace_cloudstoragesource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list cloudstoragesources. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   Required. The project ID or project number from which the cloudstoragesources | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   should be listed. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_namespace_cloudstoragesources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudstoragesources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to replace a cloudstoragesource. Only the spec and metadata labels and | 
					
						
							|  |  |  |         # annotations are modifiable. After the Update request, Cloud Run will work to | 
					
						
							|  |  |  |         # make the 'status' match the requested 'spec'. May provide metadata. | 
					
						
							|  |  |  |         # resourceVersion to enforce update from last read for optimistic concurrency | 
					
						
							|  |  |  |         # control. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudstoragesource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::CloudStorageSource] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def replace_namespace_cloudstoragesource_cloud_storage_source(name, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_storage_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to get information about a configuration. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the configuration being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::Configuration] | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Configuration | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to list configurations. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         #   The project ID or project number from which the configurations should be | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         #   listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse] | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         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) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Creates a new domain mapping. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         #   The project ID or project number in which this domain mapping should be | 
					
						
							|  |  |  |         #   created. | 
					
						
							|  |  |  |         # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::DomainMapping] | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation | 
					
						
							|  |  |  |           command.request_object = domain_mapping_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::DomainMapping | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to delete a domain mapping. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the domain mapping being deleted. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @param [Boolean] orphan_dependents | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports | 
					
						
							|  |  |  |         #   cascading behavior, so this must be false. This attribute is deprecated, and | 
					
						
							|  |  |  |         #   is now replaced with PropagationPolicy See https://github.com/kubernetes/ | 
					
						
							|  |  |  |         #   kubernetes/issues/46659 for more info. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |           command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil? | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to get information about a domain mapping. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the domain mapping being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::DomainMapping] | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::DomainMapping | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to list domain mappings. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         #   The project ID or project number from which the domain mappings should be | 
					
						
							|  |  |  |         #   listed. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         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) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # Rpc to delete a revision. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the revision being deleted. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [Boolean] orphan_dependents | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports | 
					
						
							|  |  |  |         #   cascading behavior, so this must be false. This attribute is deprecated, and | 
					
						
							|  |  |  |         #   is now replaced with PropagationPolicy See https://github.com/kubernetes/ | 
					
						
							|  |  |  |         #   kubernetes/issues/46659 for more info. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def delete_namespace_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a revision. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the revision being retrieved. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Revision] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Revision] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Revision | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list revisions. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number from which the revisions should be listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListRevisionsResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListRevisionsResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/revisions', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a route. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the route being retrieved. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Route] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Route] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Route::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Route | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list routes. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number from which the routes should be listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListRoutesResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListRoutesResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/routes', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to create a service. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number in which this service should be created. | 
					
						
							|  |  |  |         # @param [Google::Apis::RunV1alpha1::Service] service_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Service] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:post, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.request_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.request_object = service_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Service | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to delete a service. This will cause the Service to stop serving traffic | 
					
						
							|  |  |  |         # and will delete the child entities like Routes, Configurations and Revisions. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the service being deleted. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [Boolean] orphan_dependents | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports | 
					
						
							|  |  |  |         #   cascading behavior, so this must be false. This attribute is deprecated, and | 
					
						
							|  |  |  |         #   is now replaced with PropagationPolicy See https://github.com/kubernetes/ | 
					
						
							|  |  |  |         #   kubernetes/issues/46659 for more info. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def delete_namespace_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a service. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the service being retrieved. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Service] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Service | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list services. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number from which the services should be listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListServicesResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListServicesResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to replace a service. Only the spec and metadata labels and annotations | 
					
						
							|  |  |  |         # are modifiable. After the Update request, Cloud Run will work to make the ' | 
					
						
							|  |  |  |         # status' match the requested 'spec'. May provide metadata.resourceVersion to | 
					
						
							|  |  |  |         # enforce update from last read for optimistic concurrency control. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the service being replaced. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::Service] service_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Service] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:put, 'apis/serving.knative.dev/v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.request_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.request_object = service_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Service | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Creates a new trigger. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number in which this trigger should be created. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Trigger] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation | 
					
						
							|  |  |  |           command.request_object = trigger_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Trigger | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to delete a trigger. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the trigger being deleted. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a trigger. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the trigger being retrieved. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Trigger] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Trigger | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list triggers. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number from which the triggers should be listed. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional. Encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListTriggersResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_namespace_triggers(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Lists information about the supported locations for this service. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   The resource that owns the locations collection, if applicable. | 
					
						
							|  |  |  |         # @param [String] filter | 
					
						
							|  |  |  |         #   The standard list filter. | 
					
						
							|  |  |  |         # @param [Fixnum] page_size | 
					
						
							|  |  |  |         #   The standard list page size. | 
					
						
							|  |  |  |         # @param [String] page_token | 
					
						
							|  |  |  |         #   The standard list page token. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListLocationsResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['filter'] = filter unless filter.nil? | 
					
						
							|  |  |  |           command.query['pageSize'] = page_size unless page_size.nil? | 
					
						
							|  |  |  |           command.query['pageToken'] = page_token unless page_token.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # RPC to list authorized domains. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   Name of the parent Application resource. Example: `apps/myapp`. | 
					
						
							|  |  |  |         # @param [Fixnum] page_size | 
					
						
							|  |  |  |         #   Maximum results to return per page. | 
					
						
							|  |  |  |         # @param [String] page_token | 
					
						
							|  |  |  |         #   Continuation token for fetching the next page of results. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['pageSize'] = page_size unless page_size.nil? | 
					
						
							|  |  |  |           command.query['pageToken'] = page_token unless page_token.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Creates a new cloudauditlogssource. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number in which this cloudauditlogssource should be | 
					
						
							|  |  |  |         #   created. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource] | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def create_project_location_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudauditlogssources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_audit_logs_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to delete a cloudauditlogssource. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudauditlogssource being deleted. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def delete_project_location_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to get information about a cloudauditlogssource. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudauditlogssource being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource] | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def get_project_location_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to list cloudauditlogssources. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number from which the cloudauditlogssources should | 
					
						
							|  |  |  |         #   be listed. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def list_project_location_cloudauditlogssources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudauditlogssources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Creates a new cloudpubsubsource. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number in which this cloudpubsubsource should be | 
					
						
							|  |  |  |         #   created. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudPubSubSource] | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def create_project_location_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudpubsubsources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_pub_sub_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to delete a cloudpubsubsource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudpubsubsource being deleted. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def delete_project_location_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to get information about a cloudpubsubsource. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the cloudpubsubsource being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudPubSubSource] | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def get_project_location_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to list cloudpubsubsources. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number from which the cloudpubsubsources should be | 
					
						
							|  |  |  |         #   listed. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Optional encoded string to continue paging. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def list_project_location_cloudpubsubsources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudpubsubsources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Creates a new cloudschedulersource. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The project ID or project number in which this cloudschedulersource | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   should be created. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource] | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def create_project_location_cloudschedulersource(parent, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudschedulersources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_scheduler_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to delete a cloudschedulersource. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The name of the cloudschedulersource being deleted. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def delete_project_location_cloudschedulersource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							| 
									
										
										
										
											2019-12-21 00:37:05 +00:00
										 |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to get information about a cloudschedulersource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The name of the cloudschedulersource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def get_project_location_cloudschedulersource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to list cloudschedulersources. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The project ID or project number from which the | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   cloudschedulersources should be listed. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_project_location_cloudschedulersources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudschedulersources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to replace a cloudschedulersource. Only the spec and metadata labels and | 
					
						
							|  |  |  |         # annotations are modifiable. After the Update request, Cloud Run will work to | 
					
						
							|  |  |  |         # make the 'status' match the requested 'spec'. May provide metadata. | 
					
						
							|  |  |  |         # resourceVersion to enforce update from last read for optimistic concurrency | 
					
						
							|  |  |  |         # control. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudschedulersource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudSchedulerSource] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def replace_project_location_cloudschedulersource_cloud_scheduler_source(name, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:put, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_scheduler_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Creates a new cloudstoragesource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The project ID or project number in which this cloudstoragesource | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   should be created. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudStorageSource] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def create_project_location_cloudstoragesource(parent, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudstoragesources', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_storage_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to delete a cloudstoragesource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The name of the cloudstoragesource being deleted. If needed, replace | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         #   `namespace_id` with the project ID. | 
					
						
							|  |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def delete_project_location_cloudstoragesource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to get information about a cloudstoragesource. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The name of the cloudstoragesource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::CloudStorageSource] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def get_project_location_cloudstoragesource(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # Rpc to list cloudstoragesources. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         #   Required. The project ID or project number from which the cloudstoragesources | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   should be listed. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         def list_project_location_cloudstoragesources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudstoragesources', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to replace a cloudstoragesource. Only the spec and metadata labels and | 
					
						
							|  |  |  |         # annotations are modifiable. After the Update request, Cloud Run will work to | 
					
						
							|  |  |  |         # make the 'status' match the requested 'spec'. May provide metadata. | 
					
						
							|  |  |  |         # resourceVersion to enforce update from last read for optimistic concurrency | 
					
						
							|  |  |  |         # control. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [String] name | 
					
						
							|  |  |  |         #   Required. The name of the cloudstoragesource being retrieved. If needed, | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   replace `namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2020-02-27 00:38:30 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::CloudStorageSource] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def replace_project_location_cloudstoragesource_cloud_storage_source(name, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:put, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.request_object = cloud_storage_source_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to get information about a configuration. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the configuration being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::Configuration] | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Configuration | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to list configurations. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         #   The project ID or project number from which the configurations should be | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         #   listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse] | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         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) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse | 
					
						
							| 
									
										
										
										
											2019-05-24 00:38:17 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Creates a new domain mapping. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         #   The project ID or project number in which this domain mapping should be | 
					
						
							|  |  |  |         #   created. | 
					
						
							|  |  |  |         # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::DomainMapping] | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation | 
					
						
							|  |  |  |           command.request_object = domain_mapping_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::DomainMapping | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to delete a domain mapping. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the domain mapping being deleted. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @param [Boolean] orphan_dependents | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports | 
					
						
							|  |  |  |         #   cascading behavior, so this must be false. This attribute is deprecated, and | 
					
						
							|  |  |  |         #   is now replaced with PropagationPolicy See https://github.com/kubernetes/ | 
					
						
							|  |  |  |         #   kubernetes/issues/46659 for more info. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |           command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil? | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to get information about a domain mapping. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the domain mapping being retrieved. If needed, replace ` | 
					
						
							|  |  |  |         #   namespace_id` with the project ID. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::DomainMapping] | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::DomainMapping | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # Rpc to list domain mappings. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         #   The project ID or project number from which the domain mappings should be | 
					
						
							|  |  |  |         #   listed. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         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) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse | 
					
						
							| 
									
										
										
										
											2019-10-26 00:37:02 +00:00
										 |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # Rpc to delete a revision. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the revision being deleted. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [Boolean] orphan_dependents | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports | 
					
						
							|  |  |  |         #   cascading behavior, so this must be false. This attribute is deprecated, and | 
					
						
							|  |  |  |         #   is now replaced with PropagationPolicy See https://github.com/kubernetes/ | 
					
						
							|  |  |  |         #   kubernetes/issues/46659 for more info. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a revision. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the revision being retrieved. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Revision] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Revision] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Revision | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list revisions. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number from which the revisions should be listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListRevisionsResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListRevisionsResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/revisions', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a route. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the route being retrieved. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Route] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Route] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Route::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Route | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list routes. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number from which the routes should be listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListRoutesResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListRoutesResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/routes', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to create a service. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number in which this service should be created. | 
					
						
							|  |  |  |         # @param [Google::Apis::RunV1alpha1::Service] service_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Service] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:post, 'v1alpha1/{+parent}/services', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.request_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.request_object = service_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Service | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to delete a service. This will cause the Service to stop serving traffic | 
					
						
							|  |  |  |         # and will delete the child entities like Routes, Configurations and Revisions. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the service being deleted. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [Boolean] orphan_dependents | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports | 
					
						
							|  |  |  |         #   cascading behavior, so this must be false. This attribute is deprecated, and | 
					
						
							|  |  |  |         #   is now replaced with PropagationPolicy See https://github.com/kubernetes/ | 
					
						
							|  |  |  |         #   kubernetes/issues/46659 for more info. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a service. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the service being retrieved. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Service] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Service | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Get the IAM Access Control policy currently in effect for the given Cloud Run | 
					
						
							|  |  |  |         # service. This result does not include any inherited policies. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] resource | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   REQUIRED: The resource for which the policy is being requested. See the | 
					
						
							|  |  |  |         #   operation documentation for the appropriate value for this field. | 
					
						
							| 
									
										
										
										
											2019-07-09 00:38:00 +00:00
										 |  |  |         # @param [Fixnum] options_requested_policy_version | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Optional. The policy format version to be returned. Valid values are 0, 1, and | 
					
						
							|  |  |  |         #   3. Requests specifying an invalid value will be rejected. Requests for | 
					
						
							|  |  |  |         #   policies with any conditional bindings must specify version 3. Policies | 
					
						
							|  |  |  |         #   without any conditional bindings may specify any valid value or leave the | 
					
						
							|  |  |  |         #   field unset. To learn which resources support conditions in their IAM policies, | 
					
						
							|  |  |  |         #   see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ | 
					
						
							|  |  |  |         #   resource-policies). | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Policy] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Policy] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							| 
									
										
										
										
											2019-07-09 00:38:00 +00:00
										 |  |  |         def get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Policy | 
					
						
							|  |  |  |           command.params['resource'] = resource unless resource.nil? | 
					
						
							| 
									
										
										
										
											2019-07-09 00:38:00 +00:00
										 |  |  |           command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list services. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							|  |  |  |         #   The project ID or project number from which the services should be listed. | 
					
						
							|  |  |  |         # @param [String] continue | 
					
						
							|  |  |  |         #   Optional encoded string to continue paging. | 
					
						
							|  |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListServicesResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListServicesResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         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) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/services', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Rpc to replace a service. Only the spec and metadata labels and annotations | 
					
						
							|  |  |  |         # are modifiable. After the Update request, Cloud Run will work to make the ' | 
					
						
							|  |  |  |         # status' match the requested 'spec'. May provide metadata.resourceVersion to | 
					
						
							|  |  |  |         # enforce update from last read for optimistic concurrency control. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the service being replaced. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::Service] service_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Service] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:put, 'v1alpha1/{+name}', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.request_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.request_object = service_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Service::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Service | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Sets the IAM Access control policy for the specified Service. Overwrites any | 
					
						
							|  |  |  |         # existing policy. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] resource | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   REQUIRED: The resource for which the policy is being specified. See the | 
					
						
							|  |  |  |         #   operation documentation for the appropriate value for this field. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Policy] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Policy] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.request_representation = Google::Apis::RunV1alpha1::SetIamPolicyRequest::Representation | 
					
						
							|  |  |  |           command.request_object = set_iam_policy_request_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Policy | 
					
						
							|  |  |  |           command.params['resource'] = resource unless resource.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         # Returns permissions that a caller has on the specified Project. There are no | 
					
						
							|  |  |  |         # permissions required for making this API call. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [String] resource | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   REQUIRED: The resource for which the policy detail is being requested. See the | 
					
						
							|  |  |  |         #   operation documentation for the appropriate value for this field. | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::TestIamPermissionsResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::TestIamPermissionsResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							| 
									
										
										
										
											2019-05-10 00:37:26 +00:00
										 |  |  |           command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options) | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  |           command.request_representation = Google::Apis::RunV1alpha1::TestIamPermissionsRequest::Representation | 
					
						
							|  |  |  |           command.request_object = test_iam_permissions_request_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::TestIamPermissionsResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::TestIamPermissionsResponse | 
					
						
							|  |  |  |           command.params['resource'] = resource unless resource.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |          | 
					
						
							|  |  |  |         # Creates a new trigger. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number in which this trigger should be created. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Trigger] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def create_project_location_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:post, 'v1alpha1/{+parent}/triggers', options) | 
					
						
							|  |  |  |           command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation | 
					
						
							|  |  |  |           command.request_object = trigger_object | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Trigger | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to delete a trigger. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the trigger being deleted. If needed, replace `namespace_id` with | 
					
						
							|  |  |  |         #   the project ID. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] api_version | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] kind | 
					
						
							|  |  |  |         #   Cloud Run currently ignores this parameter. | 
					
						
							|  |  |  |         # @param [String] propagation_policy | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Specifies the propagation policy of delete. Cloud Run currently ignores this | 
					
						
							|  |  |  |         #   setting, and deletes in the background. Please see kubernetes.io/docs/concepts/ | 
					
						
							|  |  |  |         #   workloads/controllers/garbage-collection/ for more information. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Empty] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def delete_project_location_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:delete, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Empty | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['apiVersion'] = api_version unless api_version.nil? | 
					
						
							|  |  |  |           command.query['kind'] = kind unless kind.nil? | 
					
						
							|  |  |  |           command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to get information about a trigger. | 
					
						
							|  |  |  |         # @param [String] name | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The name of the trigger being retrieved. If needed, replace `namespace_id` | 
					
						
							|  |  |  |         #   with the project ID. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::Trigger] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+name}', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::Trigger | 
					
						
							|  |  |  |           command.params['name'] = name unless name.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         # Rpc to list triggers. | 
					
						
							|  |  |  |         # @param [String] parent | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   The project ID or project number from which the triggers should be listed. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] continue | 
					
						
							| 
									
										
										
										
											2020-02-01 00:37:54 +00:00
										 |  |  |         #   Optional. Encoded string to continue paging. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [String] field_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a specific value for a field name. Send | 
					
						
							|  |  |  |         #   this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently | 
					
						
							|  |  |  |         #   used by Cloud Run. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [Boolean] include_uninitialized | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] label_selector | 
					
						
							| 
									
										
										
										
											2020-07-23 00:38:26 +00:00
										 |  |  |         #   Allows to filter resources based on a label. Supported operations are =, !=, | 
					
						
							|  |  |  |         #   exists, in, and notIn. | 
					
						
							| 
									
										
										
										
											2019-05-11 00:37:31 +00:00
										 |  |  |         # @param [Fixnum] limit | 
					
						
							|  |  |  |         #   The maximum number of records that should be returned. | 
					
						
							|  |  |  |         # @param [String] resource_version | 
					
						
							|  |  |  |         #   The baseline resource version from which the list or watch operation should | 
					
						
							|  |  |  |         #   start. Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [Boolean] watch | 
					
						
							|  |  |  |         #   Flag that indicates that the client expects to watch this resource as well. | 
					
						
							|  |  |  |         #   Not currently used by Cloud Run. | 
					
						
							|  |  |  |         # @param [String] fields | 
					
						
							|  |  |  |         #   Selector specifying which fields to include in a partial response. | 
					
						
							|  |  |  |         # @param [String] quota_user | 
					
						
							|  |  |  |         #   Available to use for quota purposes for server-side applications. Can be any | 
					
						
							|  |  |  |         #   arbitrary string assigned to a user, but should not exceed 40 characters. | 
					
						
							|  |  |  |         # @param [Google::Apis::RequestOptions] options | 
					
						
							|  |  |  |         #   Request-specific options | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @yield [result, err] Result & error if block supplied | 
					
						
							|  |  |  |         # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object | 
					
						
							|  |  |  |         # @yieldparam err [StandardError] error object if request failed | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @return [Google::Apis::RunV1alpha1::ListTriggersResponse] | 
					
						
							|  |  |  |         # | 
					
						
							|  |  |  |         # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried | 
					
						
							|  |  |  |         # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification | 
					
						
							|  |  |  |         # @raise [Google::Apis::AuthorizationError] Authorization is required | 
					
						
							|  |  |  |         def list_project_location_triggers(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block) | 
					
						
							|  |  |  |           command = make_simple_command(:get, 'v1alpha1/{+parent}/triggers', options) | 
					
						
							|  |  |  |           command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation | 
					
						
							|  |  |  |           command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse | 
					
						
							|  |  |  |           command.params['parent'] = parent unless parent.nil? | 
					
						
							|  |  |  |           command.query['continue'] = continue unless continue.nil? | 
					
						
							|  |  |  |           command.query['fieldSelector'] = field_selector unless field_selector.nil? | 
					
						
							|  |  |  |           command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil? | 
					
						
							|  |  |  |           command.query['labelSelector'] = label_selector unless label_selector.nil? | 
					
						
							|  |  |  |           command.query['limit'] = limit unless limit.nil? | 
					
						
							|  |  |  |           command.query['resourceVersion'] = resource_version unless resource_version.nil? | 
					
						
							|  |  |  |           command.query['watch'] = watch unless watch.nil? | 
					
						
							|  |  |  |           command.query['fields'] = fields unless fields.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |           execute_or_queue_command(command, &block) | 
					
						
							|  |  |  |         end | 
					
						
							| 
									
										
										
										
											2019-04-02 00:37:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |         protected | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         def apply_command_defaults(command) | 
					
						
							|  |  |  |           command.query['key'] = key unless key.nil? | 
					
						
							|  |  |  |           command.query['quotaUser'] = quota_user unless quota_user.nil? | 
					
						
							|  |  |  |         end | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |