Autogenerated update (2020-07-23)
Delete: - cloudfunctions_v1beta2 Update: - admob_v1 - appsmarket_v2 - cloudshell_v1alpha1 - gmail_v1 - osconfig_v1 - osconfig_v1beta - pagespeedonline_v5 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - run_v1 - run_v1alpha1 - run_v1beta1 - serviceconsumermanagement_v1 - serviceconsumermanagement_v1beta1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - toolresults_v1beta3
This commit is contained in:
parent
07590a65ff
commit
284c4fefd8
|
@ -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
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/admob/api/
|
||||
module AdmobV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200715'
|
||||
REVISION = '20200722'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
|
@ -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<String,String>]
|
||||
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<String,String>]
|
||||
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<Google::Apis::CloudfunctionsV1beta2::CloudFunction>]
|
||||
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<String>]
|
||||
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<Google::Apis::CloudfunctionsV1beta2::Location>]
|
||||
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<Google::Apis::CloudfunctionsV1beta2::Operation>]
|
||||
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<String,String>]
|
||||
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<String,Object>]
|
||||
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<String,Object>]
|
||||
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<String,Object>]
|
||||
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<String,Object>]
|
||||
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<String,Object>]
|
||||
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<Hash<String,Object>>]
|
||||
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
|
|
@ -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
|
|
@ -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.<br><br> The
|
||||
# supported formats of <b>filter</b> are:<br> To query for a specific function: <
|
||||
# code>project:*,location:*,function:*</code><br> To query for all of the latest
|
||||
# operations for a project: <code>project:*,latest:true</code>
|
||||
# @param [String] name
|
||||
# Must not be set.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of records that should be returned.<br> Requested page size
|
||||
# cannot exceed 100. If not set, the default page size is 100.<br><br>
|
||||
# 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.<br><br> 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
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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/'
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -767,7 +767,8 @@ module Google
|
|||
# @param [String] format
|
||||
# The format to return the message in.
|
||||
# @param [Array<String>, 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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -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'
|
||||
|
|
|
@ -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<String>]
|
||||
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
|
||||
# <kind>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<String>]
|
||||
attr_accessor :short_names
|
||||
|
||||
# Singular is the singular name of the resource. It must be all lowercase
|
||||
# Defaults to lowercased <kind> +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<Google::Apis::RunV1beta1::CustomResourceColumnDefinition>]
|
||||
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<Google::Apis::RunV1beta1::CustomResourceDefinitionVersion>]
|
||||
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<Google::Apis::RunV1beta1::JsonSchemaProps>]
|
||||
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<String>]
|
||||
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<Google::Apis::RunV1beta1::JsonSchemaProps>]
|
||||
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<String>]
|
||||
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<String,String>]
|
||||
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<String>]
|
||||
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<String,String>]
|
||||
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<Google::Apis::RunV1beta1::OwnerReference>]
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue