diff --git a/api_names_out.yaml b/api_names_out.yaml index 0392fb479..dbe6e6561 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -108843,6 +108843,10 @@ "/osconfig:v1/ExecutePatchJobRequest/duration": duration "/osconfig:v1/ExecutePatchJobRequest/instanceFilter": instance_filter "/osconfig:v1/ExecutePatchJobRequest/patchConfig": patch_config +"/osconfig:v1/ExecutePatchJobRequest/rollout": rollout +"/osconfig:v1/FixedOrPercent": fixed_or_percent +"/osconfig:v1/FixedOrPercent/fixed": fixed +"/osconfig:v1/FixedOrPercent/percent": percent "/osconfig:v1/GcsObject": gcs_object "/osconfig:v1/GcsObject/bucket": bucket "/osconfig:v1/GcsObject/generationNumber": generation_number @@ -108884,6 +108888,7 @@ "/osconfig:v1/PatchDeployment/oneTimeSchedule": one_time_schedule "/osconfig:v1/PatchDeployment/patchConfig": patch_config "/osconfig:v1/PatchDeployment/recurringSchedule": recurring_schedule +"/osconfig:v1/PatchDeployment/rollout": rollout "/osconfig:v1/PatchDeployment/updateTime": update_time "/osconfig:v1/PatchInstanceFilter": patch_instance_filter "/osconfig:v1/PatchInstanceFilter/all": all @@ -108911,6 +108916,7 @@ "/osconfig:v1/PatchJob/patchConfig": patch_config "/osconfig:v1/PatchJob/patchDeployment": patch_deployment "/osconfig:v1/PatchJob/percentComplete": percent_complete +"/osconfig:v1/PatchJob/rollout": rollout "/osconfig:v1/PatchJob/state": state "/osconfig:v1/PatchJob/updateTime": update_time "/osconfig:v1/PatchJobInstanceDetails": patch_job_instance_details @@ -108935,6 +108941,9 @@ "/osconfig:v1/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/timedOutInstanceCount": timed_out_instance_count +"/osconfig:v1/PatchRollout": patch_rollout +"/osconfig:v1/PatchRollout/disruptionBudget": disruption_budget +"/osconfig:v1/PatchRollout/mode": mode "/osconfig:v1/RecurringSchedule": recurring_schedule "/osconfig:v1/RecurringSchedule/endTime": end_time "/osconfig:v1/RecurringSchedule/frequency": frequency @@ -109078,6 +109087,10 @@ "/osconfig:v1beta/ExecutePatchJobRequest/duration": duration "/osconfig:v1beta/ExecutePatchJobRequest/instanceFilter": instance_filter "/osconfig:v1beta/ExecutePatchJobRequest/patchConfig": patch_config +"/osconfig:v1beta/ExecutePatchJobRequest/rollout": rollout +"/osconfig:v1beta/FixedOrPercent": fixed_or_percent +"/osconfig:v1beta/FixedOrPercent/fixed": fixed +"/osconfig:v1beta/FixedOrPercent/percent": percent "/osconfig:v1beta/GcsObject": gcs_object "/osconfig:v1beta/GcsObject/bucket": bucket "/osconfig:v1beta/GcsObject/generationNumber": generation_number @@ -109152,6 +109165,7 @@ "/osconfig:v1beta/PatchDeployment/oneTimeSchedule": one_time_schedule "/osconfig:v1beta/PatchDeployment/patchConfig": patch_config "/osconfig:v1beta/PatchDeployment/recurringSchedule": recurring_schedule +"/osconfig:v1beta/PatchDeployment/rollout": rollout "/osconfig:v1beta/PatchDeployment/updateTime": update_time "/osconfig:v1beta/PatchInstanceFilter": patch_instance_filter "/osconfig:v1beta/PatchInstanceFilter/all": all @@ -109179,6 +109193,7 @@ "/osconfig:v1beta/PatchJob/patchConfig": patch_config "/osconfig:v1beta/PatchJob/patchDeployment": patch_deployment "/osconfig:v1beta/PatchJob/percentComplete": percent_complete +"/osconfig:v1beta/PatchJob/rollout": rollout "/osconfig:v1beta/PatchJob/state": state "/osconfig:v1beta/PatchJob/updateTime": update_time "/osconfig:v1beta/PatchJobInstanceDetails": patch_job_instance_details @@ -109203,6 +109218,9 @@ "/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count "/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count "/osconfig:v1beta/PatchJobInstanceDetailsSummary/timedOutInstanceCount": timed_out_instance_count +"/osconfig:v1beta/PatchRollout": patch_rollout +"/osconfig:v1beta/PatchRollout/disruptionBudget": disruption_budget +"/osconfig:v1beta/PatchRollout/mode": mode "/osconfig:v1beta/RecurringSchedule": recurring_schedule "/osconfig:v1beta/RecurringSchedule/endTime": end_time "/osconfig:v1beta/RecurringSchedule/frequency": frequency @@ -133685,6 +133703,7 @@ "/toolresults:v1beta3/FailedToInstall": failed_to_install "/toolresults:v1beta3/FailureDetail": failure_detail "/toolresults:v1beta3/FailureDetail/crashed": crashed +"/toolresults:v1beta3/FailureDetail/failedRoboscript": failed_roboscript "/toolresults:v1beta3/FailureDetail/notInstalled": not_installed "/toolresults:v1beta3/FailureDetail/otherNativeCrash": other_native_crash "/toolresults:v1beta3/FailureDetail/timedOut": timed_out @@ -134139,6 +134158,17 @@ "/toolresults:v1beta3/toolresults.projects.histories.executions.create/historyId": history_id "/toolresults:v1beta3/toolresults.projects.histories.executions.create/projectId": project_id "/toolresults:v1beta3/toolresults.projects.histories.executions.create/requestId": request_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.get": get_project_history_execution_environment +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.get/environmentId": environment_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.get/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.get/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.get/projectId": project_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.list": list_project_history_execution_environments +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.list/executionId": execution_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.list/historyId": history_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.list/pageSize": page_size +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.list/pageToken": page_token +"/toolresults:v1beta3/toolresults.projects.histories.executions.environments.list/projectId": project_id "/toolresults:v1beta3/toolresults.projects.histories.executions.get": get_project_history_execution "/toolresults:v1beta3/toolresults.projects.histories.executions.get/executionId": execution_id "/toolresults:v1beta3/toolresults.projects.histories.executions.get/historyId": history_id @@ -134153,6 +134183,9 @@ "/toolresults:v1beta3/toolresults.projects.histories.executions.patch/historyId": history_id "/toolresults:v1beta3/toolresults.projects.histories.executions.patch/projectId": project_id "/toolresults:v1beta3/toolresults.projects.histories.executions.patch/requestId": request_id +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.accessibilityClusters": accessibility_project_history_execution_step_clusters +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.accessibilityClusters/locale": locale +"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.accessibilityClusters/name": name "/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create": create_project_history_execution_step "/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/executionId": execution_id "/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/historyId": history_id diff --git a/generated/google/apis/admob_v1.rb b/generated/google/apis/admob_v1.rb index 5ea7e4562..5c02e9c61 100644 --- a/generated/google/apis/admob_v1.rb +++ b/generated/google/apis/admob_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/admob/api/ module AdmobV1 VERSION = 'V1' - REVISION = '20200715' + REVISION = '20200722' end end end diff --git a/generated/google/apis/admob_v1/classes.rb b/generated/google/apis/admob_v1/classes.rb index 70f922e08..9a9f77638 100644 --- a/generated/google/apis/admob_v1/classes.rb +++ b/generated/google/apis/admob_v1/classes.rb @@ -760,7 +760,9 @@ module Google class ReportFooter include Google::Apis::Core::Hashable - # Total number of rows that did match the request. + # Total number of rows that matched the request. + # Warning: This count does NOT always match the number of rows in the + # response. Do not make that assumption when processing the response. # Corresponds to the JSON property `matchingRowCount` # @return [Fixnum] attr_accessor :matching_row_count diff --git a/generated/google/apis/appsmarket_v2.rb b/generated/google/apis/appsmarket_v2.rb index d01893aed..81fcb137e 100644 --- a/generated/google/apis/appsmarket_v2.rb +++ b/generated/google/apis/appsmarket_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/apps-marketplace module AppsmarketV2 VERSION = 'V2' - REVISION = '20200713' + REVISION = '20200720' # View your installed application's licensing information AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license' diff --git a/generated/google/apis/cloudfunctions_v1beta2.rb b/generated/google/apis/cloudfunctions_v1beta2.rb deleted file mode 100644 index cf4bc55d1..000000000 --- a/generated/google/apis/cloudfunctions_v1beta2.rb +++ /dev/null @@ -1,34 +0,0 @@ -# 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/cloudfunctions_v1beta2/service.rb' -require 'google/apis/cloudfunctions_v1beta2/classes.rb' -require 'google/apis/cloudfunctions_v1beta2/representations.rb' - -module Google - module Apis - # Cloud Functions API - # - # Manages lightweight user-provided functions executed in response to events. - # - # @see https://cloud.google.com/functions - module CloudfunctionsV1beta2 - VERSION = 'V1beta2' - REVISION = '20200629' - - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - end - end -end diff --git a/generated/google/apis/cloudfunctions_v1beta2/classes.rb b/generated/google/apis/cloudfunctions_v1beta2/classes.rb deleted file mode 100644 index 4d864a188..000000000 --- a/generated/google/apis/cloudfunctions_v1beta2/classes.rb +++ /dev/null @@ -1,848 +0,0 @@ -# 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 'date' -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 CloudfunctionsV1beta2 - - # Request for the `CallFunction` method. - class CallFunctionRequest - include Google::Apis::Core::Hashable - - # Required. Input to be passed to the function. - # Corresponds to the JSON property `data` - # @return [String] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data = args[:data] if args.key?(:data) - end - end - - # Response of `CallFunction` method. - class CallFunctionResponse - include Google::Apis::Core::Hashable - - # Either system or user-function generated error. Set if execution - # was not successful. - # Corresponds to the JSON property `error` - # @return [String] - attr_accessor :error - - # Execution id of function invocation. - # Corresponds to the JSON property `executionId` - # @return [String] - attr_accessor :execution_id - - # Result populated for successful execution of synchronous function. Will - # not be populated if function does not return a result through context. - # Corresponds to the JSON property `result` - # @return [String] - attr_accessor :result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error = args[:error] if args.key?(:error) - @execution_id = args[:execution_id] if args.key?(:execution_id) - @result = args[:result] if args.key?(:result) - end - end - - # Describes a Cloud Function that contains user computation executed in - # response to an event. It encapsulate function and triggers configurations. - class CloudFunction - include Google::Apis::Core::Hashable - - # The amount of memory in MB available for a function. - # Defaults to 256MB. - # Corresponds to the JSON property `availableMemoryMb` - # @return [Fixnum] - attr_accessor :available_memory_mb - - # The name of the function (as defined in source code) that will be - # executed. Defaults to the resource name suffix, if not specified. For - # backward compatibility, if function with given name is not found, then the - # system will try to use function named "function". - # For Node.js this is name of a function exported by the module specified - # in `source_location`. - # Corresponds to the JSON property `entryPoint` - # @return [String] - attr_accessor :entry_point - - # Environment variables that shall be available during function execution. - # Corresponds to the JSON property `environmentVariables` - # @return [Hash] - attr_accessor :environment_variables - - # Describes EventTrigger, used to request events be sent from another - # service. - # Corresponds to the JSON property `eventTrigger` - # @return [Google::Apis::CloudfunctionsV1beta2::EventTrigger] - attr_accessor :event_trigger - - # Describes HTTPSTrigger, could be used to connect web hooks to function. - # Corresponds to the JSON property `httpsTrigger` - # @return [Google::Apis::CloudfunctionsV1beta2::HttpsTrigger] - attr_accessor :https_trigger - - # Labels associated with this Cloud Function. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Output only. Name of the most recent operation modifying the function. If - # the function status is `DEPLOYING` or `DELETING`, then it points to the - # active operation. - # Corresponds to the JSON property `latestOperation` - # @return [String] - attr_accessor :latest_operation - - # The limit on the maximum number of function instances that may coexist at a - # given time. - # Corresponds to the JSON property `maxInstances` - # @return [Fixnum] - attr_accessor :max_instances - - # A user-defined name of the function. Function names must be unique - # globally and match pattern `projects/*/locations/*/functions/*` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The VPC Network that this cloud function can connect to. It can be - # either the fully-qualified URI, or the short name of the network resource. - # If the short network name is used, the network must belong to the same - # project. Otherwise, it must belong to a project within the same - # organization. The format of this field is either - # `projects/`project`/global/networks/`network`` or ``network``, where - # `project` is a project id where the network is defined, and `network` is - # the short name of the network. - # This field is mutually exclusive with `vpc_connector` and will be replaced - # by it. - # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for - # more information on connecting Cloud projects. - # Corresponds to the JSON property `network` - # @return [String] - attr_accessor :network - - # The runtime in which to run the function. Required when deploying a new - # function, optional when updating an existing function. For a complete - # list of possible choices, see the - # [`gcloud` command - # reference](/sdk/gcloud/reference/functions/deploy#--runtime). - # Corresponds to the JSON property `runtime` - # @return [String] - attr_accessor :runtime - - # The email of the function's service account. If empty, defaults to - # ``project_id`@appspot.gserviceaccount.com`. - # Corresponds to the JSON property `serviceAccount` - # @return [String] - attr_accessor :service_account - - # The Google Cloud Storage URL, starting with gs://, pointing to the zip - # archive which contains the function. - # Corresponds to the JSON property `sourceArchiveUrl` - # @return [String] - attr_accessor :source_archive_url - - # Describes the location of the function source in a remote repository. - # Corresponds to the JSON property `sourceRepository` - # @return [Google::Apis::CloudfunctionsV1beta2::SourceRepository] - attr_accessor :source_repository - - # The URL pointing to the hosted repository where the function is defined. - # There are supported Cloud Source Repository URLs in the following - # formats: - # To refer to a specific commit: - # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` - # To refer to a moveable alias (branch): - # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/ - # paths/*` - # In particular, to refer to HEAD use `master` moveable alias. - # To refer to a specific fixed alias (tag): - # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/ - # *` - # You may omit `paths/*` if you want to use the main directory. - # Corresponds to the JSON property `sourceRepositoryUrl` - # @return [String] - attr_accessor :source_repository_url - - # The Google Cloud Storage signed URL used for source uploading, generated - # by google.cloud.functions.v1beta2.GenerateUploadUrl - # Corresponds to the JSON property `sourceUploadUrl` - # @return [String] - attr_accessor :source_upload_url - - # Output only. Status of the function deployment. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # The function execution timeout. Execution is considered failed and - # can be terminated if the function is not completed at the end of the - # timeout period. Defaults to 60 seconds. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - # Output only. The last update timestamp of a Cloud Function. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Output only. The version identifier of the Cloud Function. Each deployment - # attempt - # results in a new version of a function being created. - # Corresponds to the JSON property `versionId` - # @return [Fixnum] - attr_accessor :version_id - - # The VPC Network Connector that this cloud function can connect to. It can - # be either the fully-qualified URI, or the short name of the network - # connector resource. The format of this field is - # `projects/*/locations/*/connectors/*` - # This field is mutually exclusive with `network` field and will eventually - # replace it. - # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for - # more information on connecting Cloud projects. - # Corresponds to the JSON property `vpcConnector` - # @return [String] - attr_accessor :vpc_connector - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb) - @entry_point = args[:entry_point] if args.key?(:entry_point) - @environment_variables = args[:environment_variables] if args.key?(:environment_variables) - @event_trigger = args[:event_trigger] if args.key?(:event_trigger) - @https_trigger = args[:https_trigger] if args.key?(:https_trigger) - @labels = args[:labels] if args.key?(:labels) - @latest_operation = args[:latest_operation] if args.key?(:latest_operation) - @max_instances = args[:max_instances] if args.key?(:max_instances) - @name = args[:name] if args.key?(:name) - @network = args[:network] if args.key?(:network) - @runtime = args[:runtime] if args.key?(:runtime) - @service_account = args[:service_account] if args.key?(:service_account) - @source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url) - @source_repository = args[:source_repository] if args.key?(:source_repository) - @source_repository_url = args[:source_repository_url] if args.key?(:source_repository_url) - @source_upload_url = args[:source_upload_url] if args.key?(:source_upload_url) - @status = args[:status] if args.key?(:status) - @timeout = args[:timeout] if args.key?(:timeout) - @update_time = args[:update_time] if args.key?(:update_time) - @version_id = args[:version_id] if args.key?(:version_id) - @vpc_connector = args[:vpc_connector] if args.key?(:vpc_connector) - end - end - - # Describes EventTrigger, used to request events be sent from another - # service. - class EventTrigger - include Google::Apis::Core::Hashable - - # `event_type` names contain the service that is sending an event and the - # kind of event that was fired. Must be of the form - # `providers/*/eventTypes/*` e.g. Directly handle a Message published to - # Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`. - # Handle an object changing in Google Cloud Storage: - # `providers/cloud.storage/eventTypes/object.change` - # Handle a write to the Firebase Realtime Database: - # `providers/google.firebase.database/eventTypes/ref.write` - # Corresponds to the JSON property `eventType` - # @return [String] - attr_accessor :event_type - - # Describes the policy in case of function's execution failure. - # If empty, then defaults to ignoring failures (i.e. not retrying them). - # Corresponds to the JSON property `failurePolicy` - # @return [Google::Apis::CloudfunctionsV1beta2::FailurePolicy] - attr_accessor :failure_policy - - # Which instance of the source's service should send events. E.g. for Pub/Sub - # this would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud - # Storage this would be a bucket at `projects/*/buckets/*`. For any source - # that only supports one instance per-project, this should be the name of the - # project (`projects/*`) - # Corresponds to the JSON property `resource` - # @return [String] - attr_accessor :resource - - # The hostname of the service that should be observed. - # If no string is provided, the default service implementing the API will - # be used. For example, `storage.googleapis.com` is the default for all - # event types in the `google.storage` namespace. - # Corresponds to the JSON property `service` - # @return [String] - attr_accessor :service - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @event_type = args[:event_type] if args.key?(:event_type) - @failure_policy = args[:failure_policy] if args.key?(:failure_policy) - @resource = args[:resource] if args.key?(:resource) - @service = args[:service] if args.key?(:service) - end - end - - # Describes the policy in case of function's execution failure. - # If empty, then defaults to ignoring failures (i.e. not retrying them). - class FailurePolicy - include Google::Apis::Core::Hashable - - # Describes the retry policy in case of function's execution failure. - # A function execution will be retried on any failure. - # A failed execution will be retried up to 7 days with an exponential backoff - # (capped at 10 seconds). - # Retried execution is charged as any other execution. - # Corresponds to the JSON property `retry` - # @return [Google::Apis::CloudfunctionsV1beta2::Retry] - attr_accessor :retry - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @retry = args[:retry] if args.key?(:retry) - end - end - - # Request of `GenerateDownloadUrl` method. - class GenerateDownloadUrlRequest - include Google::Apis::Core::Hashable - - # The optional version of function. - # Corresponds to the JSON property `versionId` - # @return [Fixnum] - attr_accessor :version_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version_id = args[:version_id] if args.key?(:version_id) - end - end - - # Response of `GenerateDownloadUrl` method. - class GenerateDownloadUrlResponse - include Google::Apis::Core::Hashable - - # The generated Google Cloud Storage signed URL that should be used for - # function source code download. - # Corresponds to the JSON property `downloadUrl` - # @return [String] - attr_accessor :download_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @download_url = args[:download_url] if args.key?(:download_url) - end - end - - # Request of `GenerateUploadUrl` method. - class GenerateUploadUrlRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response of `GenerateUploadUrl` method. - class GenerateUploadUrlResponse - include Google::Apis::Core::Hashable - - # The generated Google Cloud Storage signed URL that should be used for a - # function source code upload. The uploaded file should be a zip archive - # which contains a function. - # Corresponds to the JSON property `uploadUrl` - # @return [String] - attr_accessor :upload_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @upload_url = args[:upload_url] if args.key?(:upload_url) - end - end - - # Describes HTTPSTrigger, could be used to connect web hooks to function. - class HttpsTrigger - include Google::Apis::Core::Hashable - - # Output only. The deployed url for the function. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url = args[:url] if args.key?(:url) - end - end - - # Response for the `ListFunctions` method. - class ListFunctionsResponse - include Google::Apis::Core::Hashable - - # The functions that match the request. - # Corresponds to the JSON property `functions` - # @return [Array] - attr_accessor :functions - - # If not empty, indicates that there may be more functions that match - # the request; this value should be passed in a new - # google.cloud.functions.v1beta2.ListFunctionsRequest - # to get more functions. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Locations that could not be reached. The response does not include any - # functions from these locations. - # Corresponds to the JSON property `unreachable` - # @return [Array] - attr_accessor :unreachable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @functions = args[:functions] if args.key?(:functions) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @unreachable = args[:unreachable] if args.key?(:unreachable) - end - end - - # The response message for Locations.ListLocations. - class ListLocationsResponse - include Google::Apis::Core::Hashable - - # A list of locations that matches the specified filter in the request. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @locations = args[:locations] if args.key?(:locations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @operations = args[:operations] if args.key?(:operations) - end - end - - # A resource that represents Google Cloud Platform location. - class Location - include Google::Apis::Core::Hashable - - # The friendly name for this location, typically a nearby city name. - # For example, "Tokyo". - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # The canonical id for this location. For example: `"us-east1"`. - # Corresponds to the JSON property `locationId` - # @return [String] - attr_accessor :location_id - - # Service-specific metadata. For example the available capacity at the given - # location. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # Resource name for the location, which may vary between implementations. - # For example: `"projects/example-project/locations/us-east1"` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @labels = args[:labels] if args.key?(:labels) - @location_id = args[:location_id] if args.key?(:location_id) - @metadata = args[:metadata] if args.key?(:metadata) - @name = args[:name] if args.key?(:name) - end - end - - # This resource represents a long-running operation that is the result of a - # network API call. - class Operation - include Google::Apis::Core::Hashable - - # If the value is `false`, it means the operation is still in progress. - # If `true`, the operation is completed, and either `error` or `response` is - # available. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). - # Corresponds to the JSON property `error` - # @return [Google::Apis::CloudfunctionsV1beta2::Status] - attr_accessor :error - - # Service-specific metadata associated with the operation. It typically - # contains progress information and common metadata such as create time. - # Some services might not provide such metadata. Any method that returns a - # long-running operation should document the metadata type, if any. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # The server-assigned name, which is only unique within the same service that - # originally returns it. If you use the default HTTP mapping, the - # `name` should be a resource name ending with `operations/`unique_id``. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The normal response of the operation in case of success. If the original - # method returns no data on success, such as `Delete`, the response is - # `google.protobuf.Empty`. If the original method is standard - # `Get`/`Create`/`Update`, the response should be the resource. For other - # methods, the response should have the type `XxxResponse`, where `Xxx` - # is the original method name. For example, if the original method name - # is `TakeSnapshot()`, the inferred response type is - # `TakeSnapshotResponse`. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @done = args[:done] if args.key?(:done) - @error = args[:error] if args.key?(:error) - @metadata = args[:metadata] if args.key?(:metadata) - @name = args[:name] if args.key?(:name) - @response = args[:response] if args.key?(:response) - end - end - - # Metadata describing an Operation - class OperationMetadataV1 - include Google::Apis::Core::Hashable - - # The Cloud Build ID of the function created or updated by an API call. - # This field is only populated for Create and Update operations. - # Corresponds to the JSON property `buildId` - # @return [String] - attr_accessor :build_id - - # The original request that started the operation. - # Corresponds to the JSON property `request` - # @return [Hash] - attr_accessor :request - - # Target of the operation - for example - # projects/project-1/locations/region-1/functions/function-1 - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # Type of operation. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The last update timestamp of the operation. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Version id of the function created or updated by an API call. - # This field is only populated for Create and Update operations. - # Corresponds to the JSON property `versionId` - # @return [Fixnum] - attr_accessor :version_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @build_id = args[:build_id] if args.key?(:build_id) - @request = args[:request] if args.key?(:request) - @target = args[:target] if args.key?(:target) - @type = args[:type] if args.key?(:type) - @update_time = args[:update_time] if args.key?(:update_time) - @version_id = args[:version_id] if args.key?(:version_id) - end - end - - # Metadata describing an Operation - class OperationMetadataV1Beta2 - include Google::Apis::Core::Hashable - - # The original request that started the operation. - # Corresponds to the JSON property `request` - # @return [Hash] - attr_accessor :request - - # Target of the operation - for example - # projects/project-1/locations/region-1/functions/function-1 - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - - # Type of operation. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The last update timestamp of the operation. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Version id of the function created or updated by an API call. - # This field is only populated for Create and Update operations. - # Corresponds to the JSON property `versionId` - # @return [Fixnum] - attr_accessor :version_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @request = args[:request] if args.key?(:request) - @target = args[:target] if args.key?(:target) - @type = args[:type] if args.key?(:type) - @update_time = args[:update_time] if args.key?(:update_time) - @version_id = args[:version_id] if args.key?(:version_id) - end - end - - # Describes the retry policy in case of function's execution failure. - # A function execution will be retried on any failure. - # A failed execution will be retried up to 7 days with an exponential backoff - # (capped at 10 seconds). - # Retried execution is charged as any other execution. - class Retry - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Describes the location of the function source in a remote repository. - class SourceRepository - include Google::Apis::Core::Hashable - - # The name of the branch from which the function should be fetched. - # Corresponds to the JSON property `branch` - # @return [String] - attr_accessor :branch - - # Output only. The id of the revision that was resolved at the moment of - # function creation or update. For example when a user deployed from a - # branch, it will be the revision id of the latest change on this branch at - # that time. If user deployed from revision then this value will be always - # equal to the revision specified by the user. - # Corresponds to the JSON property `deployedRevision` - # @return [String] - attr_accessor :deployed_revision - - # URL to the hosted repository where the function is defined. Only paths in - # https://source.developers.google.com domain are supported. The path should - # contain the name of the repository. - # Corresponds to the JSON property `repositoryUrl` - # @return [String] - attr_accessor :repository_url - - # The id of the revision that captures the state of the repository from - # which the function should be fetched. - # Corresponds to the JSON property `revision` - # @return [String] - attr_accessor :revision - - # The path within the repository where the function is defined. The path - # should point to the directory where Cloud Functions files are located. Use - # "/" if the function is defined directly in the root directory of a - # repository. - # Corresponds to the JSON property `sourcePath` - # @return [String] - attr_accessor :source_path - - # The name of the tag that captures the state of the repository from - # which the function should be fetched. - # Corresponds to the JSON property `tag` - # @return [String] - attr_accessor :tag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @branch = args[:branch] if args.key?(:branch) - @deployed_revision = args[:deployed_revision] if args.key?(:deployed_revision) - @repository_url = args[:repository_url] if args.key?(:repository_url) - @revision = args[:revision] if args.key?(:revision) - @source_path = args[:source_path] if args.key?(:source_path) - @tag = args[:tag] if args.key?(:tag) - end - end - - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). - class Status - include Google::Apis::Core::Hashable - - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # A list of messages that carry the error details. There is a common set of - # message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - - # A developer-facing error message, which should be in English. Any - # user-facing error message should be localized and sent in the - # google.rpc.Status.details field, or localized by the client. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @details = args[:details] if args.key?(:details) - @message = args[:message] if args.key?(:message) - end - end - end - end -end diff --git a/generated/google/apis/cloudfunctions_v1beta2/representations.rb b/generated/google/apis/cloudfunctions_v1beta2/representations.rb deleted file mode 100644 index 25e604281..000000000 --- a/generated/google/apis/cloudfunctions_v1beta2/representations.rb +++ /dev/null @@ -1,346 +0,0 @@ -# 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 'date' -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 CloudfunctionsV1beta2 - - class CallFunctionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CallFunctionResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CloudFunction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EventTrigger - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FailurePolicy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenerateDownloadUrlRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenerateDownloadUrlResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenerateUploadUrlRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenerateUploadUrlResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpsTrigger - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListFunctionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLocationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Location - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OperationMetadataV1 - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OperationMetadataV1Beta2 - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Retry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceRepository - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CallFunctionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, as: 'data' - end - end - - class CallFunctionResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error' - property :execution_id, as: 'executionId' - property :result, as: 'result' - end - end - - class CloudFunction - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :available_memory_mb, as: 'availableMemoryMb' - property :entry_point, as: 'entryPoint' - hash :environment_variables, as: 'environmentVariables' - property :event_trigger, as: 'eventTrigger', class: Google::Apis::CloudfunctionsV1beta2::EventTrigger, decorator: Google::Apis::CloudfunctionsV1beta2::EventTrigger::Representation - - property :https_trigger, as: 'httpsTrigger', class: Google::Apis::CloudfunctionsV1beta2::HttpsTrigger, decorator: Google::Apis::CloudfunctionsV1beta2::HttpsTrigger::Representation - - hash :labels, as: 'labels' - property :latest_operation, as: 'latestOperation' - property :max_instances, as: 'maxInstances' - property :name, as: 'name' - property :network, as: 'network' - property :runtime, as: 'runtime' - property :service_account, as: 'serviceAccount' - property :source_archive_url, as: 'sourceArchiveUrl' - property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1beta2::SourceRepository, decorator: Google::Apis::CloudfunctionsV1beta2::SourceRepository::Representation - - property :source_repository_url, as: 'sourceRepositoryUrl' - property :source_upload_url, as: 'sourceUploadUrl' - property :status, as: 'status' - property :timeout, as: 'timeout' - property :update_time, as: 'updateTime' - property :version_id, :numeric_string => true, as: 'versionId' - property :vpc_connector, as: 'vpcConnector' - end - end - - class EventTrigger - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :event_type, as: 'eventType' - property :failure_policy, as: 'failurePolicy', class: Google::Apis::CloudfunctionsV1beta2::FailurePolicy, decorator: Google::Apis::CloudfunctionsV1beta2::FailurePolicy::Representation - - property :resource, as: 'resource' - property :service, as: 'service' - end - end - - class FailurePolicy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :retry, as: 'retry', class: Google::Apis::CloudfunctionsV1beta2::Retry, decorator: Google::Apis::CloudfunctionsV1beta2::Retry::Representation - - end - end - - class GenerateDownloadUrlRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version_id, :numeric_string => true, as: 'versionId' - end - end - - class GenerateDownloadUrlResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :download_url, as: 'downloadUrl' - end - end - - class GenerateUploadUrlRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class GenerateUploadUrlResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :upload_url, as: 'uploadUrl' - end - end - - class HttpsTrigger - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - end - end - - class ListFunctionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :functions, as: 'functions', class: Google::Apis::CloudfunctionsV1beta2::CloudFunction, decorator: Google::Apis::CloudfunctionsV1beta2::CloudFunction::Representation - - property :next_page_token, as: 'nextPageToken' - collection :unreachable, as: 'unreachable' - end - end - - class ListLocationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :locations, as: 'locations', class: Google::Apis::CloudfunctionsV1beta2::Location, decorator: Google::Apis::CloudfunctionsV1beta2::Location::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :operations, as: 'operations', class: Google::Apis::CloudfunctionsV1beta2::Operation, decorator: Google::Apis::CloudfunctionsV1beta2::Operation::Representation - - end - end - - class Location - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - hash :labels, as: 'labels' - property :location_id, as: 'locationId' - hash :metadata, as: 'metadata' - property :name, as: 'name' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :done, as: 'done' - property :error, as: 'error', class: Google::Apis::CloudfunctionsV1beta2::Status, decorator: Google::Apis::CloudfunctionsV1beta2::Status::Representation - - hash :metadata, as: 'metadata' - property :name, as: 'name' - hash :response, as: 'response' - end - end - - class OperationMetadataV1 - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :build_id, as: 'buildId' - hash :request, as: 'request' - property :target, as: 'target' - property :type, as: 'type' - property :update_time, as: 'updateTime' - property :version_id, :numeric_string => true, as: 'versionId' - end - end - - class OperationMetadataV1Beta2 - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :request, as: 'request' - property :target, as: 'target' - property :type, as: 'type' - property :update_time, as: 'updateTime' - property :version_id, :numeric_string => true, as: 'versionId' - end - end - - class Retry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SourceRepository - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :branch, as: 'branch' - property :deployed_revision, as: 'deployedRevision' - property :repository_url, as: 'repositoryUrl' - property :revision, as: 'revision' - property :source_path, as: 'sourcePath' - property :tag, as: 'tag' - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :details, as: 'details' - property :message, as: 'message' - end - end - end - end -end diff --git a/generated/google/apis/cloudfunctions_v1beta2/service.rb b/generated/google/apis/cloudfunctions_v1beta2/service.rb deleted file mode 100644 index 5d28d510f..000000000 --- a/generated/google/apis/cloudfunctions_v1beta2/service.rb +++ /dev/null @@ -1,486 +0,0 @@ -# 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 CloudfunctionsV1beta2 - # Cloud Functions API - # - # Manages lightweight user-provided functions executed in response to events. - # - # @example - # require 'google/apis/cloudfunctions_v1beta2' - # - # Cloudfunctions = Google::Apis::CloudfunctionsV1beta2 # Alias the module - # service = Cloudfunctions::CloudFunctionsService.new - # - # @see https://cloud.google.com/functions - class CloudFunctionsService < 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://cloudfunctions.googleapis.com/', '') - @batch_path = 'batch' - end - - # Gets the latest state of a long-running operation. Clients can use this - # method to poll the operation result at intervals as recommended by the API - # service. - # @param [String] name - # The name of the operation resource. - # @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::CloudfunctionsV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::Operation] - # - # @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_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta2/{+name}', options) - command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::Operation - 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 - - # Lists operations that match the specified filter in the request. If the - # server doesn't support this method, it returns `UNIMPLEMENTED`. - # NOTE: the `name` binding allows API services to override the binding - # to use different resource name schemes, such as `users/*/operations`. To - # override the binding, API services can add a binding such as - # `"/v1/`name=users/*`/operations"` to their service configuration. - # For backwards compatibility, the default name includes the operations - # collection id, however overriding users must ensure the name binding - # is the parent resource, without the operations collection id. - # @param [String] filter - # Required. A filter for matching the requested operations.

The - # supported formats of filter are:
To query for a specific function: < - # code>project:*,location:*,function:*
To query for all of the latest - # operations for a project: project:*,latest:true - # @param [String] name - # Must not be set. - # @param [Fixnum] page_size - # The maximum number of records that should be returned.
Requested page size - # cannot exceed 100. If not set, the default page size is 100.

- # Pagination is only supported when querying for a specific function. - # @param [String] page_token - # Token identifying which result to start with, which is returned by a previous - # list call.

Pagination is only supported when querying for a specific - # function. - # @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::CloudfunctionsV1beta2::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::ListOperationsResponse] - # - # @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_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta2/operations', options) - command.response_representation = Google::Apis::CloudfunctionsV1beta2::ListOperationsResponse::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::ListOperationsResponse - command.query['filter'] = filter unless filter.nil? - command.query['name'] = name unless name.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 - - # 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::CloudfunctionsV1beta2::ListLocationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::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, 'v1beta2/{+name}/locations', options) - command.response_representation = Google::Apis::CloudfunctionsV1beta2::ListLocationsResponse::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::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 - - # Synchronously invokes a deployed Cloud Function. To be used for testing - # purposes as very limited traffic is allowed. For more information on - # the actual limits refer to [API Calls]( - # https://cloud.google.com/functions/quotas#rate_limits). - # @param [String] name - # Required. The name of the function to be called. - # @param [Google::Apis::CloudfunctionsV1beta2::CallFunctionRequest] call_function_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::CloudfunctionsV1beta2::CallFunctionResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::CallFunctionResponse] - # - # @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 call_function(name, call_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta2/{+name}:call', options) - command.request_representation = Google::Apis::CloudfunctionsV1beta2::CallFunctionRequest::Representation - command.request_object = call_function_request_object - command.response_representation = Google::Apis::CloudfunctionsV1beta2::CallFunctionResponse::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::CallFunctionResponse - 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 function. If a function with the given name already exists in - # the specified project, the long running operation will return - # `ALREADY_EXISTS` error. - # @param [String] location - # Required. The project and location in which the function should be created, - # specified - # in the format `projects/*/locations/*` - # @param [Google::Apis::CloudfunctionsV1beta2::CloudFunction] cloud_function_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::CloudfunctionsV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::Operation] - # - # @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_function(location, cloud_function_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta2/{+location}/functions', options) - command.request_representation = Google::Apis::CloudfunctionsV1beta2::CloudFunction::Representation - command.request_object = cloud_function_object - command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::Operation - command.params['location'] = location unless location.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a function with the given name from the specified project. If the - # given function is used by some trigger, the trigger will be updated to - # remove this function. - # @param [String] name - # Required. The name of the function which should be deleted. - # @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::CloudfunctionsV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::Operation] - # - # @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_function(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1beta2/{+name}', options) - command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::Operation - 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 - - # Returns a signed URL for downloading deployed function source code. - # The URL is only valid for a limited period and should be used within - # minutes after generation. - # For more information about the signed URL usage see: - # https://cloud.google.com/storage/docs/access-control/signed-urls - # @param [String] name - # The name of function for which source code Google Cloud Storage signed - # URL should be generated. - # @param [Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlRequest] generate_download_url_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::CloudfunctionsV1beta2::GenerateDownloadUrlResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlResponse] - # - # @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 generate_function_download_url(name, generate_download_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta2/{+name}:generateDownloadUrl', options) - command.request_representation = Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlRequest::Representation - command.request_object = generate_download_url_request_object - command.response_representation = Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlResponse::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlResponse - 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 - - # Returns a signed URL for uploading a function source code. - # For more information about the signed URL usage see: - # https://cloud.google.com/storage/docs/access-control/signed-urls - # Once the function source code upload is complete, the used signed - # URL should be provided in CreateFunction or UpdateFunction request - # as a reference to the function source code. - # When uploading source code to the generated signed URL, please follow - # these restrictions: - # * Source file type should be a zip file. - # * Source file size should not exceed 100MB limit. - # * No credentials should be attached - the signed URLs provide access to the - # target bucket using internal service identity; if credentials were - # attached, the identity from the credentials would be used, but that - # identity does not have permissions to upload files to the URL. - # When making a HTTP PUT request, these two headers need to be specified: - # * `content-type: application/zip` - # * `x-goog-content-length-range: 0,104857600` - # And this header SHOULD NOT be specified: - # * `Authorization: Bearer YOUR_TOKEN` - # @param [String] parent - # The project and location in which the Google Cloud Storage signed URL - # should be generated, specified in the format `projects/*/locations/*`. - # @param [Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlRequest] generate_upload_url_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::CloudfunctionsV1beta2::GenerateUploadUrlResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlResponse] - # - # @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 generate_function_upload_url(parent, generate_upload_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta2/{+parent}/functions:generateUploadUrl', options) - command.request_representation = Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlRequest::Representation - command.request_object = generate_upload_url_request_object - command.response_representation = Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlResponse::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlResponse - 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 - - # Returns a function with the given name from the requested project. - # @param [String] name - # Required. The name of the function which details should be obtained. - # @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::CloudfunctionsV1beta2::CloudFunction] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::CloudFunction] - # - # @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_function(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta2/{+name}', options) - command.response_representation = Google::Apis::CloudfunctionsV1beta2::CloudFunction::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::CloudFunction - 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 - - # Returns a list of functions that belong to the requested project. - # @param [String] location - # Required. The project and location from which the function should be listed, - # specified in the format `projects/*/locations/*` - # If you want to list functions in all locations, use "-" in place of a - # location. When listing functions in all locations, if one or more - # location(s) are unreachable, the response will contain functions from all - # reachable locations along with the names of any unreachable locations. - # @param [Fixnum] page_size - # Maximum number of functions to return per call. - # @param [String] page_token - # The value returned by the last - # `ListFunctionsResponse`; indicates that - # this is a continuation of a prior `ListFunctions` call, and that the - # system should return the next page of data. - # @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::CloudfunctionsV1beta2::ListFunctionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::ListFunctionsResponse] - # - # @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_functions(location, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta2/{+location}/functions', options) - command.response_representation = Google::Apis::CloudfunctionsV1beta2::ListFunctionsResponse::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::ListFunctionsResponse - command.params['location'] = location unless location.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 - - # Updates existing function. - # @param [String] name - # Required. The name of the function to be updated. - # @param [Google::Apis::CloudfunctionsV1beta2::CloudFunction] cloud_function_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::CloudfunctionsV1beta2::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudfunctionsV1beta2::Operation] - # - # @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 update_project_location_function(name, cloud_function_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta2/{+name}', options) - command.request_representation = Google::Apis::CloudfunctionsV1beta2::CloudFunction::Representation - command.request_object = cloud_function_object - command.response_representation = Google::Apis::CloudfunctionsV1beta2::Operation::Representation - command.response_class = Google::Apis::CloudfunctionsV1beta2::Operation - 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 - - 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 diff --git a/generated/google/apis/cloudshell_v1alpha1.rb b/generated/google/apis/cloudshell_v1alpha1.rb index 059d977ed..d6e6bdee6 100644 --- a/generated/google/apis/cloudshell_v1alpha1.rb +++ b/generated/google/apis/cloudshell_v1alpha1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/shell/docs/ module CloudshellV1alpha1 VERSION = 'V1alpha1' - REVISION = '20200512' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudshell_v1alpha1/classes.rb b/generated/google/apis/cloudshell_v1alpha1/classes.rb index 54cadd309..b575ee8ba 100644 --- a/generated/google/apis/cloudshell_v1alpha1/classes.rb +++ b/generated/google/apis/cloudshell_v1alpha1/classes.rb @@ -22,7 +22,8 @@ module Google module Apis module CloudshellV1alpha1 - # Request message for AuthorizeEnvironment. + # Request message for + # AuthorizeEnvironment. class AuthorizeEnvironmentRequest include Google::Apis::Core::Hashable @@ -54,7 +55,8 @@ module Google end end - # Request message for CreatePublicKey. + # Request message for + # CreatePublicKey. class CreatePublicKeyRequest include Google::Apis::Core::Hashable @@ -319,7 +321,8 @@ module Google end end - # Request message for StartEnvironment. + # Request message for + # StartEnvironment. class StartEnvironmentRequest include Google::Apis::Core::Hashable @@ -348,8 +351,8 @@ module Google end # Message included in the response field of operations returned from - # StartEnvironment once the - # operation is complete. + # StartEnvironment + # once the operation is complete. class StartEnvironmentResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb index c4b902c0c..ef0f5ec3d 100644 --- a/generated/google/apis/gmail_v1.rb +++ b/generated/google/apis/gmail_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/gmail/api/ module GmailV1 VERSION = 'V1' - REVISION = '20200713' + REVISION = '20200720' # Read, compose, send, and permanently delete all your email from Gmail AUTH_SCOPE = 'https://mail.google.com/' diff --git a/generated/google/apis/gmail_v1/classes.rb b/generated/google/apis/gmail_v1/classes.rb index 61c1fca0d..35f6105e3 100644 --- a/generated/google/apis/gmail_v1/classes.rb +++ b/generated/google/apis/gmail_v1/classes.rb @@ -537,8 +537,8 @@ module Google # @return [String] attr_accessor :label_list_visibility - # The visibility of the label in the message list in the - # Gmail web interface. + # The visibility of messages with this label in the message list + # in the Gmail web interface. # @mutable gmail.users.labels.create gmail.users.labels.update # Corresponds to the JSON property `messageListVisibility` # @return [String] diff --git a/generated/google/apis/gmail_v1/service.rb b/generated/google/apis/gmail_v1/service.rb index b9539d553..b04211038 100644 --- a/generated/google/apis/gmail_v1/service.rb +++ b/generated/google/apis/gmail_v1/service.rb @@ -767,7 +767,8 @@ module Google # @param [String] format # The format to return the message in. # @param [Array, String] metadata_headers - # When given and format is METADATA, only include headers specified. + # When given and format is `METADATA`, only include headers + # specified. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/osconfig_v1.rb b/generated/google/apis/osconfig_v1.rb index 9be18b920..7a59fa8e1 100644 --- a/generated/google/apis/osconfig_v1.rb +++ b/generated/google/apis/osconfig_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/ module OsconfigV1 VERSION = 'V1' - REVISION = '20200706' + REVISION = '20200714' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/osconfig_v1/classes.rb b/generated/google/apis/osconfig_v1/classes.rb index 6c1c93e74..9435f8c77 100644 --- a/generated/google/apis/osconfig_v1/classes.rb +++ b/generated/google/apis/osconfig_v1/classes.rb @@ -199,6 +199,12 @@ module Google # @return [Google::Apis::OsconfigV1::PatchConfig] attr_accessor :patch_config + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + # Corresponds to the JSON property `rollout` + # @return [Google::Apis::OsconfigV1::PatchRollout] + attr_accessor :rollout + def initialize(**args) update!(**args) end @@ -211,6 +217,34 @@ module Google @duration = args[:duration] if args.key?(:duration) @instance_filter = args[:instance_filter] if args.key?(:instance_filter) @patch_config = args[:patch_config] if args.key?(:patch_config) + @rollout = args[:rollout] if args.key?(:rollout) + end + end + + # Message encapsulating a value that can be either absolute ("fixed") or + # relative ("percent") to a value. + class FixedOrPercent + include Google::Apis::Core::Hashable + + # Specifies a fixed value. + # Corresponds to the JSON property `fixed` + # @return [Fixnum] + attr_accessor :fixed + + # Specifies the relative value defined as a percentage, which will be + # multiplied by a reference value. + # Corresponds to the JSON property `percent` + # @return [Fixnum] + attr_accessor :percent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fixed = args[:fixed] if args.key?(:fixed) + @percent = args[:percent] if args.key?(:percent) end end @@ -517,6 +551,12 @@ module Google # @return [Google::Apis::OsconfigV1::RecurringSchedule] attr_accessor :recurring_schedule + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + # Corresponds to the JSON property `rollout` + # @return [Google::Apis::OsconfigV1::PatchRollout] + attr_accessor :rollout + # Output only. Time the patch deployment was last updated. Timestamp is in # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. # Corresponds to the JSON property `updateTime` @@ -538,6 +578,7 @@ module Google @one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule) @patch_config = args[:patch_config] if args.key?(:patch_config) @recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule) + @rollout = args[:rollout] if args.key?(:rollout) @update_time = args[:update_time] if args.key?(:update_time) end end @@ -709,6 +750,12 @@ module Google # @return [Float] attr_accessor :percent_complete + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + # Corresponds to the JSON property `rollout` + # @return [Google::Apis::OsconfigV1::PatchRollout] + attr_accessor :rollout + # The current state of the PatchJob. # Corresponds to the JSON property `state` # @return [String] @@ -737,6 +784,7 @@ module Google @patch_config = args[:patch_config] if args.key?(:patch_config) @patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment) @percent_complete = args[:percent_complete] if args.key?(:percent_complete) + @rollout = args[:rollout] if args.key?(:rollout) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end @@ -898,6 +946,33 @@ module Google end end + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + class PatchRollout + include Google::Apis::Core::Hashable + + # Message encapsulating a value that can be either absolute ("fixed") or + # relative ("percent") to a value. + # Corresponds to the JSON property `disruptionBudget` + # @return [Google::Apis::OsconfigV1::FixedOrPercent] + attr_accessor :disruption_budget + + # Mode of the patch rollout. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget) + @mode = args[:mode] if args.key?(:mode) + end + end + # Sets the time for recurring patch deployments. class RecurringSchedule include Google::Apis::Core::Hashable diff --git a/generated/google/apis/osconfig_v1/representations.rb b/generated/google/apis/osconfig_v1/representations.rb index acf8fd42c..69177d359 100644 --- a/generated/google/apis/osconfig_v1/representations.rb +++ b/generated/google/apis/osconfig_v1/representations.rb @@ -58,6 +58,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FixedOrPercent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GcsObject class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,6 +148,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PatchRollout + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RecurringSchedule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -243,6 +255,16 @@ module Google property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1::PatchConfig, decorator: Google::Apis::OsconfigV1::PatchConfig::Representation + property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation + + end + end + + class FixedOrPercent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fixed, as: 'fixed' + property :percent, as: 'percent' end end @@ -341,6 +363,8 @@ module Google property :recurring_schedule, as: 'recurringSchedule', class: Google::Apis::OsconfigV1::RecurringSchedule, decorator: Google::Apis::OsconfigV1::RecurringSchedule::Representation + property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation + property :update_time, as: 'updateTime' end end @@ -382,6 +406,8 @@ module Google property :patch_deployment, as: 'patchDeployment' property :percent_complete, as: 'percentComplete' + property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::PatchRollout, decorator: Google::Apis::OsconfigV1::PatchRollout::Representation + property :state, as: 'state' property :update_time, as: 'updateTime' end @@ -419,6 +445,15 @@ module Google end end + class PatchRollout + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1::FixedOrPercent, decorator: Google::Apis::OsconfigV1::FixedOrPercent::Representation + + property :mode, as: 'mode' + end + end + class RecurringSchedule # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/osconfig_v1beta.rb b/generated/google/apis/osconfig_v1beta.rb index 1094c075e..e232374d9 100644 --- a/generated/google/apis/osconfig_v1beta.rb +++ b/generated/google/apis/osconfig_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/ module OsconfigV1beta VERSION = 'V1beta' - REVISION = '20200706' + REVISION = '20200714' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/osconfig_v1beta/classes.rb b/generated/google/apis/osconfig_v1beta/classes.rb index acdc081ce..cdbc3c5dc 100644 --- a/generated/google/apis/osconfig_v1beta/classes.rb +++ b/generated/google/apis/osconfig_v1beta/classes.rb @@ -503,6 +503,12 @@ module Google # @return [Google::Apis::OsconfigV1beta::PatchConfig] attr_accessor :patch_config + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + # Corresponds to the JSON property `rollout` + # @return [Google::Apis::OsconfigV1beta::PatchRollout] + attr_accessor :rollout + def initialize(**args) update!(**args) end @@ -515,6 +521,34 @@ module Google @duration = args[:duration] if args.key?(:duration) @instance_filter = args[:instance_filter] if args.key?(:instance_filter) @patch_config = args[:patch_config] if args.key?(:patch_config) + @rollout = args[:rollout] if args.key?(:rollout) + end + end + + # Message encapsulating a value that can be either absolute ("fixed") or + # relative ("percent") to a value. + class FixedOrPercent + include Google::Apis::Core::Hashable + + # Specifies a fixed value. + # Corresponds to the JSON property `fixed` + # @return [Fixnum] + attr_accessor :fixed + + # Specifies the relative value defined as a percentage, which will be + # multiplied by a reference value. + # Corresponds to the JSON property `percent` + # @return [Fixnum] + attr_accessor :percent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fixed = args[:fixed] if args.key?(:fixed) + @percent = args[:percent] if args.key?(:percent) end end @@ -1095,6 +1129,12 @@ module Google # @return [Google::Apis::OsconfigV1beta::RecurringSchedule] attr_accessor :recurring_schedule + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + # Corresponds to the JSON property `rollout` + # @return [Google::Apis::OsconfigV1beta::PatchRollout] + attr_accessor :rollout + # Output only. Time the patch deployment was last updated. Timestamp is in # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. # Corresponds to the JSON property `updateTime` @@ -1116,6 +1156,7 @@ module Google @one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule) @patch_config = args[:patch_config] if args.key?(:patch_config) @recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule) + @rollout = args[:rollout] if args.key?(:rollout) @update_time = args[:update_time] if args.key?(:update_time) end end @@ -1282,6 +1323,12 @@ module Google # @return [Float] attr_accessor :percent_complete + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + # Corresponds to the JSON property `rollout` + # @return [Google::Apis::OsconfigV1beta::PatchRollout] + attr_accessor :rollout + # The current state of the PatchJob. # Corresponds to the JSON property `state` # @return [String] @@ -1310,6 +1357,7 @@ module Google @patch_config = args[:patch_config] if args.key?(:patch_config) @patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment) @percent_complete = args[:percent_complete] if args.key?(:percent_complete) + @rollout = args[:rollout] if args.key?(:rollout) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end @@ -1471,6 +1519,33 @@ module Google end end + # Patch rollout configuration specifications. Contains details on the + # concurrency control when applying patch(es) to all targeted VMs. + class PatchRollout + include Google::Apis::Core::Hashable + + # Message encapsulating a value that can be either absolute ("fixed") or + # relative ("percent") to a value. + # Corresponds to the JSON property `disruptionBudget` + # @return [Google::Apis::OsconfigV1beta::FixedOrPercent] + attr_accessor :disruption_budget + + # Mode of the patch rollout. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget) + @mode = args[:mode] if args.key?(:mode) + end + end + # Sets the time for recurring patch deployments. class RecurringSchedule include Google::Apis::Core::Hashable diff --git a/generated/google/apis/osconfig_v1beta/representations.rb b/generated/google/apis/osconfig_v1beta/representations.rb index 426bf7efc..adaa51bf2 100644 --- a/generated/google/apis/osconfig_v1beta/representations.rb +++ b/generated/google/apis/osconfig_v1beta/representations.rb @@ -106,6 +106,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FixedOrPercent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GcsObject class Representation < Google::Apis::Core::JsonRepresentation; end @@ -226,6 +232,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PatchRollout + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RecurringSchedule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -490,6 +502,16 @@ module Google property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1beta::PatchConfig, decorator: Google::Apis::OsconfigV1beta::PatchConfig::Representation + property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation + + end + end + + class FixedOrPercent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fixed, as: 'fixed' + property :percent, as: 'percent' end end @@ -656,6 +678,8 @@ module Google property :recurring_schedule, as: 'recurringSchedule', class: Google::Apis::OsconfigV1beta::RecurringSchedule, decorator: Google::Apis::OsconfigV1beta::RecurringSchedule::Representation + property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation + property :update_time, as: 'updateTime' end end @@ -697,6 +721,8 @@ module Google property :patch_deployment, as: 'patchDeployment' property :percent_complete, as: 'percentComplete' + property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation + property :state, as: 'state' property :update_time, as: 'updateTime' end @@ -734,6 +760,15 @@ module Google end end + class PatchRollout + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1beta::FixedOrPercent, decorator: Google::Apis::OsconfigV1beta::FixedOrPercent::Representation + + property :mode, as: 'mode' + end + end + class RecurringSchedule # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/pagespeedonline_v5.rb b/generated/google/apis/pagespeedonline_v5.rb index 7a942abb3..c5ffae9bc 100644 --- a/generated/google/apis/pagespeedonline_v5.rb +++ b/generated/google/apis/pagespeedonline_v5.rb @@ -28,7 +28,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v5/about module PagespeedonlineV5 VERSION = 'V5' - REVISION = '20200608' + REVISION = '20200721' # Associate you with your personal info on Google PENID = 'openid' diff --git a/generated/google/apis/remotebuildexecution_v1.rb b/generated/google/apis/remotebuildexecution_v1.rb index 69b247e80..01b2b89b9 100644 --- a/generated/google/apis/remotebuildexecution_v1.rb +++ b/generated/google/apis/remotebuildexecution_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1 VERSION = 'V1' - REVISION = '20200714' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1alpha.rb b/generated/google/apis/remotebuildexecution_v1alpha.rb index 727b6097b..97224e2a6 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1alpha VERSION = 'V1alpha' - REVISION = '20200714' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v2.rb b/generated/google/apis/remotebuildexecution_v2.rb index 6916d75da..e7f497ba6 100644 --- a/generated/google/apis/remotebuildexecution_v2.rb +++ b/generated/google/apis/remotebuildexecution_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV2 VERSION = 'V2' - REVISION = '20200714' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/run_v1.rb b/generated/google/apis/run_v1.rb index 34cd8ef94..21816d6bc 100644 --- a/generated/google/apis/run_v1.rb +++ b/generated/google/apis/run_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/run/ module RunV1 VERSION = 'V1' - REVISION = '20200706' + REVISION = '20200720' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/run_v1/classes.rb b/generated/google/apis/run_v1/classes.rb index c8cb74612..2da874e52 100644 --- a/generated/google/apis/run_v1/classes.rb +++ b/generated/google/apis/run_v1/classes.rb @@ -41,53 +41,21 @@ module Google end end - # Specifies the audit configuration for a service. - # The configuration determines which permission types are logged, and what - # identities, if any, are exempted from logging. - # An AuditConfig must have one or more AuditLogConfigs. - # If there are AuditConfigs for both `allServices` and a specific service, - # the union of the two AuditConfigs is used for that service: the log_types - # specified in each AuditConfig are enabled, and the exempted_members in each - # AuditLogConfig are exempted. - # Example Policy with multiple AuditConfigs: - # ` - # "audit_configs": [ - # ` - # "service": "allServices", - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:jose@example.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE" - # `, - # ` - # "log_type": "ADMIN_READ" - # ` - # ] - # `, - # ` - # "service": "sampleservice.googleapis.com", - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ" - # `, - # ` - # "log_type": "DATA_WRITE", - # "exempted_members": [ - # "user:aliya@example.com" - # ] - # ` - # ] - # ` - # ] - # ` - # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts jose@example.com from DATA_READ logging, and - # aliya@example.com from DATA_WRITE logging. + # Specifies the audit configuration for a service. The configuration determines + # which permission types are logged, and what identities, if any, are exempted + # from logging. An AuditConfig must have one or more AuditLogConfigs. If there + # are AuditConfigs for both `allServices` and a specific service, the union of + # the two AuditConfigs is used for that service: the log_types specified in each + # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are + # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` " + # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", " + # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `, + # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE" + # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice, + # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also + # exempts jose@example.com from DATA_READ logging, and aliya@example.com from + # DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -96,9 +64,9 @@ module Google # @return [Array] attr_accessor :audit_log_configs - # Specifies a service that will be enabled for audit logging. - # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. - # `allServices` is a special value that covers all services. + # Specifies a service that will be enabled for audit logging. For example, ` + # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special + # value that covers all services. # Corresponds to the JSON property `service` # @return [String] attr_accessor :service @@ -114,28 +82,15 @@ module Google end end - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:jose@example.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE" - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # jose@example.com from DATA_READ logging. + # Provides the configuration for logging a type of permissions. Example: ` " + # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user: + # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables ' + # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from + # DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable - # Specifies the identities that do not cause logging for this type of - # permission. + # Specifies the identities that do not cause logging for this type of permission. # Follows the same format of Binding.members. # Corresponds to the JSON property `exemptedMembers` # @return [Array] @@ -157,9 +112,9 @@ module Google end end - # A domain that a user has been authorized to administer. To authorize use - # of a domain, verify ownership via - # [Webmaster Central](https://www.google.com/webmasters/verification/home). + # A domain that a user has been authorized to administer. To authorize use of a + # domain, verify ownership via [Webmaster Central](https://www.google.com/ + # webmasters/verification/home). class AuthorizedDomain include Google::Apis::Core::Hashable @@ -168,8 +123,8 @@ module Google # @return [String] attr_accessor :id - # Read only. Full path to the `AuthorizedDomain` resource in the API. - # Example: `apps/myapp/authorizedDomains/example.com`. + # Read only. Full path to the `AuthorizedDomain` resource in the API. Example: ` + # apps/myapp/authorizedDomains/example.com`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -189,69 +144,57 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. # Corresponds to the JSON property `condition` # @return [Google::Apis::RunV1::Expr] attr_accessor :condition - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@example.com` . - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a user that has been recently deleted. For - # example, `alice@example.com?uid=123456789012345678901`. If the user is - # recovered, this value reverts to `user:`emailid`` and the recovered user - # retains the role in the binding. - # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus - # unique identifier) representing a service account that has been recently - # deleted. For example, - # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. - # If the service account is undeleted, this value reverts to - # `serviceAccount:`emailid`` and the undeleted service account retains the - # role in the binding. - # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a Google group that has been recently - # deleted. For example, `admins@example.com?uid=123456789012345678901`. If - # the group is recovered, this value reverts to `group:`emailid`` and the - # recovered group retains the role in the binding. - # * `domain:`domain``: The G Suite domain (primary) that represents all the - # users of that domain. For example, `google.com` or `example.com`. + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: * `allUsers`: A special identifier + # that represents anyone who is on the internet; with or without a Google + # account. * `allAuthenticatedUsers`: A special identifier that represents + # anyone who is authenticated with a Google account or a service account. * ` + # user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email + # address that represents a service account. For example, `my-other-app@appspot. + # gserviceaccount.com`. * `group:`emailid``: An email address that represents a + # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid= + # `uniqueid``: An email address (plus unique identifier) representing a user + # that has been recently deleted. For example, `alice@example.com?uid= + # 123456789012345678901`. If the user is recovered, this value reverts to `user:` + # emailid`` and the recovered user retains the role in the binding. * `deleted: + # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a service account that has been recently deleted. For + # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + # If the service account is undeleted, this value reverts to `serviceAccount:` + # emailid`` and the undeleted service account retains the role in the binding. * + # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a Google group that has been recently deleted. For + # example, `admins@example.com?uid=123456789012345678901`. If the group is + # recovered, this value reverts to `group:`emailid`` and the recovered group + # retains the role in the binding. * `domain:`domain``: The G Suite domain ( + # primary) that represents all the users of that domain. For example, `google. + # com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] attr_accessor :members - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. # Corresponds to the JSON property `role` # @return [String] attr_accessor :role @@ -268,34 +211,28 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # ConfigMapEnvSource selects a ConfigMap to populate the environment - # variables with. - # The contents of the target ConfigMap's Data field will represent the - # key-value pairs as environment variables. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported + # ConfigMapEnvSource selects a ConfigMap to populate the environment variables + # with. The contents of the target ConfigMap's Data field will represent the key- + # value pairs as environment variables. class ConfigMapEnvSource include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # LocalObjectReference contains enough information to let you locate the # referenced object inside the same namespace. # Corresponds to the JSON property `localObjectReference` # @return [Google::Apis::RunV1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The ConfigMap to select from. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # ConfigMap to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the ConfigMap must be defined + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Specify whether the ConfigMap must be defined # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -313,38 +250,32 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Selects a key from a ConfigMap. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects + # a key from a ConfigMap. class ConfigMapKeySelector include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The key to select. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key + # to select. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # LocalObjectReference contains enough information to let you locate the # referenced object inside the same namespace. # Corresponds to the JSON property `localObjectReference` # @return [Google::Apis::RunV1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The ConfigMap to select from. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # ConfigMap to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the ConfigMap or its key must be defined + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Specify whether the ConfigMap or its key must be defined # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -363,50 +294,42 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Adapts a ConfigMap into a volume. - # The contents of the target ConfigMap's Data field will be presented in a - # volume as files using the keys in the Data field as the file names, unless - # the items element is populated with specific mappings of keys to paths. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Adapts + # a ConfigMap into a volume. The contents of the target ConfigMap's Data field + # will be presented in a volume as files using the keys in the Data field as the + # file names, unless the items element is populated with specific mappings of + # keys to paths. class ConfigMapVolumeSource include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Mode bits to use on created files by default. Must be a value between 0 and - # 0777. Defaults to 0644. Directories within the path are not affected by - # this setting. This might be in conflict with other options that affect the - # file mode, like fsGroup, and the result can be other mode bits set. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Mode bits to use on created files by default. Must be a value + # between 0 and 0777. Defaults to 0644. Directories within the path are not + # affected by this setting. This might be in conflict with other options that + # affect the file mode, like fsGroup, and the result can be other mode bits set. # Corresponds to the JSON property `defaultMode` # @return [Fixnum] attr_accessor :default_mode - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # If unspecified, each key-value pair in the Data field of the referenced - # Secret will be projected into the volume as a file whose name is the - # key and content is the value. If specified, the listed keys will be - # projected into the specified paths, and unlisted keys will not be - # present. If a key is specified which is not present in the Secret, - # the volume setup will error unless it is marked optional. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported If unspecified, each key-value pair in the Data field of the + # referenced Secret will be projected into the volume as a file whose name is + # the key and content is the value. If specified, the listed keys will be + # projected into the specified paths, and unlisted keys will not be present. If + # a key is specified which is not present in the Secret, the volume setup will + # error unless it is marked optional. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Name of the config. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of + # the config. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the Secret or its keys must be defined. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Specify whether the Secret or its keys must be defined. # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -425,13 +348,12 @@ module Google end end - # Configuration represents the "floating HEAD" of a linear history of - # Revisions, and optionally how the containers those revisions reference are - # built. Users create new Revisions by updating the Configuration's spec. The - # "latest created" revision's name is available under status, as is the "latest - # ready" revision's name. See also: - # https://github.com/knative/serving/blob/master/docs/spec/overview.md# - # configuration + # Configuration represents the "floating HEAD" of a linear history of Revisions, + # and optionally how the containers those revisions reference are built. Users + # create new Revisions by updating the Configuration's spec. The "latest created" + # revision's name is available under status, as is the "latest ready" revision' + # s name. See also: https://github.com/knative/serving/blob/master/docs/spec/ + # overview.md#configuration class Configuration include Google::Apis::Core::Hashable @@ -445,8 +367,8 @@ module Google # @return [String] attr_accessor :kind - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata @@ -457,8 +379,8 @@ module Google # @return [Google::Apis::RunV1::ConfigurationSpec] attr_accessor :spec - # ConfigurationStatus communicates the observed state of the Configuration - # (from the controller). + # ConfigurationStatus communicates the observed state of the Configuration (from + # the controller). # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1::ConfigurationStatus] attr_accessor :status @@ -483,8 +405,8 @@ module Google include Google::Apis::Core::Hashable # RevisionTemplateSpec describes the data a revision should have when created - # from a template. Based on: - # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 + # from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/ + # core/v1/types.go#L3179-L3190 # Corresponds to the JSON property `template` # @return [Google::Apis::RunV1::RevisionTemplate] attr_accessor :template @@ -499,37 +421,34 @@ module Google end end - # ConfigurationStatus communicates the observed state of the Configuration - # (from the controller). + # ConfigurationStatus communicates the observed state of the Configuration (from + # the controller). class ConfigurationStatus include Google::Apis::Core::Hashable - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions # LatestCreatedRevisionName is the last revision that was created from this - # Configuration. It might not be ready yet, for that use - # LatestReadyRevisionName. + # Configuration. It might not be ready yet, for that use LatestReadyRevisionName. # Corresponds to the JSON property `latestCreatedRevisionName` # @return [String] attr_accessor :latest_created_revision_name - # LatestReadyRevisionName holds the name of the latest Revision stamped out - # from this Configuration that has had its "Ready" condition become "True". + # LatestReadyRevisionName holds the name of the latest Revision stamped out from + # this Configuration that has had its "Ready" condition become "True". # Corresponds to the JSON property `latestReadyRevisionName` # @return [String] attr_accessor :latest_ready_revision_name - # ObservedGeneration is the 'Generation' of the Configuration that - # was last processed by the controller. The observed generation is updated - # even if the controller failed to process the spec and create the Revision. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation, and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the Configuration that was last + # processed by the controller. The observed generation is updated even if the + # controller failed to process the spec and create the Revision. Clients polling + # for completed reconciliation should poll until observedGeneration = metadata. + # generation, and the Ready condition's status is True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation @@ -547,27 +466,21 @@ module Google end end - # A single application container. - # This specifies both the container to run, the command to run in the container - # and the arguments to supply to it. - # Note that additional arguments may be supplied by the system to the container - # at runtime. + # A single application container. This specifies both the container to run, the + # command to run in the container and the arguments to supply to it. Note that + # additional arguments may be supplied by the system to the container at runtime. class Container include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: supported - # Cloud Run for Anthos: supported - # Arguments to the entrypoint. - # The docker image's CMD is used if this is not provided. - # Variable references $(VAR_NAME) are expanded using the container's + # (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported + # Arguments to the entrypoint. The docker image's CMD is used if this is not + # provided. Variable references $(VAR_NAME) are expanded using the container's # environment. If a variable cannot be resolved, the reference in the input - # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a - # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, - # regardless of whether the variable exists or not. - # More info: - # https://kubernetes.io/docs/tasks/inject-data-application/define-command- - # argument-container/#running-a-command-in-a-shell + # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $ + # $, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of + # whether the variable exists or not. More info: https://kubernetes.io/docs/ + # tasks/inject-data-application/define-command-argument-container/#running-a- + # command-in-a-shell # Corresponds to the JSON property `args` # @return [Array] attr_accessor :args @@ -577,76 +490,62 @@ module Google # @return [Array] attr_accessor :command - # (Optional) - # Cloud Run fully managed: supported - # Cloud Run for Anthos: supported + # (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported # List of environment variables to set in the container. # Corresponds to the JSON property `env` # @return [Array] attr_accessor :env - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # List of sources to populate environment variables in the container. - # The keys defined within a source must be a C_IDENTIFIER. All invalid keys - # will be reported as an event when the container is starting. When a key - # exists in multiple sources, the value associated with the last source will - # take precedence. Values defined by an Env with a duplicate key will take - # precedence. Cannot be updated. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported List of sources to populate environment variables in the container. + # The keys defined within a source must be a C_IDENTIFIER. All invalid keys will + # be reported as an event when the container is starting. When a key exists in + # multiple sources, the value associated with the last source will take + # precedence. Values defined by an Env with a duplicate key will take precedence. + # Cannot be updated. # Corresponds to the JSON property `envFrom` # @return [Array] attr_accessor :env_from # Cloud Run fully managed: only supports containers from Google Container - # Registry - # Cloud Run for Anthos: supported - # URL of the Container image. - # More info: https://kubernetes.io/docs/concepts/containers/images + # Registry Cloud Run for Anthos: supported URL of the Container image. More info: + # https://kubernetes.io/docs/concepts/containers/images # Corresponds to the JSON property `image` # @return [String] attr_accessor :image - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Image pull policy. - # One of Always, Never, IfNotPresent. - # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. - # More info: + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Image pull policy. One of Always, Never, IfNotPresent. Defaults to + # Always if :latest tag is specified, or IfNotPresent otherwise. More info: # https://kubernetes.io/docs/concepts/containers/images#updating-images # Corresponds to the JSON property `imagePullPolicy` # @return [String] attr_accessor :image_pull_policy - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Probe describes a health check to be performed against a container to - # determine whether it is alive or ready to receive traffic. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe + # describes a health check to be performed against a container to determine + # whether it is alive or ready to receive traffic. # Corresponds to the JSON property `livenessProbe` # @return [Google::Apis::RunV1::Probe] attr_accessor :liveness_probe - # (Optional) - # Name of the container specified as a DNS_LABEL. + # (Optional) Name of the container specified as a DNS_LABEL. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # List of ports to expose from the container. Only a single port can be - # specified. The specified ports must be listening on all interfaces - # (0.0.0.0) within the container to be accessible. - # If omitted, a port number will be chosen and passed to the container - # through the PORT environment variable for the container to listen on. + # (Optional) List of ports to expose from the container. Only a single port can + # be specified. The specified ports must be listening on all interfaces (0.0.0.0) + # within the container to be accessible. If omitted, a port number will be + # chosen and passed to the container through the PORT environment variable for + # the container to listen on. # Corresponds to the JSON property `ports` # @return [Array] attr_accessor :ports - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Probe describes a health check to be performed against a container to - # determine whether it is alive or ready to receive traffic. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe + # describes a health check to be performed against a container to determine + # whether it is alive or ready to receive traffic. # Corresponds to the JSON property `readinessProbe` # @return [Google::Apis::RunV1::Probe] attr_accessor :readiness_probe @@ -656,56 +555,47 @@ module Google # @return [Google::Apis::RunV1::ResourceRequirements] attr_accessor :resources - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # SecurityContext holds security configuration that will be applied to a # container. Some fields are present in both SecurityContext and - # PodSecurityContext. When both are set, the values in SecurityContext take + # PodSecurityContext. When both are set, the values in SecurityContext take # precedence. # Corresponds to the JSON property `securityContext` # @return [Google::Apis::RunV1::SecurityContext] attr_accessor :security_context - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Path at which the file to which the container's termination - # message will be written is mounted into the container's filesystem. Message - # written is intended to be brief final status, such as an assertion failure - # message. Will be truncated by the node if greater than 4096 bytes. The - # total message length across all containers will be limited to 12kb. - # Defaults to /dev/termination-log. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Path at which the file to which the container's termination message + # will be written is mounted into the container's filesystem. Message written is + # intended to be brief final status, such as an assertion failure message. Will + # be truncated by the node if greater than 4096 bytes. The total message length + # across all containers will be limited to 12kb. Defaults to /dev/termination- + # log. # Corresponds to the JSON property `terminationMessagePath` # @return [String] attr_accessor :termination_message_path - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Indicate how the termination message should be populated. File will use the - # contents of terminationMessagePath to populate the container status message - # on both success and failure. FallbackToLogsOnError will use the last chunk - # of container log output if the termination message file is empty and the - # container exited with an error. The log output is limited to 2048 bytes or - # 80 lines, whichever is smaller. Defaults to File. Cannot be updated. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Indicate how the termination message should be populated. File will + # use the contents of terminationMessagePath to populate the container status + # message on both success and failure. FallbackToLogsOnError will use the last + # chunk of container log output if the termination message file is empty and the + # container exited with an error. The log output is limited to 2048 bytes or 80 + # lines, whichever is smaller. Defaults to File. Cannot be updated. # Corresponds to the JSON property `terminationMessagePolicy` # @return [String] attr_accessor :termination_message_policy - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Pod volumes to mount into the container's filesystem. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Pod volumes to mount into the container's filesystem. # Corresponds to the JSON property `volumeMounts` # @return [Array] attr_accessor :volume_mounts - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Container's working directory. - # If not specified, the container runtime's default will be used, which - # might be configured in the container image. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Container's working directory. If not specified, the container + # runtime's default will be used, which might be configured in the container + # image. # Corresponds to the JSON property `workingDir` # @return [String] attr_accessor :working_dir @@ -739,27 +629,21 @@ module Google class ContainerPort include Google::Apis::Core::Hashable - # (Optional) - # Port number the container listens on. - # This must be a valid port number, 0 < x < 65536. + # (Optional) Port number the container listens on. This must be a valid port + # number, 0 < x < 65536. # Corresponds to the JSON property `containerPort` # @return [Fixnum] attr_accessor :container_port - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # If specified, used to specify which protocol to use. - # Allowed values are "http1" and "h2c". + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported If specified, used to specify which protocol to use. Allowed values + # are "http1" and "h2c". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Protocol for port. Must be "TCP". - # Defaults to "TCP". + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Protocol for port. Must be "TCP". Defaults to "TCP". # Corresponds to the JSON property `protocol` # @return [String] attr_accessor :protocol @@ -790,8 +674,8 @@ module Google # @return [String] attr_accessor :kind - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata @@ -829,17 +713,17 @@ module Google # @return [String] attr_accessor :certificate_mode - # If set, the mapping will override any mapping set before this spec was set. - # It is recommended that the user leaves this empty to receive an error - # warning about a potential conflict and only set it once the respective UI - # has given such a warning. + # If set, the mapping will override any mapping set before this spec was set. It + # is recommended that the user leaves this empty to receive an error warning + # about a potential conflict and only set it once the respective UI has given + # such a warning. # Corresponds to the JSON property `forceOverride` # @return [Boolean] attr_accessor :force_override alias_method :force_override?, :force_override - # The name of the Knative Route that this DomainMapping applies to. - # The route must exist. + # The name of the Knative Route that this DomainMapping applies to. The route + # must exist. # Corresponds to the JSON property `routeName` # @return [String] attr_accessor :route_name @@ -860,8 +744,8 @@ module Google class DomainMappingStatus include Google::Apis::Core::Hashable - # Array of observed DomainMappingConditions, indicating the current state - # of the DomainMapping. + # Array of observed DomainMappingConditions, indicating the current state of the + # DomainMapping. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions @@ -871,26 +755,23 @@ module Google # @return [String] attr_accessor :mapped_route_name - # ObservedGeneration is the 'Generation' of the DomainMapping that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the DomainMapping that was last + # processed by the controller. Clients polling for completed reconciliation + # should poll until observedGeneration = metadata.generation and the Ready + # condition's status is True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # The resource records required to configure this domain mapping. These - # records must be added to the domain's DNS configuration in order to - # serve the application via this domain mapping. + # The resource records required to configure this domain mapping. These records + # must be added to the domain's DNS configuration in order to serve the + # application via this domain mapping. # Corresponds to the JSON property `resourceRecords` # @return [Array] attr_accessor :resource_records - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Holds the URL that will serve the traffic of the DomainMapping. - # +optional + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the + # URL that will serve the traffic of the DomainMapping. +optional # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -909,37 +790,30 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # EnvFromSource represents the source of a set of ConfigMaps class EnvFromSource include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # ConfigMapEnvSource selects a ConfigMap to populate the environment - # variables with. - # The contents of the target ConfigMap's Data field will represent the - # key-value pairs as environment variables. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported + # ConfigMapEnvSource selects a ConfigMap to populate the environment variables + # with. The contents of the target ConfigMap's Data field will represent the key- + # value pairs as environment variables. # Corresponds to the JSON property `configMapRef` # @return [Google::Apis::RunV1::ConfigMapEnvSource] attr_accessor :config_map_ref - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # An optional identifier to prepend to each key in the ConfigMap. Must be a - # C_IDENTIFIER. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported An optional identifier to prepend to each key in the ConfigMap. Must + # be a C_IDENTIFIER. # Corresponds to the JSON property `prefix` # @return [String] attr_accessor :prefix - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # SecretEnvSource selects a Secret to populate the environment - # variables with. - # The contents of the target Secret's Data field will represent the - # key-value pairs as environment variables. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported + # SecretEnvSource selects a Secret to populate the environment variables with. + # The contents of the target Secret's Data field will represent the key-value + # pairs as environment variables. # Corresponds to the JSON property `secretRef` # @return [Google::Apis::RunV1::SecretEnvSource] attr_accessor :secret_ref @@ -965,21 +839,17 @@ module Google # @return [String] attr_accessor :name - # (Optional) - # Variable references $(VAR_NAME) are expanded - # using the previous defined environment variables in the container and - # any route environment variables. If a variable cannot be resolved, - # the reference in the input string will be unchanged. The $(VAR_NAME) - # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - # references will never be expanded, regardless of whether the variable - # exists or not. - # Defaults to "". + # (Optional) Variable references $(VAR_NAME) are expanded using the previous + # defined environment variables in the container and any route environment + # variables. If a variable cannot be resolved, the reference in the input string + # will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: + # $$(VAR_NAME). Escaped references will never be expanded, regardless of whether + # the variable exists or not. Defaults to "". # Corresponds to the JSON property `value` # @return [String] attr_accessor :value - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # EnvVarSource represents a source for the value of an EnvVar. # Corresponds to the JSON property `valueFrom` # @return [Google::Apis::RunV1::EnvVarSource] @@ -997,21 +867,18 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # EnvVarSource represents a source for the value of an EnvVar. class EnvVarSource include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Selects a key from a ConfigMap. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects + # a key from a ConfigMap. # Corresponds to the JSON property `configMapKeyRef` # @return [Google::Apis::RunV1::ConfigMapKeySelector] attr_accessor :config_map_key_ref - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `secretKeyRef` # @return [Google::Apis::RunV1::SecretKeySelector] @@ -1028,21 +895,18 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # ExecAction describes a "run in container" action. class ExecAction include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Command is the command line to execute inside the container, the working - # directory for the command is root ('/') in the container's filesystem. The - # command is simply exec'd, it is not run inside a shell, so traditional + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Command is the command line to execute inside the container, the + # working directory for the command is root ('/') in the container's filesystem. + # The command is simply exec'd, it is not run inside a shell, so traditional # shell instructions ('|', etc) won't work. To use a shell, you need to - # explicitly call out to that shell. Exit status of 0 is treated as - # live/healthy and non-zero is unhealthy. + # explicitly call out to that shell. Exit status of 0 is treated as live/healthy + # and non-zero is unhealthy. # Corresponds to the JSON property `command` # @return [String] attr_accessor :command @@ -1057,52 +921,43 @@ module Google end end - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. class Expr include Google::Apis::Core::Hashable - # Optional. Description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. + # Optional. Description of the expression. This is a longer text which describes + # the expression, e.g. when hovered over it in a UI. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in Common Expression Language - # syntax. + # Textual representation of an expression in Common Expression Language syntax. # Corresponds to the JSON property `expression` # @return [String] attr_accessor :expression - # Optional. String indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. + # Optional. String indicating the location of the expression for error reporting, + # e.g. a file name and a position in the file. # Corresponds to the JSON property `location` # @return [String] attr_accessor :location - # Optional. Title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. + # Optional. Title for the expression, i.e. a short string describing its purpose. + # This can be used e.g. in UIs which allow to enter the expression. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title @@ -1150,12 +1005,10 @@ module Google # @return [String] attr_accessor :status - # type is used to communicate the status of the reconciliation process. - # See also: + # type is used to communicate the status of the reconciliation process. See also: # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error- - # conditions-and-reporting - # Types common to all resources include: - # * "Ready": True when the Resource is ready. + # conditions-and-reporting Types common to all resources include: * "Ready": + # True when the Resource is ready. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -1175,42 +1028,32 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # HTTPGetAction describes an action based on HTTP Get requests. class HttpGetAction include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Host name to connect to, defaults to the pod IP. You probably want to set - # "Host" in httpHeaders instead. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Host name to connect to, defaults to the pod IP. You probably want + # to set "Host" in httpHeaders instead. # Corresponds to the JSON property `host` # @return [String] attr_accessor :host - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Custom headers to set in the request. HTTP allows repeated headers. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Custom headers to set in the request. HTTP allows repeated headers. # Corresponds to the JSON property `httpHeaders` # @return [Array] attr_accessor :http_headers - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Path to access on the HTTP server. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Path to access on the HTTP server. # Corresponds to the JSON property `path` # @return [String] attr_accessor :path - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Scheme to use for connecting to the host. - # Defaults to HTTP. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Scheme to use for connecting to the host. Defaults to HTTP. # Corresponds to the JSON property `scheme` # @return [String] attr_accessor :scheme @@ -1228,22 +1071,19 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # HTTPHeader describes a custom header to be used in HTTP probes class HttpHeader include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The header field name + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # header field name # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The header field value + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # header field value # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -1259,36 +1099,29 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Maps a string key to a path within a volume. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Maps a + # string key to a path within a volume. class KeyToPath include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The key to project. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key + # to project. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Mode bits to use on this file, must be a value between 0 and 0777. If not - # specified, the volume defaultMode will be used. This might be in conflict - # with other options that affect the file mode, like fsGroup, and the result - # can be other mode bits set. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Mode bits to use on this file, must be a value between 0 and 0777. + # If not specified, the volume defaultMode will be used. This might be in + # conflict with other options that affect the file mode, like fsGroup, and the + # result can be other mode bits set. # Corresponds to the JSON property `mode` # @return [Fixnum] attr_accessor :mode - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The relative path of the file to map the key to. - # May not be an absolute path. - # May not contain the path element '..'. - # May not start with the string '..'. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # relative path of the file to map the key to. May not be an absolute path. May + # not contain the path element '..'. May not start with the string '..'. # Corresponds to the JSON property `path` # @return [String] attr_accessor :path @@ -1350,8 +1183,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ListMeta] attr_accessor :metadata @@ -1395,8 +1228,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ListMeta] attr_accessor :metadata @@ -1446,39 +1279,33 @@ module Google end # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. class ListMeta include Google::Apis::Core::Hashable - # continue may be set if the user set a limit on the number of items - # returned, and indicates that the server has more data available. The value - # is opaque and may be used to issue another request to the endpoint that - # served this list to retrieve the next set of available objects. Continuing - # a list may not be possible if the server configuration has changed or more - # than a few minutes have passed. The resourceVersion field returned when - # using this continue value will be identical to the value in the first - # response. + # continue may be set if the user set a limit on the number of items returned, + # and indicates that the server has more data available. The value is opaque and + # may be used to issue another request to the endpoint that served this list to + # retrieve the next set of available objects. Continuing a list may not be + # possible if the server configuration has changed or more than a few minutes + # have passed. The resourceVersion field returned when using this continue value + # will be identical to the value in the first response. # Corresponds to the JSON property `continue` # @return [String] attr_accessor :continue - # String that identifies the server's internal version of this object that - # can be used by clients to determine when objects have changed. Value must - # be treated as opaque by clients and passed unmodified back to the server. - # Populated by the system. - # Read-only. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- - # control-and-consistency - # +optional + # String that identifies the server's internal version of this object that can + # be used by clients to determine when objects have changed. Value must be + # treated as opaque by clients and passed unmodified back to the server. + # Populated by the system. Read-only. More info: https://git.k8s.io/community/ + # contributors/devel/api-conventions.md#concurrency-control-and-consistency + + # optional # Corresponds to the JSON property `resourceVersion` # @return [String] attr_accessor :resource_version - # SelfLink is a URL representing this object. - # Populated by the system. - # Read-only. + # SelfLink is a URL representing this object. Populated by the system. Read-only. # +optional # Corresponds to the JSON property `selfLink` # @return [String] @@ -1516,8 +1343,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ListMeta] attr_accessor :metadata @@ -1561,8 +1388,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ListMeta] attr_accessor :metadata @@ -1606,8 +1433,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ListMeta] attr_accessor :metadata @@ -1631,19 +1458,15 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # LocalObjectReference contains enough information to let you locate the # referenced object inside the same namespace. class LocalObjectReference include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Name of the referent. - # More info: - # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Name of the referent. More info: https://kubernetes.io/docs/concepts/ + # overview/working-with-objects/names/#names # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1662,14 +1485,14 @@ module Google class Location include Google::Apis::Core::Hashable - # The friendly name for this location, typically a nearby city name. - # For example, "Tokyo". + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` + # Cross-service attributes for the location. For example `"cloud.googleapis.com/ + # region": "us-east1"` # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -1685,8 +1508,8 @@ module Google # @return [Hash] attr_accessor :metadata - # Resource name for the location, which may vary between implementations. - # For example: `"projects/example-project/locations/us-east1"` + # Resource name for the location, which may vary between implementations. For + # example: `"projects/example-project/locations/us-east1"` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1705,28 +1528,24 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Namespace provides a scope for Names. - # Use of multiple namespaces is optional. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Namespace + # provides a scope for Names. Use of multiple namespaces is optional. class Namespace include Google::Apis::Core::Hashable - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # NamespaceSpec describes the attributes on a Namespace. # Corresponds to the JSON property `spec` # @return [Google::Apis::RunV1::NamespaceSpec] attr_accessor :spec - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # NamespaceStatus is information about the current status of a Namespace. # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1::NamespaceStatus] @@ -1744,15 +1563,14 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # NamespaceSpec describes the attributes on a Namespace. class NamespaceSpec include Google::Apis::Core::Hashable # Finalizers is an opaque list of values that must be empty to permanently - # remove object from storage. More info: - # https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ + # remove object from storage. More info: https://kubernetes.io/docs/tasks/ + # administer-cluster/namespaces/ # Corresponds to the JSON property `finalizers` # @return [Array] attr_accessor :finalizers @@ -1767,14 +1585,13 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # NamespaceStatus is information about the current status of a Namespace. class NamespaceStatus include Google::Apis::Core::Hashable - # Phase is the current lifecycle phase of the namespace. - # More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ + # Phase is the current lifecycle phase of the namespace. More info: https:// + # kubernetes.io/docs/tasks/administer-cluster/namespaces/ # Corresponds to the JSON property `phase` # @return [String] attr_accessor :phase @@ -1789,193 +1606,155 @@ module Google end end - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. class ObjectMeta include Google::Apis::Core::Hashable - # (Optional) - # Annotations is an unstructured key value map stored with a resource that - # may be set by external tools to store and retrieve arbitrary metadata. They - # are not queryable and should be preserved when modifying objects. More + # (Optional) Annotations is an unstructured key value map stored with a resource + # that may be set by external tools to store and retrieve arbitrary metadata. + # They are not queryable and should be preserved when modifying objects. More # info: http://kubernetes.io/docs/user-guide/annotations # Corresponds to the JSON property `annotations` # @return [Hash] attr_accessor :annotations - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The name of the cluster which the object belongs to. - # This is used to distinguish resources with same name and namespace in - # different clusters. This field is not set anywhere right now and apiserver - # is going to ignore it if set in create or update request. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported The name of the cluster which the object belongs to. This is used to + # distinguish resources with same name and namespace in different clusters. This + # field is not set anywhere right now and apiserver is going to ignore it if set + # in create or update request. # Corresponds to the JSON property `clusterName` # @return [String] attr_accessor :cluster_name - # (Optional) - # CreationTimestamp is a timestamp representing the server time when this - # object was created. It is not guaranteed to be set in happens-before order - # across separate operations. Clients may not set this value. It is - # represented in RFC3339 form and is in UTC. - # Populated by the system. - # Read-only. - # Null for lists. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + # (Optional) CreationTimestamp is a timestamp representing the server time when + # this object was created. It is not guaranteed to be set in happens-before + # order across separate operations. Clients may not set this value. It is + # represented in RFC3339 form and is in UTC. Populated by the system. Read-only. + # Null for lists. More info: https://git.k8s.io/community/contributors/devel/api- + # conventions.md#metadata # Corresponds to the JSON property `creationTimestamp` # @return [String] attr_accessor :creation_timestamp - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Number of seconds allowed for this object to gracefully terminate before - # it will be removed from the system. Only set when deletionTimestamp is also - # set. May only be shortened. Read-only. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Number of seconds allowed for this object to gracefully terminate + # before it will be removed from the system. Only set when deletionTimestamp is + # also set. May only be shortened. Read-only. # Corresponds to the JSON property `deletionGracePeriodSeconds` # @return [Fixnum] attr_accessor :deletion_grace_period_seconds - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # DeletionTimestamp is RFC 3339 date and time at which this resource will be - # deleted. This field is set by the server when a graceful deletion is - # requested by the user, and is not directly settable by a client. The - # resource is expected to be deleted (no longer visible from resource lists, - # and not reachable by name) after the time in this field, once the - # finalizers list is empty. As long as the finalizers list contains items, - # deletion is blocked. Once the deletionTimestamp is set, this value may not - # be unset or be set further into the future, although it may be shortened or - # the resource may be deleted prior to this time. For example, a user may - # request that a pod is deleted in 30 seconds. The Kubelet will react by - # sending a graceful termination signal to the containers in the pod. After - # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) - # to the container and after cleanup, remove the pod from the API. In the - # presence of network partitions, this object may still exist after this - # timestamp, until an administrator or automated process can determine the - # resource is fully terminated. - # If not set, graceful deletion of the object has not been requested. - # Populated by the system when a graceful deletion is requested. - # Read-only. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported DeletionTimestamp is RFC 3339 date and time at which this resource + # will be deleted. This field is set by the server when a graceful deletion is + # requested by the user, and is not directly settable by a client. The resource + # is expected to be deleted (no longer visible from resource lists, and not + # reachable by name) after the time in this field, once the finalizers list is + # empty. As long as the finalizers list contains items, deletion is blocked. + # Once the deletionTimestamp is set, this value may not be unset or be set + # further into the future, although it may be shortened or the resource may be + # deleted prior to this time. For example, a user may request that a pod is + # deleted in 30 seconds. The Kubelet will react by sending a graceful + # termination signal to the containers in the pod. After that 30 seconds, the + # Kubelet will send a hard termination signal (SIGKILL) to the container and + # after cleanup, remove the pod from the API. In the presence of network + # partitions, this object may still exist after this timestamp, until an + # administrator or automated process can determine the resource is fully + # terminated. If not set, graceful deletion of the object has not been requested. + # Populated by the system when a graceful deletion is requested. Read-only. + # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md# + # metadata # Corresponds to the JSON property `deletionTimestamp` # @return [String] attr_accessor :deletion_timestamp - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Must be empty before the object is deleted from the registry. Each entry - # is an identifier for the responsible component that will remove the entry - # from the list. If the deletionTimestamp of the object is non-nil, entries - # in this list can only be removed. - # +patchStrategy=merge + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Must be empty before the object is deleted from the registry. Each + # entry is an identifier for the responsible component that will remove the + # entry from the list. If the deletionTimestamp of the object is non-nil, + # entries in this list can only be removed. +patchStrategy=merge # Corresponds to the JSON property `finalizers` # @return [Array] attr_accessor :finalizers - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # GenerateName is an optional prefix, used by the server, to generate a - # unique name ONLY IF the Name field has not been provided. If this field is - # used, the name returned to the client will be different than the name - # passed. This value will also be combined with a unique suffix. The provided - # value has the same validation rules as the Name field, and may be truncated - # by the length of the suffix required to make the value unique on the - # server. - # If this field is specified and the generated name exists, the server will - # NOT return a 409 - instead, it will either return 201 Created or 500 with - # Reason ServerTimeout indicating a unique name could not be found in the - # time allotted, and the client should retry (optionally after the time - # indicated in the Retry-After header). - # Applied only if Name is not specified. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency - # string generateName = 2; + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported GenerateName is an optional prefix, used by the server, to generate + # a unique name ONLY IF the Name field has not been provided. If this field is + # used, the name returned to the client will be different than the name passed. + # This value will also be combined with a unique suffix. The provided value has + # the same validation rules as the Name field, and may be truncated by the + # length of the suffix required to make the value unique on the server. If this + # field is specified and the generated name exists, the server will NOT return a + # 409 - instead, it will either return 201 Created or 500 with Reason + # ServerTimeout indicating a unique name could not be found in the time allotted, + # and the client should retry (optionally after the time indicated in the Retry- + # After header). Applied only if Name is not specified. More info: https://git. + # k8s.io/community/contributors/devel/api-conventions.md#idempotency string + # generateName = 2; # Corresponds to the JSON property `generateName` # @return [String] attr_accessor :generate_name - # (Optional) - # A sequence number representing a specific generation of the desired state. - # Populated by the system. Read-only. + # (Optional) A sequence number representing a specific generation of the desired + # state. Populated by the system. Read-only. # Corresponds to the JSON property `generation` # @return [Fixnum] attr_accessor :generation - # (Optional) - # Map of string keys and values that can be used to organize and categorize - # (scope and select) objects. May match selectors of replication controllers - # and routes. - # More info: http://kubernetes.io/docs/user-guide/labels + # (Optional) Map of string keys and values that can be used to organize and + # categorize (scope and select) objects. May match selectors of replication + # controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # Name must be unique within a namespace, within a Cloud Run region. - # Is required when creating - # resources, although some resources may allow a client to request the - # generation of an appropriate name automatically. Name is primarily intended - # for creation idempotence and configuration definition. Cannot be updated. - # More info: http://kubernetes.io/docs/user-guide/identifiers#names - # +optional + # Name must be unique within a namespace, within a Cloud Run region. Is required + # when creating resources, although some resources may allow a client to request + # the generation of an appropriate name automatically. Name is primarily + # intended for creation idempotence and configuration definition. Cannot be + # updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + # optional # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Namespace defines the space within each name must be unique, within a - # Cloud Run region. In Cloud Run the namespace must be equal to either the - # project ID or project number. + # Namespace defines the space within each name must be unique, within a Cloud + # Run region. In Cloud Run the namespace must be equal to either the project ID + # or project number. # Corresponds to the JSON property `namespace` # @return [String] attr_accessor :namespace - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # List of objects that own this object. If ALL objects in the list have - # been deleted, this object will be garbage collected. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported List of objects that own this object. If ALL objects in the list + # have been deleted, this object will be garbage collected. # Corresponds to the JSON property `ownerReferences` # @return [Array] attr_accessor :owner_references - # (Optional) - # An opaque value that represents the internal version of this object that - # can be used by clients to determine when objects have changed. May be used - # for optimistic concurrency, change detection, and the watch operation on a - # resource or set of resources. Clients must treat these values as opaque and - # passed unmodified back to the server. They may only be valid for a - # particular resource or set of resources. - # Populated by the system. - # Read-only. - # Value must be treated as opaque by clients and . - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- - # control-and-consistency + # (Optional) An opaque value that represents the internal version of this object + # that can be used by clients to determine when objects have changed. May be + # used for optimistic concurrency, change detection, and the watch operation on + # a resource or set of resources. Clients must treat these values as opaque and + # passed unmodified back to the server. They may only be valid for a particular + # resource or set of resources. Populated by the system. Read-only. Value must + # be treated as opaque by clients and . More info: https://git.k8s.io/community/ + # contributors/devel/api-conventions.md#concurrency-control-and-consistency # Corresponds to the JSON property `resourceVersion` # @return [String] attr_accessor :resource_version - # (Optional) - # SelfLink is a URL representing this object. - # Populated by the system. - # Read-only. - # string selfLink = 4; + # (Optional) SelfLink is a URL representing this object. Populated by the system. + # Read-only. string selfLink = 4; # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link - # (Optional) - # UID is the unique in time and space value for this object. It is typically - # generated by the server on successful creation of a resource and is not - # allowed to change on PUT operations. - # Populated by the system. - # Read-only. + # (Optional) UID is the unique in time and space value for this object. It is + # typically generated by the server on successful creation of a resource and is + # not allowed to change on PUT operations. Populated by the system. Read-only. # More info: http://kubernetes.io/docs/user-guide/identifiers#uids # Corresponds to the JSON property `uid` # @return [String] @@ -2006,8 +1785,8 @@ module Google end # OwnerReference contains enough information to let you identify an owning - # object. Currently, an owning object must be in the same namespace, so there - # is no namespace field. + # object. Currently, an owning object must be in the same namespace, so there is + # no namespace field. class OwnerReference include Google::Apis::Core::Hashable @@ -2016,40 +1795,36 @@ module Google # @return [String] attr_accessor :api_version - # If true, AND if the owner has the "foregroundDeletion" finalizer, then - # the owner cannot be deleted from the key-value store until this - # reference is removed. - # Defaults to false. - # To set this field, a user needs "delete" permission of the owner, - # otherwise 422 (Unprocessable Entity) will be returned. + # If true, AND if the owner has the "foregroundDeletion" finalizer, then the + # owner cannot be deleted from the key-value store until this reference is + # removed. Defaults to false. To set this field, a user needs "delete" + # permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. # +optional # Corresponds to the JSON property `blockOwnerDeletion` # @return [Boolean] attr_accessor :block_owner_deletion alias_method :block_owner_deletion?, :block_owner_deletion - # If true, this reference points to the managing controller. - # +optional + # If true, this reference points to the managing controller. +optional # Corresponds to the JSON property `controller` # @return [Boolean] attr_accessor :controller alias_method :controller?, :controller - # Kind of the referent. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + # Kind of the referent. More info: https://git.k8s.io/community/contributors/ + # devel/api-conventions.md#types-kinds # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Name of the referent. - # More info: http://kubernetes.io/docs/user-guide/identifiers#names + # Name of the referent. More info: http://kubernetes.io/docs/user-guide/ + # identifiers#names # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # UID of the referent. - # More info: http://kubernetes.io/docs/user-guide/identifiers#uids + # UID of the referent. More info: http://kubernetes.io/docs/user-guide/ + # identifiers#uids # Corresponds to the JSON property `uid` # @return [String] attr_accessor :uid @@ -2070,66 +1845,32 @@ module Google end # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). class Policy include Google::Apis::Core::Hashable @@ -2138,48 +1879,44 @@ module Google # @return [Array] attr_accessor :audit_configs - # Associates a list of `members` to a `role`. Optionally, may specify a - # `condition` that determines how and when the `bindings` are applied. Each - # of the `bindings` must contain at least one member. + # Associates a list of `members` to a `role`. Optionally, may specify a ` + # condition` that determines how and when the `bindings` are applied. Each of + # the `bindings` must contain at least one member. # Corresponds to the JSON property `bindings` # @return [Array] attr_accessor :bindings - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. **Important:** If you use IAM + # Conditions, you must include the `etag` field whenever you call `setIamPolicy`. + # If you omit this field, then IAM allows you to overwrite a version `3` policy + # with a version `1` policy, and all of the conditions in the version `3` policy + # are lost. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :etag - # Specifies the format of the policy. - # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value - # are rejected. - # Any operation that affects conditional role bindings must specify version - # `3`. This requirement applies to the following operations: - # * Getting a policy that includes a conditional role binding - # * Adding a conditional role binding to a policy - # * Changing a conditional role binding in a policy - # * Removing any role binding, with or without a condition, from a policy - # that includes conditions - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. - # If a policy does not include any conditions, operations on that policy may - # specify any valid version 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). + # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + # Requests that specify an invalid value are rejected. Any operation that + # affects conditional role bindings must specify version `3`. This requirement + # applies to the following operations: * Getting a policy that includes a + # conditional role binding * Adding a conditional role binding to a policy * + # Changing a conditional role binding in a policy * Removing any role binding, + # with or without a condition, from a policy that includes conditions ** + # Important:** If you use IAM Conditions, you must include the `etag` field + # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you + # to overwrite a version `3` policy with a version `1` policy, and all of the + # conditions in the version `3` policy are lost. If a policy does not include + # any conditions, operations on that policy may specify any valid version 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). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -2197,81 +1934,64 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Probe describes a health check to be performed against a container to - # determine whether it is alive or ready to receive traffic. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe + # describes a health check to be performed against a container to determine + # whether it is alive or ready to receive traffic. class Probe include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # ExecAction describes a "run in container" action. # Corresponds to the JSON property `exec` # @return [Google::Apis::RunV1::ExecAction] attr_accessor :exec - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Minimum consecutive failures for the probe to be considered failed after - # having succeeded. Defaults to 3. Minimum value is 1. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Minimum consecutive failures for the probe to be considered failed + # after having succeeded. Defaults to 3. Minimum value is 1. # Corresponds to the JSON property `failureThreshold` # @return [Fixnum] attr_accessor :failure_threshold - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # HTTPGetAction describes an action based on HTTP Get requests. # Corresponds to the JSON property `httpGet` # @return [Google::Apis::RunV1::HttpGetAction] attr_accessor :http_get - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Number of seconds after the container has started before liveness probes - # are initiated. More info: - # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container- - # probes + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Number of seconds after the container has started before liveness + # probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/ + # pods/pod-lifecycle#container-probes # Corresponds to the JSON property `initialDelaySeconds` # @return [Fixnum] attr_accessor :initial_delay_seconds - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # How often (in seconds) to perform the probe. - # Default to 10 seconds. Minimum value is 1. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported How often (in seconds) to perform the probe. Default to 10 seconds. + # Minimum value is 1. # Corresponds to the JSON property `periodSeconds` # @return [Fixnum] attr_accessor :period_seconds - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Minimum consecutive successes for the probe to be considered successful - # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value - # is 1. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Minimum consecutive successes for the probe to be considered + # successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum + # value is 1. # Corresponds to the JSON property `successThreshold` # @return [Fixnum] attr_accessor :success_threshold - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # TCPSocketAction describes an action based on opening a socket # Corresponds to the JSON property `tcpSocket` # @return [Google::Apis::RunV1::TcpSocketAction] attr_accessor :tcp_socket - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Number of seconds after which the probe times out. - # Defaults to 1 second. Minimum value is 1. - # More info: - # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container- - # probes + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Number of seconds after which the probe times out. Defaults to 1 + # second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/ + # workloads/pods/pod-lifecycle#container-probes # Corresponds to the JSON property `timeoutSeconds` # @return [Fixnum] attr_accessor :timeout_seconds @@ -2297,14 +2017,14 @@ module Google class ResourceRecord include Google::Apis::Core::Hashable - # Relative name of the object affected by this record. Only applicable for - # `CNAME` records. Example: 'www'. + # Relative name of the object affected by this record. Only applicable for ` + # CNAME` records. Example: 'www'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Data for this record. Values vary by record type, as defined in RFC 1035 - # (section 5) and RFC 1034 (section 3.6.1). + # Data for this record. Values vary by record type, as defined in RFC 1035 ( + # section 5) and RFC 1034 (section 3.6.1). # Corresponds to the JSON property `rrdata` # @return [String] attr_accessor :rrdata @@ -2330,28 +2050,24 @@ module Google class ResourceRequirements include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: Only memory and CPU are supported. Note: The only - # supported value for CPU is '1'. - # Cloud Run for Anthos: supported - # Limits describes the maximum amount of compute resources allowed. - # The values of the map is string form of the 'quantity' k8s type: - # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/ - # apimachinery/pkg/api/resource/quantity.go + # (Optional) Cloud Run fully managed: Only memory and CPU are supported. Note: + # The only supported value for CPU is '1'. Cloud Run for Anthos: supported + # Limits describes the maximum amount of compute resources allowed. The values + # of the map is string form of the 'quantity' k8s type: https://github.com/ + # kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/ + # resource/quantity.go # Corresponds to the JSON property `limits` # @return [Hash] attr_accessor :limits - # (Optional) - # Cloud Run fully managed: Only memory and CPU are supported. Note: The only - # supported value for CPU is '1'. - # Cloud Run for Anthos: supported - # Requests describes the minimum amount of compute resources required. - # If Requests is omitted for a container, it defaults to Limits if that is - # explicitly specified, otherwise to an implementation-defined value. - # The values of the map is string form of the 'quantity' k8s type: - # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/ - # apimachinery/pkg/api/resource/quantity.go + # (Optional) Cloud Run fully managed: Only memory and CPU are supported. Note: + # The only supported value for CPU is '1'. Cloud Run for Anthos: supported + # Requests describes the minimum amount of compute resources required. If + # Requests is omitted for a container, it defaults to Limits if that is + # explicitly specified, otherwise to an implementation-defined value. The values + # of the map is string form of the 'quantity' k8s type: https://github.com/ + # kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/ + # resource/quantity.go # Corresponds to the JSON property `requests` # @return [Hash] attr_accessor :requests @@ -2367,11 +2083,10 @@ module Google end end - # Revision is an immutable snapshot of code and configuration. A revision + # Revision is an immutable snapshot of code and configuration. A revision # references a container image. Revisions are created by updates to a - # Configuration. - # See also: - # https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision + # Configuration. See also: https://github.com/knative/serving/blob/master/docs/ + # spec/overview.md#revision class Revision include Google::Apis::Core::Hashable @@ -2385,8 +2100,8 @@ module Google # @return [String] attr_accessor :kind - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata @@ -2420,41 +2135,37 @@ module Google class RevisionSpec include Google::Apis::Core::Hashable - # (Optional) - # ContainerConcurrency specifies the maximum allowed in-flight (concurrent) - # requests per container instance of the Revision. - # Cloud Run fully managed: supported, defaults to 80 - # Cloud Run for Anthos: supported, defaults to 0, which means concurrency - # to the application is not limited, and the system decides the - # target concurrency for the autoscaler. + # (Optional) ContainerConcurrency specifies the maximum allowed in-flight ( + # concurrent) requests per container instance of the Revision. Cloud Run fully + # managed: supported, defaults to 80 Cloud Run for Anthos: supported, defaults + # to 0, which means concurrency to the application is not limited, and the + # system decides the target concurrency for the autoscaler. # Corresponds to the JSON property `containerConcurrency` # @return [Fixnum] attr_accessor :container_concurrency - # Containers holds the single container that defines the unit of execution - # for this Revision. In the context of a Revision, we disallow a number of - # fields on this Container, including: name and lifecycle. - # In Cloud Run, only a single container may be provided. - # The runtime contract is documented here: - # https://github.com/knative/serving/blob/master/docs/runtime-contract.md + # Containers holds the single container that defines the unit of execution for + # this Revision. In the context of a Revision, we disallow a number of fields on + # this Container, including: name and lifecycle. In Cloud Run, only a single + # container may be provided. The runtime contract is documented here: https:// + # github.com/knative/serving/blob/master/docs/runtime-contract.md # Corresponds to the JSON property `containers` # @return [Array] attr_accessor :containers - # Email address of the IAM service account associated with the revision - # of the service. The service account represents the identity of the - # running revision, and determines what permissions the revision has. If - # not provided, the revision will use the project's default service account. + # Email address of the IAM service account associated with the revision of the + # service. The service account represents the identity of the running revision, + # and determines what permissions the revision has. If not provided, the + # revision will use the project's default service account. # Corresponds to the JSON property `serviceAccountName` # @return [String] attr_accessor :service_account_name - # TimeoutSeconds holds the max duration the instance is allowed for - # responding to a request. - # Cloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum - # allowed value is 900 seconds (15 minutes). - # Cloud Run for Anthos: defaults to 300 seconds (5 minutes). Maximum allowed - # value is configurable by the cluster operator. + # TimeoutSeconds holds the max duration the instance is allowed for responding + # to a request. Cloud Run fully managed: defaults to 300 seconds (5 minutes). + # Maximum allowed value is 900 seconds (15 minutes). Cloud Run for Anthos: + # defaults to 300 seconds (5 minutes). Maximum allowed value is configurable by + # the cluster operator. # Corresponds to the JSON property `timeoutSeconds` # @return [Fixnum] attr_accessor :timeout_seconds @@ -2483,39 +2194,35 @@ module Google class RevisionStatus include Google::Apis::Core::Hashable - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. - # As a Revision is being prepared, it will incrementally - # update conditions. Revision-specific conditions include: - # * "ResourcesAvailable": True when underlying resources have been - # provisioned. - # * "ContainerHealthy": True when the Revision readiness check completes. - # * "Active": True when the Revision may receive traffic. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. + # As a Revision is being prepared, it will incrementally update conditions. + # Revision-specific conditions include: * "ResourcesAvailable": True when + # underlying resources have been provisioned. * "ContainerHealthy": True when + # the Revision readiness check completes. * "Active": True when the Revision may + # receive traffic. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ImageDigest holds the resolved digest for the image specified - # within .Spec.Container.Image. The digest is resolved during the creation - # of Revision. This field holds the digest value regardless of whether - # a tag or digest was originally specified in the Container object. + # ImageDigest holds the resolved digest for the image specified within .Spec. + # Container.Image. The digest is resolved during the creation of Revision. This + # field holds the digest value regardless of whether a tag or digest was + # originally specified in the Container object. # Corresponds to the JSON property `imageDigest` # @return [String] attr_accessor :image_digest - # Specifies the generated logging url for this particular revision - # based on the revision url template specified in the controller's config. - # +optional + # Specifies the generated logging url for this particular revision based on the + # revision url template specified in the controller's config. +optional # Corresponds to the JSON property `logUrl` # @return [String] attr_accessor :log_url - # ObservedGeneration is the 'Generation' of the Revision that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation, and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the Revision that was last processed + # by the controller. Clients polling for completed reconciliation should poll + # until observedGeneration = metadata.generation, and the Ready condition's + # status is True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation @@ -2540,13 +2247,13 @@ module Google end # RevisionTemplateSpec describes the data a revision should have when created - # from a template. Based on: - # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 + # from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/ + # core/v1/types.go#L3179-L3190 class RevisionTemplate include Google::Apis::Core::Hashable - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata @@ -2570,11 +2277,10 @@ module Google # Route is responsible for configuring ingress over a collection of Revisions. # Some of the Revisions a Route distributes traffic over may be specified by # referencing the Configuration responsible for creating them; in these cases - # the Route is additionally responsible for monitoring the Configuration for - # "latest ready" revision changes, and smoothly rolling out latest revisions. - # See also: - # https://github.com/knative/serving/blob/master/docs/spec/overview.md#route - # Cloud Run currently supports referencing a single Configuration to + # the Route is additionally responsible for monitoring the Configuration for " + # latest ready" revision changes, and smoothly rolling out latest revisions. See + # also: https://github.com/knative/serving/blob/master/docs/spec/overview.md# + # route Cloud Run currently supports referencing a single Configuration to # automatically deploy the "latest ready" Revision from that Configuration. class Route include Google::Apis::Core::Hashable @@ -2589,8 +2295,8 @@ module Google # @return [String] attr_accessor :kind - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata @@ -2600,8 +2306,7 @@ module Google # @return [Google::Apis::RunV1::RouteSpec] attr_accessor :spec - # RouteStatus communicates the observed state of the Route (from the - # controller). + # RouteStatus communicates the observed state of the Route (from the controller). # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1::RouteStatus] attr_accessor :status @@ -2625,8 +2330,8 @@ module Google include Google::Apis::Core::Hashable # Traffic specifies how to distribute traffic over a collection of Knative - # Revisions and Configurations. - # Cloud Run currently supports a single configurationName. + # Revisions and Configurations. Cloud Run currently supports a single + # configurationName. # Corresponds to the JSON property `traffic` # @return [Array] attr_accessor :traffic @@ -2641,8 +2346,7 @@ module Google end end - # RouteStatus communicates the observed state of the Route (from the - # controller). + # RouteStatus communicates the observed state of the Route (from the controller). class RouteStatus include Google::Apis::Core::Hashable @@ -2651,37 +2355,33 @@ module Google # @return [Google::Apis::RunV1::Addressable] attr_accessor :address - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ObservedGeneration is the 'Generation' of the Route that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation and the Ready condition's status - # is True or False. - # Note that providing a trafficTarget that only has a configurationName will - # result in a Route that does not increment either its metadata.generation or - # its observedGeneration, as new "latest ready" revisions from the - # Configuration are processed without an update to the Route's spec. + # ObservedGeneration is the 'Generation' of the Route that was last processed by + # the controller. Clients polling for completed reconciliation should poll until + # observedGeneration = metadata.generation and the Ready condition's status is + # True or False. Note that providing a trafficTarget that only has a + # configurationName will result in a Route that does not increment either its + # metadata.generation or its observedGeneration, as new "latest ready" revisions + # from the Configuration are processed without an update to the Route's spec. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # Traffic holds the configured traffic distribution. - # These entries will always contain RevisionName references. - # When ConfigurationName appears in the spec, this will hold the - # LatestReadyRevisionName that we last observed. + # Traffic holds the configured traffic distribution. These entries will always + # contain RevisionName references. When ConfigurationName appears in the spec, + # this will hold the LatestReadyRevisionName that we last observed. # Corresponds to the JSON property `traffic` # @return [Array] attr_accessor :traffic # URL holds the url that will distribute traffic over the provided traffic - # targets. It generally has the form: - # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app + # targets. It generally has the form: https://`route-hash`-`project-hash`-` + # cluster-level-suffix`.a.run.app # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -2700,32 +2400,30 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Secret holds secret data of a certain type. The total bytes of the values in - # the Data field must be less than MaxSecretSize bytes. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Secret + # holds secret data of a certain type. The total bytes of the values in the Data + # field must be less than MaxSecretSize bytes. class Secret include Google::Apis::Core::Hashable # Data contains the secret data. Each key must consist of alphanumeric # characters, '-', '_' or '.'. The serialized form of the secret data is a - # base64 encoded string, representing the arbitrary (possibly non-string) - # data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 + # base64 encoded string, representing the arbitrary (possibly non-string) data + # value here. Described in https://tools.ietf.org/html/rfc4648#section-4 # Corresponds to the JSON property `data` # @return [Hash] attr_accessor :data - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata - # stringData allows specifying non-binary secret data in string form. - # It is provided as a write-only convenience method. - # All keys and values are merged into the data field on write, overwriting - # any existing values. It is never output when reading from the API. - # +k8s:conversion-gen=false + # stringData allows specifying non-binary secret data in string form. It is + # provided as a write-only convenience method. All keys and values are merged + # into the data field on write, overwriting any existing values. It is never + # output when reading from the API. +k8s:conversion-gen=false # Corresponds to the JSON property `stringData` # @return [Hash] attr_accessor :string_data @@ -2748,34 +2446,28 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # SecretEnvSource selects a Secret to populate the environment - # variables with. - # The contents of the target Secret's Data field will represent the - # key-value pairs as environment variables. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported + # SecretEnvSource selects a Secret to populate the environment variables with. + # The contents of the target Secret's Data field will represent the key-value + # pairs as environment variables. class SecretEnvSource include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # LocalObjectReference contains enough information to let you locate the # referenced object inside the same namespace. # Corresponds to the JSON property `localObjectReference` # @return [Google::Apis::RunV1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The Secret to select from. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # Secret to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the Secret must be defined + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Specify whether the Secret must be defined # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -2793,38 +2485,32 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # SecretKeySelector selects a key of a Secret. class SecretKeySelector include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The key of the secret to select from. Must be a valid secret key. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The key + # of the secret to select from. Must be a valid secret key. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # LocalObjectReference contains enough information to let you locate the # referenced object inside the same namespace. # Corresponds to the JSON property `localObjectReference` # @return [Google::Apis::RunV1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The name of the secret in the pod's namespace to select from. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # name of the secret in the pod's namespace to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the Secret or its key must be defined + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Specify whether the Secret or its key must be defined # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -2843,49 +2529,41 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The contents of the target Secret's Data field will be presented in a volume - # as files using the keys in the Data field as the file names. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # contents of the target Secret's Data field will be presented in a volume as + # files using the keys in the Data field as the file names. class SecretVolumeSource include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Mode bits to use on created files by default. Must be a value between 0 and - # 0777. Defaults to 0644. Directories within the path are not affected by - # this setting. This might be in conflict with other options that affect the - # file mode, like fsGroup, and the result can be other mode bits set. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Mode bits to use on created files by default. Must be a value + # between 0 and 0777. Defaults to 0644. Directories within the path are not + # affected by this setting. This might be in conflict with other options that + # affect the file mode, like fsGroup, and the result can be other mode bits set. # Corresponds to the JSON property `defaultMode` # @return [Fixnum] attr_accessor :default_mode - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # If unspecified, each key-value pair in the Data field of the referenced - # Secret will be projected into the volume as a file whose name is the - # key and content is the value. If specified, the listed keys will be - # projected into the specified paths, and unlisted keys will not be - # present. If a key is specified which is not present in the Secret, - # the volume setup will error unless it is marked optional. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported If unspecified, each key-value pair in the Data field of the + # referenced Secret will be projected into the volume as a file whose name is + # the key and content is the value. If specified, the listed keys will be + # projected into the specified paths, and unlisted keys will not be present. If + # a key is specified which is not present in the Secret, the volume setup will + # error unless it is marked optional. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the Secret or its keys must be defined. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Specify whether the Secret or its keys must be defined. # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional alias_method :optional?, :optional - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Name of the secret in the container's namespace to use. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of + # the secret in the container's namespace to use. # Corresponds to the JSON property `secretName` # @return [String] attr_accessor :secret_name @@ -2903,23 +2581,19 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # SecurityContext holds security configuration that will be applied to a # container. Some fields are present in both SecurityContext and - # PodSecurityContext. When both are set, the values in SecurityContext take + # PodSecurityContext. When both are set, the values in SecurityContext take # precedence. class SecurityContext include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The UID to run the entrypoint of the container process. - # Defaults to user specified in image metadata if unspecified. - # May also be set in PodSecurityContext. If set in both SecurityContext and - # PodSecurityContext, the value specified in SecurityContext takes - # precedence. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported The UID to run the entrypoint of the container process. Defaults to + # user specified in image metadata if unspecified. May also be set in + # PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the + # value specified in SecurityContext takes precedence. # Corresponds to the JSON property `runAsUser` # @return [Fixnum] attr_accessor :run_as_user @@ -2936,15 +2610,14 @@ module Google # Service acts as a top-level container that manages a set of Routes and # Configurations which implement a network service. Service exists to provide a - # singular abstraction which can be access controlled, reasoned about, and - # which encapsulates software lifecycle decisions such as rollout policy and - # team resource ownership. Service acts only as an orchestrator of the - # underlying Routes and Configurations (much as a kubernetes Deployment - # orchestrates ReplicaSets). - # The Service's controller will track the statuses of its owned Configuration - # and Route, reflecting their statuses and conditions as its own. - # See also: - # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service + # singular abstraction which can be access controlled, reasoned about, and which + # encapsulates software lifecycle decisions such as rollout policy and team + # resource ownership. Service acts only as an orchestrator of the underlying + # Routes and Configurations (much as a kubernetes Deployment orchestrates + # ReplicaSets). The Service's controller will track the statuses of its owned + # Configuration and Route, reflecting their statuses and conditions as its own. + # See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md# + # service class Service include Google::Apis::Core::Hashable @@ -2958,14 +2631,14 @@ module Google # @return [String] attr_accessor :kind - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ObjectMeta] attr_accessor :metadata - # ServiceSpec holds the desired state of the Route (from the client), which - # is used to manipulate the underlying Route and Configuration(s). + # ServiceSpec holds the desired state of the Route (from the client), which is + # used to manipulate the underlying Route and Configuration(s). # Corresponds to the JSON property `spec` # @return [Google::Apis::RunV1::ServiceSpec] attr_accessor :spec @@ -2989,14 +2662,14 @@ module Google end end - # ServiceSpec holds the desired state of the Route (from the client), which - # is used to manipulate the underlying Route and Configuration(s). + # ServiceSpec holds the desired state of the Route (from the client), which is + # used to manipulate the underlying Route and Configuration(s). class ServiceSpec include Google::Apis::Core::Hashable # RevisionTemplateSpec describes the data a revision should have when created - # from a template. Based on: - # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 + # from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/ + # core/v1/types.go#L3179-L3190 # Corresponds to the JSON property `template` # @return [Google::Apis::RunV1::RevisionTemplate] attr_accessor :template @@ -3027,56 +2700,49 @@ module Google # @return [Google::Apis::RunV1::Addressable] attr_accessor :address - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. - # Service-specific conditions include: - # * "ConfigurationsReady": true when the underlying Configuration is ready. - # * "RoutesReady": true when the underlying Route is ready. - # * "Ready": true when both the underlying Route and Configuration are - # ready. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. + # Service-specific conditions include: * "ConfigurationsReady": true when the + # underlying Configuration is ready. * "RoutesReady": true when the underlying + # Route is ready. * "Ready": true when both the underlying Route and + # Configuration are ready. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # From ConfigurationStatus. - # LatestCreatedRevisionName is the last revision that was created from this - # Service's Configuration. It might not be ready yet, for that use - # LatestReadyRevisionName. + # From ConfigurationStatus. LatestCreatedRevisionName is the last revision that + # was created from this Service's Configuration. It might not be ready yet, for + # that use LatestReadyRevisionName. # Corresponds to the JSON property `latestCreatedRevisionName` # @return [String] attr_accessor :latest_created_revision_name - # From ConfigurationStatus. - # LatestReadyRevisionName holds the name of the latest Revision stamped out - # from this Service's Configuration that has had its "Ready" condition become - # "True". + # From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest + # Revision stamped out from this Service's Configuration that has had its "Ready" + # condition become "True". # Corresponds to the JSON property `latestReadyRevisionName` # @return [String] attr_accessor :latest_ready_revision_name - # ObservedGeneration is the 'Generation' of the Route that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the Route that was last processed by + # the controller. Clients polling for completed reconciliation should poll until + # observedGeneration = metadata.generation and the Ready condition's status is + # True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # From RouteStatus. - # Traffic holds the configured traffic distribution. - # These entries will always contain RevisionName references. - # When ConfigurationName appears in the spec, this will hold the - # LatestReadyRevisionName that we last observed. + # From RouteStatus. Traffic holds the configured traffic distribution. These + # entries will always contain RevisionName references. When ConfigurationName + # appears in the spec, this will hold the LatestReadyRevisionName that we last + # observed. # Corresponds to the JSON property `traffic` # @return [Array] attr_accessor :traffic - # From RouteStatus. - # URL holds the url that will distribute traffic over the provided traffic - # targets. It generally has the form - # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app + # From RouteStatus. URL holds the url that will distribute traffic over the + # provided traffic targets. It generally has the form https://`route-hash`-` + # project-hash`-`cluster-level-suffix`.a.run.app # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -3102,74 +2768,39 @@ module Google include Google::Apis::Core::Hashable # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). # Corresponds to the JSON property `policy` # @return [Google::Apis::RunV1::Policy] attr_accessor :policy # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # `paths: "bindings, etag"` + # the fields in the mask will be modified. If no mask is provided, the following + # default mask is used: `paths: "bindings, etag"` # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask @@ -3189,50 +2820,42 @@ module Google class Status include Google::Apis::Core::Hashable - # Suggested HTTP return code for this status, 0 if not set. - # +optional + # Suggested HTTP return code for this status, 0 if not set. +optional # Corresponds to the JSON property `code` # @return [Fixnum] attr_accessor :code - # StatusDetails is a set of additional properties that MAY be set by the - # server to provide additional information about a response. The Reason - # field of a Status object defines what attributes will be set. Clients - # must ignore fields that do not match the defined type of each attribute, - # and should assume that any attribute may be empty, invalid, or under - # defined. + # StatusDetails is a set of additional properties that MAY be set by the server + # to provide additional information about a response. The Reason field of a + # Status object defines what attributes will be set. Clients must ignore fields + # that do not match the defined type of each attribute, and should assume that + # any attribute may be empty, invalid, or under defined. # Corresponds to the JSON property `details` # @return [Google::Apis::RunV1::StatusDetails] attr_accessor :details - # A human-readable description of the status of this operation. - # +optional + # A human-readable description of the status of this operation. +optional # Corresponds to the JSON property `message` # @return [String] attr_accessor :message # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1::ListMeta] attr_accessor :metadata - # A machine-readable description of why this operation is in the - # "Failure" status. If this value is empty there - # is no information available. A Reason clarifies an HTTP status - # code but does not override it. - # +optional + # A machine-readable description of why this operation is in the "Failure" + # status. If this value is empty there is no information available. A Reason + # clarifies an HTTP status code but does not override it. +optional # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # Status of the operation. - # One of: "Success" or "Failure". - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and- - # status - # +optional + # Status of the operation. One of: "Success" or "Failure". More info: https:// + # git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + + # optional # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -3259,27 +2882,22 @@ module Google # The field of the resource that has caused this error, as named by its JSON # serialization. May include dot and postfix notation for nested attributes. - # Arrays are zero-indexed. Fields may appear more than once in an array of - # causes due to fields having multiple errors. - # Optional. - # Examples: - # "name" - the field "name" on the current resource - # "items[0].name" - the field "name" on the first array entry in "items" - # +optional + # Arrays are zero-indexed. Fields may appear more than once in an array of + # causes due to fields having multiple errors. Optional. Examples: "name" - the + # field "name" on the current resource "items[0].name" - the field "name" on the + # first array entry in "items" +optional # Corresponds to the JSON property `field` # @return [String] attr_accessor :field - # A human-readable description of the cause of the error. This field may be - # presented as-is to a reader. - # +optional + # A human-readable description of the cause of the error. This field may be + # presented as-is to a reader. +optional # Corresponds to the JSON property `message` # @return [String] attr_accessor :message # A machine-readable description of the cause of the error. If this value is - # empty there is no information available. - # +optional + # empty there is no information available. +optional # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -3296,56 +2914,50 @@ module Google end end - # StatusDetails is a set of additional properties that MAY be set by the - # server to provide additional information about a response. The Reason - # field of a Status object defines what attributes will be set. Clients - # must ignore fields that do not match the defined type of each attribute, - # and should assume that any attribute may be empty, invalid, or under - # defined. + # StatusDetails is a set of additional properties that MAY be set by the server + # to provide additional information about a response. The Reason field of a + # Status object defines what attributes will be set. Clients must ignore fields + # that do not match the defined type of each attribute, and should assume that + # any attribute may be empty, invalid, or under defined. class StatusDetails include Google::Apis::Core::Hashable # The Causes array includes more details associated with the StatusReason - # failure. Not all StatusReasons may provide detailed causes. - # +optional + # failure. Not all StatusReasons may provide detailed causes. +optional # Corresponds to the JSON property `causes` # @return [Array] attr_accessor :causes - # The group attribute of the resource associated with the status - # StatusReason. +optional + # The group attribute of the resource associated with the status StatusReason. + + # optional # Corresponds to the JSON property `group` # @return [String] attr_accessor :group - # The kind attribute of the resource associated with the status StatusReason. - # On some operations may differ from the requested resource Kind. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - # +optional + # The kind attribute of the resource associated with the status StatusReason. On + # some operations may differ from the requested resource Kind. More info: https:/ + # /git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + # optional # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The name attribute of the resource associated with the status StatusReason - # (when there is a single name which can be described). - # +optional + # The name attribute of the resource associated with the status StatusReason ( + # when there is a single name which can be described). +optional # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # If specified, the time in seconds before the operation should be retried. - # Some errors may indicate the client must take an alternate action - for - # those errors this field may indicate how long to wait before taking the - # alternate action. +optional + # If specified, the time in seconds before the operation should be retried. Some + # errors may indicate the client must take an alternate action - for those + # errors this field may indicate how long to wait before taking the alternate + # action. +optional # Corresponds to the JSON property `retryAfterSeconds` # @return [Fixnum] attr_accessor :retry_after_seconds - # UID of the resource. - # (when there is a single resource which can be described). - # More info: http://kubernetes.io/docs/user-guide/identifiers#uids - # +optional + # UID of the resource. (when there is a single resource which can be described). + # More info: http://kubernetes.io/docs/user-guide/identifiers#uids +optional # Corresponds to the JSON property `uid` # @return [String] attr_accessor :uid @@ -3365,27 +2977,22 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # TCPSocketAction describes an action based on opening a socket class TcpSocketAction include Google::Apis::Core::Hashable - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Optional: Host name to connect to, defaults to the pod IP. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Optional: Host name to connect to, defaults to the pod IP. # Corresponds to the JSON property `host` # @return [String] attr_accessor :host - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Number or name of the port to access on the container. - # Number must be in the range 1 to 65535. - # Name must be an IANA_SVC_NAME. - # This field is currently limited to integer types only because of proto's - # inability to properly support the IntOrString golang type. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number + # or name of the port to access on the container. Number must be in the range 1 + # to 65535. Name must be an IANA_SVC_NAME. This field is currently limited to + # integer types only because of proto's inability to properly support the + # IntOrString golang type. # Corresponds to the JSON property `port` # @return [Fixnum] attr_accessor :port @@ -3405,10 +3012,9 @@ module Google class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # The set of permissions to check for the `resource`. Permissions with wildcards + # (such as '*' or 'storage.*') are not allowed. For more information see [IAM + # Overview](https://cloud.google.com/iam/docs/overview#permissions). # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -3427,8 +3033,7 @@ module Google class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. + # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -3447,55 +3052,49 @@ module Google class TrafficTarget include Google::Apis::Core::Hashable - # ConfigurationName of a configuration to whose latest revision we will - # send this portion of traffic. When the "status.latestReadyRevisionName" - # of the referenced configuration changes, we will automatically migrate - # traffic from the prior "latest ready" revision to the new one. This field - # is never set in Route's status, only its spec. This is mutually exclusive - # with RevisionName. + # ConfigurationName of a configuration to whose latest revision we will send + # this portion of traffic. When the "status.latestReadyRevisionName" of the + # referenced configuration changes, we will automatically migrate traffic from + # the prior "latest ready" revision to the new one. This field is never set in + # Route's status, only its spec. This is mutually exclusive with RevisionName. # Cloud Run currently supports a single ConfigurationName. # Corresponds to the JSON property `configurationName` # @return [String] attr_accessor :configuration_name - # LatestRevision may be optionally provided to indicate that the latest - # ready Revision of the Configuration should be used for this traffic - # target. When provided LatestRevision must be true if RevisionName is - # empty; it must be false when RevisionName is non-empty. - # +optional + # LatestRevision may be optionally provided to indicate that the latest ready + # Revision of the Configuration should be used for this traffic target. When + # provided LatestRevision must be true if RevisionName is empty; it must be + # false when RevisionName is non-empty. +optional # Corresponds to the JSON property `latestRevision` # @return [Boolean] attr_accessor :latest_revision alias_method :latest_revision?, :latest_revision # Percent specifies percent of the traffic to this Revision or Configuration. - # This defaults to zero if unspecified. - # Cloud Run currently requires 100 percent for a single ConfigurationName - # TrafficTarget entry. + # This defaults to zero if unspecified. Cloud Run currently requires 100 percent + # for a single ConfigurationName TrafficTarget entry. # Corresponds to the JSON property `percent` # @return [Fixnum] attr_accessor :percent - # RevisionName of a specific revision to which to send this portion of - # traffic. This is mutually exclusive with ConfigurationName. - # Providing RevisionName in spec is not currently supported by Cloud Run. + # RevisionName of a specific revision to which to send this portion of traffic. + # This is mutually exclusive with ConfigurationName. Providing RevisionName in + # spec is not currently supported by Cloud Run. # Corresponds to the JSON property `revisionName` # @return [String] attr_accessor :revision_name - # Tag is optionally used to expose a dedicated url for referencing - # this target exclusively. - # Not currently supported in Cloud Run. - # +optional + # Tag is optionally used to expose a dedicated url for referencing this target + # exclusively. Not currently supported in Cloud Run. +optional # Corresponds to the JSON property `tag` # @return [String] attr_accessor :tag - # Output only. URL displays the URL for accessing tagged traffic targets. URL - # is displayed in status, and is disallowed on spec. URL must contain a - # scheme (e.g. http://) and a hostname, but may not contain anything else - # (e.g. basic auth, url path, etc. - # Not currently supported in Cloud Run. + # Output only. URL displays the URL for accessing tagged traffic targets. URL is + # displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. + # http://) and a hostname, but may not contain anything else (e.g. basic auth, + # url path, etc. Not currently supported in Cloud Run. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -3515,33 +3114,29 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Volume represents a named volume in a container. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Volume + # represents a named volume in a container. class Volume include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Adapts a ConfigMap into a volume. - # The contents of the target ConfigMap's Data field will be presented in a - # volume as files using the keys in the Data field as the file names, unless - # the items element is populated with specific mappings of keys to paths. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Adapts + # a ConfigMap into a volume. The contents of the target ConfigMap's Data field + # will be presented in a volume as files using the keys in the Data field as the + # file names, unless the items element is populated with specific mappings of + # keys to paths. # Corresponds to the JSON property `configMap` # @return [Google::Apis::RunV1::ConfigMapVolumeSource] attr_accessor :config_map - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Volume's name. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Volume' + # s name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The contents of the target Secret's Data field will be presented in a volume - # as files using the keys in the Data field as the file names. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # contents of the target Secret's Data field will be presented in a volume as + # files using the keys in the Data field as the file names. # Corresponds to the JSON property `secret` # @return [Google::Apis::RunV1::SecretVolumeSource] attr_accessor :secret @@ -3558,42 +3153,34 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported # VolumeMount describes a mounting of a Volume within a container. class VolumeMount include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Path within the container at which the volume should be mounted. Must - # not contain ':'. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path + # within the container at which the volume should be mounted. Must not contain ': + # '. # Corresponds to the JSON property `mountPath` # @return [String] attr_accessor :mount_path - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # This must match the Name of a Volume. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported This + # must match the Name of a Volume. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Only true is accepted. - # Defaults to true. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Only true is accepted. Defaults to true. # Corresponds to the JSON property `readOnly` # @return [Boolean] attr_accessor :read_only alias_method :read_only?, :read_only - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Path within the volume from which the container's volume should be mounted. - # Defaults to "" (volume's root). + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Path within the volume from which the container's volume should be + # mounted. Defaults to "" (volume's root). # Corresponds to the JSON property `subPath` # @return [String] attr_accessor :sub_path diff --git a/generated/google/apis/run_v1/service.rb b/generated/google/apis/run_v1/service.rb index 89c764618..629ed6255 100644 --- a/generated/google/apis/run_v1/service.rb +++ b/generated/google/apis/run_v1/service.rb @@ -50,8 +50,8 @@ module Google # Rpc to get information about a namespace. # @param [String] name - # Required. The name of the namespace being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the namespace being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -81,12 +81,12 @@ module Google # Rpc to update a namespace. # @param [String] name - # Required. The name of the namespace being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the namespace being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [Google::Apis::RunV1::Namespace] namespace_object # @param [String] update_mask - # Required. Indicates which fields in the provided namespace to update. - # This field is currently unused. + # Required. Indicates which fields in the provided namespace to update. This + # field is currently unused. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -119,8 +119,8 @@ module Google # Creates a new secret. # @param [String] parent - # Required. The project ID or project number in which this secret should - # be created. + # Required. The project ID or project number in which this secret should be + # created. # @param [Google::Apis::RunV1::Secret] secret_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -153,8 +153,8 @@ module Google # Rpc to get information about a secret. # @param [String] name - # Required. The name of the secret being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the secret being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -182,15 +182,13 @@ module Google execute_or_queue_command(command, &block) end - # Rpc to replace a secret. - # 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. + # Rpc to replace a secret. 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. # @param [String] name - # Required. The name of the secret being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the secret being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [Google::Apis::RunV1::Secret] secret_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -259,9 +257,8 @@ module Google # Get information about a configuration. # @param [String] name - # The name of the configuration to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the configuration to retrieve. For Cloud Run (fully managed), + # replace `namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -291,20 +288,19 @@ module Google # List configurations. # @param [String] parent - # The namespace from which the configurations should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the configurations should be listed. For Cloud Run ( + # fully managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -349,9 +345,8 @@ module Google # Create a new domain mapping. # @param [String] parent - # The namespace in which the domain mapping should be created. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace in which the domain mapping should be created. For Cloud Run ( + # fully managed), replace `namespace_id` with the project ID or number. # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -384,18 +379,16 @@ module Google # Delete a domain mapping. # @param [String] name - # The name of the domain mapping to delete. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the domain mapping to delete. For Cloud Run (fully managed), + # replace `namespace_id` with the project ID or number. # @param [String] api_version # Cloud Run currently ignores this parameter. # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -428,9 +421,8 @@ module Google # Get information about a domain mapping. # @param [String] name - # The name of the domain mapping to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the domain mapping to retrieve. For Cloud Run (fully managed), + # replace `namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -460,20 +452,19 @@ module Google # List domain mappings. # @param [String] parent - # The namespace from which the domain mappings should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the domain mappings should be listed. For Cloud Run ( + # fully managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -518,18 +509,16 @@ module Google # Delete a revision. # @param [String] name - # The name of the revision to delete. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the revision to delete. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] api_version # Cloud Run currently ignores this parameter. # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -562,9 +551,8 @@ module Google # Get information about a revision. # @param [String] name - # The name of the revision to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the revision to retrieve. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -594,20 +582,19 @@ module Google # List revisions. # @param [String] parent - # The namespace from which the revisions should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the revisions should be listed. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -652,9 +639,8 @@ module Google # Get information about a route. # @param [String] name - # The name of the route to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the route to retrieve. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -684,20 +670,19 @@ module Google # List routes. # @param [String] parent - # The namespace from which the routes should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the routes should be listed. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -742,9 +727,8 @@ module Google # Create a service. # @param [String] parent - # The namespace in which the service should be created. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace in which the service should be created. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [Google::Apis::RunV1::Service] service_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -775,22 +759,19 @@ module Google execute_or_queue_command(command, &block) end - # Delete a service. - # This will cause the Service to stop serving traffic and will delete the - # child entities like Routes, Configurations and Revisions. + # Delete a service. This will cause the Service to stop serving traffic and will + # delete the child entities like Routes, Configurations and Revisions. # @param [String] name - # The name of the service to delete. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the service to delete. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] api_version # Cloud Run currently ignores this parameter. # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -823,9 +804,8 @@ module Google # Get information about a service. # @param [String] name - # The name of the service to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the service to retrieve. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -855,20 +835,19 @@ module Google # List services. # @param [String] parent - # The namespace from which the services should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the services should be listed. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -911,16 +890,13 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name - # The name of the service being replaced. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the service being replaced. For Cloud Run (fully managed), replace + # `namespace_id` with the project ID or number. # @param [Google::Apis::RunV1::Service] service_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1028,9 +1004,8 @@ module Google # Get information about a configuration. # @param [String] name - # The name of the configuration to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the configuration to retrieve. For Cloud Run (fully managed), + # replace `namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1060,20 +1035,19 @@ module Google # List configurations. # @param [String] parent - # The namespace from which the configurations should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the configurations should be listed. For Cloud Run ( + # fully managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1118,9 +1092,8 @@ module Google # Create a new domain mapping. # @param [String] parent - # The namespace in which the domain mapping should be created. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace in which the domain mapping should be created. For Cloud Run ( + # fully managed), replace `namespace_id` with the project ID or number. # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1153,18 +1126,16 @@ module Google # Delete a domain mapping. # @param [String] name - # The name of the domain mapping to delete. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the domain mapping to delete. For Cloud Run (fully managed), + # replace `namespace_id` with the project ID or number. # @param [String] api_version # Cloud Run currently ignores this parameter. # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1197,9 +1168,8 @@ module Google # Get information about a domain mapping. # @param [String] name - # The name of the domain mapping to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the domain mapping to retrieve. For Cloud Run (fully managed), + # replace `namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1229,20 +1199,19 @@ module Google # List domain mappings. # @param [String] parent - # The namespace from which the domain mappings should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the domain mappings should be listed. For Cloud Run ( + # fully managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1287,8 +1256,8 @@ module Google # Rpc to get information about a namespace. # @param [String] name - # Required. The name of the namespace being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the namespace being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1318,12 +1287,12 @@ module Google # Rpc to update a namespace. # @param [String] name - # Required. The name of the namespace being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the namespace being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [Google::Apis::RunV1::Namespace] namespace_object # @param [String] update_mask - # Required. Indicates which fields in the provided namespace to update. - # This field is currently unused. + # Required. Indicates which fields in the provided namespace to update. This + # field is currently unused. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1356,18 +1325,16 @@ module Google # Delete a revision. # @param [String] name - # The name of the revision to delete. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the revision to delete. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] api_version # Cloud Run currently ignores this parameter. # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1400,9 +1367,8 @@ module Google # Get information about a revision. # @param [String] name - # The name of the revision to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the revision to retrieve. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1432,20 +1398,19 @@ module Google # List revisions. # @param [String] parent - # The namespace from which the revisions should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the revisions should be listed. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1490,9 +1455,8 @@ module Google # Get information about a route. # @param [String] name - # The name of the route to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the route to retrieve. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1522,20 +1486,19 @@ module Google # List routes. # @param [String] parent - # The namespace from which the routes should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the routes should be listed. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1580,8 +1543,8 @@ module Google # Creates a new secret. # @param [String] parent - # Required. The project ID or project number in which this secret should - # be created. + # Required. The project ID or project number in which this secret should be + # created. # @param [Google::Apis::RunV1::Secret] secret_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1614,8 +1577,8 @@ module Google # Rpc to get information about a secret. # @param [String] name - # Required. The name of the secret being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the secret being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1643,15 +1606,13 @@ module Google execute_or_queue_command(command, &block) end - # Rpc to replace a secret. - # 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. + # Rpc to replace a secret. 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. # @param [String] name - # Required. The name of the secret being retrieved. If needed, replace - # `namespace_id` with the project ID. + # Required. The name of the secret being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [Google::Apis::RunV1::Secret] secret_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1684,9 +1645,8 @@ module Google # Create a service. # @param [String] parent - # The namespace in which the service should be created. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace in which the service should be created. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [Google::Apis::RunV1::Service] service_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1717,22 +1677,19 @@ module Google execute_or_queue_command(command, &block) end - # Delete a service. - # This will cause the Service to stop serving traffic and will delete the - # child entities like Routes, Configurations and Revisions. + # Delete a service. This will cause the Service to stop serving traffic and will + # delete the child entities like Routes, Configurations and Revisions. # @param [String] name - # The name of the service to delete. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the service to delete. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] api_version # Cloud Run currently ignores this parameter. # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1765,9 +1722,8 @@ module Google # Get information about a service. # @param [String] name - # The name of the service to retrieve. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the service to retrieve. For Cloud Run (fully managed), replace ` + # namespace_id` with the project ID or number. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1795,21 +1751,19 @@ module Google execute_or_queue_command(command, &block) end - # Get the IAM Access Control policy currently in effect for the given - # Cloud Run service. This result does not include any inherited policies. + # Get the IAM Access Control policy currently in effect for the given Cloud Run + # service. This result does not include any inherited policies. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Fixnum] options_requested_policy_version - # 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). + # 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). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1840,20 +1794,19 @@ module Google # List services. # @param [String] parent - # The namespace from which the services should be listed. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The namespace from which the services should be listed. For Cloud Run (fully + # managed), replace `namespace_id` with the project ID or number. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1896,16 +1849,13 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name - # The name of the service being replaced. - # For Cloud Run (fully managed), replace `namespace_id` with the project ID - # or number. + # The name of the service being replaced. For Cloud Run (fully managed), replace + # `namespace_id` with the project ID or number. # @param [Google::Apis::RunV1::Service] service_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1936,11 +1886,11 @@ module Google execute_or_queue_command(command, &block) end - # Sets the IAM Access control policy for the specified Service. Overwrites - # any existing policy. + # Sets the IAM Access control policy for the specified Service. Overwrites any + # existing policy. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::RunV1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1971,11 +1921,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified Project. - # There are no permissions required for making this API call. + # Returns permissions that a caller has on the specified Project. There are no + # permissions required for making this API call. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::RunV1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/run_v1alpha1.rb b/generated/google/apis/run_v1alpha1.rb index 159d7fe8e..2d3979c3d 100644 --- a/generated/google/apis/run_v1alpha1.rb +++ b/generated/google/apis/run_v1alpha1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/run/ module RunV1alpha1 VERSION = 'V1alpha1' - REVISION = '20200706' + REVISION = '20200720' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/run_v1alpha1/classes.rb b/generated/google/apis/run_v1alpha1/classes.rb index 39813d914..7571b8c94 100644 --- a/generated/google/apis/run_v1alpha1/classes.rb +++ b/generated/google/apis/run_v1alpha1/classes.rb @@ -47,53 +47,21 @@ module Google end end - # Specifies the audit configuration for a service. - # The configuration determines which permission types are logged, and what - # identities, if any, are exempted from logging. - # An AuditConfig must have one or more AuditLogConfigs. - # If there are AuditConfigs for both `allServices` and a specific service, - # the union of the two AuditConfigs is used for that service: the log_types - # specified in each AuditConfig are enabled, and the exempted_members in each - # AuditLogConfig are exempted. - # Example Policy with multiple AuditConfigs: - # ` - # "audit_configs": [ - # ` - # "service": "allServices", - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:jose@example.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE" - # `, - # ` - # "log_type": "ADMIN_READ" - # ` - # ] - # `, - # ` - # "service": "sampleservice.googleapis.com", - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ" - # `, - # ` - # "log_type": "DATA_WRITE", - # "exempted_members": [ - # "user:aliya@example.com" - # ] - # ` - # ] - # ` - # ] - # ` - # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - # logging. It also exempts jose@example.com from DATA_READ logging, and - # aliya@example.com from DATA_WRITE logging. + # Specifies the audit configuration for a service. The configuration determines + # which permission types are logged, and what identities, if any, are exempted + # from logging. An AuditConfig must have one or more AuditLogConfigs. If there + # are AuditConfigs for both `allServices` and a specific service, the union of + # the two AuditConfigs is used for that service: the log_types specified in each + # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are + # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` " + # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", " + # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `, + # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE" + # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice, + # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also + # exempts jose@example.com from DATA_READ logging, and aliya@example.com from + # DATA_WRITE logging. class AuditConfig include Google::Apis::Core::Hashable @@ -102,9 +70,9 @@ module Google # @return [Array] attr_accessor :audit_log_configs - # Specifies a service that will be enabled for audit logging. - # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. - # `allServices` is a special value that covers all services. + # Specifies a service that will be enabled for audit logging. For example, ` + # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special + # value that covers all services. # Corresponds to the JSON property `service` # @return [String] attr_accessor :service @@ -120,28 +88,15 @@ module Google end end - # Provides the configuration for logging a type of permissions. - # Example: - # ` - # "audit_log_configs": [ - # ` - # "log_type": "DATA_READ", - # "exempted_members": [ - # "user:jose@example.com" - # ] - # `, - # ` - # "log_type": "DATA_WRITE" - # ` - # ] - # ` - # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - # jose@example.com from DATA_READ logging. + # Provides the configuration for logging a type of permissions. Example: ` " + # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user: + # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables ' + # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from + # DATA_READ logging. class AuditLogConfig include Google::Apis::Core::Hashable - # Specifies the identities that do not cause logging for this type of - # permission. + # Specifies the identities that do not cause logging for this type of permission. # Follows the same format of Binding.members. # Corresponds to the JSON property `exemptedMembers` # @return [Array] @@ -163,9 +118,9 @@ module Google end end - # A domain that a user has been authorized to administer. To authorize use - # of a domain, verify ownership via - # [Webmaster Central](https://www.google.com/webmasters/verification/home). + # A domain that a user has been authorized to administer. To authorize use of a + # domain, verify ownership via [Webmaster Central](https://www.google.com/ + # webmasters/verification/home). class AuthorizedDomain include Google::Apis::Core::Hashable @@ -174,8 +129,8 @@ module Google # @return [String] attr_accessor :id - # Read only. Full path to the `AuthorizedDomain` resource in the API. - # Example: `apps/myapp/authorizedDomains/example.com`. + # Read only. Full path to the `AuthorizedDomain` resource in the API. Example: ` + # apps/myapp/authorizedDomains/example.com`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -195,69 +150,57 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. # Corresponds to the JSON property `condition` # @return [Google::Apis::RunV1alpha1::Expr] attr_accessor :condition - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@example.com` . - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a user that has been recently deleted. For - # example, `alice@example.com?uid=123456789012345678901`. If the user is - # recovered, this value reverts to `user:`emailid`` and the recovered user - # retains the role in the binding. - # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus - # unique identifier) representing a service account that has been recently - # deleted. For example, - # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. - # If the service account is undeleted, this value reverts to - # `serviceAccount:`emailid`` and the undeleted service account retains the - # role in the binding. - # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a Google group that has been recently - # deleted. For example, `admins@example.com?uid=123456789012345678901`. If - # the group is recovered, this value reverts to `group:`emailid`` and the - # recovered group retains the role in the binding. - # * `domain:`domain``: The G Suite domain (primary) that represents all the - # users of that domain. For example, `google.com` or `example.com`. + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: * `allUsers`: A special identifier + # that represents anyone who is on the internet; with or without a Google + # account. * `allAuthenticatedUsers`: A special identifier that represents + # anyone who is authenticated with a Google account or a service account. * ` + # user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email + # address that represents a service account. For example, `my-other-app@appspot. + # gserviceaccount.com`. * `group:`emailid``: An email address that represents a + # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid= + # `uniqueid``: An email address (plus unique identifier) representing a user + # that has been recently deleted. For example, `alice@example.com?uid= + # 123456789012345678901`. If the user is recovered, this value reverts to `user:` + # emailid`` and the recovered user retains the role in the binding. * `deleted: + # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a service account that has been recently deleted. For + # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + # If the service account is undeleted, this value reverts to `serviceAccount:` + # emailid`` and the undeleted service account retains the role in the binding. * + # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a Google group that has been recently deleted. For + # example, `admins@example.com?uid=123456789012345678901`. If the group is + # recovered, this value reverts to `group:`emailid`` and the recovered group + # retains the role in the binding. * `domain:`domain``: The G Suite domain ( + # primary) that represents all the users of that domain. For example, `google. + # com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] attr_accessor :members - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. # Corresponds to the JSON property `role` # @return [String] attr_accessor :role @@ -278,14 +221,12 @@ module Google class Capabilities include Google::Apis::Core::Hashable - # Added capabilities - # +optional + # Added capabilities +optional # Corresponds to the JSON property `add` # @return [Array] attr_accessor :add - # Removed capabilities - # +optional + # Removed capabilities +optional # Corresponds to the JSON property `drop` # @return [Array] attr_accessor :drop @@ -357,39 +298,36 @@ module Google attr_accessor :ce_overrides # Required. The method name at the service API. This must match "methodName" in - # Cloud - # Audit Logs. Regex or Wildcards (*) are not supported. - # Example: "google.cloud.bigquery.job.create". + # Cloud Audit Logs. Regex or Wildcards (*) are not supported. Example: "google. + # cloud.bigquery.job.create". # Corresponds to the JSON property `methodName` # @return [String] attr_accessor :method_name - # Optional. The resource specification. This must match "methodName" - # in Cloud Audit Logs. Regex or Wildcards (*) are not supported. - # Example: "projects/my-project/jobs/foo". + # Optional. The resource specification. This must match "methodName" in Cloud + # Audit Logs. Regex or Wildcards (*) are not supported. Example: "projects/my- + # project/jobs/foo". # Corresponds to the JSON property `resourceName` # @return [String] attr_accessor :resource_name # Optional. Email address of the IAM service account associated with the source. - # The - # service account represents the identity of the source, and determines what - # permissions the source has. If not provided, the source will use the - # project's default service account. + # The service account represents the identity of the source, and determines what + # permissions the source has. If not provided, the source will use the project's + # default service account. # Corresponds to the JSON property `serviceAccountName` # @return [String] attr_accessor :service_account_name # Required. The GCP service name. This must match "serviceName" in Cloud Audit - # Logs. - # Regex or Wildcards (*) are not supported. - # Example: "bigquery.googleapis.com". + # Logs. Regex or Wildcards (*) are not supported. Example: "bigquery.googleapis. + # com". # Corresponds to the JSON property `serviceName` # @return [String] attr_accessor :service_name - # Sink is a reference to an object that will resolve to a domain name or a - # URI directly to use as the sink. + # Sink is a reference to an object that will resolve to a domain name or a URI + # directly to use as the sink. # Corresponds to the JSON property `sink` # @return [Google::Apis::RunV1alpha1::Destination] attr_accessor :sink @@ -414,20 +352,19 @@ module Google class CloudAuditLogsSourceStatus include Google::Apis::Core::Hashable - # Array of observed CloudAuditLogsSourceConditions, indicating the current - # state of the CloudAuditLogsSource. + # Array of observed CloudAuditLogsSourceConditions, indicating the current state + # of the CloudAuditLogsSource. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that - # was last processed by the controller. + # ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that was + # last processed by the controller. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # SinkURI is the current active sink URI that has been configured for the - # Source. + # SinkURI is the current active sink URI that has been configured for the Source. # +optional # Corresponds to the JSON property `sinkUri` # @return [String] @@ -451,9 +388,8 @@ module Google include Google::Apis::Core::Hashable # Extensions specify what attribute are added or overridden on the outbound - # event. Each `Extensions` key-value pair are set on the event as an - # attribute extension independently. - # +optional + # event. Each `Extensions` key-value pair are set on the event as an attribute + # extension independently. +optional # Corresponds to the JSON property `extensions` # @return [Hash] attr_accessor :extensions @@ -516,10 +452,9 @@ module Google class CloudPubSubSourceSpec include Google::Apis::Core::Hashable - # AckDeadline is the default maximum time after a subscriber receives a - # message before the subscriber should acknowledge the message. Defaults - # to 30 seconds ('30s'). - # +optional + # AckDeadline is the default maximum time after a subscriber receives a message + # before the subscriber should acknowledge the message. Defaults to 30 seconds (' + # 30s'). +optional # Corresponds to the JSON property `ackDeadline` # @return [String] attr_accessor :ack_deadline @@ -530,54 +465,50 @@ module Google # @return [Google::Apis::RunV1alpha1::CloudEventOverrides] attr_accessor :ce_overrides - # Project is the ID of the Google Cloud Project that the CloudPubSubSource - # Topic exists in. If omitted, defaults to same as the cluster. +optional + # Project is the ID of the Google Cloud Project that the CloudPubSubSource Topic + # exists in. If omitted, defaults to same as the cluster. +optional # Corresponds to the JSON property `project` # @return [String] attr_accessor :project - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `pubsubSecret` # @return [Google::Apis::RunV1alpha1::SecretKeySelector] attr_accessor :pubsub_secret - # RetainAckedMessages defines whether to retain acknowledged messages. If - # true, acknowledged messages will not be expunged until they fall out of - # the RetentionDuration window. + # RetainAckedMessages defines whether to retain acknowledged messages. If true, + # acknowledged messages will not be expunged until they fall out of the + # RetentionDuration window. # Corresponds to the JSON property `retainAckedMessages` # @return [Boolean] attr_accessor :retain_acked_messages alias_method :retain_acked_messages?, :retain_acked_messages - # RetentionDuration defines how long to retain messages in backlog, from - # the time of publish. If RetainAckedMessages is true, this duration - # affects the retention of acknowledged messages, otherwise only - # unacknowledged messages are retained. Cannot be longer than 7 days or - # shorter than 10 minutes. Defaults to 7 days ('7d'). - # +optional + # RetentionDuration defines how long to retain messages in backlog, from the + # time of publish. If RetainAckedMessages is true, this duration affects the + # retention of acknowledged messages, otherwise only unacknowledged messages are + # retained. Cannot be longer than 7 days or shorter than 10 minutes. Defaults to + # 7 days ('7d'). +optional # Corresponds to the JSON property `retentionDuration` # @return [String] attr_accessor :retention_duration - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `secret` # @return [Google::Apis::RunV1alpha1::SecretKeySelector] attr_accessor :secret - # Sink is a reference to an object that will resolve to a domain name or a - # URI directly to use as the sink. + # Sink is a reference to an object that will resolve to a domain name or a URI + # directly to use as the sink. # Corresponds to the JSON property `sink` # @return [Google::Apis::RunV1alpha1::Destination] attr_accessor :sink - # Topic is the ID of the CloudPubSubSource Topic to Subscribe to. It must - # be in the form of the unique identifier within the project, not the - # entire name. E.g. it must be 'laconia', not - # 'projects/my-proj/topics/laconia'. + # Topic is the ID of the CloudPubSubSource Topic to Subscribe to. It must be in + # the form of the unique identifier within the project, not the entire name. E.g. + # it must be 'laconia', not 'projects/my-proj/topics/laconia'. # Corresponds to the JSON property `topic` # @return [String] attr_accessor :topic @@ -604,20 +535,19 @@ module Google class CloudPubSubSourceStatus include Google::Apis::Core::Hashable - # Array of observed CloudPubSubSourceConditions, indicating the current state - # of the CloudPubSubSource. + # Array of observed CloudPubSubSourceConditions, indicating the current state of + # the CloudPubSubSource. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ObservedGeneration is the 'Generation' of the CloudPubSubSource that - # was last processed by the controller. + # ObservedGeneration is the 'Generation' of the CloudPubSubSource that was last + # processed by the controller. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # SinkURI is the current active sink URI that has been configured for the - # Source. + # SinkURI is the current active sink URI that has been configured for the Source. # +optional # Corresponds to the JSON property `sinkUri` # @return [String] @@ -700,34 +630,31 @@ module Google # @return [String] attr_accessor :location - # Project is the ID of the Google Cloud Project that the CloudPubSubSource - # Topic exists in. If omitted, defaults to same as the cluster. + # Project is the ID of the Google Cloud Project that the CloudPubSubSource Topic + # exists in. If omitted, defaults to same as the cluster. # Corresponds to the JSON property `project` # @return [String] attr_accessor :project - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `pubsubSecret` # @return [Google::Apis::RunV1alpha1::SecretKeySelector] attr_accessor :pubsub_secret - # Schedule in cron format, for example: "* * * * *" would be run - # every minute. + # Schedule in cron format, for example: "* * * * *" would be run every minute. # Corresponds to the JSON property `schedule` # @return [String] attr_accessor :schedule - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `secret` # @return [Google::Apis::RunV1alpha1::SecretKeySelector] attr_accessor :secret - # Sink is a reference to an object that will resolve to a domain name or a - # URI directly to use as the sink. + # Sink is a reference to an object that will resolve to a domain name or a URI + # directly to use as the sink. # Corresponds to the JSON property `sink` # @return [Google::Apis::RunV1alpha1::Destination] attr_accessor :sink @@ -754,20 +681,19 @@ module Google class CloudSchedulerSourceStatus include Google::Apis::Core::Hashable - # Array of observed CloudSchedulerSourceConditions, indicating the current - # state of the CloudSchedulerSource. + # Array of observed CloudSchedulerSourceConditions, indicating the current state + # of the CloudSchedulerSource. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that - # was last processed by the controller. + # ObservedGeneration is the 'Generation' of the CloudSchedulerSource that was + # last processed by the controller. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # SinkURI is the current active sink URI that has been configured for the - # Source. + # SinkURI is the current active sink URI that has been configured for the Source. # Corresponds to the JSON property `sinkUri` # @return [String] attr_accessor :sink_uri @@ -809,8 +735,7 @@ module Google # @return [Google::Apis::RunV1alpha1::CloudStorageSourceSpec] attr_accessor :spec - # CloudStorageSourceStatus represents the current state of a - # CloudStorageSource. + # CloudStorageSourceStatus represents the current state of a CloudStorageSource. # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1alpha1::CloudStorageSourceStatus] attr_accessor :status @@ -854,42 +779,39 @@ module Google # @return [String] attr_accessor :object_name_prefix - # PayloadFormat specifies the contents of the message payload. - # See https://cloud.google.com/storage/docs/pubsub-notifications#payload. + # PayloadFormat specifies the contents of the message payload. See https://cloud. + # google.com/storage/docs/pubsub-notifications#payload. # Corresponds to the JSON property `payloadFormat` # @return [String] attr_accessor :payload_format - # Project is the ID of the Google Cloud Project that the PubSub Topic exists - # in. If omitted, defaults to same as the cluster. + # Project is the ID of the Google Cloud Project that the PubSub Topic exists in. + # If omitted, defaults to same as the cluster. # Corresponds to the JSON property `project` # @return [String] attr_accessor :project - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `pubsubSecret` # @return [Google::Apis::RunV1alpha1::SecretKeySelector] attr_accessor :pubsub_secret - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `secret` # @return [Google::Apis::RunV1alpha1::SecretKeySelector] attr_accessor :secret - # ServiceAccountName holds the name of the Kubernetes service account - # as which the underlying K8s resources should be run. If unspecified - # this will default to the "default" service account for the namespace - # in which the GCS exists. + # ServiceAccountName holds the name of the Kubernetes service account as which + # the underlying K8s resources should be run. If unspecified this will default + # to the "default" service account for the namespace in which the GCS exists. # Corresponds to the JSON property `serviceAccountName` # @return [String] attr_accessor :service_account_name - # Sink is a reference to an object that will resolve to a domain name or a - # URI directly to use as the sink. + # Sink is a reference to an object that will resolve to a domain name or a URI + # directly to use as the sink. # Corresponds to the JSON property `sink` # @return [Google::Apis::RunV1alpha1::Destination] attr_accessor :sink @@ -913,25 +835,23 @@ module Google end end - # CloudStorageSourceStatus represents the current state of a - # CloudStorageSource. + # CloudStorageSourceStatus represents the current state of a CloudStorageSource. class CloudStorageSourceStatus include Google::Apis::Core::Hashable - # Array of observed CloudStorageSourceConditions, indicating the current - # state of the CloudStorageSource. + # Array of observed CloudStorageSourceConditions, indicating the current state + # of the CloudStorageSource. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ObservedGeneration is the 'Generation' of the CloudStorageSource that - # was last processed by the controller. + # ObservedGeneration is the 'Generation' of the CloudStorageSource that was last + # processed by the controller. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # SinkURI is the current active sink URI that has been configured for the - # Source. + # SinkURI is the current active sink URI that has been configured for the Source. # Corresponds to the JSON property `sinkUri` # @return [String] attr_accessor :sink_uri @@ -978,12 +898,10 @@ module Google # @return [String] attr_accessor :status - # type is used to communicate the status of the reconciliation process. - # See also: + # type is used to communicate the status of the reconciliation process. See also: # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error- - # conditions-and-reporting - # Types common to all resources include: - # * "Ready": True when the Resource is ready. + # conditions-and-reporting Types common to all resources include: * "Ready": + # True when the Resource is ready. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -1003,10 +921,9 @@ module Google end end - # ConfigMapEnvSource selects a ConfigMap to populate the environment - # variables with. - # The contents of the target ConfigMap's Data field will represent the - # key-value pairs as environment variables. + # ConfigMapEnvSource selects a ConfigMap to populate the environment variables + # with. The contents of the target ConfigMap's Data field will represent the key- + # value pairs as environment variables. class ConfigMapEnvSource include Google::Apis::Core::Hashable @@ -1016,17 +933,14 @@ module Google # @return [Google::Apis::RunV1alpha1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The ConfigMap to select from. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # ConfigMap to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the ConfigMap must be defined - # +optional + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify + # whether the ConfigMap must be defined +optional # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -1044,15 +958,13 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Selects a key from a ConfigMap. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Selects a + # key from a ConfigMap. class ConfigMapKeySelector include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # The key to select. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported The key to + # select. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key @@ -1063,17 +975,14 @@ module Google # @return [Google::Apis::RunV1alpha1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # The ConfigMap to select from. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported The + # ConfigMap to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Specify whether the ConfigMap or its key must be defined - # +optional + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Specify + # whether the ConfigMap or its key must be defined +optional # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -1092,27 +1001,27 @@ module Google end end - # Adapts a ConfigMap into a volume. - # The contents of the target ConfigMap's Data field will be presented in a - # volume as files using the keys in the Data field as the file names, unless - # the items element is populated with specific mappings of keys to paths. + # Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data + # field will be presented in a volume as files using the keys in the Data field + # as the file names, unless the items element is populated with specific + # mappings of keys to paths. class ConfigMapVolumeSource include Google::Apis::Core::Hashable # Mode bits to use on created files by default. Must be a value between 0 and - # 0777. Defaults to 0644. Directories within the path are not affected by - # this setting. This might be in conflict with other options that affect the - # file mode, like fsGroup, and the result can be other mode bits set. + # 0777. Defaults to 0644. Directories within the path are not affected by this + # setting. This might be in conflict with other options that affect the file + # mode, like fsGroup, and the result can be other mode bits set. # Corresponds to the JSON property `defaultMode` # @return [Fixnum] attr_accessor :default_mode - # If unspecified, each key-value pair in the Data field of the referenced - # Secret will be projected into the volume as a file whose name is the - # key and content is the value. If specified, the listed keys will be - # projected into the specified paths, and unlisted keys will not be - # present. If a key is specified which is not present in the Secret, - # the volume setup will error unless it is marked optional. + # If unspecified, each key-value pair in the Data field of the referenced Secret + # will be projected into the volume as a file whose name is the key and content + # is the value. If specified, the listed keys will be projected into the + # specified paths, and unlisted keys will not be present. If a key is specified + # which is not present in the Secret, the volume setup will error unless it is + # marked optional. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -1141,13 +1050,12 @@ module Google end end - # Configuration represents the "floating HEAD" of a linear history of - # Revisions, and optionally how the containers those revisions reference are - # built. Users create new Revisions by updating the Configuration's spec. The - # "latest created" revision's name is available under status, as is the "latest - # ready" revision's name. See also: - # https://github.com/knative/serving/blob/master/docs/spec/overview.md# - # configuration + # Configuration represents the "floating HEAD" of a linear history of Revisions, + # and optionally how the containers those revisions reference are built. Users + # create new Revisions by updating the Configuration's spec. The "latest created" + # revision's name is available under status, as is the "latest ready" revision' + # s name. See also: https://github.com/knative/serving/blob/master/docs/spec/ + # overview.md#configuration class Configuration include Google::Apis::Core::Hashable @@ -1173,8 +1081,8 @@ module Google # @return [Google::Apis::RunV1alpha1::ConfigurationSpec] attr_accessor :spec - # ConfigurationStatus communicates the observed state of the Configuration - # (from the controller). + # ConfigurationStatus communicates the observed state of the Configuration (from + # the controller). # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1alpha1::ConfigurationStatus] attr_accessor :status @@ -1197,26 +1105,23 @@ module Google class ConfigurationCondition include Google::Apis::Core::Hashable - # Last time the condition transitioned from one status to another. - # +optional + # Last time the condition transitioned from one status to another. +optional # Corresponds to the JSON property `lastTransitionTime` # @return [String] attr_accessor :last_transition_time - # Human-readable message indicating details about last transition. - # +optional + # Human-readable message indicating details about last transition. +optional # Corresponds to the JSON property `message` # @return [String] attr_accessor :message - # One-word CamelCase reason for the condition's last transition. - # +optional + # One-word CamelCase reason for the condition's last transition. +optional # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # How to interpret failures of this condition, one of Error, Warning, Info - # +optional + # How to interpret failures of this condition, one of Error, Warning, Info + + # optional # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity @@ -1227,10 +1132,8 @@ module Google attr_accessor :status # ConfigurationConditionType is used to communicate the status of the - # reconciliation process. See also: - # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error- - # conditions-and-reporting - # Types include:"Ready" + # reconciliation process. See also: https://github.com/knative/serving/blob/ + # master/docs/spec/errors.md#error-conditions-and-reporting Types include:"Ready" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -1255,24 +1158,23 @@ module Google class ConfigurationSpec include Google::Apis::Core::Hashable - # Deprecated and not currently populated by Cloud Run. See - # metadata.generation instead, which is the sequence number containing the - # latest generation of the desired state. - # Read-only. + # Deprecated and not currently populated by Cloud Run. See metadata.generation + # instead, which is the sequence number containing the latest generation of the + # desired state. Read-only. # Corresponds to the JSON property `generation` # @return [Fixnum] attr_accessor :generation # RevisionTemplateSpec describes the data a revision should have when created - # from a template. Based on: - # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 + # from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/ + # core/v1/types.go#L3179-L3190 # Corresponds to the JSON property `revisionTemplate` # @return [Google::Apis::RunV1alpha1::RevisionTemplate] attr_accessor :revision_template # RevisionTemplateSpec describes the data a revision should have when created - # from a template. Based on: - # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 + # from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/ + # core/v1/types.go#L3179-L3190 # Corresponds to the JSON property `template` # @return [Google::Apis::RunV1alpha1::RevisionTemplate] attr_accessor :template @@ -1289,37 +1191,34 @@ module Google end end - # ConfigurationStatus communicates the observed state of the Configuration - # (from the controller). + # ConfigurationStatus communicates the observed state of the Configuration (from + # the controller). class ConfigurationStatus include Google::Apis::Core::Hashable - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions # LatestCreatedRevisionName is the last revision that was created from this - # Configuration. It might not be ready yet, for that use - # LatestReadyRevisionName. + # Configuration. It might not be ready yet, for that use LatestReadyRevisionName. # Corresponds to the JSON property `latestCreatedRevisionName` # @return [String] attr_accessor :latest_created_revision_name - # LatestReadyRevisionName holds the name of the latest Revision stamped out - # from this Configuration that has had its "Ready" condition become "True". + # LatestReadyRevisionName holds the name of the latest Revision stamped out from + # this Configuration that has had its "Ready" condition become "True". # Corresponds to the JSON property `latestReadyRevisionName` # @return [String] attr_accessor :latest_ready_revision_name - # ObservedGeneration is the 'Generation' of the Configuration that - # was last processed by the controller. The observed generation is updated - # even if the controller failed to process the spec and create the Revision. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation, and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the Configuration that was last + # processed by the controller. The observed generation is updated even if the + # controller failed to process the spec and create the Revision. Clients polling + # for completed reconciliation should poll until observedGeneration = metadata. + # generation, and the Ready condition's status is True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation @@ -1337,85 +1236,70 @@ module Google end end - # A single application container. - # This specifies both the container to run, the command to run in the container - # and the arguments to supply to it. - # Note that additional arguments may be supplied by the system to the container - # at runtime. + # A single application container. This specifies both the container to run, the + # command to run in the container and the arguments to supply to it. Note that + # additional arguments may be supplied by the system to the container at runtime. class Container include Google::Apis::Core::Hashable - # Arguments to the entrypoint. - # The docker image's CMD is used if this is not provided. - # Variable references $(VAR_NAME) are expanded using the container's + # Arguments to the entrypoint. The docker image's CMD is used if this is not + # provided. Variable references $(VAR_NAME) are expanded using the container's # environment. If a variable cannot be resolved, the reference in the input - # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a - # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, - # regardless of whether the variable exists or not. - # Cannot be updated. - # More info: - # https://kubernetes.io/docs/tasks/inject-data-application/define-command- - # argument-container/#running-a-command-in-a-shell - # +optional + # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $ + # $, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of + # whether the variable exists or not. Cannot be updated. More info: https:// + # kubernetes.io/docs/tasks/inject-data-application/define-command-argument- + # container/#running-a-command-in-a-shell +optional # Corresponds to the JSON property `args` # @return [Array] attr_accessor :args - # Entrypoint array. Not executed within a shell. - # The docker image's ENTRYPOINT is used if this is not provided. - # Variable references $(VAR_NAME) are expanded using the container's - # environment. If a variable cannot be resolved, the reference in the input - # string will be unchanged. The $(VAR_NAME) syntax can be escaped with a - # double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, - # regardless of whether the variable exists or not. - # Cannot be updated. - # More info: - # https://kubernetes.io/docs/tasks/inject-data-application/define-command- - # argument-container/#running-a-command-in-a-shell - # +optional + # Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT + # is used if this is not provided. Variable references $(VAR_NAME) are expanded + # using the container's environment. If a variable cannot be resolved, the + # reference in the input string will be unchanged. The $(VAR_NAME) syntax can be + # escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be + # expanded, regardless of whether the variable exists or not. Cannot be updated. + # More info: https://kubernetes.io/docs/tasks/inject-data-application/define- + # command-argument-container/#running-a-command-in-a-shell +optional # Corresponds to the JSON property `command` # @return [Array] attr_accessor :command - # List of environment variables to set in the container. - # Cannot be updated. - # +optional + # List of environment variables to set in the container. Cannot be updated. + + # optional # Corresponds to the JSON property `env` # @return [Array] attr_accessor :env - # List of sources to populate environment variables in the container. - # The keys defined within a source must be a C_IDENTIFIER. All invalid keys - # will be reported as an event when the container is starting. When a key - # exists in multiple sources, the value associated with the last source will - # take precedence. Values defined by an Env with a duplicate key will take - # precedence. Cannot be updated. +optional + # List of sources to populate environment variables in the container. The keys + # defined within a source must be a C_IDENTIFIER. All invalid keys will be + # reported as an event when the container is starting. When a key exists in + # multiple sources, the value associated with the last source will take + # precedence. Values defined by an Env with a duplicate key will take precedence. + # Cannot be updated. +optional # Corresponds to the JSON property `envFrom` # @return [Array] attr_accessor :env_from - # Docker image name. - # More info: https://kubernetes.io/docs/concepts/containers/images + # Docker image name. More info: https://kubernetes.io/docs/concepts/containers/ + # images # Corresponds to the JSON property `image` # @return [String] attr_accessor :image - # Image pull policy. - # One of Always, Never, IfNotPresent. - # Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. - # Cannot be updated. - # More info: - # https://kubernetes.io/docs/concepts/containers/images#updating-images - # +optional + # Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if : + # latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More + # info: https://kubernetes.io/docs/concepts/containers/images#updating-images + + # optional # Corresponds to the JSON property `imagePullPolicy` # @return [String] attr_accessor :image_pull_policy - # Lifecycle describes actions that the management system should take in - # response to container lifecycle events. For the PostStart and PreStop - # lifecycle handlers, management of the container blocks until the action is - # complete, unless the container process fails, in which case the handler is - # aborted. + # Lifecycle describes actions that the management system should take in response + # to container lifecycle events. For the PostStart and PreStop lifecycle + # handlers, management of the container blocks until the action is complete, + # unless the container process fails, in which case the handler is aborted. # Corresponds to the JSON property `lifecycle` # @return [Google::Apis::RunV1alpha1::Lifecycle] attr_accessor :lifecycle @@ -1426,21 +1310,18 @@ module Google # @return [Google::Apis::RunV1alpha1::Probe] attr_accessor :liveness_probe - # Name of the container specified as a DNS_LABEL. - # Each container must have a unique name (DNS_LABEL). - # Cannot be updated. + # Name of the container specified as a DNS_LABEL. Each container must have a + # unique name (DNS_LABEL). Cannot be updated. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # List of ports to expose from the container. Exposing a port here gives - # the system additional information about the network connections a - # container uses, but is primarily informational. Not specifying a port here - # DOES NOT prevent that port from being exposed. Any port which is - # listening on the default "0.0.0.0" address inside a container will be - # accessible from the network. - # Cannot be updated. - # +optional + # List of ports to expose from the container. Exposing a port here gives the + # system additional information about the network connections a container uses, + # but is primarily informational. Not specifying a port here DOES NOT prevent + # that port from being exposed. Any port which is listening on the default "0.0. + # 0.0" address inside a container will be accessible from the network. Cannot be + # updated. +optional # Corresponds to the JSON property `ports` # @return [Array] attr_accessor :ports @@ -1458,7 +1339,7 @@ module Google # SecurityContext holds security configuration that will be applied to a # container. Some fields are present in both SecurityContext and - # PodSecurityContext. When both are set, the values in SecurityContext take + # PodSecurityContext. When both are set, the values in SecurityContext take # precedence. # Corresponds to the JSON property `securityContext` # @return [Google::Apis::RunV1alpha1::SecurityContext] @@ -1472,68 +1353,61 @@ module Google attr_accessor :stdin alias_method :stdin?, :stdin - # Whether the container runtime should close the stdin channel after it has - # been opened by a single attach. When stdin is true the stdin stream will - # remain open across multiple attach sessions. If stdinOnce is set to true, - # stdin is opened on container start, is empty until the first client - # attaches to stdin, and then remains open and accepts data until the client - # disconnects, at which time stdin is closed and remains closed until the - # container is restarted. If this flag is false, a container processes that - # reads from stdin will never receive an EOF. Default is false +optional + # Whether the container runtime should close the stdin channel after it has been + # opened by a single attach. When stdin is true the stdin stream will remain + # open across multiple attach sessions. If stdinOnce is set to true, stdin is + # opened on container start, is empty until the first client attaches to stdin, + # and then remains open and accepts data until the client disconnects, at which + # time stdin is closed and remains closed until the container is restarted. If + # this flag is false, a container processes that reads from stdin will never + # receive an EOF. Default is false +optional # Corresponds to the JSON property `stdinOnce` # @return [Boolean] attr_accessor :stdin_once alias_method :stdin_once?, :stdin_once - # Optional: Path at which the file to which the container's termination - # message will be written is mounted into the container's filesystem. Message - # written is intended to be brief final status, such as an assertion failure - # message. Will be truncated by the node if greater than 4096 bytes. The - # total message length across all containers will be limited to 12kb. - # Defaults to /dev/termination-log. - # Cannot be updated. - # +optional + # Optional: Path at which the file to which the container's termination message + # will be written is mounted into the container's filesystem. Message written is + # intended to be brief final status, such as an assertion failure message. Will + # be truncated by the node if greater than 4096 bytes. The total message length + # across all containers will be limited to 12kb. Defaults to /dev/termination- + # log. Cannot be updated. +optional # Corresponds to the JSON property `terminationMessagePath` # @return [String] attr_accessor :termination_message_path # Indicate how the termination message should be populated. File will use the - # contents of terminationMessagePath to populate the container status message - # on both success and failure. FallbackToLogsOnError will use the last chunk - # of container log output if the termination message file is empty and the - # container exited with an error. The log output is limited to 2048 bytes or - # 80 lines, whichever is smaller. Defaults to File. Cannot be updated. - # +optional + # contents of terminationMessagePath to populate the container status message on + # both success and failure. FallbackToLogsOnError will use the last chunk of + # container log output if the termination message file is empty and the + # container exited with an error. The log output is limited to 2048 bytes or 80 + # lines, whichever is smaller. Defaults to File. Cannot be updated. +optional # Corresponds to the JSON property `terminationMessagePolicy` # @return [String] attr_accessor :termination_message_policy - # Whether this container should allocate a TTY for itself, also requires - # 'stdin' to be true. Default is false. +optional + # Whether this container should allocate a TTY for itself, also requires 'stdin' + # to be true. Default is false. +optional # Corresponds to the JSON property `tty` # @return [Boolean] attr_accessor :tty alias_method :tty?, :tty - # volumeDevices is the list of block devices to be used by the container. - # This is an alpha feature and may change in the future. - # +optional + # volumeDevices is the list of block devices to be used by the container. This + # is an alpha feature and may change in the future. +optional # Corresponds to the JSON property `volumeDevices` # @return [Array] attr_accessor :volume_devices - # Pod volumes to mount into the container's filesystem. - # Cannot be updated. - # +optional + # Pod volumes to mount into the container's filesystem. Cannot be updated. + + # optional # Corresponds to the JSON property `volumeMounts` # @return [Array] attr_accessor :volume_mounts - # Container's working directory. - # If not specified, the container runtime's default will be used, which - # might be configured in the container image. - # Cannot be updated. - # +optional + # Container's working directory. If not specified, the container runtime's + # default will be used, which might be configured in the container image. Cannot + # be updated. +optional # Corresponds to the JSON property `workingDir` # @return [String] attr_accessor :working_dir @@ -1572,38 +1446,32 @@ module Google class ContainerPort include Google::Apis::Core::Hashable - # Number of port to expose on the pod's IP address. - # This must be a valid port number, 0 < x < 65536. + # Number of port to expose on the pod's IP address. This must be a valid port + # number, 0 < x < 65536. # Corresponds to the JSON property `containerPort` # @return [Fixnum] attr_accessor :container_port - # What host IP to bind the external port to. - # +optional + # What host IP to bind the external port to. +optional # Corresponds to the JSON property `hostIP` # @return [String] attr_accessor :host_ip - # Number of port to expose on the host. - # If specified, this must be a valid port number, 0 < x < 65536. - # If HostNetwork is specified, this must match ContainerPort. - # Most containers do not need this. - # +optional + # Number of port to expose on the host. If specified, this must be a valid port + # number, 0 < x < 65536. If HostNetwork is specified, this must match + # ContainerPort. Most containers do not need this. +optional # Corresponds to the JSON property `hostPort` # @return [Fixnum] attr_accessor :host_port # If specified, this must be an IANA_SVC_NAME and unique within the pod. Each # named port in a pod must have a unique name. Name for the port that can be - # referred to by services. - # +optional + # referred to by services. +optional # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Protocol for port. Must be UDP or TCP. - # Defaults to "TCP". - # +optional + # Protocol for port. Must be UDP or TCP. Defaults to "TCP". +optional # Corresponds to the JSON property `protocol` # @return [String] attr_accessor :protocol @@ -1633,9 +1501,8 @@ module Google attr_accessor :ref # URI is for direct URI Designations or used with the resulting URL from - # Addressable ObjectReference. If used with an ObjectReference, will be - # appended to the path of the resulting URL from the Addressable. - # + optional + # Addressable ObjectReference. If used with an ObjectReference, will be appended + # to the path of the resulting URL from the Addressable. + optional # Corresponds to the JSON property `uri` # @return [String] attr_accessor :uri @@ -1699,26 +1566,23 @@ module Google class DomainMappingCondition include Google::Apis::Core::Hashable - # Last time the condition transitioned from one status to another. - # +optional + # Last time the condition transitioned from one status to another. +optional # Corresponds to the JSON property `lastTransitionTime` # @return [String] attr_accessor :last_transition_time - # Human readable message indicating details about the current status. - # +optional + # Human readable message indicating details about the current status. +optional # Corresponds to the JSON property `message` # @return [String] attr_accessor :message - # One-word CamelCase reason for the condition's current status. - # +optional + # One-word CamelCase reason for the condition's current status. +optional # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # How to interpret failures of this condition, one of Error, Warning, Info - # +optional + # How to interpret failures of this condition, one of Error, Warning, Info + + # optional # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity @@ -1757,17 +1621,17 @@ module Google # @return [String] attr_accessor :certificate_mode - # If set, the mapping will override any mapping set before this spec was set. - # It is recommended that the user leaves this empty to receive an error - # warning about a potential conflict and only set it once the respective UI - # has given such a warning. + # If set, the mapping will override any mapping set before this spec was set. It + # is recommended that the user leaves this empty to receive an error warning + # about a potential conflict and only set it once the respective UI has given + # such a warning. # Corresponds to the JSON property `forceOverride` # @return [Boolean] attr_accessor :force_override alias_method :force_override?, :force_override - # The name of the Knative Route that this DomainMapping applies to. - # The route must exist. + # The name of the Knative Route that this DomainMapping applies to. The route + # must exist. # Corresponds to the JSON property `routeName` # @return [String] attr_accessor :route_name @@ -1788,8 +1652,8 @@ module Google class DomainMappingStatus include Google::Apis::Core::Hashable - # Array of observed DomainMappingConditions, indicating the current state - # of the DomainMapping. + # Array of observed DomainMappingConditions, indicating the current state of the + # DomainMapping. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions @@ -1799,26 +1663,23 @@ module Google # @return [String] attr_accessor :mapped_route_name - # ObservedGeneration is the 'Generation' of the DomainMapping that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the DomainMapping that was last + # processed by the controller. Clients polling for completed reconciliation + # should poll until observedGeneration = metadata.generation and the Ready + # condition's status is True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # The resource records required to configure this domain mapping. These - # records must be added to the domain's DNS configuration in order to - # serve the application via this domain mapping. + # The resource records required to configure this domain mapping. These records + # must be added to the domain's DNS configuration in order to serve the + # application via this domain mapping. # Corresponds to the JSON property `resourceRecords` # @return [Array] attr_accessor :resource_records - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Holds the URL that will serve the traffic of the DomainMapping. - # +optional + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the + # URL that will serve the traffic of the DomainMapping. +optional # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -1837,13 +1698,11 @@ module Google end end - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. class Empty include Google::Apis::Core::Hashable @@ -1860,10 +1719,9 @@ module Google class EnvFromSource include Google::Apis::Core::Hashable - # ConfigMapEnvSource selects a ConfigMap to populate the environment - # variables with. - # The contents of the target ConfigMap's Data field will represent the - # key-value pairs as environment variables. + # ConfigMapEnvSource selects a ConfigMap to populate the environment variables + # with. The contents of the target ConfigMap's Data field will represent the key- + # value pairs as environment variables. # Corresponds to the JSON property `configMapRef` # @return [Google::Apis::RunV1alpha1::ConfigMapEnvSource] attr_accessor :config_map_ref @@ -1874,10 +1732,9 @@ module Google # @return [String] attr_accessor :prefix - # SecretEnvSource selects a Secret to populate the environment - # variables with. - # The contents of the target Secret's Data field will represent the - # key-value pairs as environment variables. + # SecretEnvSource selects a Secret to populate the environment variables with. + # The contents of the target Secret's Data field will represent the key-value + # pairs as environment variables. # Corresponds to the JSON property `secretRef` # @return [Google::Apis::RunV1alpha1::SecretEnvSource] attr_accessor :secret_ref @@ -1903,21 +1760,17 @@ module Google # @return [String] attr_accessor :name - # Variable references $(VAR_NAME) are expanded - # using the previous defined environment variables in the container and - # any route environment variables. If a variable cannot be resolved, - # the reference in the input string will be unchanged. The $(VAR_NAME) - # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - # references will never be expanded, regardless of whether the variable - # exists or not. - # Defaults to "". - # +optional + # Variable references $(VAR_NAME) are expanded using the previous defined + # environment variables in the container and any route environment variables. If + # a variable cannot be resolved, the reference in the input string will be + # unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$( + # VAR_NAME). Escaped references will never be expanded, regardless of whether + # the variable exists or not. Defaults to "". +optional # Corresponds to the JSON property `value` # @return [String] attr_accessor :value - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # EnvVarSource represents a source for the value of an EnvVar. # Corresponds to the JSON property `valueFrom` # @return [Google::Apis::RunV1alpha1::EnvVarSource] @@ -1935,21 +1788,18 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # EnvVarSource represents a source for the value of an EnvVar. class EnvVarSource include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Selects a key from a ConfigMap. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Selects a + # key from a ConfigMap. # Corresponds to the JSON property `configMapKeyRef` # @return [Google::Apis::RunV1alpha1::ConfigMapKeySelector] attr_accessor :config_map_key_ref - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. # Corresponds to the JSON property `secretKeyRef` # @return [Google::Apis::RunV1alpha1::SecretKeySelector] @@ -1971,11 +1821,11 @@ module Google include Google::Apis::Core::Hashable # Command is the command line to execute inside the container, the working - # directory for the command is root ('/') in the container's filesystem. The - # command is simply exec'd, it is not run inside a shell, so traditional - # shell instructions ('|', etc) won't work. To use a shell, you need to - # explicitly call out to that shell. Exit status of 0 is treated as - # live/healthy and non-zero is unhealthy. +optional + # directory for the command is root ('/') in the container's filesystem. The + # command is simply exec'd, it is not run inside a shell, so traditional shell + # instructions ('|', etc) won't work. To use a shell, you need to explicitly + # call out to that shell. Exit status of 0 is treated as live/healthy and non- + # zero is unhealthy. +optional # Corresponds to the JSON property `command` # @return [String] attr_accessor :command @@ -1990,52 +1840,43 @@ module Google end end - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. class Expr include Google::Apis::Core::Hashable - # Optional. Description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. + # Optional. Description of the expression. This is a longer text which describes + # the expression, e.g. when hovered over it in a UI. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in Common Expression Language - # syntax. + # Textual representation of an expression in Common Expression Language syntax. # Corresponds to the JSON property `expression` # @return [String] attr_accessor :expression - # Optional. String indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. + # Optional. String indicating the location of the expression for error reporting, + # e.g. a file name and a position in the file. # Corresponds to the JSON property `location` # @return [String] attr_accessor :location - # Optional. Title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. + # Optional. Title for the expression, i.e. a short string describing its purpose. + # This can be used e.g. in UIs which allow to enter the expression. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title @@ -2057,36 +1898,31 @@ module Google class HttpGetAction include Google::Apis::Core::Hashable - # Host name to connect to, defaults to the pod IP. You probably want to set - # "Host" in httpHeaders instead. - # +optional + # Host name to connect to, defaults to the pod IP. You probably want to set " + # Host" in httpHeaders instead. +optional # Corresponds to the JSON property `host` # @return [String] attr_accessor :host - # Custom headers to set in the request. HTTP allows repeated headers. - # +optional + # Custom headers to set in the request. HTTP allows repeated headers. +optional # Corresponds to the JSON property `httpHeaders` # @return [Array] attr_accessor :http_headers - # Path to access on the HTTP server. - # +optional + # Path to access on the HTTP server. +optional # Corresponds to the JSON property `path` # @return [String] attr_accessor :path - # IntOrString is a type that can hold an int32 or a string. When used in - # JSON or YAML marshalling and unmarshalling, it produces or consumes the - # inner type. This allows you to have, for example, a JSON field that can - # accept a name or number. + # IntOrString is a type that can hold an int32 or a string. When used in JSON or + # YAML marshalling and unmarshalling, it produces or consumes the inner type. + # This allows you to have, for example, a JSON field that can accept a name or + # number. # Corresponds to the JSON property `port` # @return [Google::Apis::RunV1alpha1::IntOrString] attr_accessor :port - # Scheme to use for connecting to the host. - # Defaults to HTTP. - # +optional + # Scheme to use for connecting to the host. Defaults to HTTP. +optional # Corresponds to the JSON property `scheme` # @return [String] attr_accessor :scheme @@ -2161,10 +1997,10 @@ module Google end end - # IntOrString is a type that can hold an int32 or a string. When used in - # JSON or YAML marshalling and unmarshalling, it produces or consumes the - # inner type. This allows you to have, for example, a JSON field that can - # accept a name or number. + # IntOrString is a type that can hold an int32 or a string. When used in JSON or + # YAML marshalling and unmarshalling, it produces or consumes the inner type. + # This allows you to have, for example, a JSON field that can accept a name or + # number. class IntOrString include Google::Apis::Core::Hashable @@ -2205,17 +2041,15 @@ module Google attr_accessor :key # Mode bits to use on this file, must be a value between 0 and 0777. If not - # specified, the volume defaultMode will be used. This might be in conflict - # with other options that affect the file mode, like fsGroup, and the result - # can be other mode bits set. +optional + # specified, the volume defaultMode will be used. This might be in conflict with + # other options that affect the file mode, like fsGroup, and the result can be + # other mode bits set. +optional # Corresponds to the JSON property `mode` # @return [Fixnum] attr_accessor :mode - # The relative path of the file to map the key to. - # May not be an absolute path. - # May not contain the path element '..'. - # May not start with the string '..'. + # The relative path of the file to map the key to. May not be an absolute path. + # May not contain the path element '..'. May not start with the string '..'. # Corresponds to the JSON property `path` # @return [String] attr_accessor :path @@ -2232,11 +2066,10 @@ module Google end end - # Lifecycle describes actions that the management system should take in - # response to container lifecycle events. For the PostStart and PreStop - # lifecycle handlers, management of the container blocks until the action is - # complete, unless the container process fails, in which case the handler is - # aborted. + # Lifecycle describes actions that the management system should take in response + # to container lifecycle events. For the PostStart and PreStop lifecycle + # handlers, management of the container blocks until the action is complete, + # unless the container process fails, in which case the handler is aborted. class Lifecycle include Google::Apis::Core::Hashable @@ -2286,8 +2119,7 @@ module Google end end - # ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource - # resources. + # ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource resources. class ListCloudAuditLogsSourcesResponse include Google::Apis::Core::Hashable @@ -2307,8 +2139,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2352,8 +2184,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2377,8 +2209,7 @@ module Google end end - # ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource - # resources. + # ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource resources. class ListCloudSchedulerSourcesResponse include Google::Apis::Core::Hashable @@ -2398,8 +2229,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2443,8 +2274,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2488,8 +2319,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2533,8 +2364,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2584,39 +2415,33 @@ module Google end # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. class ListMeta include Google::Apis::Core::Hashable - # continue may be set if the user set a limit on the number of items - # returned, and indicates that the server has more data available. The value - # is opaque and may be used to issue another request to the endpoint that - # served this list to retrieve the next set of available objects. Continuing - # a list may not be possible if the server configuration has changed or more - # than a few minutes have passed. The resourceVersion field returned when - # using this continue value will be identical to the value in the first - # response. + # continue may be set if the user set a limit on the number of items returned, + # and indicates that the server has more data available. The value is opaque and + # may be used to issue another request to the endpoint that served this list to + # retrieve the next set of available objects. Continuing a list may not be + # possible if the server configuration has changed or more than a few minutes + # have passed. The resourceVersion field returned when using this continue value + # will be identical to the value in the first response. # Corresponds to the JSON property `continue` # @return [String] attr_accessor :continue - # String that identifies the server's internal version of this object that - # can be used by clients to determine when objects have changed. Value must - # be treated as opaque by clients and passed unmodified back to the server. - # Populated by the system. - # Read-only. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- - # control-and-consistency - # +optional + # String that identifies the server's internal version of this object that can + # be used by clients to determine when objects have changed. Value must be + # treated as opaque by clients and passed unmodified back to the server. + # Populated by the system. Read-only. More info: https://git.k8s.io/community/ + # contributors/devel/api-conventions.md#concurrency-control-and-consistency + + # optional # Corresponds to the JSON property `resourceVersion` # @return [String] attr_accessor :resource_version - # SelfLink is a URL representing this object. - # Populated by the system. - # Read-only. + # SelfLink is a URL representing this object. Populated by the system. Read-only. # +optional # Corresponds to the JSON property `selfLink` # @return [String] @@ -2654,8 +2479,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2699,8 +2524,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2744,8 +2569,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2789,8 +2614,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1alpha1::ListMeta] attr_accessor :metadata @@ -2819,9 +2644,8 @@ module Google class LocalObjectReference include Google::Apis::Core::Hashable - # Name of the referent. - # More info: - # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + # Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/ + # working-with-objects/names/#names # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2840,14 +2664,14 @@ module Google class Location include Google::Apis::Core::Hashable - # The friendly name for this location, typically a nearby city name. - # For example, "Tokyo". + # The friendly name for this location, typically a nearby city name. For example, + # "Tokyo". # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Cross-service attributes for the location. For example - # `"cloud.googleapis.com/region": "us-east1"` + # Cross-service attributes for the location. For example `"cloud.googleapis.com/ + # region": "us-east1"` # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -2863,8 +2687,8 @@ module Google # @return [Hash] attr_accessor :metadata - # Resource name for the location, which may vary between implementations. - # For example: `"projects/example-project/locations/us-east1"` + # Resource name for the location, which may vary between implementations. For + # example: `"projects/example-project/locations/us-east1"` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2888,178 +2712,148 @@ module Google class ObjectMeta include Google::Apis::Core::Hashable - # Annotations is an unstructured key value map stored with a resource that - # may be set by external tools to store and retrieve arbitrary metadata. They - # are not queryable and should be preserved when modifying objects. More - # info: http://kubernetes.io/docs/user-guide/annotations +optional + # Annotations is an unstructured key value map stored with a resource that may + # be set by external tools to store and retrieve arbitrary metadata. They are + # not queryable and should be preserved when modifying objects. More info: http:/ + # /kubernetes.io/docs/user-guide/annotations +optional # Corresponds to the JSON property `annotations` # @return [Hash] attr_accessor :annotations - # Not currently supported by Cloud Run. - # The name of the cluster which the object belongs to. - # This is used to distinguish resources with same name and namespace in - # different clusters. This field is not set anywhere right now and apiserver + # Not currently supported by Cloud Run. The name of the cluster which the object + # belongs to. This is used to distinguish resources with same name and namespace + # in different clusters. This field is not set anywhere right now and apiserver # is going to ignore it if set in create or update request. +optional # Corresponds to the JSON property `clusterName` # @return [String] attr_accessor :cluster_name - # CreationTimestamp is a timestamp representing the server time when this - # object was created. It is not guaranteed to be set in happens-before order - # across separate operations. Clients may not set this value. It is - # represented in RFC3339 form and is in UTC. - # Populated by the system. - # Read-only. - # Null for lists. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata - # +optional + # CreationTimestamp is a timestamp representing the server time when this object + # was created. It is not guaranteed to be set in happens-before order across + # separate operations. Clients may not set this value. It is represented in + # RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. + # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md# + # metadata +optional # Corresponds to the JSON property `creationTimestamp` # @return [String] attr_accessor :creation_timestamp - # Not currently supported by Cloud Run. - # Number of seconds allowed for this object to gracefully terminate before - # it will be removed from the system. Only set when deletionTimestamp is also - # set. May only be shortened. Read-only. +optional + # Not currently supported by Cloud Run. Number of seconds allowed for this + # object to gracefully terminate before it will be removed from the system. Only + # set when deletionTimestamp is also set. May only be shortened. Read-only. + + # optional # Corresponds to the JSON property `deletionGracePeriodSeconds` # @return [Fixnum] attr_accessor :deletion_grace_period_seconds # DeletionTimestamp is RFC 3339 date and time at which this resource will be - # deleted. This field is set by the server when a graceful deletion is - # requested by the user, and is not directly settable by a client. The - # resource is expected to be deleted (no longer visible from resource lists, - # and not reachable by name) after the time in this field, once the - # finalizers list is empty. As long as the finalizers list contains items, - # deletion is blocked. Once the deletionTimestamp is set, this value may not - # be unset or be set further into the future, although it may be shortened or - # the resource may be deleted prior to this time. For example, a user may - # request that a pod is deleted in 30 seconds. The Kubelet will react by - # sending a graceful termination signal to the containers in the pod. After - # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) - # to the container and after cleanup, remove the pod from the API. In the - # presence of network partitions, this object may still exist after this - # timestamp, until an administrator or automated process can determine the - # resource is fully terminated. - # If not set, graceful deletion of the object has not been requested. - # Populated by the system when a graceful deletion is requested. - # Read-only. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata - # +optional + # deleted. This field is set by the server when a graceful deletion is requested + # by the user, and is not directly settable by a client. The resource is + # expected to be deleted (no longer visible from resource lists, and not + # reachable by name) after the time in this field, once the finalizers list is + # empty. As long as the finalizers list contains items, deletion is blocked. + # Once the deletionTimestamp is set, this value may not be unset or be set + # further into the future, although it may be shortened or the resource may be + # deleted prior to this time. For example, a user may request that a pod is + # deleted in 30 seconds. The Kubelet will react by sending a graceful + # termination signal to the containers in the pod. After that 30 seconds, the + # Kubelet will send a hard termination signal (SIGKILL) to the container and + # after cleanup, remove the pod from the API. In the presence of network + # partitions, this object may still exist after this timestamp, until an + # administrator or automated process can determine the resource is fully + # terminated. If not set, graceful deletion of the object has not been requested. + # Populated by the system when a graceful deletion is requested. Read-only. + # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md# + # metadata +optional # Corresponds to the JSON property `deletionTimestamp` # @return [String] attr_accessor :deletion_timestamp - # Not currently supported by Cloud Run. - # Must be empty before the object is deleted from the registry. Each entry - # is an identifier for the responsible component that will remove the entry - # from the list. If the deletionTimestamp of the object is non-nil, entries - # in this list can only be removed. - # +optional - # +patchStrategy=merge + # Not currently supported by Cloud Run. Must be empty before the object is + # deleted from the registry. Each entry is an identifier for the responsible + # component that will remove the entry from the list. If the deletionTimestamp + # of the object is non-nil, entries in this list can only be removed. +optional + + # patchStrategy=merge # Corresponds to the JSON property `finalizers` # @return [Array] attr_accessor :finalizers - # Not currently supported by Cloud Run. - # GenerateName is an optional prefix, used by the server, to generate a - # unique name ONLY IF the Name field has not been provided. If this field is - # used, the name returned to the client will be different than the name - # passed. This value will also be combined with a unique suffix. The provided - # value has the same validation rules as the Name field, and may be truncated - # by the length of the suffix required to make the value unique on the - # server. - # If this field is specified and the generated name exists, the server will - # NOT return a 409 - instead, it will either return 201 Created or 500 with - # Reason ServerTimeout indicating a unique name could not be found in the - # time allotted, and the client should retry (optionally after the time - # indicated in the Retry-After header). - # Applied only if Name is not specified. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency - # +optional - # string generateName = 2; + # Not currently supported by Cloud Run. GenerateName is an optional prefix, used + # by the server, to generate a unique name ONLY IF the Name field has not been + # provided. If this field is used, the name returned to the client will be + # different than the name passed. This value will also be combined with a unique + # suffix. The provided value has the same validation rules as the Name field, + # and may be truncated by the length of the suffix required to make the value + # unique on the server. If this field is specified and the generated name exists, + # the server will NOT return a 409 - instead, it will either return 201 Created + # or 500 with Reason ServerTimeout indicating a unique name could not be found + # in the time allotted, and the client should retry (optionally after the time + # indicated in the Retry-After header). Applied only if Name is not specified. + # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md# + # idempotency +optional string generateName = 2; # Corresponds to the JSON property `generateName` # @return [String] attr_accessor :generate_name # A sequence number representing a specific generation of the desired state. - # Populated by the system. Read-only. - # +optional + # Populated by the system. Read-only. +optional # Corresponds to the JSON property `generation` # @return [Fixnum] attr_accessor :generation - # Map of string keys and values that can be used to organize and categorize - # (scope and select) objects. May match selectors of replication controllers - # and routes. - # More info: http://kubernetes.io/docs/user-guide/labels - # +optional + # Map of string keys and values that can be used to organize and categorize ( + # scope and select) objects. May match selectors of replication controllers and + # routes. More info: http://kubernetes.io/docs/user-guide/labels +optional # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # Name must be unique within a namespace, within a Cloud Run region. - # Is required when creating - # resources, although some resources may allow a client to request the - # generation of an appropriate name automatically. Name is primarily intended - # for creation idempotence and configuration definition. Cannot be updated. - # More info: http://kubernetes.io/docs/user-guide/identifiers#names - # +optional + # Name must be unique within a namespace, within a Cloud Run region. Is required + # when creating resources, although some resources may allow a client to request + # the generation of an appropriate name automatically. Name is primarily + # intended for creation idempotence and configuration definition. Cannot be + # updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + # optional # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Namespace defines the space within each name must be unique, within a - # Cloud Run region. In Cloud Run the namespace must be equal to either the - # project ID or project number. + # Namespace defines the space within each name must be unique, within a Cloud + # Run region. In Cloud Run the namespace must be equal to either the project ID + # or project number. # Corresponds to the JSON property `namespace` # @return [String] attr_accessor :namespace - # List of objects that own this object. If ALL objects in the list have - # been deleted, this object will be garbage collected. - # +optional + # List of objects that own this object. If ALL objects in the list have been + # deleted, this object will be garbage collected. +optional # Corresponds to the JSON property `ownerReferences` # @return [Array] attr_accessor :owner_references - # An opaque value that represents the internal version of this object that - # can be used by clients to determine when objects have changed. May be used - # for optimistic concurrency, change detection, and the watch operation on a + # An opaque value that represents the internal version of this object that can + # be used by clients to determine when objects have changed. May be used for + # optimistic concurrency, change detection, and the watch operation on a # resource or set of resources. Clients must treat these values as opaque and - # passed unmodified back to the server. They may only be valid for a - # particular resource or set of resources. - # Populated by the system. - # Read-only. - # Value must be treated as opaque by clients and . - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- - # control-and-consistency - # +optional + # passed unmodified back to the server. They may only be valid for a particular + # resource or set of resources. Populated by the system. Read-only. Value must + # be treated as opaque by clients and . More info: https://git.k8s.io/community/ + # contributors/devel/api-conventions.md#concurrency-control-and-consistency + + # optional # Corresponds to the JSON property `resourceVersion` # @return [String] attr_accessor :resource_version - # SelfLink is a URL representing this object. - # Populated by the system. - # Read-only. - # +optional - # string selfLink = 4; + # SelfLink is a URL representing this object. Populated by the system. Read-only. + # +optional string selfLink = 4; # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link # UID is the unique in time and space value for this object. It is typically # generated by the server on successful creation of a resource and is not - # allowed to change on PUT operations. - # Populated by the system. - # Read-only. - # More info: http://kubernetes.io/docs/user-guide/identifiers#uids - # +optional + # allowed to change on PUT operations. Populated by the system. Read-only. More + # info: http://kubernetes.io/docs/user-guide/identifiers#uids +optional # Corresponds to the JSON property `uid` # @return [String] attr_accessor :uid @@ -3093,62 +2887,50 @@ module Google class ObjectReference include Google::Apis::Core::Hashable - # API version of the referent. - # +optional + # API version of the referent. +optional # Corresponds to the JSON property `apiVersion` # @return [String] attr_accessor :api_version - # If referring to a piece of an object instead of an entire object, this - # string should contain a valid JSON/Go field access statement, such as - # desiredState.manifest.containers[2]. For example, if the object reference - # is to a container within a pod, this would take on a value like: - # "spec.containers`name`" (where "name" refers to the name of the container - # that triggered the event) or if no container name is specified - # "spec.containers[2]" (container with index 2 in this pod). This syntax is - # chosen only to have some well-defined way of referencing a part of an - # object. + # If referring to a piece of an object instead of an entire object, this string + # should contain a valid JSON/Go field access statement, such as desiredState. + # manifest.containers[2]. For example, if the object reference is to a container + # within a pod, this would take on a value like: "spec.containers`name`" (where " + # name" refers to the name of the container that triggered the event) or if no + # container name is specified "spec.containers[2]" (container with index 2 in + # this pod). This syntax is chosen only to have some well-defined way of + # referencing a part of an object. # Corresponds to the JSON property `fieldPath` # @return [String] attr_accessor :field_path - # Kind of the referent. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - # +optional + # Kind of the referent. More info: https://git.k8s.io/community/contributors/ + # devel/api-conventions.md#types-kinds +optional # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Name of the referent. - # More info: - # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - # +optional + # Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/ + # working-with-objects/names/#names +optional # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Namespace of the referent. - # More info: - # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ - # +optional + # Namespace of the referent. More info: https://kubernetes.io/docs/concepts/ + # overview/working-with-objects/namespaces/ +optional # Corresponds to the JSON property `namespace` # @return [String] attr_accessor :namespace - # Specific resourceVersion to which this reference is made, if any. - # More info: + # Specific resourceVersion to which this reference is made, if any. More info: # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- - # control-and-consistency - # +optional + # control-and-consistency +optional # Corresponds to the JSON property `resourceVersion` # @return [String] attr_accessor :resource_version - # UID of the referent. - # More info: - # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids - # +optional + # UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/ + # working-with-objects/names/#uids +optional # Corresponds to the JSON property `uid` # @return [String] attr_accessor :uid @@ -3170,8 +2952,8 @@ module Google end # OwnerReference contains enough information to let you identify an owning - # object. Currently, an owning object must be in the same namespace, so there - # is no namespace field. + # object. Currently, an owning object must be in the same namespace, so there is + # no namespace field. class OwnerReference include Google::Apis::Core::Hashable @@ -3180,40 +2962,36 @@ module Google # @return [String] attr_accessor :api_version - # If true, AND if the owner has the "foregroundDeletion" finalizer, then - # the owner cannot be deleted from the key-value store until this - # reference is removed. - # Defaults to false. - # To set this field, a user needs "delete" permission of the owner, - # otherwise 422 (Unprocessable Entity) will be returned. + # If true, AND if the owner has the "foregroundDeletion" finalizer, then the + # owner cannot be deleted from the key-value store until this reference is + # removed. Defaults to false. To set this field, a user needs "delete" + # permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. # +optional # Corresponds to the JSON property `blockOwnerDeletion` # @return [Boolean] attr_accessor :block_owner_deletion alias_method :block_owner_deletion?, :block_owner_deletion - # If true, this reference points to the managing controller. - # +optional + # If true, this reference points to the managing controller. +optional # Corresponds to the JSON property `controller` # @return [Boolean] attr_accessor :controller alias_method :controller?, :controller - # Kind of the referent. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + # Kind of the referent. More info: https://git.k8s.io/community/contributors/ + # devel/api-conventions.md#types-kinds # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Name of the referent. - # More info: http://kubernetes.io/docs/user-guide/identifiers#names + # Name of the referent. More info: http://kubernetes.io/docs/user-guide/ + # identifiers#names # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # UID of the referent. - # More info: http://kubernetes.io/docs/user-guide/identifiers#uids + # UID of the referent. More info: http://kubernetes.io/docs/user-guide/ + # identifiers#uids # Corresponds to the JSON property `uid` # @return [String] attr_accessor :uid @@ -3234,66 +3012,32 @@ module Google end # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). class Policy include Google::Apis::Core::Hashable @@ -3302,48 +3046,44 @@ module Google # @return [Array] attr_accessor :audit_configs - # Associates a list of `members` to a `role`. Optionally, may specify a - # `condition` that determines how and when the `bindings` are applied. Each - # of the `bindings` must contain at least one member. + # Associates a list of `members` to a `role`. Optionally, may specify a ` + # condition` that determines how and when the `bindings` are applied. Each of + # the `bindings` must contain at least one member. # Corresponds to the JSON property `bindings` # @return [Array] attr_accessor :bindings - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. **Important:** If you use IAM + # Conditions, you must include the `etag` field whenever you call `setIamPolicy`. + # If you omit this field, then IAM allows you to overwrite a version `3` policy + # with a version `1` policy, and all of the conditions in the version `3` policy + # are lost. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :etag - # Specifies the format of the policy. - # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value - # are rejected. - # Any operation that affects conditional role bindings must specify version - # `3`. This requirement applies to the following operations: - # * Getting a policy that includes a conditional role binding - # * Adding a conditional role binding to a policy - # * Changing a conditional role binding in a policy - # * Removing any role binding, with or without a condition, from a policy - # that includes conditions - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. - # If a policy does not include any conditions, operations on that policy may - # specify any valid version 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). + # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + # Requests that specify an invalid value are rejected. Any operation that + # affects conditional role bindings must specify version `3`. This requirement + # applies to the following operations: * Getting a policy that includes a + # conditional role binding * Adding a conditional role binding to a policy * + # Changing a conditional role binding in a policy * Removing any role binding, + # with or without a condition, from a policy that includes conditions ** + # Important:** If you use IAM Conditions, you must include the `etag` field + # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you + # to overwrite a version `3` policy with a version `1` policy, and all of the + # conditions in the version `3` policy are lost. If a policy does not include + # any conditions, operations on that policy may specify any valid version 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). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -3377,35 +3117,29 @@ module Google # @return [Google::Apis::RunV1alpha1::Handler] attr_accessor :handler - # Number of seconds after the container has started before liveness probes - # are initiated. More info: - # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container- - # probes - # +optional + # Number of seconds after the container has started before liveness probes are + # initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod- + # lifecycle#container-probes +optional # Corresponds to the JSON property `initialDelaySeconds` # @return [Fixnum] attr_accessor :initial_delay_seconds - # How often (in seconds) to perform the probe. - # Default to 10 seconds. Minimum value is 1. - # +optional + # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum + # value is 1. +optional # Corresponds to the JSON property `periodSeconds` # @return [Fixnum] attr_accessor :period_seconds - # Minimum consecutive successes for the probe to be considered successful - # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value - # is 1. +optional + # Minimum consecutive successes for the probe to be considered successful after + # having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. + + # optional # Corresponds to the JSON property `successThreshold` # @return [Fixnum] attr_accessor :success_threshold - # Number of seconds after which the probe times out. - # Defaults to 1 second. Minimum value is 1. - # More info: - # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container- - # probes - # +optional + # Number of seconds after which the probe times out. Defaults to 1 second. + # Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/ + # pods/pod-lifecycle#container-probes +optional # Corresponds to the JSON property `timeoutSeconds` # @return [Fixnum] attr_accessor :timeout_seconds @@ -3425,9 +3159,9 @@ module Google end end - # The view model of a single quantity, e.g. "800 MiB". Corresponds to - # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/ - # apimachinery/pkg/api/resource/generated.proto + # The view model of a single quantity, e.g. "800 MiB". Corresponds to https:// + # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/ + # pkg/api/resource/generated.proto class Quantity include Google::Apis::Core::Hashable @@ -3450,14 +3184,14 @@ module Google class ResourceRecord include Google::Apis::Core::Hashable - # Relative name of the object affected by this record. Only applicable for - # `CNAME` records. Example: 'www'. + # Relative name of the object affected by this record. Only applicable for ` + # CNAME` records. Example: 'www'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Data for this record. Values vary by record type, as defined in RFC 1035 - # (section 5) and RFC 1034 (section 3.6.1). + # Data for this record. Values vary by record type, as defined in RFC 1035 ( + # section 5) and RFC 1034 (section 3.6.1). # Corresponds to the JSON property `rrdata` # @return [String] attr_accessor :rrdata @@ -3483,40 +3217,38 @@ module Google class ResourceRequirements include Google::Apis::Core::Hashable - # Limits describes the maximum amount of compute resources allowed. - # The values of the map is string form of the 'quantity' k8s type: - # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/ - # apimachinery/pkg/api/resource/quantity.go + # Limits describes the maximum amount of compute resources allowed. The values + # of the map is string form of the 'quantity' k8s type: https://github.com/ + # kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/ + # resource/quantity.go # Corresponds to the JSON property `limits` # @return [Hash] attr_accessor :limits - # Limits describes the maximum amount of compute resources allowed. - # This is a temporary field created to migrate away from the - # map limits field. This is done to become compliant - # with k8s style API. - # This field is deprecated in favor of limits field. + # Limits describes the maximum amount of compute resources allowed. This is a + # temporary field created to migrate away from the map limits field. This is + # done to become compliant with k8s style API. This field is deprecated in favor + # of limits field. # Corresponds to the JSON property `limitsInMap` # @return [Hash] attr_accessor :limits_in_map - # Requests describes the minimum amount of compute resources required. - # If Requests is omitted for a container, it defaults to Limits if that is - # explicitly specified, otherwise to an implementation-defined value. - # The values of the map is string form of the 'quantity' k8s type: - # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/ - # apimachinery/pkg/api/resource/quantity.go + # Requests describes the minimum amount of compute resources required. If + # Requests is omitted for a container, it defaults to Limits if that is + # explicitly specified, otherwise to an implementation-defined value. The values + # of the map is string form of the 'quantity' k8s type: https://github.com/ + # kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/ + # resource/quantity.go # Corresponds to the JSON property `requests` # @return [Hash] attr_accessor :requests - # Requests describes the minimum amount of compute resources required. - # If Requests is omitted for a container, it defaults to Limits if that is - # explicitly specified, otherwise to an implementation-defined value. - # This is a temporary field created to migrate away from the - # map requests field. This is done to become compliant - # with k8s style API. - # This field is deprecated in favor of requests field. + # Requests describes the minimum amount of compute resources required. If + # Requests is omitted for a container, it defaults to Limits if that is + # explicitly specified, otherwise to an implementation-defined value. This is a + # temporary field created to migrate away from the map requests field. This is + # done to become compliant with k8s style API. This field is deprecated in favor + # of requests field. # Corresponds to the JSON property `requestsInMap` # @return [Hash] attr_accessor :requests_in_map @@ -3534,12 +3266,10 @@ module Google end end - # Revision is an immutable snapshot of code and configuration. A revision + # Revision is an immutable snapshot of code and configuration. A revision # references a container image. Revisions are created by updates to a - # Configuration. - # Cloud Run does not currently support referencing a build that is responsible - # for materializing the container image from source. - # See also: + # Configuration. Cloud Run does not currently support referencing a build that + # is responsible for materializing the container image from source. See also: # https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision class Revision include Google::Apis::Core::Hashable @@ -3589,26 +3319,23 @@ module Google class RevisionCondition include Google::Apis::Core::Hashable - # Last time the condition transitioned from one status to another. - # +optional + # Last time the condition transitioned from one status to another. +optional # Corresponds to the JSON property `lastTransitionTime` # @return [String] attr_accessor :last_transition_time - # Human readable message indicating details about the current status. - # +optional + # Human readable message indicating details about the current status. +optional # Corresponds to the JSON property `message` # @return [String] attr_accessor :message - # One-word CamelCase reason for the condition's last transition. - # +optional + # One-word CamelCase reason for the condition's last transition. +optional # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # How to interpret failures of this condition, one of Error, Warning, Info - # +optional + # How to interpret failures of this condition, one of Error, Warning, Info + + # optional # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity @@ -3618,16 +3345,12 @@ module Google # @return [String] attr_accessor :status - # RevisionConditionType is used to communicate the status of the - # reconciliation process. See also: - # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error- - # conditions-and-reporting - # Types include: - # * "Ready": True when the Revision is ready. - # * "ResourcesAvailable": True when underlying resources have been - # provisioned. - # * "ContainerHealthy": True when the Revision readiness check completes. - # * "Active": True when the Revision may receive traffic. + # RevisionConditionType is used to communicate the status of the reconciliation + # process. See also: https://github.com/knative/serving/blob/master/docs/spec/ + # errors.md#error-conditions-and-reporting Types include: * "Ready": True when + # the Revision is ready. * "ResourcesAvailable": True when underlying resources + # have been provisioned. * "ContainerHealthy": True when the Revision readiness + # check completes. * "Active": True when the Revision may receive traffic. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -3651,71 +3374,62 @@ module Google class RevisionSpec include Google::Apis::Core::Hashable - # ConcurrencyModel specifies the desired concurrency model - # (Single or Multi) for the Revision. Defaults to Multi. - # Deprecated in favor of ContainerConcurrency. - # +optional + # ConcurrencyModel specifies the desired concurrency model (Single or Multi) for + # the Revision. Defaults to Multi. Deprecated in favor of ContainerConcurrency. + + # optional # Corresponds to the JSON property `concurrencyModel` # @return [String] attr_accessor :concurrency_model - # A single application container. - # This specifies both the container to run, the command to run in the container - # and the arguments to supply to it. - # Note that additional arguments may be supplied by the system to the container - # at runtime. + # A single application container. This specifies both the container to run, the + # command to run in the container and the arguments to supply to it. Note that + # additional arguments may be supplied by the system to the container at runtime. # Corresponds to the JSON property `container` # @return [Google::Apis::RunV1alpha1::Container] attr_accessor :container - # (Optional) - # ContainerConcurrency specifies the maximum allowed in-flight (concurrent) - # requests per container instance of the Revision. - # Cloud Run fully managed: supported, defaults to 80 - # Cloud Run on GKE: supported, defaults to 0, which means concurrency - # to the application is not limited, and the system decides the - # target concurrency for the autoscaler. + # (Optional) ContainerConcurrency specifies the maximum allowed in-flight ( + # concurrent) requests per container instance of the Revision. Cloud Run fully + # managed: supported, defaults to 80 Cloud Run on GKE: supported, defaults to 0, + # which means concurrency to the application is not limited, and the system + # decides the target concurrency for the autoscaler. # Corresponds to the JSON property `containerConcurrency` # @return [Fixnum] attr_accessor :container_concurrency - # Containers holds the single container that defines the unit of execution - # for this Revision. In the context of a Revision, we disallow a number of - # fields on this Container, including: name and lifecycle. - # In Cloud Run, only a single container may be provided. + # Containers holds the single container that defines the unit of execution for + # this Revision. In the context of a Revision, we disallow a number of fields on + # this Container, including: name and lifecycle. In Cloud Run, only a single + # container may be provided. # Corresponds to the JSON property `containers` # @return [Array] attr_accessor :containers - # Deprecated and not currently populated by Cloud Run. See - # metadata.generation instead, which is the sequence number containing the - # latest generation of the desired state. - # Read-only. + # Deprecated and not currently populated by Cloud Run. See metadata.generation + # instead, which is the sequence number containing the latest generation of the + # desired state. Read-only. # Corresponds to the JSON property `generation` # @return [Fixnum] attr_accessor :generation - # Email address of the IAM service account associated with the revision - # of the service. The service account represents the identity of the - # running revision, and determines what permissions the revision has. If - # not provided, the revision will use the project's default service account. + # Email address of the IAM service account associated with the revision of the + # service. The service account represents the identity of the running revision, + # and determines what permissions the revision has. If not provided, the + # revision will use the project's default service account. # Corresponds to the JSON property `serviceAccountName` # @return [String] attr_accessor :service_account_name - # ServingState holds a value describing the state the resources - # are in for this Revision. - # Users must not specify this when creating a revision. It is expected - # that the system will manipulate this based on routability and load. - # Populated by the system. - # Read-only. + # ServingState holds a value describing the state the resources are in for this + # Revision. Users must not specify this when creating a revision. It is expected + # that the system will manipulate this based on routability and load. Populated + # by the system. Read-only. # Corresponds to the JSON property `servingState` # @return [String] attr_accessor :serving_state - # TimeoutSeconds holds the max duration the instance is allowed for - # responding to a request. - # Not currently used by Cloud Run. + # TimeoutSeconds holds the max duration the instance is allowed for responding + # to a request. Not currently used by Cloud Run. # Corresponds to the JSON property `timeoutSeconds` # @return [Fixnum] attr_accessor :timeout_seconds @@ -3748,36 +3462,33 @@ module Google class RevisionStatus include Google::Apis::Core::Hashable - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. - # As a Revision is being prepared, it will incrementally - # update conditions "ResourcesAvailable", "ContainerHealthy", and "Active", - # which contribute to the overall "Ready" condition. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. + # As a Revision is being prepared, it will incrementally update conditions " + # ResourcesAvailable", "ContainerHealthy", and "Active", which contribute to the + # overall "Ready" condition. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ImageDigest holds the resolved digest for the image specified - # within .Spec.Container.Image. The digest is resolved during the creation - # of Revision. This field holds the digest value regardless of whether - # a tag or digest was originally specified in the Container object. + # ImageDigest holds the resolved digest for the image specified within .Spec. + # Container.Image. The digest is resolved during the creation of Revision. This + # field holds the digest value regardless of whether a tag or digest was + # originally specified in the Container object. # Corresponds to the JSON property `imageDigest` # @return [String] attr_accessor :image_digest - # Specifies the generated logging url for this particular revision - # based on the revision url template specified in the controller's config. - # +optional + # Specifies the generated logging url for this particular revision based on the + # revision url template specified in the controller's config. +optional # Corresponds to the JSON property `logUrl` # @return [String] attr_accessor :log_url - # ObservedGeneration is the 'Generation' of the Revision that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation, and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the Revision that was last processed + # by the controller. Clients polling for completed reconciliation should poll + # until observedGeneration = metadata.generation, and the Ready condition's + # status is True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation @@ -3802,8 +3513,8 @@ module Google end # RevisionTemplateSpec describes the data a revision should have when created - # from a template. Based on: - # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 + # from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/ + # core/v1/types.go#L3179-L3190 class RevisionTemplate include Google::Apis::Core::Hashable @@ -3832,11 +3543,10 @@ module Google # Route is responsible for configuring ingress over a collection of Revisions. # Some of the Revisions a Route distributes traffic over may be specified by # referencing the Configuration responsible for creating them; in these cases - # the Route is additionally responsible for monitoring the Configuration for - # "latest ready" revision changes, and smoothly rolling out latest revisions. - # See also: - # https://github.com/knative/serving/blob/master/docs/spec/overview.md#route - # Cloud Run currently supports referencing a single Configuration to + # the Route is additionally responsible for monitoring the Configuration for " + # latest ready" revision changes, and smoothly rolling out latest revisions. See + # also: https://github.com/knative/serving/blob/master/docs/spec/overview.md# + # route Cloud Run currently supports referencing a single Configuration to # automatically deploy the "latest ready" Revision from that Configuration. class Route include Google::Apis::Core::Hashable @@ -3862,8 +3572,7 @@ module Google # @return [Google::Apis::RunV1alpha1::RouteSpec] attr_accessor :spec - # RouteStatus communicates the observed state of the Route (from the - # controller). + # RouteStatus communicates the observed state of the Route (from the controller). # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1alpha1::RouteStatus] attr_accessor :status @@ -3886,26 +3595,23 @@ module Google class RouteCondition include Google::Apis::Core::Hashable - # Last time the condition transitioned from one status to another. - # +optional + # Last time the condition transitioned from one status to another. +optional # Corresponds to the JSON property `lastTransitionTime` # @return [String] attr_accessor :last_transition_time - # Human-readable message indicating details about last transition. - # +optional + # Human-readable message indicating details about last transition. +optional # Corresponds to the JSON property `message` # @return [String] attr_accessor :message - # One-word CamelCase reason for the condition's last transition. - # +optional + # One-word CamelCase reason for the condition's last transition. +optional # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # How to interpret failures of this condition, one of Error, Warning, Info - # +optional + # How to interpret failures of this condition, one of Error, Warning, Info + + # optional # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity @@ -3916,10 +3622,8 @@ module Google attr_accessor :status # RouteConditionType is used to communicate the status of the reconciliation - # process. See also: - # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error- - # conditions-and-reporting - # Types include: "Ready". + # process. See also: https://github.com/knative/serving/blob/master/docs/spec/ + # errors.md#error-conditions-and-reporting Types include: "Ready". # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -3943,17 +3647,16 @@ module Google class RouteSpec include Google::Apis::Core::Hashable - # Deprecated and not currently populated by Cloud Run. See - # metadata.generation instead, which is the sequence number containing the - # latest generation of the desired state. - # Read-only. + # Deprecated and not currently populated by Cloud Run. See metadata.generation + # instead, which is the sequence number containing the latest generation of the + # desired state. Read-only. # Corresponds to the JSON property `generation` # @return [Fixnum] attr_accessor :generation # Traffic specifies how to distribute traffic over a collection of Knative - # Revisions and Configurations. - # Cloud Run currently supports a single configurationName. + # Revisions and Configurations. Cloud Run currently supports a single + # configurationName. # Corresponds to the JSON property `traffic` # @return [Array] attr_accessor :traffic @@ -3969,8 +3672,7 @@ module Google end end - # RouteStatus communicates the observed state of the Route (from the - # controller). + # RouteStatus communicates the observed state of the Route (from the controller). class RouteStatus include Google::Apis::Core::Hashable @@ -3979,50 +3681,44 @@ module Google # @return [Google::Apis::RunV1alpha1::Addressable] attr_accessor :address - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # Deprecated - use url instead. - # Domain holds the top-level domain that will distribute traffic over the - # provided targets. + # Deprecated - use url instead. Domain holds the top-level domain that will + # distribute traffic over the provided targets. # Corresponds to the JSON property `domain` # @return [String] attr_accessor :domain - # Deprecated - use address instead. - # For Cloud Run, identifical to domain. + # Deprecated - use address instead. For Cloud Run, identifical to domain. # Corresponds to the JSON property `domainInternal` # @return [String] attr_accessor :domain_internal - # ObservedGeneration is the 'Generation' of the Route that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation and the Ready condition's status - # is True or False. - # Note that providing a trafficTarget that only has a configurationName will - # result in a Route that does not increment either its metadata.generation or - # its observedGeneration, as new "latest ready" revisions from the - # Configuration are processed without an update to the Route's spec. + # ObservedGeneration is the 'Generation' of the Route that was last processed by + # the controller. Clients polling for completed reconciliation should poll until + # observedGeneration = metadata.generation and the Ready condition's status is + # True or False. Note that providing a trafficTarget that only has a + # configurationName will result in a Route that does not increment either its + # metadata.generation or its observedGeneration, as new "latest ready" revisions + # from the Configuration are processed without an update to the Route's spec. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # Traffic holds the configured traffic distribution. - # These entries will always contain RevisionName references. - # When ConfigurationName appears in the spec, this will hold the - # LatestReadyRevisionName that we last observed. + # Traffic holds the configured traffic distribution. These entries will always + # contain RevisionName references. When ConfigurationName appears in the spec, + # this will hold the LatestReadyRevisionName that we last observed. # Corresponds to the JSON property `traffic` # @return [Array] attr_accessor :traffic # URL holds the url that will distribute traffic over the provided traffic - # targets. It generally has the form - # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app + # targets. It generally has the form https://`route-hash`-`project-hash`-` + # cluster-level-suffix`.a.run.app # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -4047,26 +3743,22 @@ module Google class SeLinuxOptions include Google::Apis::Core::Hashable - # Level is SELinux level label that applies to the container. - # +optional + # Level is SELinux level label that applies to the container. +optional # Corresponds to the JSON property `level` # @return [String] attr_accessor :level - # Role is a SELinux role label that applies to the container. - # +optional + # Role is a SELinux role label that applies to the container. +optional # Corresponds to the JSON property `role` # @return [String] attr_accessor :role - # Type is a SELinux type label that applies to the container. - # +optional + # Type is a SELinux type label that applies to the container. +optional # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # User is a SELinux user label that applies to the container. - # +optional + # User is a SELinux user label that applies to the container. +optional # Corresponds to the JSON property `user` # @return [String] attr_accessor :user @@ -4084,10 +3776,9 @@ module Google end end - # SecretEnvSource selects a Secret to populate the environment - # variables with. - # The contents of the target Secret's Data field will represent the - # key-value pairs as environment variables. + # SecretEnvSource selects a Secret to populate the environment variables with. + # The contents of the target Secret's Data field will represent the key-value + # pairs as environment variables. class SecretEnvSource include Google::Apis::Core::Hashable @@ -4097,17 +3788,14 @@ module Google # @return [Google::Apis::RunV1alpha1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The Secret to select from. + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported The + # Secret to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Specify whether the Secret must be defined - # +optional + # Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify + # whether the Secret must be defined +optional # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -4125,15 +3813,13 @@ module Google end end - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported + # Cloud Run fully managed: not supported Cloud Run on GKE: supported # SecretKeySelector selects a key of a Secret. class SecretKeySelector include Google::Apis::Core::Hashable - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # The key of the secret to select from. Must be a valid secret key. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported The key of + # the secret to select from. Must be a valid secret key. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key @@ -4144,17 +3830,14 @@ module Google # @return [Google::Apis::RunV1alpha1::LocalObjectReference] attr_accessor :local_object_reference - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # The name of the secret in the pod's namespace to select from. + # Cloud Run fully managed: not supported Cloud Run on GKE: supported The name of + # the secret in the pod's namespace to select from. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Cloud Run fully managed: not supported - # Cloud Run on GKE: supported - # Specify whether the Secret or its key must be defined - # +optional + # Cloud Run fully managed: not supported Cloud Run on GKE: supported Specify + # whether the Secret or its key must be defined +optional # Corresponds to the JSON property `optional` # @return [Boolean] attr_accessor :optional @@ -4179,19 +3862,19 @@ module Google include Google::Apis::Core::Hashable # Mode bits to use on created files by default. Must be a value between 0 and - # 0777. Defaults to 0644. Directories within the path are not affected by - # this setting. This might be in conflict with other options that affect the - # file mode, like fsGroup, and the result can be other mode bits set. + # 0777. Defaults to 0644. Directories within the path are not affected by this + # setting. This might be in conflict with other options that affect the file + # mode, like fsGroup, and the result can be other mode bits set. # Corresponds to the JSON property `defaultMode` # @return [Fixnum] attr_accessor :default_mode - # If unspecified, each key-value pair in the Data field of the referenced - # Secret will be projected into the volume as a file whose name is the - # key and content is the value. If specified, the listed keys will be - # projected into the specified paths, and unlisted keys will not be - # present. If a key is specified which is not present in the Secret, - # the volume setup will error unless it is marked optional. + # If unspecified, each key-value pair in the Data field of the referenced Secret + # will be projected into the volume as a file whose name is the key and content + # is the value. If specified, the listed keys will be projected into the + # specified paths, and unlisted keys will not be present. If a key is specified + # which is not present in the Secret, the volume setup will error unless it is + # marked optional. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -4222,18 +3905,15 @@ module Google # SecurityContext holds security configuration that will be applied to a # container. Some fields are present in both SecurityContext and - # PodSecurityContext. When both are set, the values in SecurityContext take + # PodSecurityContext. When both are set, the values in SecurityContext take # precedence. class SecurityContext include Google::Apis::Core::Hashable - # AllowPrivilegeEscalation controls whether a process can gain more - # privileges than its parent process. This bool directly controls if - # the no_new_privs flag will be set on the container process. - # AllowPrivilegeEscalation is true always when the container is: - # 1) run as Privileged - # 2) has CAP_SYS_ADMIN - # +optional + # AllowPrivilegeEscalation controls whether a process can gain more privileges + # than its parent process. This bool directly controls if the no_new_privs flag + # will be set on the container process. AllowPrivilegeEscalation is true always + # when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN +optional # Corresponds to the JSON property `allowPrivilegeEscalation` # @return [Boolean] attr_accessor :allow_privilege_escalation @@ -4244,48 +3924,43 @@ module Google # @return [Google::Apis::RunV1alpha1::Capabilities] attr_accessor :capabilities - # Run container in privileged mode. - # Processes in privileged containers are essentially equivalent to root on - # the host. Defaults to false. +optional + # Run container in privileged mode. Processes in privileged containers are + # essentially equivalent to root on the host. Defaults to false. +optional # Corresponds to the JSON property `privileged` # @return [Boolean] attr_accessor :privileged alias_method :privileged?, :privileged - # Whether this container has a read-only root filesystem. - # Default is false. - # +optional + # Whether this container has a read-only root filesystem. Default is false. + + # optional # Corresponds to the JSON property `readOnlyRootFilesystem` # @return [Boolean] attr_accessor :read_only_root_filesystem alias_method :read_only_root_filesystem?, :read_only_root_filesystem - # The GID to run the entrypoint of the container process. - # Uses runtime default if unset. - # May also be set in PodSecurityContext. If set in both SecurityContext and - # PodSecurityContext, the value specified in SecurityContext takes - # precedence. +optional + # The GID to run the entrypoint of the container process. Uses runtime default + # if unset. May also be set in PodSecurityContext. If set in both + # SecurityContext and PodSecurityContext, the value specified in SecurityContext + # takes precedence. +optional # Corresponds to the JSON property `runAsGroup` # @return [Fixnum] attr_accessor :run_as_group - # Indicates that the container must run as a non-root user. - # If true, the Kubelet will validate the image at runtime to ensure that it - # does not run as UID 0 (root) and fail to start the container if it does. - # If unset or false, no such validation will be performed. - # May also be set in PodSecurityContext. If set in both SecurityContext and - # PodSecurityContext, the value specified in SecurityContext takes - # precedence. +optional + # Indicates that the container must run as a non-root user. If true, the Kubelet + # will validate the image at runtime to ensure that it does not run as UID 0 ( + # root) and fail to start the container if it does. If unset or false, no such + # validation will be performed. May also be set in PodSecurityContext. If set in + # both SecurityContext and PodSecurityContext, the value specified in + # SecurityContext takes precedence. +optional # Corresponds to the JSON property `runAsNonRoot` # @return [Boolean] attr_accessor :run_as_non_root alias_method :run_as_non_root?, :run_as_non_root - # The UID to run the entrypoint of the container process. - # Defaults to user specified in image metadata if unspecified. - # May also be set in PodSecurityContext. If set in both SecurityContext and - # PodSecurityContext, the value specified in SecurityContext takes - # precedence. +optional + # The UID to run the entrypoint of the container process. Defaults to user + # specified in image metadata if unspecified. May also be set in + # PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the + # value specified in SecurityContext takes precedence. +optional # Corresponds to the JSON property `runAsUser` # @return [Fixnum] attr_accessor :run_as_user @@ -4314,15 +3989,14 @@ module Google # Service acts as a top-level container that manages a set of Routes and # Configurations which implement a network service. Service exists to provide a - # singular abstraction which can be access controlled, reasoned about, and - # which encapsulates software lifecycle decisions such as rollout policy and - # team resource ownership. Service acts only as an orchestrator of the - # underlying Routes and Configurations (much as a kubernetes Deployment - # orchestrates ReplicaSets). - # The Service's controller will track the statuses of its owned Configuration - # and Route, reflecting their statuses and conditions as its own. - # See also: - # https://github.com/knative/serving/blob/master/docs/spec/overview.md#service + # singular abstraction which can be access controlled, reasoned about, and which + # encapsulates software lifecycle decisions such as rollout policy and team + # resource ownership. Service acts only as an orchestrator of the underlying + # Routes and Configurations (much as a kubernetes Deployment orchestrates + # ReplicaSets). The Service's controller will track the statuses of its owned + # Configuration and Route, reflecting their statuses and conditions as its own. + # See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md# + # service class Service include Google::Apis::Core::Hashable @@ -4342,8 +4016,8 @@ module Google # @return [Google::Apis::RunV1alpha1::ObjectMeta] attr_accessor :metadata - # ServiceSpec holds the desired state of the Route (from the client), which - # is used to manipulate the underlying Route and Configuration(s). + # ServiceSpec holds the desired state of the Route (from the client), which is + # used to manipulate the underlying Route and Configuration(s). # Corresponds to the JSON property `spec` # @return [Google::Apis::RunV1alpha1::ServiceSpec] attr_accessor :spec @@ -4371,26 +4045,23 @@ module Google class ServiceCondition include Google::Apis::Core::Hashable - # Last time the condition transitioned from one status to another. - # +optional + # Last time the condition transitioned from one status to another. +optional # Corresponds to the JSON property `lastTransitionTime` # @return [String] attr_accessor :last_transition_time - # Human-readable message indicating details about last transition. - # +optional + # Human-readable message indicating details about last transition. +optional # Corresponds to the JSON property `message` # @return [String] attr_accessor :message - # One-word CamelCase reason for the condition's last transition. - # +optional + # One-word CamelCase reason for the condition's last transition. +optional # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason - # How to interpret failures of this condition, one of Error, Warning, Info - # +optional + # How to interpret failures of this condition, one of Error, Warning, Info + + # optional # Corresponds to the JSON property `severity` # @return [String] attr_accessor :severity @@ -4400,12 +4071,11 @@ module Google # @return [String] attr_accessor :status - # ServiceConditionType is used to communicate the status of the - # reconciliation process. See also: - # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error- - # conditions-and-reporting - # Types include: "Ready", "ConfigurationsReady", and "RoutesReady". "Ready" - # will be true when the underlying Route and Configuration are ready. + # ServiceConditionType is used to communicate the status of the reconciliation + # process. See also: https://github.com/knative/serving/blob/master/docs/spec/ + # errors.md#error-conditions-and-reporting Types include: "Ready", " + # ConfigurationsReady", and "RoutesReady". "Ready" will be true when the + # underlying Route and Configuration are ready. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -4425,36 +4095,33 @@ module Google end end - # ServiceSpec holds the desired state of the Route (from the client), which - # is used to manipulate the underlying Route and Configuration(s). + # ServiceSpec holds the desired state of the Route (from the client), which is + # used to manipulate the underlying Route and Configuration(s). class ServiceSpec include Google::Apis::Core::Hashable - # Deprecated and not currently populated by Cloud Run. See - # metadata.generation instead, which is the sequence number containing the - # latest generation of the desired state. - # Read-only. + # Deprecated and not currently populated by Cloud Run. See metadata.generation + # instead, which is the sequence number containing the latest generation of the + # desired state. Read-only. # Corresponds to the JSON property `generation` # @return [Fixnum] attr_accessor :generation # ServiceSpecManualType contains the options for configuring a manual service. - # See ServiceSpec for more details. - # Not currently supported by Cloud Run. + # See ServiceSpec for more details. Not currently supported by Cloud Run. # Corresponds to the JSON property `manual` # @return [Google::Apis::RunV1alpha1::ServiceSpecManualType] attr_accessor :manual # ServiceSpecPinnedType Pins this service to a specific revision name. The - # revision must be owned by the configuration provided. - # Deprecated and not supported by Cloud Run. + # revision must be owned by the configuration provided. Deprecated and not + # supported by Cloud Run. # Corresponds to the JSON property `pinned` # @return [Google::Apis::RunV1alpha1::ServiceSpecPinnedType] attr_accessor :pinned # ServiceSpecReleaseType contains the options for slowly releasing revisions. - # See ServiceSpec for more details. - # Not currently supported by Cloud Run. + # See ServiceSpec for more details. Not currently supported by Cloud Run. # Corresponds to the JSON property `release` # @return [Google::Apis::RunV1alpha1::ServiceSpecReleaseType] attr_accessor :release @@ -4466,8 +4133,8 @@ module Google attr_accessor :run_latest # RevisionTemplateSpec describes the data a revision should have when created - # from a template. Based on: - # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190 + # from a template. Based on: https://github.com/kubernetes/api/blob/e771f807/ + # core/v1/types.go#L3179-L3190 # Corresponds to the JSON property `template` # @return [Google::Apis::RunV1alpha1::RevisionTemplate] attr_accessor :template @@ -4495,8 +4162,7 @@ module Google end # ServiceSpecManualType contains the options for configuring a manual service. - # See ServiceSpec for more details. - # Not currently supported by Cloud Run. + # See ServiceSpec for more details. Not currently supported by Cloud Run. class ServiceSpecManualType include Google::Apis::Core::Hashable @@ -4510,8 +4176,8 @@ module Google end # ServiceSpecPinnedType Pins this service to a specific revision name. The - # revision must be owned by the configuration provided. - # Deprecated and not supported by Cloud Run. + # revision must be owned by the configuration provided. Deprecated and not + # supported by Cloud Run. class ServiceSpecPinnedType include Google::Apis::Core::Hashable @@ -4521,8 +4187,8 @@ module Google # @return [Google::Apis::RunV1alpha1::ConfigurationSpec] attr_accessor :configuration - # The revision name to pin this service to until changed - # to a different service type. + # The revision name to pin this service to until changed to a different service + # type. # Corresponds to the JSON property `revisionName` # @return [String] attr_accessor :revision_name @@ -4539,8 +4205,7 @@ module Google end # ServiceSpecReleaseType contains the options for slowly releasing revisions. - # See ServiceSpec for more details. - # Not currently supported by Cloud Run. + # See ServiceSpec for more details. Not currently supported by Cloud Run. class ServiceSpecReleaseType include Google::Apis::Core::Hashable @@ -4551,17 +4216,16 @@ module Google attr_accessor :configuration # Revisions is an ordered list of 1 or 2 revisions. The first is the current - # revision, and the second is the candidate revision. If a single revision - # is provided, traffic will be pinned at that revision. - # "@latest" is a shortcut for usage that refers to the latest created - # revision by the configuration. + # revision, and the second is the candidate revision. If a single revision is + # provided, traffic will be pinned at that revision. "@latest" is a shortcut for + # usage that refers to the latest created revision by the configuration. # Corresponds to the JSON property `revisions` # @return [Array] attr_accessor :revisions - # RolloutPercent is the percent of traffic that should be sent to the - # candidate revision, i.e. the 2nd revision in the revisions list. - # Valid values are between 0 and 99 inclusive. + # RolloutPercent is the percent of traffic that should be sent to the candidate + # revision, i.e. the 2nd revision in the revisions list. Valid values are + # between 0 and 99 inclusive. # Corresponds to the JSON property `rolloutPercent` # @return [Fixnum] attr_accessor :rollout_percent @@ -4608,59 +4272,52 @@ module Google # @return [Google::Apis::RunV1alpha1::Addressable] attr_accessor :address - # Conditions communicates information about ongoing/complete - # reconciliation processes that bring the "spec" inline with the observed - # state of the world. + # Conditions communicates information about ongoing/complete reconciliation + # processes that bring the "spec" inline with the observed state of the world. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # From RouteStatus. - # Domain holds the top-level domain that will distribute traffic over the - # provided targets. It generally has the form - # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app + # From RouteStatus. Domain holds the top-level domain that will distribute + # traffic over the provided targets. It generally has the form https://`route- + # hash`-`project-hash`-`cluster-level-suffix`.a.run.app # Corresponds to the JSON property `domain` # @return [String] attr_accessor :domain - # From ConfigurationStatus. - # LatestCreatedRevisionName is the last revision that was created from this - # Service's Configuration. It might not be ready yet, for that use - # LatestReadyRevisionName. + # From ConfigurationStatus. LatestCreatedRevisionName is the last revision that + # was created from this Service's Configuration. It might not be ready yet, for + # that use LatestReadyRevisionName. # Corresponds to the JSON property `latestCreatedRevisionName` # @return [String] attr_accessor :latest_created_revision_name - # From ConfigurationStatus. - # LatestReadyRevisionName holds the name of the latest Revision stamped out - # from this Service's Configuration that has had its "Ready" condition become - # "True". + # From ConfigurationStatus. LatestReadyRevisionName holds the name of the latest + # Revision stamped out from this Service's Configuration that has had its "Ready" + # condition become "True". # Corresponds to the JSON property `latestReadyRevisionName` # @return [String] attr_accessor :latest_ready_revision_name - # ObservedGeneration is the 'Generation' of the Route that - # was last processed by the controller. - # Clients polling for completed reconciliation should poll until - # observedGeneration = metadata.generation and the Ready condition's status - # is True or False. + # ObservedGeneration is the 'Generation' of the Route that was last processed by + # the controller. Clients polling for completed reconciliation should poll until + # observedGeneration = metadata.generation and the Ready condition's status is + # True or False. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation - # From RouteStatus. - # Traffic holds the configured traffic distribution. - # These entries will always contain RevisionName references. - # When ConfigurationName appears in the spec, this will hold the - # LatestReadyRevisionName that we last observed. + # From RouteStatus. Traffic holds the configured traffic distribution. These + # entries will always contain RevisionName references. When ConfigurationName + # appears in the spec, this will hold the LatestReadyRevisionName that we last + # observed. # Corresponds to the JSON property `traffic` # @return [Array] attr_accessor :traffic - # From RouteStatus. - # URL holds the url that will distribute traffic over the provided traffic - # targets. It generally has the form - # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app + # From RouteStatus. URL holds the url that will distribute traffic over the + # provided traffic targets. It generally has the form https://`route-hash`-` + # project-hash`-`cluster-level-suffix`.a.run.app # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -4687,74 +4344,39 @@ module Google include Google::Apis::Core::Hashable # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). # Corresponds to the JSON property `policy` # @return [Google::Apis::RunV1alpha1::Policy] attr_accessor :policy # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - # the fields in the mask will be modified. If no mask is provided, the - # following default mask is used: - # `paths: "bindings, etag"` + # the fields in the mask will be modified. If no mask is provided, the following + # default mask is used: `paths: "bindings, etag"` # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask @@ -4774,16 +4396,15 @@ module Google class TcpSocketAction include Google::Apis::Core::Hashable - # Optional: Host name to connect to, defaults to the pod IP. - # +optional + # Optional: Host name to connect to, defaults to the pod IP. +optional # Corresponds to the JSON property `host` # @return [String] attr_accessor :host - # IntOrString is a type that can hold an int32 or a string. When used in - # JSON or YAML marshalling and unmarshalling, it produces or consumes the - # inner type. This allows you to have, for example, a JSON field that can - # accept a name or number. + # IntOrString is a type that can hold an int32 or a string. When used in JSON or + # YAML marshalling and unmarshalling, it produces or consumes the inner type. + # This allows you to have, for example, a JSON field that can accept a name or + # number. # Corresponds to the JSON property `port` # @return [Google::Apis::RunV1alpha1::IntOrString] attr_accessor :port @@ -4803,10 +4424,9 @@ module Google class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # The set of permissions to check for the `resource`. Permissions with wildcards + # (such as '*' or 'storage.*') are not allowed. For more information see [IAM + # Overview](https://cloud.google.com/iam/docs/overview#permissions). # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -4825,8 +4445,7 @@ module Google class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. + # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -4845,63 +4464,55 @@ module Google class TrafficTarget include Google::Apis::Core::Hashable - # ConfigurationName of a configuration to whose latest revision we will - # send this portion of traffic. When the "status.latestReadyRevisionName" - # of the referenced configuration changes, we will automatically migrate - # traffic from the prior "latest ready" revision to the new one. This field - # is never set in Route's status, only its spec. This is mutually exclusive - # with RevisionName. + # ConfigurationName of a configuration to whose latest revision we will send + # this portion of traffic. When the "status.latestReadyRevisionName" of the + # referenced configuration changes, we will automatically migrate traffic from + # the prior "latest ready" revision to the new one. This field is never set in + # Route's status, only its spec. This is mutually exclusive with RevisionName. # Cloud Run currently supports a single ConfigurationName. # Corresponds to the JSON property `configurationName` # @return [String] attr_accessor :configuration_name - # LatestRevision may be optionally provided to indicate that the latest - # ready Revision of the Configuration should be used for this traffic - # target. When provided LatestRevision must be true if RevisionName is - # empty; it must be false when RevisionName is non-empty. - # +optional + # LatestRevision may be optionally provided to indicate that the latest ready + # Revision of the Configuration should be used for this traffic target. When + # provided LatestRevision must be true if RevisionName is empty; it must be + # false when RevisionName is non-empty. +optional # Corresponds to the JSON property `latestRevision` # @return [Boolean] attr_accessor :latest_revision alias_method :latest_revision?, :latest_revision # Name is optionally used to expose a dedicated hostname for referencing this - # target exclusively. - # Not currently supported by Cloud Run. - # +optional + # target exclusively. Not currently supported by Cloud Run. +optional # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Percent specifies percent of the traffic to this Revision or Configuration. - # This defaults to zero if unspecified. - # Cloud Run currently requires 100 percent for a single ConfigurationName - # TrafficTarget entry. + # This defaults to zero if unspecified. Cloud Run currently requires 100 percent + # for a single ConfigurationName TrafficTarget entry. # Corresponds to the JSON property `percent` # @return [Fixnum] attr_accessor :percent - # RevisionName of a specific revision to which to send this portion of - # traffic. This is mutually exclusive with ConfigurationName. - # Providing RevisionName in spec is not currently supported by Cloud Run. + # RevisionName of a specific revision to which to send this portion of traffic. + # This is mutually exclusive with ConfigurationName. Providing RevisionName in + # spec is not currently supported by Cloud Run. # Corresponds to the JSON property `revisionName` # @return [String] attr_accessor :revision_name - # Tag is optionally used to expose a dedicated url for referencing - # this target exclusively. - # Not currently supported in Cloud Run. - # +optional + # Tag is optionally used to expose a dedicated url for referencing this target + # exclusively. Not currently supported in Cloud Run. +optional # Corresponds to the JSON property `tag` # @return [String] attr_accessor :tag - # Output only. URL displays the URL for accessing named traffic targets. URL - # is displayed in status, and is disallowed on spec. URL must contain a - # scheme (e.g. http://) and a hostname, but may not contain anything else - # (e.g. basic auth, url path, etc. - # Not currently supported in Cloud Run. + # Output only. URL displays the URL for accessing named traffic targets. URL is + # displayed in status, and is disallowed on spec. URL must contain a scheme (e.g. + # http://) and a hostname, but may not contain anything else (e.g. basic auth, + # url path, etc. Not currently supported in Cloud Run. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -5021,13 +4632,11 @@ module Google include Google::Apis::Core::Hashable # Optional. Attributes filters events by exact match on event context attributes. - # Each key in the map is compared with the equivalent key in the event - # context. An event passes the filter if all values are equal to the - # specified values. - # Nested context attributes are not supported as keys. - # Only string values are supported. - # Note that this field is optional in knative. In fully managed, 'type' - # attribute is required due to different broker implementation. + # Each key in the map is compared with the equivalent key in the event context. + # An event passes the filter if all values are equal to the specified values. + # Nested context attributes are not supported as keys. Only string values are + # supported. Note that this field is optional in knative. In fully managed, ' + # type' attribute is required due to different broker implementation. # Corresponds to the JSON property `attributes` # @return [Hash] attr_accessor :attributes @@ -5046,18 +4655,16 @@ module Google class TriggerSpec include Google::Apis::Core::Hashable - # Broker is the broker that this trigger receives events from. If not - # specified, will default to 'default'. - # Not currently supported by Cloud Run. + # Broker is the broker that this trigger receives events from. If not specified, + # will default to 'default'. Not currently supported by Cloud Run. # Corresponds to the JSON property `broker` # @return [String] attr_accessor :broker # Optional. Filter is the filter to apply against all events from the Broker. - # Only - # events that pass this filter will be sent to the Subscriber. - # Note that filter is optional in knative and is only required in fully - # managed due to different broker implementation. + # Only events that pass this filter will be sent to the Subscriber. Note that + # filter is optional in knative and is only required in fully managed due to + # different broker implementation. # Corresponds to the JSON property `filter` # @return [Google::Apis::RunV1alpha1::TriggerFilter] attr_accessor :filter @@ -5083,14 +4690,14 @@ module Google class TriggerStatus include Google::Apis::Core::Hashable - # Array of observed TriggerConditions, indicating the current state - # of the Trigger. + # Array of observed TriggerConditions, indicating the current state of the + # Trigger. # Corresponds to the JSON property `conditions` # @return [Array] attr_accessor :conditions - # ObservedGeneration is the 'Generation' of the Trigger that - # was last processed by the controller. + # ObservedGeneration is the 'Generation' of the Trigger that was last processed + # by the controller. # Corresponds to the JSON property `observedGeneration` # @return [Fixnum] attr_accessor :observed_generation @@ -5116,10 +4723,10 @@ module Google class Volume include Google::Apis::Core::Hashable - # Adapts a ConfigMap into a volume. - # The contents of the target ConfigMap's Data field will be presented in a - # volume as files using the keys in the Data field as the file names, unless - # the items element is populated with specific mappings of keys to paths. + # Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data + # field will be presented in a volume as files using the keys in the Data field + # as the file names, unless the items element is populated with specific + # mappings of keys to paths. # Corresponds to the JSON property `configMap` # @return [Google::Apis::RunV1alpha1::ConfigMapVolumeSource] attr_accessor :config_map @@ -5151,8 +4758,8 @@ module Google class VolumeDevice include Google::Apis::Core::Hashable - # devicePath is the path inside of the container that the device will be - # mapped to. + # devicePath is the path inside of the container that the device will be mapped + # to. # Corresponds to the JSON property `devicePath` # @return [String] attr_accessor :device_path @@ -5177,17 +4784,15 @@ module Google class VolumeMount include Google::Apis::Core::Hashable - # Path within the container at which the volume should be mounted. Must - # not contain ':'. + # Path within the container at which the volume should be mounted. Must not + # contain ':'. # Corresponds to the JSON property `mountPath` # @return [String] attr_accessor :mount_path - # mountPropagation determines how mounts are propagated from the host - # to container and the other way around. - # When not set, MountPropagationHostToContainer is used. - # This field is beta in 1.10. - # +optional + # mountPropagation determines how mounts are propagated from the host to + # container and the other way around. When not set, + # MountPropagationHostToContainer is used. This field is beta in 1.10. +optional # Corresponds to the JSON property `mountPropagation` # @return [String] attr_accessor :mount_propagation @@ -5198,16 +4803,14 @@ module Google attr_accessor :name # Mounted read-only if true, read-write otherwise (false or unspecified). - # Defaults to false. - # +optional + # Defaults to false. +optional # Corresponds to the JSON property `readOnly` # @return [Boolean] attr_accessor :read_only alias_method :read_only?, :read_only # Path within the volume from which the container's volume should be mounted. - # Defaults to "" (volume's root). - # +optional + # Defaults to "" (volume's root). +optional # Corresponds to the JSON property `subPath` # @return [String] attr_accessor :sub_path diff --git a/generated/google/apis/run_v1alpha1/service.rb b/generated/google/apis/run_v1alpha1/service.rb index 25918fc7e..b8aa4c727 100644 --- a/generated/google/apis/run_v1alpha1/service.rb +++ b/generated/google/apis/run_v1alpha1/service.rb @@ -86,8 +86,8 @@ module Google # Creates a new cloudauditlogssource. # @param [String] parent - # The project ID or project number in which this cloudauditlogssource should - # be created. + # The project ID or project number in which this cloudauditlogssource should be + # created. # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -120,17 +120,16 @@ module Google # Rpc to delete a cloudauditlogssource. # @param [String] name - # The name of the cloudauditlogssource being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudauditlogssource 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -163,8 +162,8 @@ module Google # Rpc to get information about a cloudauditlogssource. # @param [String] name - # The name of the cloudauditlogssource being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudauditlogssource being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -194,19 +193,19 @@ module Google # Rpc to list cloudauditlogssources. # @param [String] parent - # The project ID or project number from which the cloudauditlogssources - # should be listed. + # The project ID or project number from which the cloudauditlogssources should + # be listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -251,8 +250,8 @@ module Google # Creates a new cloudpubsubsource. # @param [String] parent - # The project ID or project number in which this cloudpubsubsource should - # be created. + # The project ID or project number in which this cloudpubsubsource should be + # created. # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -285,17 +284,16 @@ module Google # Rpc to delete a cloudpubsubsource. # @param [String] name - # The name of the cloudpubsubsource being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudpubsubsource 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -328,8 +326,8 @@ module Google # Rpc to get information about a cloudpubsubsource. # @param [String] name - # The name of the cloudpubsubsource being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudpubsubsource being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -359,19 +357,19 @@ module Google # Rpc to list cloudpubsubsources. # @param [String] parent - # The project ID or project number from which the cloudpubsubsources should - # be listed. + # The project ID or project number from which the cloudpubsubsources should be + # listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -417,8 +415,7 @@ module Google # Creates a new cloudschedulersource. # @param [String] parent # Required. The project ID or project number in which this cloudschedulersource - # should - # be created. + # should be created. # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -452,17 +449,15 @@ module Google # Rpc to delete a cloudschedulersource. # @param [String] name # Required. The name of the cloudschedulersource being deleted. If needed, - # replace - # `namespace_id` with the project ID. + # 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -496,8 +491,7 @@ module Google # Rpc to get information about a cloudschedulersource. # @param [String] name # Required. The name of the cloudschedulersource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -528,19 +522,18 @@ module Google # Rpc to list cloudschedulersources. # @param [String] parent # Required. The project ID or project number from which the - # cloudschedulersources - # should be listed. + # cloudschedulersources should be listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -583,16 +576,14 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name # Required. The name of the cloudschedulersource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -626,8 +617,7 @@ module Google # Creates a new cloudstoragesource. # @param [String] parent # Required. The project ID or project number in which this cloudstoragesource - # should - # be created. + # should be created. # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -667,10 +657,9 @@ module Google # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -704,8 +693,7 @@ module Google # Rpc to get information about a cloudstoragesource. # @param [String] name # Required. The name of the cloudstoragesource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -736,19 +724,18 @@ module Google # Rpc to list cloudstoragesources. # @param [String] parent # Required. The project ID or project number from which the cloudstoragesources - # should - # be listed. + # should be listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -791,16 +778,14 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name # Required. The name of the cloudstoragesource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -833,8 +818,8 @@ module Google # Rpc to get information about a configuration. # @param [String] name - # The name of the configuration being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the configuration being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -869,14 +854,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -955,23 +940,21 @@ module Google # Rpc to delete a domain mapping. # @param [String] name - # The name of the domain mapping being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the domain mapping 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 [Boolean] orphan_dependents - # 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. + # 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. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1005,8 +988,8 @@ module Google # Rpc to get information about a domain mapping. # @param [String] name - # The name of the domain mapping being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the domain mapping being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1041,14 +1024,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1093,23 +1076,21 @@ module Google # Rpc to delete a revision. # @param [String] name - # The name of the revision being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the revision 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 [Boolean] orphan_dependents - # 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. + # 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. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1143,8 +1124,8 @@ module Google # Rpc to get information about a revision. # @param [String] name - # The name of the revision being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the revision being retrieved. If needed, replace `namespace_id` + # with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1178,14 +1159,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1230,8 +1211,8 @@ module Google # Rpc to get information about a route. # @param [String] name - # The name of the route being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the route being retrieved. If needed, replace `namespace_id` with + # the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1265,14 +1246,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1348,27 +1329,24 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name - # The name of the service being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the service 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 [Boolean] orphan_dependents - # 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. + # 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. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1402,8 +1380,8 @@ module Google # Rpc to get information about a service. # @param [String] name - # The name of the service being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the service being retrieved. If needed, replace `namespace_id` + # with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1437,14 +1415,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1487,15 +1465,13 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name - # The name of the service being replaced. If needed, replace - # `namespace_id` with the project ID. + # The name of the service being replaced. If needed, replace `namespace_id` with + # the project ID. # @param [Google::Apis::RunV1alpha1::Service] service_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1528,8 +1504,7 @@ module Google # Creates a new trigger. # @param [String] parent - # The project ID or project number in which this trigger should - # be created. + # The project ID or project number in which this trigger should be created. # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1562,17 +1537,16 @@ module Google # Rpc to delete a trigger. # @param [String] name - # The name of the trigger being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the trigger 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1605,8 +1579,8 @@ module Google # Rpc to get information about a trigger. # @param [String] name - # The name of the trigger being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the trigger being retrieved. If needed, replace `namespace_id` + # with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1636,19 +1610,18 @@ module Google # Rpc to list triggers. # @param [String] parent - # The project ID or project number from which the triggers should - # be listed. + # The project ID or project number from which the triggers should be listed. # @param [String] continue # Optional. Encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1768,8 +1741,8 @@ module Google # Creates a new cloudauditlogssource. # @param [String] parent - # The project ID or project number in which this cloudauditlogssource should - # be created. + # The project ID or project number in which this cloudauditlogssource should be + # created. # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1802,17 +1775,16 @@ module Google # Rpc to delete a cloudauditlogssource. # @param [String] name - # The name of the cloudauditlogssource being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudauditlogssource 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1845,8 +1817,8 @@ module Google # Rpc to get information about a cloudauditlogssource. # @param [String] name - # The name of the cloudauditlogssource being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudauditlogssource being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1876,19 +1848,19 @@ module Google # Rpc to list cloudauditlogssources. # @param [String] parent - # The project ID or project number from which the cloudauditlogssources - # should be listed. + # The project ID or project number from which the cloudauditlogssources should + # be listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -1933,8 +1905,8 @@ module Google # Creates a new cloudpubsubsource. # @param [String] parent - # The project ID or project number in which this cloudpubsubsource should - # be created. + # The project ID or project number in which this cloudpubsubsource should be + # created. # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1967,17 +1939,16 @@ module Google # Rpc to delete a cloudpubsubsource. # @param [String] name - # The name of the cloudpubsubsource being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudpubsubsource 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2010,8 +1981,8 @@ module Google # Rpc to get information about a cloudpubsubsource. # @param [String] name - # The name of the cloudpubsubsource being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the cloudpubsubsource being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2041,19 +2012,19 @@ module Google # Rpc to list cloudpubsubsources. # @param [String] parent - # The project ID or project number from which the cloudpubsubsources should - # be listed. + # The project ID or project number from which the cloudpubsubsources should be + # listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -2099,8 +2070,7 @@ module Google # Creates a new cloudschedulersource. # @param [String] parent # Required. The project ID or project number in which this cloudschedulersource - # should - # be created. + # should be created. # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2134,17 +2104,15 @@ module Google # Rpc to delete a cloudschedulersource. # @param [String] name # Required. The name of the cloudschedulersource being deleted. If needed, - # replace - # `namespace_id` with the project ID. + # 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2178,8 +2146,7 @@ module Google # Rpc to get information about a cloudschedulersource. # @param [String] name # Required. The name of the cloudschedulersource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2210,19 +2177,18 @@ module Google # Rpc to list cloudschedulersources. # @param [String] parent # Required. The project ID or project number from which the - # cloudschedulersources - # should be listed. + # cloudschedulersources should be listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -2265,16 +2231,14 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name # Required. The name of the cloudschedulersource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2308,8 +2272,7 @@ module Google # Creates a new cloudstoragesource. # @param [String] parent # Required. The project ID or project number in which this cloudstoragesource - # should - # be created. + # should be created. # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2349,10 +2312,9 @@ module Google # @param [String] kind # Cloud Run currently ignores this parameter. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2386,8 +2348,7 @@ module Google # Rpc to get information about a cloudstoragesource. # @param [String] name # Required. The name of the cloudstoragesource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2418,19 +2379,18 @@ module Google # Rpc to list cloudstoragesources. # @param [String] parent # Required. The project ID or project number from which the cloudstoragesources - # should - # be listed. + # should be listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -2473,16 +2433,14 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name # Required. The name of the cloudstoragesource being retrieved. If needed, - # replace - # `namespace_id` with the project ID. + # replace `namespace_id` with the project ID. # @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2515,8 +2473,8 @@ module Google # Rpc to get information about a configuration. # @param [String] name - # The name of the configuration being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the configuration being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2551,14 +2509,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -2637,23 +2595,21 @@ module Google # Rpc to delete a domain mapping. # @param [String] name - # The name of the domain mapping being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the domain mapping 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 [Boolean] orphan_dependents - # 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. + # 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. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2687,8 +2643,8 @@ module Google # Rpc to get information about a domain mapping. # @param [String] name - # The name of the domain mapping being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the domain mapping being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2723,14 +2679,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -2775,23 +2731,21 @@ module Google # Rpc to delete a revision. # @param [String] name - # The name of the revision being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the revision 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 [Boolean] orphan_dependents - # 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. + # 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. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2825,8 +2779,8 @@ module Google # Rpc to get information about a revision. # @param [String] name - # The name of the revision being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the revision being retrieved. If needed, replace `namespace_id` + # with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2860,14 +2814,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -2912,8 +2866,8 @@ module Google # Rpc to get information about a route. # @param [String] name - # The name of the route being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the route being retrieved. If needed, replace `namespace_id` with + # the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2947,14 +2901,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -3030,27 +2984,24 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name - # The name of the service being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the service 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 [Boolean] orphan_dependents - # 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. + # 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. # @param [String] propagation_policy - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3084,8 +3035,8 @@ module Google # Rpc to get information about a service. # @param [String] name - # The name of the service being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the service being retrieved. If needed, replace `namespace_id` + # with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3113,21 +3064,19 @@ module Google execute_or_queue_command(command, &block) end - # Get the IAM Access Control policy currently in effect for the given - # Cloud Run service. This result does not include any inherited policies. + # Get the IAM Access Control policy currently in effect for the given Cloud Run + # service. This result does not include any inherited policies. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Fixnum] options_requested_policy_version - # 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). + # 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). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3162,14 +3111,14 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version @@ -3212,15 +3161,13 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] name - # The name of the service being replaced. If needed, replace - # `namespace_id` with the project ID. + # The name of the service being replaced. If needed, replace `namespace_id` with + # the project ID. # @param [Google::Apis::RunV1alpha1::Service] service_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3251,11 +3198,11 @@ module Google execute_or_queue_command(command, &block) end - # Sets the IAM Access control policy for the specified Service. Overwrites - # any existing policy. + # Sets the IAM Access control policy for the specified Service. Overwrites any + # existing policy. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::RunV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3286,11 +3233,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified Project. - # There are no permissions required for making this API call. + # Returns permissions that a caller has on the specified Project. There are no + # permissions required for making this API call. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::RunV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3323,8 +3270,7 @@ module Google # Creates a new trigger. # @param [String] parent - # The project ID or project number in which this trigger should - # be created. + # The project ID or project number in which this trigger should be created. # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -3357,17 +3303,16 @@ module Google # Rpc to delete a trigger. # @param [String] name - # The name of the trigger being deleted. If needed, replace - # `namespace_id` with the project ID. + # The name of the trigger 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 - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3400,8 +3345,8 @@ module Google # Rpc to get information about a trigger. # @param [String] name - # The name of the trigger being retrieved. If needed, replace - # `namespace_id` with the project ID. + # The name of the trigger being retrieved. If needed, replace `namespace_id` + # with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3431,19 +3376,18 @@ module Google # Rpc to list triggers. # @param [String] parent - # The project ID or project number from which the triggers should - # be listed. + # The project ID or project number from which the triggers should be listed. # @param [String] continue # Optional. Encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # The maximum number of records that should be returned. # @param [String] resource_version diff --git a/generated/google/apis/run_v1beta1.rb b/generated/google/apis/run_v1beta1.rb index c04e3b868..93f320c4d 100644 --- a/generated/google/apis/run_v1beta1.rb +++ b/generated/google/apis/run_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/run/ module RunV1beta1 VERSION = 'V1beta1' - REVISION = '20200706' + REVISION = '20200720' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/run_v1beta1/classes.rb b/generated/google/apis/run_v1beta1/classes.rb index cfc04d0d6..e3ff60ca5 100644 --- a/generated/google/apis/run_v1beta1/classes.rb +++ b/generated/google/apis/run_v1beta1/classes.rb @@ -26,18 +26,15 @@ module Google class CustomResourceColumnDefinition include Google::Apis::Core::Hashable - # description is a human readable description of this column. - # +optional + # description is a human readable description of this column. +optional # Corresponds to the JSON property `description` # @return [String] attr_accessor :description # format is an optional OpenAPI type definition for this column. The 'name' # format is applied to the primary identifier column to assist in clients - # identifying column is the resource name. See - # https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data- - # types - # for more. +optional + # identifying column is the resource name. See https://github.com/OAI/OpenAPI- + # Specification/blob/master/versions/2.0.md#data-types for more. +optional # Corresponds to the JSON property `format` # @return [String] attr_accessor :format @@ -53,18 +50,15 @@ module Google attr_accessor :name # priority is an integer defining the relative importance of this column - # compared to others. Lower numbers are considered higher priority. Columns - # that may be omitted in limited space scenarios should be given a higher - # priority. +optional + # compared to others. Lower numbers are considered higher priority. Columns that + # may be omitted in limited space scenarios should be given a higher priority. + + # optional # Corresponds to the JSON property `priority` # @return [Fixnum] attr_accessor :priority - # type is an OpenAPI type definition for this column. - # See - # https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data- - # types - # for more. + # type is an OpenAPI type definition for this column. See https://github.com/OAI/ + # OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -85,8 +79,7 @@ module Google end # CustomResourceDefinition represents a resource that should be exposed on the - # API server. Its name MUST be in the format - # <.spec.name>.<.spec.group>. + # API server. Its name MUST be in the format <.spec.name>.<.spec.group>. class CustomResourceDefinition include Google::Apis::Core::Hashable @@ -100,8 +93,8 @@ module Google # @return [String] attr_accessor :kind - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1beta1::ObjectMeta] attr_accessor :metadata @@ -130,39 +123,39 @@ module Google class CustomResourceDefinitionNames include Google::Apis::Core::Hashable - # Categories is a list of grouped resources custom resources belong to (e.g. - # 'all') +optional + # Categories is a list of grouped resources custom resources belong to (e.g. ' + # all') +optional # Corresponds to the JSON property `categories` # @return [Array] attr_accessor :categories - # Kind is the serialized kind of the resource. It is normally CamelCase and + # Kind is the serialized kind of the resource. It is normally CamelCase and # singular. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # ListKind is the serialized kind of the list for this resource. Defaults to - # List. +optional + # ListKind is the serialized kind of the list for this resource. Defaults to + # List. +optional # Corresponds to the JSON property `listKind` # @return [String] attr_accessor :list_kind - # Plural is the plural name of the resource to serve. It must match the name - # of the CustomResourceDefinition-registration too: plural.group and it must - # be all lowercase. + # Plural is the plural name of the resource to serve. It must match the name of + # the CustomResourceDefinition-registration too: plural.group and it must be all + # lowercase. # Corresponds to the JSON property `plural` # @return [String] attr_accessor :plural - # ShortNames are short names for the resource. It must be all lowercase. - # +optional + # ShortNames are short names for the resource. It must be all lowercase. + + # optional # Corresponds to the JSON property `shortNames` # @return [Array] attr_accessor :short_names - # Singular is the singular name of the resource. It must be all lowercase - # Defaults to lowercased +optional + # Singular is the singular name of the resource. It must be all lowercase + # Defaults to lowercased +optional # Corresponds to the JSON property `singular` # @return [String] attr_accessor :singular @@ -187,8 +180,8 @@ module Google class CustomResourceDefinitionSpec include Google::Apis::Core::Hashable - # AdditionalPrinterColumns are additional columns shown e.g. in kubectl next - # to the name. Defaults to a created-at column. +optional + # AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to + # the name. Defaults to a created-at column. +optional # Corresponds to the JSON property `additionalPrinterColumns` # @return [Array] attr_accessor :additional_printer_columns @@ -204,8 +197,8 @@ module Google # @return [Google::Apis::RunV1beta1::CustomResourceDefinitionNames] attr_accessor :names - # Scope indicates whether this resource is cluster or namespace scoped. - # Default is namespaced + # Scope indicates whether this resource is cluster or namespace scoped. Default + # is namespaced # Corresponds to the JSON property `scope` # @return [String] attr_accessor :scope @@ -221,28 +214,25 @@ module Google # @return [Google::Apis::RunV1beta1::CustomResourceValidation] attr_accessor :validation - # Version is the version this resource belongs in - # Should be always first item in Versions field if provided. - # Optional, but at least one of Version or Versions must be set. - # Deprecated: Please use `Versions`. - # +optional + # Version is the version this resource belongs in Should be always first item in + # Versions field if provided. Optional, but at least one of Version or Versions + # must be set. Deprecated: Please use `Versions`. +optional # Corresponds to the JSON property `version` # @return [String] attr_accessor :version - # Versions is the list of all supported versions for this resource. - # If Version field is provided, this field is optional. - # Validation: All versions must use the same validation schema for now. i.e., - # top level Validation field is applied to all of these versions. Order: The - # version name will be used to compute the order. If the version string is - # "kube-like", it will sort above non "kube-like" version strings, which are - # ordered lexicographically. "Kube-like" versions start with a "v", then are - # followed by a number (the major version), then optionally the string - # "alpha" or "beta" and another number (the minor version). These are sorted - # first by GA > beta > alpha (where GA is a version with no suffix such as - # beta or alpha), and then by comparing major version, then minor version. An - # example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, - # v12alpha1, v11alpha2, foo1, foo10. +optional + # Versions is the list of all supported versions for this resource. If Version + # field is provided, this field is optional. Validation: All versions must use + # the same validation schema for now. i.e., top level Validation field is + # applied to all of these versions. Order: The version name will be used to + # compute the order. If the version string is "kube-like", it will sort above + # non "kube-like" version strings, which are ordered lexicographically. "Kube- + # like" versions start with a "v", then are followed by a number (the major + # version), then optionally the string "alpha" or "beta" and another number (the + # minor version). These are sorted first by GA > beta > alpha (where GA is a + # version with no suffix such as beta or alpha), and then by comparing major + # version, then minor version. An example sorted list of versions: v10, v2, v1, + # v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional # Corresponds to the JSON property `versions` # @return [Array] attr_accessor :versions @@ -306,28 +296,28 @@ module Google # LabelSelectorPath defines the JSON path inside of a CustomResource that # corresponds to Scale.Status.Selector. Only JSON paths without the array - # notation are allowed. Must be a JSON Path under .status. Must be set to - # work with HPA. If there is no value under the given path in the - # CustomResource, the status label selector value in the /scale subresource - # will default to the empty string. +optional + # notation are allowed. Must be a JSON Path under .status. Must be set to work + # with HPA. If there is no value under the given path in the CustomResource, the + # status label selector value in the /scale subresource will default to the + # empty string. +optional # Corresponds to the JSON property `labelSelectorPath` # @return [String] attr_accessor :label_selector_path # SpecReplicasPath defines the JSON path inside of a CustomResource that - # corresponds to Scale.Spec.Replicas. Only JSON paths without the array - # notation are allowed. Must be a JSON Path under .spec. If there is no value - # under the given path in the CustomResource, the /scale subresource will - # return an error on GET. + # corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation + # are allowed. Must be a JSON Path under .spec. If there is no value under the + # given path in the CustomResource, the /scale subresource will return an error + # on GET. # Corresponds to the JSON property `specReplicasPath` # @return [String] attr_accessor :spec_replicas_path # StatusReplicasPath defines the JSON path inside of a CustomResource that # corresponds to Scale.Status.Replicas. Only JSON paths without the array - # notation are allowed. Must be a JSON Path under .status. If there is no - # value under the given path in the CustomResource, the status replica value - # in the /scale subresource will default to 0. + # notation are allowed. Must be a JSON Path under .status. If there is no value + # under the given path in the CustomResource, the status replica value in the / + # scale subresource will default to 0. # Corresponds to the JSON property `statusReplicasPath` # @return [String] attr_accessor :status_replicas_path @@ -346,12 +336,10 @@ module Google # CustomResourceSubresourceStatus defines how to serve the status subresource # for CustomResources. Status is represented by the `.status` JSON path inside - # of a CustomResource. When set, - # * exposes a /status subresource for the custom resource - # * PUT requests to the /status subresource take a custom resource object, and - # ignore changes to anything except the status stanza - # * PUT/POST/PATCH requests to the custom resource ignore changes to the status - # stanza + # of a CustomResource. When set, * exposes a /status subresource for the custom + # resource * PUT requests to the /status subresource take a custom resource + # object, and ignore changes to anything except the status stanza * PUT/POST/ + # PATCH requests to the custom resource ignore changes to the status stanza class CustomResourceSubresourceStatus include Google::Apis::Core::Hashable @@ -377,12 +365,10 @@ module Google # CustomResourceSubresourceStatus defines how to serve the status subresource # for CustomResources. Status is represented by the `.status` JSON path inside - # of a CustomResource. When set, - # * exposes a /status subresource for the custom resource - # * PUT requests to the /status subresource take a custom resource object, and - # ignore changes to anything except the status stanza - # * PUT/POST/PATCH requests to the custom resource ignore changes to the status - # stanza + # of a CustomResource. When set, * exposes a /status subresource for the custom + # resource * PUT requests to the /status subresource take a custom resource + # object, and ignore changes to anything except the status stanza * PUT/POST/ + # PATCH requests to the custom resource ignore changes to the status stanza # Corresponds to the JSON property `status` # @return [Google::Apis::RunV1beta1::CustomResourceSubresourceStatus] attr_accessor :status @@ -402,8 +388,8 @@ module Google class CustomResourceValidation include Google::Apis::Core::Hashable - # JSONSchemaProps is a JSON-Schema following Specification Draft 4 - # (http://json-schema.org/). + # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json- + # schema.org/). # Corresponds to the JSON property `openAPIV3Schema` # @return [Google::Apis::RunV1beta1::JsonSchemaProps] attr_accessor :open_apiv3_schema @@ -444,9 +430,8 @@ module Google end end - # JSON represents any valid JSON value. - # These types are supported: bool, int64, float64, string, []interface``, - # map[string]interface`` and nil. + # JSON represents any valid JSON value. These types are supported: bool, int64, + # float64, string, []interface``, map[string]interface`` and nil. class Json include Google::Apis::Core::Hashable @@ -466,19 +451,19 @@ module Google end end - # JSONSchemaProps is a JSON-Schema following Specification Draft 4 - # (http://json-schema.org/). + # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json- + # schema.org/). class JsonSchemaProps include Google::Apis::Core::Hashable - # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. - # Defaults to true for the boolean property. + # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults + # to true for the boolean property. # Corresponds to the JSON property `additionalItems` # @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool] attr_accessor :additional_items - # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. - # Defaults to true for the boolean property. + # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults + # to true for the boolean property. # Corresponds to the JSON property `additionalProperties` # @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool] attr_accessor :additional_properties @@ -493,9 +478,8 @@ module Google # @return [Array] attr_accessor :any_of - # JSON represents any valid JSON value. - # These types are supported: bool, int64, float64, string, []interface``, - # map[string]interface`` and nil. + # JSON represents any valid JSON value. These types are supported: bool, int64, + # float64, string, []interface``, map[string]interface`` and nil. # Corresponds to the JSON property `default` # @return [Google::Apis::RunV1beta1::Json] attr_accessor :default @@ -520,9 +504,8 @@ module Google # @return [Array] attr_accessor :enum - # JSON represents any valid JSON value. - # These types are supported: bool, int64, float64, string, []interface``, - # map[string]interface`` and nil. + # JSON represents any valid JSON value. These types are supported: bool, int64, + # float64, string, []interface``, map[string]interface`` and nil. # Corresponds to the JSON property `example` # @return [Google::Apis::RunV1beta1::Json] attr_accessor :example @@ -555,9 +538,8 @@ module Google # @return [String] attr_accessor :id - # JSONSchemaPropsOrArray represents a value that can either be a - # JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization - # purposes. + # JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps + # or an array of JSONSchemaProps. Mainly here for serialization purposes. # Corresponds to the JSON property `items` # @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrArray] attr_accessor :items @@ -607,8 +589,8 @@ module Google # @return [Float] attr_accessor :multiple_of - # JSONSchemaProps is a JSON-Schema following Specification Draft 4 - # (http://json-schema.org/). + # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json- + # schema.org/). # Corresponds to the JSON property `not` # @return [Google::Apis::RunV1beta1::JsonSchemaProps] attr_accessor :not @@ -709,9 +691,8 @@ module Google end end - # JSONSchemaPropsOrArray represents a value that can either be a - # JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization - # purposes. + # JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps + # or an array of JSONSchemaProps. Mainly here for serialization purposes. class JsonSchemaPropsOrArray include Google::Apis::Core::Hashable @@ -720,8 +701,8 @@ module Google # @return [Array] attr_accessor :json_schemas - # JSONSchemaProps is a JSON-Schema following Specification Draft 4 - # (http://json-schema.org/). + # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json- + # schema.org/). # Corresponds to the JSON property `schema` # @return [Google::Apis::RunV1beta1::JsonSchemaProps] attr_accessor :schema @@ -737,8 +718,8 @@ module Google end end - # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. - # Defaults to true for the boolean property. + # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults + # to true for the boolean property. class JsonSchemaPropsOrBool include Google::Apis::Core::Hashable @@ -748,8 +729,8 @@ module Google attr_accessor :allows alias_method :allows?, :allows - # JSONSchemaProps is a JSON-Schema following Specification Draft 4 - # (http://json-schema.org/). + # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json- + # schema.org/). # Corresponds to the JSON property `schema` # @return [Google::Apis::RunV1beta1::JsonSchemaProps] attr_accessor :schema @@ -774,8 +755,8 @@ module Google # @return [Array] attr_accessor :property - # JSONSchemaProps is a JSON-Schema following Specification Draft 4 - # (http://json-schema.org/). + # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json- + # schema.org/). # Corresponds to the JSON property `schema` # @return [Google::Apis::RunV1beta1::JsonSchemaProps] attr_accessor :schema @@ -811,8 +792,8 @@ module Google attr_accessor :kind # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. # Corresponds to the JSON property `metadata` # @return [Google::Apis::RunV1beta1::ListMeta] attr_accessor :metadata @@ -837,39 +818,33 @@ module Google end # ListMeta describes metadata that synthetic resources must have, including - # lists and various status objects. A resource may have only one of - # `ObjectMeta, ListMeta`. + # lists and various status objects. A resource may have only one of `ObjectMeta, + # ListMeta`. class ListMeta include Google::Apis::Core::Hashable - # continue may be set if the user set a limit on the number of items - # returned, and indicates that the server has more data available. The value - # is opaque and may be used to issue another request to the endpoint that - # served this list to retrieve the next set of available objects. Continuing - # a list may not be possible if the server configuration has changed or more - # than a few minutes have passed. The resourceVersion field returned when - # using this continue value will be identical to the value in the first - # response. + # continue may be set if the user set a limit on the number of items returned, + # and indicates that the server has more data available. The value is opaque and + # may be used to issue another request to the endpoint that served this list to + # retrieve the next set of available objects. Continuing a list may not be + # possible if the server configuration has changed or more than a few minutes + # have passed. The resourceVersion field returned when using this continue value + # will be identical to the value in the first response. # Corresponds to the JSON property `continue` # @return [String] attr_accessor :continue - # String that identifies the server's internal version of this object that - # can be used by clients to determine when objects have changed. Value must - # be treated as opaque by clients and passed unmodified back to the server. - # Populated by the system. - # Read-only. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- - # control-and-consistency - # +optional + # String that identifies the server's internal version of this object that can + # be used by clients to determine when objects have changed. Value must be + # treated as opaque by clients and passed unmodified back to the server. + # Populated by the system. Read-only. More info: https://git.k8s.io/community/ + # contributors/devel/api-conventions.md#concurrency-control-and-consistency + + # optional # Corresponds to the JSON property `resourceVersion` # @return [String] attr_accessor :resource_version - # SelfLink is a URL representing this object. - # Populated by the system. - # Read-only. + # SelfLink is a URL representing this object. Populated by the system. Read-only. # +optional # Corresponds to the JSON property `selfLink` # @return [String] @@ -887,193 +862,155 @@ module Google end end - # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all - # persisted resources must have, which includes all objects users must create. + # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted + # resources must have, which includes all objects users must create. class ObjectMeta include Google::Apis::Core::Hashable - # (Optional) - # Annotations is an unstructured key value map stored with a resource that - # may be set by external tools to store and retrieve arbitrary metadata. They - # are not queryable and should be preserved when modifying objects. More + # (Optional) Annotations is an unstructured key value map stored with a resource + # that may be set by external tools to store and retrieve arbitrary metadata. + # They are not queryable and should be preserved when modifying objects. More # info: http://kubernetes.io/docs/user-guide/annotations # Corresponds to the JSON property `annotations` # @return [Hash] attr_accessor :annotations - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # The name of the cluster which the object belongs to. - # This is used to distinguish resources with same name and namespace in - # different clusters. This field is not set anywhere right now and apiserver - # is going to ignore it if set in create or update request. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported The name of the cluster which the object belongs to. This is used to + # distinguish resources with same name and namespace in different clusters. This + # field is not set anywhere right now and apiserver is going to ignore it if set + # in create or update request. # Corresponds to the JSON property `clusterName` # @return [String] attr_accessor :cluster_name - # (Optional) - # CreationTimestamp is a timestamp representing the server time when this - # object was created. It is not guaranteed to be set in happens-before order - # across separate operations. Clients may not set this value. It is - # represented in RFC3339 form and is in UTC. - # Populated by the system. - # Read-only. - # Null for lists. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + # (Optional) CreationTimestamp is a timestamp representing the server time when + # this object was created. It is not guaranteed to be set in happens-before + # order across separate operations. Clients may not set this value. It is + # represented in RFC3339 form and is in UTC. Populated by the system. Read-only. + # Null for lists. More info: https://git.k8s.io/community/contributors/devel/api- + # conventions.md#metadata # Corresponds to the JSON property `creationTimestamp` # @return [String] attr_accessor :creation_timestamp - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Number of seconds allowed for this object to gracefully terminate before - # it will be removed from the system. Only set when deletionTimestamp is also - # set. May only be shortened. Read-only. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Number of seconds allowed for this object to gracefully terminate + # before it will be removed from the system. Only set when deletionTimestamp is + # also set. May only be shortened. Read-only. # Corresponds to the JSON property `deletionGracePeriodSeconds` # @return [Fixnum] attr_accessor :deletion_grace_period_seconds - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # DeletionTimestamp is RFC 3339 date and time at which this resource will be - # deleted. This field is set by the server when a graceful deletion is - # requested by the user, and is not directly settable by a client. The - # resource is expected to be deleted (no longer visible from resource lists, - # and not reachable by name) after the time in this field, once the - # finalizers list is empty. As long as the finalizers list contains items, - # deletion is blocked. Once the deletionTimestamp is set, this value may not - # be unset or be set further into the future, although it may be shortened or - # the resource may be deleted prior to this time. For example, a user may - # request that a pod is deleted in 30 seconds. The Kubelet will react by - # sending a graceful termination signal to the containers in the pod. After - # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) - # to the container and after cleanup, remove the pod from the API. In the - # presence of network partitions, this object may still exist after this - # timestamp, until an administrator or automated process can determine the - # resource is fully terminated. - # If not set, graceful deletion of the object has not been requested. - # Populated by the system when a graceful deletion is requested. - # Read-only. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported DeletionTimestamp is RFC 3339 date and time at which this resource + # will be deleted. This field is set by the server when a graceful deletion is + # requested by the user, and is not directly settable by a client. The resource + # is expected to be deleted (no longer visible from resource lists, and not + # reachable by name) after the time in this field, once the finalizers list is + # empty. As long as the finalizers list contains items, deletion is blocked. + # Once the deletionTimestamp is set, this value may not be unset or be set + # further into the future, although it may be shortened or the resource may be + # deleted prior to this time. For example, a user may request that a pod is + # deleted in 30 seconds. The Kubelet will react by sending a graceful + # termination signal to the containers in the pod. After that 30 seconds, the + # Kubelet will send a hard termination signal (SIGKILL) to the container and + # after cleanup, remove the pod from the API. In the presence of network + # partitions, this object may still exist after this timestamp, until an + # administrator or automated process can determine the resource is fully + # terminated. If not set, graceful deletion of the object has not been requested. + # Populated by the system when a graceful deletion is requested. Read-only. + # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md# + # metadata # Corresponds to the JSON property `deletionTimestamp` # @return [String] attr_accessor :deletion_timestamp - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # Must be empty before the object is deleted from the registry. Each entry - # is an identifier for the responsible component that will remove the entry - # from the list. If the deletionTimestamp of the object is non-nil, entries - # in this list can only be removed. - # +patchStrategy=merge + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported Must be empty before the object is deleted from the registry. Each + # entry is an identifier for the responsible component that will remove the + # entry from the list. If the deletionTimestamp of the object is non-nil, + # entries in this list can only be removed. +patchStrategy=merge # Corresponds to the JSON property `finalizers` # @return [Array] attr_accessor :finalizers - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # GenerateName is an optional prefix, used by the server, to generate a - # unique name ONLY IF the Name field has not been provided. If this field is - # used, the name returned to the client will be different than the name - # passed. This value will also be combined with a unique suffix. The provided - # value has the same validation rules as the Name field, and may be truncated - # by the length of the suffix required to make the value unique on the - # server. - # If this field is specified and the generated name exists, the server will - # NOT return a 409 - instead, it will either return 201 Created or 500 with - # Reason ServerTimeout indicating a unique name could not be found in the - # time allotted, and the client should retry (optionally after the time - # indicated in the Retry-After header). - # Applied only if Name is not specified. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency - # string generateName = 2; + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported GenerateName is an optional prefix, used by the server, to generate + # a unique name ONLY IF the Name field has not been provided. If this field is + # used, the name returned to the client will be different than the name passed. + # This value will also be combined with a unique suffix. The provided value has + # the same validation rules as the Name field, and may be truncated by the + # length of the suffix required to make the value unique on the server. If this + # field is specified and the generated name exists, the server will NOT return a + # 409 - instead, it will either return 201 Created or 500 with Reason + # ServerTimeout indicating a unique name could not be found in the time allotted, + # and the client should retry (optionally after the time indicated in the Retry- + # After header). Applied only if Name is not specified. More info: https://git. + # k8s.io/community/contributors/devel/api-conventions.md#idempotency string + # generateName = 2; # Corresponds to the JSON property `generateName` # @return [String] attr_accessor :generate_name - # (Optional) - # A sequence number representing a specific generation of the desired state. - # Populated by the system. Read-only. + # (Optional) A sequence number representing a specific generation of the desired + # state. Populated by the system. Read-only. # Corresponds to the JSON property `generation` # @return [Fixnum] attr_accessor :generation - # (Optional) - # Map of string keys and values that can be used to organize and categorize - # (scope and select) objects. May match selectors of replication controllers - # and routes. - # More info: http://kubernetes.io/docs/user-guide/labels + # (Optional) Map of string keys and values that can be used to organize and + # categorize (scope and select) objects. May match selectors of replication + # controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels - # Name must be unique within a namespace, within a Cloud Run region. - # Is required when creating - # resources, although some resources may allow a client to request the - # generation of an appropriate name automatically. Name is primarily intended - # for creation idempotence and configuration definition. Cannot be updated. - # More info: http://kubernetes.io/docs/user-guide/identifiers#names - # +optional + # Name must be unique within a namespace, within a Cloud Run region. Is required + # when creating resources, although some resources may allow a client to request + # the generation of an appropriate name automatically. Name is primarily + # intended for creation idempotence and configuration definition. Cannot be + # updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + # optional # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Namespace defines the space within each name must be unique, within a - # Cloud Run region. In Cloud Run the namespace must be equal to either the - # project ID or project number. + # Namespace defines the space within each name must be unique, within a Cloud + # Run region. In Cloud Run the namespace must be equal to either the project ID + # or project number. # Corresponds to the JSON property `namespace` # @return [String] attr_accessor :namespace - # (Optional) - # Cloud Run fully managed: not supported - # Cloud Run for Anthos: supported - # List of objects that own this object. If ALL objects in the list have - # been deleted, this object will be garbage collected. + # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: + # supported List of objects that own this object. If ALL objects in the list + # have been deleted, this object will be garbage collected. # Corresponds to the JSON property `ownerReferences` # @return [Array] attr_accessor :owner_references - # (Optional) - # An opaque value that represents the internal version of this object that - # can be used by clients to determine when objects have changed. May be used - # for optimistic concurrency, change detection, and the watch operation on a - # resource or set of resources. Clients must treat these values as opaque and - # passed unmodified back to the server. They may only be valid for a - # particular resource or set of resources. - # Populated by the system. - # Read-only. - # Value must be treated as opaque by clients and . - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency- - # control-and-consistency + # (Optional) An opaque value that represents the internal version of this object + # that can be used by clients to determine when objects have changed. May be + # used for optimistic concurrency, change detection, and the watch operation on + # a resource or set of resources. Clients must treat these values as opaque and + # passed unmodified back to the server. They may only be valid for a particular + # resource or set of resources. Populated by the system. Read-only. Value must + # be treated as opaque by clients and . More info: https://git.k8s.io/community/ + # contributors/devel/api-conventions.md#concurrency-control-and-consistency # Corresponds to the JSON property `resourceVersion` # @return [String] attr_accessor :resource_version - # (Optional) - # SelfLink is a URL representing this object. - # Populated by the system. - # Read-only. - # string selfLink = 4; + # (Optional) SelfLink is a URL representing this object. Populated by the system. + # Read-only. string selfLink = 4; # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link - # (Optional) - # UID is the unique in time and space value for this object. It is typically - # generated by the server on successful creation of a resource and is not - # allowed to change on PUT operations. - # Populated by the system. - # Read-only. + # (Optional) UID is the unique in time and space value for this object. It is + # typically generated by the server on successful creation of a resource and is + # not allowed to change on PUT operations. Populated by the system. Read-only. # More info: http://kubernetes.io/docs/user-guide/identifiers#uids # Corresponds to the JSON property `uid` # @return [String] @@ -1104,8 +1041,8 @@ module Google end # OwnerReference contains enough information to let you identify an owning - # object. Currently, an owning object must be in the same namespace, so there - # is no namespace field. + # object. Currently, an owning object must be in the same namespace, so there is + # no namespace field. class OwnerReference include Google::Apis::Core::Hashable @@ -1114,40 +1051,36 @@ module Google # @return [String] attr_accessor :api_version - # If true, AND if the owner has the "foregroundDeletion" finalizer, then - # the owner cannot be deleted from the key-value store until this - # reference is removed. - # Defaults to false. - # To set this field, a user needs "delete" permission of the owner, - # otherwise 422 (Unprocessable Entity) will be returned. + # If true, AND if the owner has the "foregroundDeletion" finalizer, then the + # owner cannot be deleted from the key-value store until this reference is + # removed. Defaults to false. To set this field, a user needs "delete" + # permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. # +optional # Corresponds to the JSON property `blockOwnerDeletion` # @return [Boolean] attr_accessor :block_owner_deletion alias_method :block_owner_deletion?, :block_owner_deletion - # If true, this reference points to the managing controller. - # +optional + # If true, this reference points to the managing controller. +optional # Corresponds to the JSON property `controller` # @return [Boolean] attr_accessor :controller alias_method :controller?, :controller - # Kind of the referent. - # More info: - # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + # Kind of the referent. More info: https://git.k8s.io/community/contributors/ + # devel/api-conventions.md#types-kinds # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Name of the referent. - # More info: http://kubernetes.io/docs/user-guide/identifiers#names + # Name of the referent. More info: http://kubernetes.io/docs/user-guide/ + # identifiers#names # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # UID of the referent. - # More info: http://kubernetes.io/docs/user-guide/identifiers#uids + # UID of the referent. More info: http://kubernetes.io/docs/user-guide/ + # identifiers#uids # Corresponds to the JSON property `uid` # @return [String] attr_accessor :uid diff --git a/generated/google/apis/run_v1beta1/service.rb b/generated/google/apis/run_v1beta1/service.rb index 62df9bd77..3105b798c 100644 --- a/generated/google/apis/run_v1beta1/service.rb +++ b/generated/google/apis/run_v1beta1/service.rb @@ -52,18 +52,17 @@ module Google # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # @param [String] parent - # The project ID or project number from which the storages should - # be listed. + # The project ID or project number from which the storages should be listed. # @param [String] resource_version # The baseline resource version from which the list or watch operation should # start. Not currently used by Cloud Run. @@ -106,8 +105,8 @@ module Google # Rpc to get information about a CustomResourceDefinition. # @param [String] name - # The name of the CustomResourceDefinition being retrieved. If needed, - # replace `namespace_id` with the project ID. + # The name of the CustomResourceDefinition being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -137,8 +136,8 @@ module Google # Rpc to get information about a CustomResourceDefinition. # @param [String] name - # The name of the CustomResourceDefinition being retrieved. If needed, - # replace `namespace_id` with the project ID. + # The name of the CustomResourceDefinition being retrieved. If needed, replace ` + # namespace_id` with the project ID. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -168,19 +167,18 @@ module Google # Rpc to list custom resource definitions. # @param [String] parent - # The project ID or project number from which the storages should - # be listed. + # The project ID or project number from which the storages should be listed. # @param [String] continue # Optional encoded string to continue paging. # @param [String] field_selector - # 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. + # 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. # @param [Boolean] include_uninitialized # Not currently used by Cloud Run. # @param [String] label_selector - # Allows to filter resources based on a label. Supported operations are - # =, !=, exists, in, and notIn. + # Allows to filter resources based on a label. Supported operations are =, !=, + # exists, in, and notIn. # @param [Fixnum] limit # @param [String] resource_version # The baseline resource version from which the list or watch operation should diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index f55e10fd6..7cd2c862f 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20200719' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceconsumermanagement_v1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index 478d6b4ae..b122eaeae 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -1967,7 +1967,7 @@ module Google # existing data unusable. # The following are specific rules for service defined Monitoring metric # descriptors: - # * `type`, `metric_kind`, `value_type`, `description`, and `display_name` + # * `type`, `metric_kind`, `value_type` and `description` # fields are all required. The `unit` field must be specified # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # * Maximum of default 500 metric descriptors per service is allowed. diff --git a/generated/google/apis/serviceconsumermanagement_v1beta1.rb b/generated/google/apis/serviceconsumermanagement_v1beta1.rb index 3867db5e3..73b3ce8a1 100644 --- a/generated/google/apis/serviceconsumermanagement_v1beta1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1beta1 VERSION = 'V1beta1' - REVISION = '20200711' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb index ec8c59990..33b91e2cd 100644 --- a/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb @@ -1745,7 +1745,7 @@ module Google # existing data unusable. # The following are specific rules for service defined Monitoring metric # descriptors: - # * `type`, `metric_kind`, `value_type`, `description`, and `display_name` + # * `type`, `metric_kind`, `value_type` and `description` # fields are all required. The `unit` field must be specified # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # * Maximum of default 500 metric descriptors per service is allowed. diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb index a961cfaa3..02460551c 100644 --- a/generated/google/apis/servicenetworking_v1.rb +++ b/generated/google/apis/servicenetworking_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1 VERSION = 'V1' - REVISION = '20200711' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb index 50ff6a5d5..bb3cc76b8 100644 --- a/generated/google/apis/servicenetworking_v1/classes.rb +++ b/generated/google/apis/servicenetworking_v1/classes.rb @@ -2318,7 +2318,7 @@ module Google # existing data unusable. # The following are specific rules for service defined Monitoring metric # descriptors: - # * `type`, `metric_kind`, `value_type`, `description`, and `display_name` + # * `type`, `metric_kind`, `value_type` and `description` # fields are all required. The `unit` field must be specified # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # * Maximum of default 500 metric descriptors per service is allowed. diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index 1d9424a9a..5f401d6ec 100644 --- a/generated/google/apis/servicenetworking_v1beta.rb +++ b/generated/google/apis/servicenetworking_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1beta VERSION = 'V1beta' - REVISION = '20200711' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb index c5ff4b193..97538fcf5 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -2076,7 +2076,7 @@ module Google # existing data unusable. # The following are specific rules for service defined Monitoring metric # descriptors: - # * `type`, `metric_kind`, `value_type`, `description`, and `display_name` + # * `type`, `metric_kind`, `value_type` and `description` # fields are all required. The `unit` field must be specified # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # * Maximum of default 500 metric descriptors per service is allowed. diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb index 0258fba56..030279aca 100644 --- a/generated/google/apis/serviceusage_v1.rb +++ b/generated/google/apis/serviceusage_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1 VERSION = 'V1' - REVISION = '20200711' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceusage_v1/classes.rb b/generated/google/apis/serviceusage_v1/classes.rb index 006888971..f739ff2e0 100644 --- a/generated/google/apis/serviceusage_v1/classes.rb +++ b/generated/google/apis/serviceusage_v1/classes.rb @@ -2975,7 +2975,7 @@ module Google # existing data unusable. # The following are specific rules for service defined Monitoring metric # descriptors: - # * `type`, `metric_kind`, `value_type`, `description`, and `display_name` + # * `type`, `metric_kind`, `value_type` and `description` # fields are all required. The `unit` field must be specified # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # * Maximum of default 500 metric descriptors per service is allowed. diff --git a/generated/google/apis/serviceusage_v1beta1.rb b/generated/google/apis/serviceusage_v1beta1.rb index 90c8d340c..3e25e850c 100644 --- a/generated/google/apis/serviceusage_v1beta1.rb +++ b/generated/google/apis/serviceusage_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-usage/ module ServiceusageV1beta1 VERSION = 'V1beta1' - REVISION = '20200711' + REVISION = '20200721' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceusage_v1beta1/classes.rb b/generated/google/apis/serviceusage_v1beta1/classes.rb index 2bdebc3b6..aa75d5b53 100644 --- a/generated/google/apis/serviceusage_v1beta1/classes.rb +++ b/generated/google/apis/serviceusage_v1beta1/classes.rb @@ -3152,7 +3152,7 @@ module Google # existing data unusable. # The following are specific rules for service defined Monitoring metric # descriptors: - # * `type`, `metric_kind`, `value_type`, `description`, and `display_name` + # * `type`, `metric_kind`, `value_type` and `description` # fields are all required. The `unit` field must be specified # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # * Maximum of default 500 metric descriptors per service is allowed. diff --git a/generated/google/apis/toolresults_v1beta3.rb b/generated/google/apis/toolresults_v1beta3.rb index c84fc08b1..746ecc3f1 100644 --- a/generated/google/apis/toolresults_v1beta3.rb +++ b/generated/google/apis/toolresults_v1beta3.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/test-lab/ module ToolresultsV1beta3 VERSION = 'V1beta3' - REVISION = '20200513' + REVISION = '20200722' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/toolresults_v1beta3/classes.rb b/generated/google/apis/toolresults_v1beta3/classes.rb index a21268c8c..658efdb19 100644 --- a/generated/google/apis/toolresults_v1beta3/classes.rb +++ b/generated/google/apis/toolresults_v1beta3/classes.rb @@ -908,6 +908,14 @@ module Google attr_accessor :crashed alias_method :crashed?, :crashed + # If the Roboscript failed to complete successfully, e.g., because a + # Roboscript action or assertion failed or a Roboscript action could not be + # matched during the entire crawl. + # Corresponds to the JSON property `failedRoboscript` + # @return [Boolean] + attr_accessor :failed_roboscript + alias_method :failed_roboscript?, :failed_roboscript + # If an app is not installed and thus no test can be run with the app. # This might be caused by trying to run a test on an unsupported platform. # Corresponds to the JSON property `notInstalled` @@ -941,6 +949,7 @@ module Google # Update properties of this object def update!(**args) @crashed = args[:crashed] if args.key?(:crashed) + @failed_roboscript = args[:failed_roboscript] if args.key?(:failed_roboscript) @not_installed = args[:not_installed] if args.key?(:not_installed) @other_native_crash = args[:other_native_crash] if args.key?(:other_native_crash) @timed_out = args[:timed_out] if args.key?(:timed_out) diff --git a/generated/google/apis/toolresults_v1beta3/representations.rb b/generated/google/apis/toolresults_v1beta3/representations.rb index 305c4f10c..9783f9b69 100644 --- a/generated/google/apis/toolresults_v1beta3/representations.rb +++ b/generated/google/apis/toolresults_v1beta3/representations.rb @@ -887,6 +887,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :crashed, as: 'crashed' + property :failed_roboscript, as: 'failedRoboscript' property :not_installed, as: 'notInstalled' property :other_native_crash, as: 'otherNativeCrash' property :timed_out, as: 'timedOut' diff --git a/generated/google/apis/toolresults_v1beta3/service.rb b/generated/google/apis/toolresults_v1beta3/service.rb index d4fa9e78f..78d316e83 100644 --- a/generated/google/apis/toolresults_v1beta3/service.rb +++ b/generated/google/apis/toolresults_v1beta3/service.rb @@ -43,698 +43,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', '') - @batch_path = 'batch/toolresults/v1beta3' - end - - # Retrieves a single screenshot cluster by its ID - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # An Execution id. - # Required. - # @param [String] cluster_id - # A Cluster id - # Required. - # @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::ToolresultsV1beta3::ScreenshotCluster] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ScreenshotCluster] - # - # @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_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['clusterId'] = cluster_id unless cluster_id.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 Screenshot Clusters - # Returns the list of screenshot clusters corresponding to an execution. - # Screenshot clusters are created after the execution is finished. - # Clusters are created from a set of screenshots. Between any two - # screenshots, a matching score is calculated based off their metadata - # that determines how similar they are. Screenshots are placed - # in the cluster that has screens which have the highest matching - # scores. - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # An Execution id. - # Required. - # @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::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] - # - # @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_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets an Environment. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the Environment does not exist - # @param [String] project_id - # Required. A Project id. - # @param [String] history_id - # Required. A History id. - # @param [String] execution_id - # Required. An Execution id. - # @param [String] environment_id - # Required. An Environment id. - # @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::ToolresultsV1beta3::Environment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Environment] - # - # @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_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Environment - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['environmentId'] = environment_id unless environment_id.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 Environments for a given Execution. - # The Environments are sorted by display name. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the containing Execution does not exist - # @param [String] project_id - # Required. A Project id. - # @param [String] history_id - # Required. A History id. - # @param [String] execution_id - # Required. An Execution id. - # @param [Fixnum] page_size - # The maximum number of Environments to fetch. - # Default value: 25. The server will use this default if the field is not set - # or has a value of 0. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # @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::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] - # - # @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_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.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 an Execution. - # The returned Execution will have the id set. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the containing History does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. - # For example, a UUID. - # Optional, but strongly recommended. - # @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::ToolresultsV1beta3::Execution] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Execution] - # - # @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_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation - command.request_object = execution_object - command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Execution - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets an Execution. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the Execution does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # An Execution id. - # Required. - # @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::ToolresultsV1beta3::Execution] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Execution] - # - # @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_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Execution - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.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 Executions for a given History. - # The executions are sorted by creation_time in descending order. The - # execution_id key will be used to order the executions with the same - # creation_time. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the containing History does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [Fixnum] page_size - # The maximum number of Executions to fetch. - # Default value: 25. The server will use this default if the field is not set - # or has a value of 0. - # Optional. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # Optional. - # @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::ToolresultsV1beta3::ListExecutionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ListExecutionsResponse] - # - # @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_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.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 - - # Updates an existing Execution with the supplied partial entity. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - # - INVALID_ARGUMENT - if the request is malformed - # - FAILED_PRECONDITION - if the requested state transition is illegal - # - NOT_FOUND - if the containing History does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # Required. - # @param [String] execution_id - # Required. - # @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. - # For example, a UUID. - # Optional, but strongly recommended. - # @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::ToolresultsV1beta3::Execution] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Execution] - # - # @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 patch_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation - command.request_object = execution_object - command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Execution - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['requestId'] = request_id unless request_id.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 History. - # The returned History will have the id set. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the containing project does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [Google::Apis::ToolresultsV1beta3::History] history_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. - # For example, a UUID. - # Optional, but strongly recommended. - # @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::ToolresultsV1beta3::History] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::History] - # - # @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_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation - command.request_object = history_object - command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::History - command.params['projectId'] = project_id unless project_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a History. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the History does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @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::ToolresultsV1beta3::History] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::History] - # - # @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_history(project_id, history_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::History - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.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 Histories for a given Project. - # The histories are sorted by modification time in descending order. The - # history_id key will be used to order the history with the same - # modification time. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the History does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] filter_by_name - # If set, only return histories with the given name. - # Optional. - # @param [Fixnum] page_size - # The maximum number of Histories to fetch. - # Default value: 20. The server will use this default if the field is not set - # or has a value of 0. Any value greater than 100 will be treated as 100. - # Optional. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # Optional. - # @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::ToolresultsV1beta3::ListHistoriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] - # - # @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_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['filterByName'] = filter_by_name unless filter_by_name.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 PerfMetricsSummary resource. Returns the existing one if it has - # already been created. - # May return any of the following error code(s): - # - NOT_FOUND - The containing Step does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_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::ToolresultsV1beta3::PerfMetricsSummary] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] - # - # @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_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation - command.request_object = perf_metrics_summary_object - command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.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 PerfSampleSeries. - # May return any of the following error code(s): - # - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - # - NOT_FOUND - The containing Step does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_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::ToolresultsV1beta3::PerfSampleSeries] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] - # - # @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_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation - command.request_object = perf_sample_series_object - command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a PerfSampleSeries. - # May return any of the following error code(s): - # - NOT_FOUND - The specified PerfSampleSeries does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [String] sample_series_id - # A sample series id - # @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::ToolresultsV1beta3::PerfSampleSeries] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] - # - # @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_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.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 PerfSampleSeries for a given Step. - # The request provides an optional filter which specifies one or more - # PerfMetricsType to include in the result; if none returns all. - # The resulting PerfSampleSeries are sorted by ids. - # May return any of the following canonical error codes: - # - NOT_FOUND - The containing Step does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [Array, String] filter - # Specify one or more PerfMetricType values such as CPU to filter the result - # @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::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] - # - # @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_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['filter'] = filter unless filter.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) + super('https://toolresults.googleapis.com/', '') + @batch_path = 'batch' end # Gets the Tool Results settings for a project. @@ -822,6 +132,1051 @@ module Google execute_or_queue_command(command, &block) end + # Creates a History. + # The returned History will have the id set. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to write to project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the containing project does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [Google::Apis::ToolresultsV1beta3::History] history_object + # @param [String] request_id + # A unique request ID for server to detect duplicated requests. + # For example, a UUID. + # Optional, but strongly recommended. + # @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::ToolresultsV1beta3::History] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::History] + # + # @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_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation + command.request_object = history_object + command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::History + command.params['projectId'] = project_id unless project_id.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a History. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the History does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @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::ToolresultsV1beta3::History] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::History] + # + # @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_history(project_id, history_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::History + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.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 Histories for a given Project. + # The histories are sorted by modification time in descending order. The + # history_id key will be used to order the history with the same + # modification time. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the History does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] filter_by_name + # If set, only return histories with the given name. + # Optional. + # @param [Fixnum] page_size + # The maximum number of Histories to fetch. + # Default value: 20. The server will use this default if the field is not set + # or has a value of 0. Any value greater than 100 will be treated as 100. + # Optional. + # @param [String] page_token + # A continuation token to resume the query at the next item. + # Optional. + # @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::ToolresultsV1beta3::ListHistoriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] + # + # @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_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['filterByName'] = filter_by_name unless filter_by_name.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 an Execution. + # The returned Execution will have the id set. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to write to project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the containing History does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object + # @param [String] request_id + # A unique request ID for server to detect duplicated requests. + # For example, a UUID. + # Optional, but strongly recommended. + # @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::ToolresultsV1beta3::Execution] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Execution] + # + # @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_history_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation + command.request_object = execution_object + command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Execution + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an Execution. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to write to project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the Execution does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # An Execution id. + # Required. + # @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::ToolresultsV1beta3::Execution] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Execution] + # + # @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_history_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Execution + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.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 Executions for a given History. + # The executions are sorted by creation_time in descending order. The + # execution_id key will be used to order the executions with the same + # creation_time. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the containing History does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [Fixnum] page_size + # The maximum number of Executions to fetch. + # Default value: 25. The server will use this default if the field is not set + # or has a value of 0. + # Optional. + # @param [String] page_token + # A continuation token to resume the query at the next item. + # Optional. + # @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::ToolresultsV1beta3::ListExecutionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListExecutionsResponse] + # + # @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_history_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.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 + + # Updates an existing Execution with the supplied partial entity. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to write to project + # - INVALID_ARGUMENT - if the request is malformed + # - FAILED_PRECONDITION - if the requested state transition is illegal + # - NOT_FOUND - if the containing History does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # Required. + # @param [String] execution_id + # Required. + # @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object + # @param [String] request_id + # A unique request ID for server to detect duplicated requests. + # For example, a UUID. + # Optional, but strongly recommended. + # @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::ToolresultsV1beta3::Execution] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Execution] + # + # @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 patch_project_history_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation + command.request_object = execution_object + command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Execution + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a single screenshot cluster by its ID + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # An Execution id. + # Required. + # @param [String] cluster_id + # A Cluster id + # Required. + # @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::ToolresultsV1beta3::ScreenshotCluster] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ScreenshotCluster] + # + # @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_history_execution_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['clusterId'] = cluster_id unless cluster_id.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 Screenshot Clusters + # Returns the list of screenshot clusters corresponding to an execution. + # Screenshot clusters are created after the execution is finished. + # Clusters are created from a set of screenshots. Between any two + # screenshots, a matching score is calculated based off their metadata + # that determines how similar they are. Screenshots are placed + # in the cluster that has screens which have the highest matching + # scores. + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # An Execution id. + # Required. + # @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::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] + # + # @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_history_execution_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an Environment. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the Environment does not exist + # @param [String] project_id + # Required. A Project id. + # @param [String] history_id + # Required. A History id. + # @param [String] execution_id + # Required. An Execution id. + # @param [String] environment_id + # Required. An Environment id. + # @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::ToolresultsV1beta3::Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Environment] + # + # @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_history_execution_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Environment + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['environmentId'] = environment_id unless environment_id.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 Environments for a given Execution. + # The Environments are sorted by display name. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the containing Execution does not exist + # @param [String] project_id + # Required. A Project id. + # @param [String] history_id + # Required. A History id. + # @param [String] execution_id + # Required. An Execution id. + # @param [Fixnum] page_size + # The maximum number of Environments to fetch. + # Default value: 25. The server will use this default if the field is not set + # or has a value of 0. + # @param [String] page_token + # A continuation token to resume the query at the next item. + # @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::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] + # + # @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_history_execution_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.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 + + # Lists accessibility clusters for a given Step + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - FAILED_PRECONDITION - if an argument in the request happens to be + # invalid; e.g. if the locale format is incorrect + # - NOT_FOUND - if the containing Step does not exist + # @param [String] name + # A full resource name of the step. + # For example, projects/my-project/histories/bh.1234567890abcdef/executions/ + # 1234567890123456789/steps/bs.1234567890abcdef + # Required. + # @param [String] locale + # The accepted format is the canonical Unicode format with hyphen as a + # delimiter. Language must be lowercase, Language Script - Capitalized, + # Region - UPPERCASE. + # See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for + # details. + # Required. + # @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::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] + # + # @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 accessibility_project_history_execution_step_clusters(name, locale: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/{+name}:accessibilityClusters', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse + command.params['name'] = name unless name.nil? + command.query['locale'] = locale unless locale.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 Step. + # The returned Step will have the id set. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to write to project + # - INVALID_ARGUMENT - if the request is malformed + # - FAILED_PRECONDITION - if the step is too large (more than 10Mib) + # - NOT_FOUND - if the containing Execution does not exist + # @param [String] project_id + # Required. A Project id. + # @param [String] history_id + # Required. A History id. + # @param [String] execution_id + # Required. An Execution id. + # @param [Google::Apis::ToolresultsV1beta3::Step] step_object + # @param [String] request_id + # A unique request ID for server to detect duplicated requests. + # For example, a UUID. + # Optional, but strongly recommended. + # @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::ToolresultsV1beta3::Step] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Step] + # + # @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_history_execution_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation + command.request_object = step_object + command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Step + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a Step. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - NOT_FOUND - if the Step does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # A Execution id. + # Required. + # @param [String] step_id + # A Step id. + # Required. + # @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::ToolresultsV1beta3::Step] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Step] + # + # @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_history_execution_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Step + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a PerfMetricsSummary. + # May return any of the following error code(s): + # - NOT_FOUND - The specified PerfMetricsSummary does not exist + # @param [String] project_id + # The cloud project + # @param [String] history_id + # A tool results history ID. + # @param [String] execution_id + # A tool results execution ID. + # @param [String] step_id + # A tool results step ID. + # @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::ToolresultsV1beta3::PerfMetricsSummary] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] + # + # @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_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.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 Steps for a given Execution. + # The steps are sorted by creation_time in descending order. The + # step_id key will be used to order the steps with the same + # creation_time. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to read project + # - INVALID_ARGUMENT - if the request is malformed + # - FAILED_PRECONDITION - if an argument in the request happens to be + # invalid; e.g. if an attempt is made to list the + # children of a nonexistent Step + # - NOT_FOUND - if the containing Execution does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # A Execution id. + # Required. + # @param [Fixnum] page_size + # The maximum number of Steps to fetch. + # Default value: 25. The server will use this default if the field is not set + # or has a value of 0. + # Optional. + # @param [String] page_token + # A continuation token to resume the query at the next item. + # Optional. + # @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::ToolresultsV1beta3::ListStepsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListStepsResponse] + # + # @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_history_execution_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.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 + + # Updates an existing Step with the supplied partial entity. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to write project + # - INVALID_ARGUMENT - if the request is malformed + # - FAILED_PRECONDITION - if the requested state transition is illegal + # (e.g try to upload a duplicate xml file), if the + # updated step is too large (more than 10Mib) + # - NOT_FOUND - if the containing Execution does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # A Execution id. + # Required. + # @param [String] step_id + # A Step id. + # Required. + # @param [Google::Apis::ToolresultsV1beta3::Step] step_object + # @param [String] request_id + # A unique request ID for server to detect duplicated requests. + # For example, a UUID. + # Optional, but strongly recommended. + # @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::ToolresultsV1beta3::Step] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Step] + # + # @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 patch_project_history_execution_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation + command.request_object = step_object + command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Step + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Publish xml files to an existing Step. + # May return any of the following canonical error codes: + # - PERMISSION_DENIED - if the user is not authorized to write project + # - INVALID_ARGUMENT - if the request is malformed + # - FAILED_PRECONDITION - if the requested state transition is illegal, + # e.g try to upload a duplicate xml file or a file too large. + # - NOT_FOUND - if the containing Execution does not exist + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # A Execution id. + # Required. + # @param [String] step_id + # A Step id. + # Note: This step must include a TestExecutionStep. + # Required. + # @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_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::ToolresultsV1beta3::Step] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::Step] + # + # @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 publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation + command.request_object = publish_xunit_xml_files_request_object + command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::Step + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.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 PerfMetricsSummary resource. Returns the existing one if it has + # already been created. + # May return any of the following error code(s): + # - NOT_FOUND - The containing Step does not exist + # @param [String] project_id + # The cloud project + # @param [String] history_id + # A tool results history ID. + # @param [String] execution_id + # A tool results execution ID. + # @param [String] step_id + # A tool results step ID. + # @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_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::ToolresultsV1beta3::PerfMetricsSummary] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] + # + # @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_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation + command.request_object = perf_metrics_summary_object + command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.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 PerfSampleSeries. + # May return any of the following error code(s): + # - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step + # - NOT_FOUND - The containing Step does not exist + # @param [String] project_id + # The cloud project + # @param [String] history_id + # A tool results history ID. + # @param [String] execution_id + # A tool results execution ID. + # @param [String] step_id + # A tool results step ID. + # @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_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::ToolresultsV1beta3::PerfSampleSeries] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] + # + # @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_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options) + command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation + command.request_object = perf_sample_series_object + command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a PerfSampleSeries. + # May return any of the following error code(s): + # - NOT_FOUND - The specified PerfSampleSeries does not exist + # @param [String] project_id + # The cloud project + # @param [String] history_id + # A tool results history ID. + # @param [String] execution_id + # A tool results execution ID. + # @param [String] step_id + # A tool results step ID. + # @param [String] sample_series_id + # A sample series id + # @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::ToolresultsV1beta3::PerfSampleSeries] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] + # + # @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_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.nil? + command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.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 PerfSampleSeries for a given Step. + # The request provides an optional filter which specifies one or more + # PerfMetricsType to include in the result; if none returns all. + # The resulting PerfSampleSeries are sorted by ids. + # May return any of the following canonical error codes: + # - NOT_FOUND - The containing Step does not exist + # @param [String] project_id + # The cloud project + # @param [String] history_id + # A tool results history ID. + # @param [String] execution_id + # A tool results execution ID. + # @param [String] step_id + # A tool results step ID. + # @param [Array, String] filter + # Specify one or more PerfMetricType values such as CPU to filter the result + # @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::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] + # + # @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_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options) + command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation + command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['stepId'] = step_id unless step_id.nil? + command.query['filter'] = filter unless filter.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 batch of PerfSamples # - a client can submit multiple batches of Perf Samples through repeated # calls to this method in order to split up a large request payload @@ -917,7 +1272,7 @@ module Google # @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_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_history_execution_step_perf_sample_series_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options) command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse @@ -933,361 +1288,6 @@ module Google execute_or_queue_command(command, &block) end - # Lists accessibility clusters for a given Step - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - FAILED_PRECONDITION - if an argument in the request happens to be - # invalid; e.g. if the locale format is incorrect - # - NOT_FOUND - if the containing Step does not exist - # @param [String] name - # A full resource name of the step. - # For example, projects/my-project/histories/bh.1234567890abcdef/executions/ - # 1234567890123456789/steps/bs.1234567890abcdef - # Required. - # @param [String] locale - # The accepted format is the canonical Unicode format with hyphen as a - # delimiter. Language must be lowercase, Language Script - Capitalized, - # Region - UPPERCASE. - # See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for - # details. - # Required. - # @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::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] - # - # @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 accessibility_step_clusters(name, locale: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/{+name}:accessibilityClusters', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse - command.params['name'] = name unless name.nil? - command.query['locale'] = locale unless locale.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 Step. - # The returned Step will have the id set. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - # - INVALID_ARGUMENT - if the request is malformed - # - FAILED_PRECONDITION - if the step is too large (more than 10Mib) - # - NOT_FOUND - if the containing Execution does not exist - # @param [String] project_id - # Required. A Project id. - # @param [String] history_id - # Required. A History id. - # @param [String] execution_id - # Required. An Execution id. - # @param [Google::Apis::ToolresultsV1beta3::Step] step_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. - # For example, a UUID. - # Optional, but strongly recommended. - # @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::ToolresultsV1beta3::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Step] - # - # @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_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation - command.request_object = step_object - command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a Step. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - NOT_FOUND - if the Step does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [String] step_id - # A Step id. - # Required. - # @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::ToolresultsV1beta3::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Step] - # - # @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_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves a PerfMetricsSummary. - # May return any of the following error code(s): - # - NOT_FOUND - The specified PerfMetricsSummary does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @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::ToolresultsV1beta3::PerfMetricsSummary] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] - # - # @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_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.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 Steps for a given Execution. - # The steps are sorted by creation_time in descending order. The - # step_id key will be used to order the steps with the same - # creation_time. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - # - INVALID_ARGUMENT - if the request is malformed - # - FAILED_PRECONDITION - if an argument in the request happens to be - # invalid; e.g. if an attempt is made to list the - # children of a nonexistent Step - # - NOT_FOUND - if the containing Execution does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [Fixnum] page_size - # The maximum number of Steps to fetch. - # Default value: 25. The server will use this default if the field is not set - # or has a value of 0. - # Optional. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # Optional. - # @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::ToolresultsV1beta3::ListStepsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::ListStepsResponse] - # - # @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_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options) - command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.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 - - # Updates an existing Step with the supplied partial entity. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write project - # - INVALID_ARGUMENT - if the request is malformed - # - FAILED_PRECONDITION - if the requested state transition is illegal - # (e.g try to upload a duplicate xml file), if the - # updated step is too large (more than 10Mib) - # - NOT_FOUND - if the containing Execution does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [String] step_id - # A Step id. - # Required. - # @param [Google::Apis::ToolresultsV1beta3::Step] step_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. - # For example, a UUID. - # Optional, but strongly recommended. - # @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::ToolresultsV1beta3::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Step] - # - # @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 patch_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation - command.request_object = step_object - command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Publish xml files to an existing Step. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write project - # - INVALID_ARGUMENT - if the request is malformed - # - FAILED_PRECONDITION - if the requested state transition is illegal, - # e.g try to upload a duplicate xml file or a file too large. - # - NOT_FOUND - if the containing Execution does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [String] step_id - # A Step id. - # Note: This step must include a TestExecutionStep. - # Required. - # @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_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::ToolresultsV1beta3::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3::Step] - # - # @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 publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options) - command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation - command.request_object = publish_xunit_xml_files_request_object - command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Gets details of a Test Case for a Step. # Experimental test cases API. Still in active development. # May return any of the following canonical error codes: @@ -1327,7 +1327,7 @@ module Google # @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_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, options: nil, &block) + def get_project_history_execution_step_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options) command.response_representation = Google::Apis::ToolresultsV1beta3::TestCase::Representation command.response_class = Google::Apis::ToolresultsV1beta3::TestCase @@ -1385,7 +1385,7 @@ module Google # @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_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_history_execution_step_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options) command.response_representation = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse::Representation command.response_class = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse @@ -1444,7 +1444,7 @@ module Google # @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_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_history_execution_step_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options) command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse::Representation command.response_class = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse