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:
Google APIs 2020-07-23 00:38:26 +00:00
parent 07590a65ff
commit 284c4fefd8
48 changed files with 3865 additions and 6295 deletions

View File

@ -108843,6 +108843,10 @@
"/osconfig:v1/ExecutePatchJobRequest/duration": duration "/osconfig:v1/ExecutePatchJobRequest/duration": duration
"/osconfig:v1/ExecutePatchJobRequest/instanceFilter": instance_filter "/osconfig:v1/ExecutePatchJobRequest/instanceFilter": instance_filter
"/osconfig:v1/ExecutePatchJobRequest/patchConfig": patch_config "/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": gcs_object
"/osconfig:v1/GcsObject/bucket": bucket "/osconfig:v1/GcsObject/bucket": bucket
"/osconfig:v1/GcsObject/generationNumber": generation_number "/osconfig:v1/GcsObject/generationNumber": generation_number
@ -108884,6 +108888,7 @@
"/osconfig:v1/PatchDeployment/oneTimeSchedule": one_time_schedule "/osconfig:v1/PatchDeployment/oneTimeSchedule": one_time_schedule
"/osconfig:v1/PatchDeployment/patchConfig": patch_config "/osconfig:v1/PatchDeployment/patchConfig": patch_config
"/osconfig:v1/PatchDeployment/recurringSchedule": recurring_schedule "/osconfig:v1/PatchDeployment/recurringSchedule": recurring_schedule
"/osconfig:v1/PatchDeployment/rollout": rollout
"/osconfig:v1/PatchDeployment/updateTime": update_time "/osconfig:v1/PatchDeployment/updateTime": update_time
"/osconfig:v1/PatchInstanceFilter": patch_instance_filter "/osconfig:v1/PatchInstanceFilter": patch_instance_filter
"/osconfig:v1/PatchInstanceFilter/all": all "/osconfig:v1/PatchInstanceFilter/all": all
@ -108911,6 +108916,7 @@
"/osconfig:v1/PatchJob/patchConfig": patch_config "/osconfig:v1/PatchJob/patchConfig": patch_config
"/osconfig:v1/PatchJob/patchDeployment": patch_deployment "/osconfig:v1/PatchJob/patchDeployment": patch_deployment
"/osconfig:v1/PatchJob/percentComplete": percent_complete "/osconfig:v1/PatchJob/percentComplete": percent_complete
"/osconfig:v1/PatchJob/rollout": rollout
"/osconfig:v1/PatchJob/state": state "/osconfig:v1/PatchJob/state": state
"/osconfig:v1/PatchJob/updateTime": update_time "/osconfig:v1/PatchJob/updateTime": update_time
"/osconfig:v1/PatchJobInstanceDetails": patch_job_instance_details "/osconfig:v1/PatchJobInstanceDetails": patch_job_instance_details
@ -108935,6 +108941,9 @@
"/osconfig:v1/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count
"/osconfig:v1/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count "/osconfig:v1/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count
"/osconfig:v1/PatchJobInstanceDetailsSummary/timedOutInstanceCount": timed_out_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": recurring_schedule
"/osconfig:v1/RecurringSchedule/endTime": end_time "/osconfig:v1/RecurringSchedule/endTime": end_time
"/osconfig:v1/RecurringSchedule/frequency": frequency "/osconfig:v1/RecurringSchedule/frequency": frequency
@ -109078,6 +109087,10 @@
"/osconfig:v1beta/ExecutePatchJobRequest/duration": duration "/osconfig:v1beta/ExecutePatchJobRequest/duration": duration
"/osconfig:v1beta/ExecutePatchJobRequest/instanceFilter": instance_filter "/osconfig:v1beta/ExecutePatchJobRequest/instanceFilter": instance_filter
"/osconfig:v1beta/ExecutePatchJobRequest/patchConfig": patch_config "/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": gcs_object
"/osconfig:v1beta/GcsObject/bucket": bucket "/osconfig:v1beta/GcsObject/bucket": bucket
"/osconfig:v1beta/GcsObject/generationNumber": generation_number "/osconfig:v1beta/GcsObject/generationNumber": generation_number
@ -109152,6 +109165,7 @@
"/osconfig:v1beta/PatchDeployment/oneTimeSchedule": one_time_schedule "/osconfig:v1beta/PatchDeployment/oneTimeSchedule": one_time_schedule
"/osconfig:v1beta/PatchDeployment/patchConfig": patch_config "/osconfig:v1beta/PatchDeployment/patchConfig": patch_config
"/osconfig:v1beta/PatchDeployment/recurringSchedule": recurring_schedule "/osconfig:v1beta/PatchDeployment/recurringSchedule": recurring_schedule
"/osconfig:v1beta/PatchDeployment/rollout": rollout
"/osconfig:v1beta/PatchDeployment/updateTime": update_time "/osconfig:v1beta/PatchDeployment/updateTime": update_time
"/osconfig:v1beta/PatchInstanceFilter": patch_instance_filter "/osconfig:v1beta/PatchInstanceFilter": patch_instance_filter
"/osconfig:v1beta/PatchInstanceFilter/all": all "/osconfig:v1beta/PatchInstanceFilter/all": all
@ -109179,6 +109193,7 @@
"/osconfig:v1beta/PatchJob/patchConfig": patch_config "/osconfig:v1beta/PatchJob/patchConfig": patch_config
"/osconfig:v1beta/PatchJob/patchDeployment": patch_deployment "/osconfig:v1beta/PatchJob/patchDeployment": patch_deployment
"/osconfig:v1beta/PatchJob/percentComplete": percent_complete "/osconfig:v1beta/PatchJob/percentComplete": percent_complete
"/osconfig:v1beta/PatchJob/rollout": rollout
"/osconfig:v1beta/PatchJob/state": state "/osconfig:v1beta/PatchJob/state": state
"/osconfig:v1beta/PatchJob/updateTime": update_time "/osconfig:v1beta/PatchJob/updateTime": update_time
"/osconfig:v1beta/PatchJobInstanceDetails": patch_job_instance_details "/osconfig:v1beta/PatchJobInstanceDetails": patch_job_instance_details
@ -109203,6 +109218,9 @@
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count "/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededInstanceCount": succeeded_instance_count
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count "/osconfig:v1beta/PatchJobInstanceDetailsSummary/succeededRebootRequiredInstanceCount": succeeded_reboot_required_instance_count
"/osconfig:v1beta/PatchJobInstanceDetailsSummary/timedOutInstanceCount": timed_out_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": recurring_schedule
"/osconfig:v1beta/RecurringSchedule/endTime": end_time "/osconfig:v1beta/RecurringSchedule/endTime": end_time
"/osconfig:v1beta/RecurringSchedule/frequency": frequency "/osconfig:v1beta/RecurringSchedule/frequency": frequency
@ -133685,6 +133703,7 @@
"/toolresults:v1beta3/FailedToInstall": failed_to_install "/toolresults:v1beta3/FailedToInstall": failed_to_install
"/toolresults:v1beta3/FailureDetail": failure_detail "/toolresults:v1beta3/FailureDetail": failure_detail
"/toolresults:v1beta3/FailureDetail/crashed": crashed "/toolresults:v1beta3/FailureDetail/crashed": crashed
"/toolresults:v1beta3/FailureDetail/failedRoboscript": failed_roboscript
"/toolresults:v1beta3/FailureDetail/notInstalled": not_installed "/toolresults:v1beta3/FailureDetail/notInstalled": not_installed
"/toolresults:v1beta3/FailureDetail/otherNativeCrash": other_native_crash "/toolresults:v1beta3/FailureDetail/otherNativeCrash": other_native_crash
"/toolresults:v1beta3/FailureDetail/timedOut": timed_out "/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/historyId": history_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.create/projectId": project_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.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": get_project_history_execution
"/toolresults:v1beta3/toolresults.projects.histories.executions.get/executionId": execution_id "/toolresults:v1beta3/toolresults.projects.histories.executions.get/executionId": execution_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.get/historyId": history_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/historyId": history_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.patch/projectId": project_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.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": create_project_history_execution_step
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/executionId": execution_id "/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/executionId": execution_id
"/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/historyId": history_id "/toolresults:v1beta3/toolresults.projects.histories.executions.steps.create/historyId": history_id

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/admob/api/ # @see https://developers.google.com/admob/api/
module AdmobV1 module AdmobV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200715' REVISION = '20200722'
end end
end end
end end

View File

@ -760,7 +760,9 @@ module Google
class ReportFooter class ReportFooter
include Google::Apis::Core::Hashable 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` # Corresponds to the JSON property `matchingRowCount`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :matching_row_count attr_accessor :matching_row_count

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/apps-marketplace # @see https://developers.google.com/apps-marketplace
module AppsmarketV2 module AppsmarketV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20200713' REVISION = '20200720'
# View your installed application's licensing information # View your installed application's licensing information
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license' AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/shell/docs/ # @see https://cloud.google.com/shell/docs/
module CloudshellV1alpha1 module CloudshellV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20200512' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,8 @@ module Google
module Apis module Apis
module CloudshellV1alpha1 module CloudshellV1alpha1
# Request message for AuthorizeEnvironment. # Request message for
# AuthorizeEnvironment.
class AuthorizeEnvironmentRequest class AuthorizeEnvironmentRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -54,7 +55,8 @@ module Google
end end
end end
# Request message for CreatePublicKey. # Request message for
# CreatePublicKey.
class CreatePublicKeyRequest class CreatePublicKeyRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -319,7 +321,8 @@ module Google
end end
end end
# Request message for StartEnvironment. # Request message for
# StartEnvironment.
class StartEnvironmentRequest class StartEnvironmentRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -348,8 +351,8 @@ module Google
end end
# Message included in the response field of operations returned from # Message included in the response field of operations returned from
# StartEnvironment once the # StartEnvironment
# operation is complete. # once the operation is complete.
class StartEnvironmentResponse class StartEnvironmentResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/gmail/api/ # @see https://developers.google.com/gmail/api/
module GmailV1 module GmailV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200713' REVISION = '20200720'
# Read, compose, send, and permanently delete all your email from Gmail # Read, compose, send, and permanently delete all your email from Gmail
AUTH_SCOPE = 'https://mail.google.com/' AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -537,8 +537,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :label_list_visibility attr_accessor :label_list_visibility
# The visibility of the label in the message list in the # The visibility of messages with this label in the message list
# Gmail web interface. # in the Gmail web interface.
# @mutable gmail.users.labels.create gmail.users.labels.update # @mutable gmail.users.labels.create gmail.users.labels.update
# Corresponds to the JSON property `messageListVisibility` # Corresponds to the JSON property `messageListVisibility`
# @return [String] # @return [String]

View File

@ -767,7 +767,8 @@ module Google
# @param [String] format # @param [String] format
# The format to return the message in. # The format to return the message in.
# @param [Array<String>, String] metadata_headers # @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 # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/ # @see https://cloud.google.com/
module OsconfigV1 module OsconfigV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200706' REVISION = '20200714'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -199,6 +199,12 @@ module Google
# @return [Google::Apis::OsconfigV1::PatchConfig] # @return [Google::Apis::OsconfigV1::PatchConfig]
attr_accessor :patch_config 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) def initialize(**args)
update!(**args) update!(**args)
end end
@ -211,6 +217,34 @@ module Google
@duration = args[:duration] if args.key?(:duration) @duration = args[:duration] if args.key?(:duration)
@instance_filter = args[:instance_filter] if args.key?(:instance_filter) @instance_filter = args[:instance_filter] if args.key?(:instance_filter)
@patch_config = args[:patch_config] if args.key?(:patch_config) @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
end end
@ -517,6 +551,12 @@ module Google
# @return [Google::Apis::OsconfigV1::RecurringSchedule] # @return [Google::Apis::OsconfigV1::RecurringSchedule]
attr_accessor :recurring_schedule 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 # Output only. Time the patch deployment was last updated. Timestamp is in
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
# Corresponds to the JSON property `updateTime` # 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) @one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule)
@patch_config = args[:patch_config] if args.key?(:patch_config) @patch_config = args[:patch_config] if args.key?(:patch_config)
@recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule) @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) @update_time = args[:update_time] if args.key?(:update_time)
end end
end end
@ -709,6 +750,12 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :percent_complete 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. # The current state of the PatchJob.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
@ -737,6 +784,7 @@ module Google
@patch_config = args[:patch_config] if args.key?(:patch_config) @patch_config = args[:patch_config] if args.key?(:patch_config)
@patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment) @patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment)
@percent_complete = args[:percent_complete] if args.key?(:percent_complete) @percent_complete = args[:percent_complete] if args.key?(:percent_complete)
@rollout = args[:rollout] if args.key?(:rollout)
@state = args[:state] if args.key?(:state) @state = args[:state] if args.key?(:state)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -898,6 +946,33 @@ module Google
end end
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. # Sets the time for recurring patch deployments.
class RecurringSchedule class RecurringSchedule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -58,6 +58,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class FixedOrPercent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GcsObject class GcsObject
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -142,6 +148,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PatchRollout
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RecurringSchedule class RecurringSchedule
class Representation < Google::Apis::Core::JsonRepresentation; end 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 :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
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 :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' property :update_time, as: 'updateTime'
end end
end end
@ -382,6 +406,8 @@ module Google
property :patch_deployment, as: 'patchDeployment' property :patch_deployment, as: 'patchDeployment'
property :percent_complete, as: 'percentComplete' 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 :state, as: 'state'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -419,6 +445,15 @@ module Google
end end
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 class RecurringSchedule
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/ # @see https://cloud.google.com/
module OsconfigV1beta module OsconfigV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200706' REVISION = '20200714'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -503,6 +503,12 @@ module Google
# @return [Google::Apis::OsconfigV1beta::PatchConfig] # @return [Google::Apis::OsconfigV1beta::PatchConfig]
attr_accessor :patch_config 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) def initialize(**args)
update!(**args) update!(**args)
end end
@ -515,6 +521,34 @@ module Google
@duration = args[:duration] if args.key?(:duration) @duration = args[:duration] if args.key?(:duration)
@instance_filter = args[:instance_filter] if args.key?(:instance_filter) @instance_filter = args[:instance_filter] if args.key?(:instance_filter)
@patch_config = args[:patch_config] if args.key?(:patch_config) @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
end end
@ -1095,6 +1129,12 @@ module Google
# @return [Google::Apis::OsconfigV1beta::RecurringSchedule] # @return [Google::Apis::OsconfigV1beta::RecurringSchedule]
attr_accessor :recurring_schedule 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 # Output only. Time the patch deployment was last updated. Timestamp is in
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
# Corresponds to the JSON property `updateTime` # 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) @one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule)
@patch_config = args[:patch_config] if args.key?(:patch_config) @patch_config = args[:patch_config] if args.key?(:patch_config)
@recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule) @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) @update_time = args[:update_time] if args.key?(:update_time)
end end
end end
@ -1282,6 +1323,12 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :percent_complete 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. # The current state of the PatchJob.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
@ -1310,6 +1357,7 @@ module Google
@patch_config = args[:patch_config] if args.key?(:patch_config) @patch_config = args[:patch_config] if args.key?(:patch_config)
@patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment) @patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment)
@percent_complete = args[:percent_complete] if args.key?(:percent_complete) @percent_complete = args[:percent_complete] if args.key?(:percent_complete)
@rollout = args[:rollout] if args.key?(:rollout)
@state = args[:state] if args.key?(:state) @state = args[:state] if args.key?(:state)
@update_time = args[:update_time] if args.key?(:update_time) @update_time = args[:update_time] if args.key?(:update_time)
end end
@ -1471,6 +1519,33 @@ module Google
end end
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. # Sets the time for recurring patch deployments.
class RecurringSchedule class RecurringSchedule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -106,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class FixedOrPercent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GcsObject class GcsObject
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -226,6 +232,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class PatchRollout
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RecurringSchedule class RecurringSchedule
class Representation < Google::Apis::Core::JsonRepresentation; end 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 :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
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 :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' property :update_time, as: 'updateTime'
end end
end end
@ -697,6 +721,8 @@ module Google
property :patch_deployment, as: 'patchDeployment' property :patch_deployment, as: 'patchDeployment'
property :percent_complete, as: 'percentComplete' 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 :state, as: 'state'
property :update_time, as: 'updateTime' property :update_time, as: 'updateTime'
end end
@ -734,6 +760,15 @@ module Google
end end
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 class RecurringSchedule
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -28,7 +28,7 @@ module Google
# @see https://developers.google.com/speed/docs/insights/v5/about # @see https://developers.google.com/speed/docs/insights/v5/about
module PagespeedonlineV5 module PagespeedonlineV5
VERSION = 'V5' VERSION = 'V5'
REVISION = '20200608' REVISION = '20200721'
# Associate you with your personal info on Google # Associate you with your personal info on Google
PENID = 'openid' PENID = 'openid'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/ # @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1 module RemotebuildexecutionV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200714' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/ # @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1alpha module RemotebuildexecutionV1alpha
VERSION = 'V1alpha' VERSION = 'V1alpha'
REVISION = '20200714' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/ # @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV2 module RemotebuildexecutionV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20200714' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1 module RunV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200706' REVISION = '20200720'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

File diff suppressed because it is too large Load Diff

View File

@ -50,8 +50,8 @@ module Google
# Rpc to get information about a namespace. # Rpc to get information about a namespace.
# @param [String] name # @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace # Required. The name of the namespace being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -81,12 +81,12 @@ module Google
# Rpc to update a namespace. # Rpc to update a namespace.
# @param [String] name # @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace # Required. The name of the namespace being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Namespace] namespace_object # @param [Google::Apis::RunV1::Namespace] namespace_object
# @param [String] update_mask # @param [String] update_mask
# Required. Indicates which fields in the provided namespace to update. # Required. Indicates which fields in the provided namespace to update. This
# This field is currently unused. # field is currently unused.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -119,8 +119,8 @@ module Google
# Creates a new secret. # Creates a new secret.
# @param [String] parent # @param [String] parent
# Required. The project ID or project number in which this secret should # Required. The project ID or project number in which this secret should be
# be created. # created.
# @param [Google::Apis::RunV1::Secret] secret_object # @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -153,8 +153,8 @@ module Google
# Rpc to get information about a secret. # Rpc to get information about a secret.
# @param [String] name # @param [String] name
# Required. The name of the secret being retrieved. If needed, replace # Required. The name of the secret being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -182,15 +182,13 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Rpc to replace a secret. # Rpc to replace a secret. Only the spec and metadata labels and annotations are
# Only the spec and metadata labels and annotations are modifiable. After # modifiable. After the Update request, Cloud Run will work to make the 'status'
# the Update request, Cloud Run will work to make the 'status' # match the requested 'spec'. May provide metadata.resourceVersion to enforce
# match the requested 'spec'. # update from last read for optimistic concurrency control.
# May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control.
# @param [String] name # @param [String] name
# Required. The name of the secret being retrieved. If needed, replace # Required. The name of the secret being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Secret] secret_object # @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -259,9 +257,8 @@ module Google
# Get information about a configuration. # Get information about a configuration.
# @param [String] name # @param [String] name
# The name of the configuration to retrieve. # The name of the configuration to retrieve. For Cloud Run (fully managed),
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # replace `namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -291,20 +288,19 @@ module Google
# List configurations. # List configurations.
# @param [String] parent # @param [String] parent
# The namespace from which the configurations should be listed. # The namespace from which the configurations should be listed. For Cloud Run (
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # fully managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -349,9 +345,8 @@ module Google
# Create a new domain mapping. # Create a new domain mapping.
# @param [String] parent # @param [String] parent
# The namespace in which the domain mapping should be created. # The namespace in which the domain mapping should be created. For Cloud Run (
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # fully managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -384,18 +379,16 @@ module Google
# Delete a domain mapping. # Delete a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping to delete. # The name of the domain mapping to delete. For Cloud Run (fully managed),
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # replace `namespace_id` with the project ID or number.
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] propagation_policy # @param [String] propagation_policy
# Specifies the propagation policy of delete. Cloud Run currently ignores # Specifies the propagation policy of delete. Cloud Run currently ignores this
# this setting, and deletes in the background. Please see # setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for # workloads/controllers/garbage-collection/ for more information.
# more information.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -428,9 +421,8 @@ module Google
# Get information about a domain mapping. # Get information about a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping to retrieve. # The name of the domain mapping to retrieve. For Cloud Run (fully managed),
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # replace `namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -460,20 +452,19 @@ module Google
# List domain mappings. # List domain mappings.
# @param [String] parent # @param [String] parent
# The namespace from which the domain mappings should be listed. # The namespace from which the domain mappings should be listed. For Cloud Run (
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # fully managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -518,18 +509,16 @@ module Google
# Delete a revision. # Delete a revision.
# @param [String] name # @param [String] name
# The name of the revision to delete. # The name of the revision to delete. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] propagation_policy # @param [String] propagation_policy
# Specifies the propagation policy of delete. Cloud Run currently ignores # Specifies the propagation policy of delete. Cloud Run currently ignores this
# this setting, and deletes in the background. Please see # setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for # workloads/controllers/garbage-collection/ for more information.
# more information.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -562,9 +551,8 @@ module Google
# Get information about a revision. # Get information about a revision.
# @param [String] name # @param [String] name
# The name of the revision to retrieve. # The name of the revision to retrieve. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -594,20 +582,19 @@ module Google
# List revisions. # List revisions.
# @param [String] parent # @param [String] parent
# The namespace from which the revisions should be listed. # The namespace from which the revisions should be listed. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -652,9 +639,8 @@ module Google
# Get information about a route. # Get information about a route.
# @param [String] name # @param [String] name
# The name of the route to retrieve. # The name of the route to retrieve. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -684,20 +670,19 @@ module Google
# List routes. # List routes.
# @param [String] parent # @param [String] parent
# The namespace from which the routes should be listed. # The namespace from which the routes should be listed. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -742,9 +727,8 @@ module Google
# Create a service. # Create a service.
# @param [String] parent # @param [String] parent
# The namespace in which the service should be created. # The namespace in which the service should be created. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -775,22 +759,19 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Delete a service. # Delete a service. This will cause the Service to stop serving traffic and will
# This will cause the Service to stop serving traffic and will delete the # delete the child entities like Routes, Configurations and Revisions.
# child entities like Routes, Configurations and Revisions.
# @param [String] name # @param [String] name
# The name of the service to delete. # The name of the service to delete. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] propagation_policy # @param [String] propagation_policy
# Specifies the propagation policy of delete. Cloud Run currently ignores # Specifies the propagation policy of delete. Cloud Run currently ignores this
# this setting, and deletes in the background. Please see # setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for # workloads/controllers/garbage-collection/ for more information.
# more information.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -823,9 +804,8 @@ module Google
# Get information about a service. # Get information about a service.
# @param [String] name # @param [String] name
# The name of the service to retrieve. # The name of the service to retrieve. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -855,20 +835,19 @@ module Google
# List services. # List services.
# @param [String] parent # @param [String] parent
# The namespace from which the services should be listed. # The namespace from which the services should be listed. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -911,16 +890,13 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Replace a service. # Replace a service. Only the spec and metadata labels and annotations are
# Only the spec and metadata labels and annotations are modifiable. After # modifiable. After the Update request, Cloud Run will work to make the 'status'
# the Update request, Cloud Run will work to make the 'status' # match the requested 'spec'. May provide metadata.resourceVersion to enforce
# match the requested 'spec'. # update from last read for optimistic concurrency control.
# May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the service being replaced. # The name of the service being replaced. For Cloud Run (fully managed), replace
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # `namespace_id` with the project ID or number.
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1028,9 +1004,8 @@ module Google
# Get information about a configuration. # Get information about a configuration.
# @param [String] name # @param [String] name
# The name of the configuration to retrieve. # The name of the configuration to retrieve. For Cloud Run (fully managed),
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # replace `namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1060,20 +1035,19 @@ module Google
# List configurations. # List configurations.
# @param [String] parent # @param [String] parent
# The namespace from which the configurations should be listed. # The namespace from which the configurations should be listed. For Cloud Run (
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # fully managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -1118,9 +1092,8 @@ module Google
# Create a new domain mapping. # Create a new domain mapping.
# @param [String] parent # @param [String] parent
# The namespace in which the domain mapping should be created. # The namespace in which the domain mapping should be created. For Cloud Run (
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # fully managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object # @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1153,18 +1126,16 @@ module Google
# Delete a domain mapping. # Delete a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping to delete. # The name of the domain mapping to delete. For Cloud Run (fully managed),
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # replace `namespace_id` with the project ID or number.
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] propagation_policy # @param [String] propagation_policy
# Specifies the propagation policy of delete. Cloud Run currently ignores # Specifies the propagation policy of delete. Cloud Run currently ignores this
# this setting, and deletes in the background. Please see # setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for # workloads/controllers/garbage-collection/ for more information.
# more information.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1197,9 +1168,8 @@ module Google
# Get information about a domain mapping. # Get information about a domain mapping.
# @param [String] name # @param [String] name
# The name of the domain mapping to retrieve. # The name of the domain mapping to retrieve. For Cloud Run (fully managed),
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # replace `namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1229,20 +1199,19 @@ module Google
# List domain mappings. # List domain mappings.
# @param [String] parent # @param [String] parent
# The namespace from which the domain mappings should be listed. # The namespace from which the domain mappings should be listed. For Cloud Run (
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # fully managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -1287,8 +1256,8 @@ module Google
# Rpc to get information about a namespace. # Rpc to get information about a namespace.
# @param [String] name # @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace # Required. The name of the namespace being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1318,12 +1287,12 @@ module Google
# Rpc to update a namespace. # Rpc to update a namespace.
# @param [String] name # @param [String] name
# Required. The name of the namespace being retrieved. If needed, replace # Required. The name of the namespace being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Namespace] namespace_object # @param [Google::Apis::RunV1::Namespace] namespace_object
# @param [String] update_mask # @param [String] update_mask
# Required. Indicates which fields in the provided namespace to update. # Required. Indicates which fields in the provided namespace to update. This
# This field is currently unused. # field is currently unused.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1356,18 +1325,16 @@ module Google
# Delete a revision. # Delete a revision.
# @param [String] name # @param [String] name
# The name of the revision to delete. # The name of the revision to delete. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] propagation_policy # @param [String] propagation_policy
# Specifies the propagation policy of delete. Cloud Run currently ignores # Specifies the propagation policy of delete. Cloud Run currently ignores this
# this setting, and deletes in the background. Please see # setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for # workloads/controllers/garbage-collection/ for more information.
# more information.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1400,9 +1367,8 @@ module Google
# Get information about a revision. # Get information about a revision.
# @param [String] name # @param [String] name
# The name of the revision to retrieve. # The name of the revision to retrieve. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1432,20 +1398,19 @@ module Google
# List revisions. # List revisions.
# @param [String] parent # @param [String] parent
# The namespace from which the revisions should be listed. # The namespace from which the revisions should be listed. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -1490,9 +1455,8 @@ module Google
# Get information about a route. # Get information about a route.
# @param [String] name # @param [String] name
# The name of the route to retrieve. # The name of the route to retrieve. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1522,20 +1486,19 @@ module Google
# List routes. # List routes.
# @param [String] parent # @param [String] parent
# The namespace from which the routes should be listed. # The namespace from which the routes should be listed. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -1580,8 +1543,8 @@ module Google
# Creates a new secret. # Creates a new secret.
# @param [String] parent # @param [String] parent
# Required. The project ID or project number in which this secret should # Required. The project ID or project number in which this secret should be
# be created. # created.
# @param [Google::Apis::RunV1::Secret] secret_object # @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1614,8 +1577,8 @@ module Google
# Rpc to get information about a secret. # Rpc to get information about a secret.
# @param [String] name # @param [String] name
# Required. The name of the secret being retrieved. If needed, replace # Required. The name of the secret being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1643,15 +1606,13 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Rpc to replace a secret. # Rpc to replace a secret. Only the spec and metadata labels and annotations are
# Only the spec and metadata labels and annotations are modifiable. After # modifiable. After the Update request, Cloud Run will work to make the 'status'
# the Update request, Cloud Run will work to make the 'status' # match the requested 'spec'. May provide metadata.resourceVersion to enforce
# match the requested 'spec'. # update from last read for optimistic concurrency control.
# May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control.
# @param [String] name # @param [String] name
# Required. The name of the secret being retrieved. If needed, replace # Required. The name of the secret being retrieved. If needed, replace `
# `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Secret] secret_object # @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1684,9 +1645,8 @@ module Google
# Create a service. # Create a service.
# @param [String] parent # @param [String] parent
# The namespace in which the service should be created. # The namespace in which the service should be created. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1717,22 +1677,19 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Delete a service. # Delete a service. This will cause the Service to stop serving traffic and will
# This will cause the Service to stop serving traffic and will delete the # delete the child entities like Routes, Configurations and Revisions.
# child entities like Routes, Configurations and Revisions.
# @param [String] name # @param [String] name
# The name of the service to delete. # The name of the service to delete. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] api_version # @param [String] api_version
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] kind # @param [String] kind
# Cloud Run currently ignores this parameter. # Cloud Run currently ignores this parameter.
# @param [String] propagation_policy # @param [String] propagation_policy
# Specifies the propagation policy of delete. Cloud Run currently ignores # Specifies the propagation policy of delete. Cloud Run currently ignores this
# this setting, and deletes in the background. Please see # setting, and deletes in the background. Please see kubernetes.io/docs/concepts/
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for # workloads/controllers/garbage-collection/ for more information.
# more information.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1765,9 +1722,8 @@ module Google
# Get information about a service. # Get information about a service.
# @param [String] name # @param [String] name
# The name of the service to retrieve. # The name of the service to retrieve. For Cloud Run (fully managed), replace `
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # namespace_id` with the project ID or number.
# or number.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1795,21 +1751,19 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Get the IAM Access Control policy currently in effect for the given # Get the IAM Access Control policy currently in effect for the given Cloud Run
# Cloud Run service. This result does not include any inherited policies. # service. This result does not include any inherited policies.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being requested. # REQUIRED: The resource for which the policy is being requested. See the
# See the operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version # @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. # Optional. The policy format version to be returned. Valid values are 0, 1, and
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be # 3. Requests specifying an invalid value will be rejected. Requests for
# rejected. # policies with any conditional bindings must specify version 3. Policies
# Requests for policies with any conditional bindings must specify version 3. # without any conditional bindings may specify any valid value or leave the
# Policies without any conditional bindings may specify any valid value or # field unset. To learn which resources support conditions in their IAM policies,
# leave the field unset. # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# To learn which resources support conditions in their IAM policies, see the # resource-policies).
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1840,20 +1794,19 @@ module Google
# List services. # List services.
# @param [String] parent # @param [String] parent
# The namespace from which the services should be listed. # The namespace from which the services should be listed. For Cloud Run (fully
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # managed), replace `namespace_id` with the project ID or number.
# or number.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# The maximum number of records that should be returned. # The maximum number of records that should be returned.
# @param [String] resource_version # @param [String] resource_version
@ -1896,16 +1849,13 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Replace a service. # Replace a service. Only the spec and metadata labels and annotations are
# Only the spec and metadata labels and annotations are modifiable. After # modifiable. After the Update request, Cloud Run will work to make the 'status'
# the Update request, Cloud Run will work to make the 'status' # match the requested 'spec'. May provide metadata.resourceVersion to enforce
# match the requested 'spec'. # update from last read for optimistic concurrency control.
# May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control.
# @param [String] name # @param [String] name
# The name of the service being replaced. # The name of the service being replaced. For Cloud Run (fully managed), replace
# For Cloud Run (fully managed), replace `namespace_id` with the project ID # `namespace_id` with the project ID or number.
# or number.
# @param [Google::Apis::RunV1::Service] service_object # @param [Google::Apis::RunV1::Service] service_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1936,11 +1886,11 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the IAM Access control policy for the specified Service. Overwrites # Sets the IAM Access control policy for the specified Service. Overwrites any
# any existing policy. # existing policy.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. # REQUIRED: The resource for which the policy is being specified. See the
# See the operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
# @param [Google::Apis::RunV1::SetIamPolicyRequest] set_iam_policy_request_object # @param [Google::Apis::RunV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1971,11 +1921,11 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns permissions that a caller has on the specified Project. # Returns permissions that a caller has on the specified Project. There are no
# There are no permissions required for making this API call. # permissions required for making this API call.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested. # REQUIRED: The resource for which the policy detail is being requested. See the
# See the operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
# @param [Google::Apis::RunV1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [Google::Apis::RunV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1alpha1 module RunV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20200706' REVISION = '20200720'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' 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

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1beta1 module RunV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200706' REVISION = '20200720'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,18 +26,15 @@ module Google
class CustomResourceColumnDefinition class CustomResourceColumnDefinition
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# description is a human readable description of this column. # description is a human readable description of this column. +optional
# +optional
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# format is an optional OpenAPI type definition for this column. The 'name' # format is an optional OpenAPI type definition for this column. The 'name'
# format is applied to the primary identifier column to assist in clients # format is applied to the primary identifier column to assist in clients
# identifying column is the resource name. See # identifying column is the resource name. See https://github.com/OAI/OpenAPI-
# https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data- # Specification/blob/master/versions/2.0.md#data-types for more. +optional
# types
# for more. +optional
# Corresponds to the JSON property `format` # Corresponds to the JSON property `format`
# @return [String] # @return [String]
attr_accessor :format attr_accessor :format
@ -53,18 +50,15 @@ module Google
attr_accessor :name attr_accessor :name
# priority is an integer defining the relative importance of this column # priority is an integer defining the relative importance of this column
# compared to others. Lower numbers are considered higher priority. Columns # compared to others. Lower numbers are considered higher priority. Columns that
# that may be omitted in limited space scenarios should be given a higher # may be omitted in limited space scenarios should be given a higher priority. +
# priority. +optional # optional
# Corresponds to the JSON property `priority` # Corresponds to the JSON property `priority`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :priority attr_accessor :priority
# type is an OpenAPI type definition for this column. # type is an OpenAPI type definition for this column. See https://github.com/OAI/
# See # OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.
# https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-
# types
# for more.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type
@ -85,8 +79,7 @@ module Google
end end
# CustomResourceDefinition represents a resource that should be exposed on the # CustomResourceDefinition represents a resource that should be exposed on the
# API server. Its name MUST be in the format # API server. Its name MUST be in the format <.spec.name>.<.spec.group>.
# <.spec.name>.<.spec.group>.
class CustomResourceDefinition class CustomResourceDefinition
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -100,8 +93,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
# persisted resources must have, which includes all objects users must create. # resources must have, which includes all objects users must create.
# Corresponds to the JSON property `metadata` # Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1beta1::ObjectMeta] # @return [Google::Apis::RunV1beta1::ObjectMeta]
attr_accessor :metadata attr_accessor :metadata
@ -130,39 +123,39 @@ module Google
class CustomResourceDefinitionNames class CustomResourceDefinitionNames
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Categories is a list of grouped resources custom resources belong to (e.g. # Categories is a list of grouped resources custom resources belong to (e.g. '
# 'all') +optional # all') +optional
# Corresponds to the JSON property `categories` # Corresponds to the JSON property `categories`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :categories 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. # singular.
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# ListKind is the serialized kind of the list for this resource. Defaults to # ListKind is the serialized kind of the list for this resource. Defaults to
# <kind>List. +optional # List. +optional
# Corresponds to the JSON property `listKind` # Corresponds to the JSON property `listKind`
# @return [String] # @return [String]
attr_accessor :list_kind attr_accessor :list_kind
# Plural is the plural name of the resource to serve. It must match the name # Plural is the plural name of the resource to serve. It must match the name of
# of the CustomResourceDefinition-registration too: plural.group and it must # the CustomResourceDefinition-registration too: plural.group and it must be all
# be all lowercase. # lowercase.
# Corresponds to the JSON property `plural` # Corresponds to the JSON property `plural`
# @return [String] # @return [String]
attr_accessor :plural attr_accessor :plural
# ShortNames are short names for the resource. It must be all lowercase. # ShortNames are short names for the resource. It must be all lowercase. +
# +optional # optional
# Corresponds to the JSON property `shortNames` # Corresponds to the JSON property `shortNames`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :short_names attr_accessor :short_names
# Singular is the singular name of the resource. It must be all lowercase # Singular is the singular name of the resource. It must be all lowercase
# Defaults to lowercased <kind> +optional # Defaults to lowercased +optional
# Corresponds to the JSON property `singular` # Corresponds to the JSON property `singular`
# @return [String] # @return [String]
attr_accessor :singular attr_accessor :singular
@ -187,8 +180,8 @@ module Google
class CustomResourceDefinitionSpec class CustomResourceDefinitionSpec
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# AdditionalPrinterColumns are additional columns shown e.g. in kubectl next # AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to
# to the name. Defaults to a created-at column. +optional # the name. Defaults to a created-at column. +optional
# Corresponds to the JSON property `additionalPrinterColumns` # Corresponds to the JSON property `additionalPrinterColumns`
# @return [Array<Google::Apis::RunV1beta1::CustomResourceColumnDefinition>] # @return [Array<Google::Apis::RunV1beta1::CustomResourceColumnDefinition>]
attr_accessor :additional_printer_columns attr_accessor :additional_printer_columns
@ -204,8 +197,8 @@ module Google
# @return [Google::Apis::RunV1beta1::CustomResourceDefinitionNames] # @return [Google::Apis::RunV1beta1::CustomResourceDefinitionNames]
attr_accessor :names attr_accessor :names
# Scope indicates whether this resource is cluster or namespace scoped. # Scope indicates whether this resource is cluster or namespace scoped. Default
# Default is namespaced # is namespaced
# Corresponds to the JSON property `scope` # Corresponds to the JSON property `scope`
# @return [String] # @return [String]
attr_accessor :scope attr_accessor :scope
@ -221,28 +214,25 @@ module Google
# @return [Google::Apis::RunV1beta1::CustomResourceValidation] # @return [Google::Apis::RunV1beta1::CustomResourceValidation]
attr_accessor :validation attr_accessor :validation
# Version is the version this resource belongs in # Version is the version this resource belongs in Should be always first item in
# Should be always first item in Versions field if provided. # Versions field if provided. Optional, but at least one of Version or Versions
# Optional, but at least one of Version or Versions must be set. # must be set. Deprecated: Please use `Versions`. +optional
# Deprecated: Please use `Versions`.
# +optional
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [String] # @return [String]
attr_accessor :version attr_accessor :version
# Versions is the list of all supported versions for this resource. # Versions is the list of all supported versions for this resource. If Version
# If Version field is provided, this field is optional. # field is provided, this field is optional. Validation: All versions must use
# Validation: All versions must use the same validation schema for now. i.e., # the same validation schema for now. i.e., top level Validation field is
# top level Validation field is applied to all of these versions. Order: The # applied to all of these versions. Order: The version name will be used to
# version name will be used to compute the order. If the version string is # compute the order. If the version string is "kube-like", it will sort above
# "kube-like", it will sort above non "kube-like" version strings, which are # non "kube-like" version strings, which are ordered lexicographically. "Kube-
# ordered lexicographically. "Kube-like" versions start with a "v", then are # like" versions start with a "v", then are followed by a number (the major
# followed by a number (the major version), then optionally the string # version), then optionally the string "alpha" or "beta" and another number (the
# "alpha" or "beta" and another number (the minor version). These are sorted # minor version). These are sorted first by GA > beta > alpha (where GA is a
# first by GA > beta > alpha (where GA is a version with no suffix such as # version with no suffix such as beta or alpha), and then by comparing major
# beta or alpha), and then by comparing major version, then minor version. An # version, then minor version. An example sorted list of versions: v10, v2, v1,
# example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, # v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional
# v12alpha1, v11alpha2, foo1, foo10. +optional
# Corresponds to the JSON property `versions` # Corresponds to the JSON property `versions`
# @return [Array<Google::Apis::RunV1beta1::CustomResourceDefinitionVersion>] # @return [Array<Google::Apis::RunV1beta1::CustomResourceDefinitionVersion>]
attr_accessor :versions attr_accessor :versions
@ -306,28 +296,28 @@ module Google
# LabelSelectorPath defines the JSON path inside of a CustomResource that # LabelSelectorPath defines the JSON path inside of a CustomResource that
# corresponds to Scale.Status.Selector. Only JSON paths without the array # 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 # notation are allowed. Must be a JSON Path under .status. Must be set to work
# work with HPA. If there is no value under the given path in the # with HPA. If there is no value under the given path in the CustomResource, the
# CustomResource, the status label selector value in the /scale subresource # status label selector value in the /scale subresource will default to the
# will default to the empty string. +optional # empty string. +optional
# Corresponds to the JSON property `labelSelectorPath` # Corresponds to the JSON property `labelSelectorPath`
# @return [String] # @return [String]
attr_accessor :label_selector_path attr_accessor :label_selector_path
# SpecReplicasPath defines the JSON path inside of a CustomResource that # SpecReplicasPath defines the JSON path inside of a CustomResource that
# corresponds to Scale.Spec.Replicas. Only JSON paths without the array # corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation
# notation are allowed. Must be a JSON Path under .spec. If there is no value # are allowed. Must be a JSON Path under .spec. If there is no value under the
# under the given path in the CustomResource, the /scale subresource will # given path in the CustomResource, the /scale subresource will return an error
# return an error on GET. # on GET.
# Corresponds to the JSON property `specReplicasPath` # Corresponds to the JSON property `specReplicasPath`
# @return [String] # @return [String]
attr_accessor :spec_replicas_path attr_accessor :spec_replicas_path
# StatusReplicasPath defines the JSON path inside of a CustomResource that # StatusReplicasPath defines the JSON path inside of a CustomResource that
# corresponds to Scale.Status.Replicas. Only JSON paths without the array # 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 # notation are allowed. Must be a JSON Path under .status. If there is no value
# value under the given path in the CustomResource, the status replica value # under the given path in the CustomResource, the status replica value in the /
# in the /scale subresource will default to 0. # scale subresource will default to 0.
# Corresponds to the JSON property `statusReplicasPath` # Corresponds to the JSON property `statusReplicasPath`
# @return [String] # @return [String]
attr_accessor :status_replicas_path attr_accessor :status_replicas_path
@ -346,12 +336,10 @@ module Google
# CustomResourceSubresourceStatus defines how to serve the status subresource # CustomResourceSubresourceStatus defines how to serve the status subresource
# for CustomResources. Status is represented by the `.status` JSON path inside # for CustomResources. Status is represented by the `.status` JSON path inside
# of a CustomResource. When set, # of a CustomResource. When set, * exposes a /status subresource for the custom
# * exposes a /status subresource for the custom resource # resource * PUT requests to the /status subresource take a custom resource
# * PUT requests to the /status subresource take a custom resource object, and # object, and ignore changes to anything except the status stanza * PUT/POST/
# ignore changes to anything except the status stanza # PATCH requests to the custom resource ignore changes to the status stanza
# * PUT/POST/PATCH requests to the custom resource ignore changes to the status
# stanza
class CustomResourceSubresourceStatus class CustomResourceSubresourceStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -377,12 +365,10 @@ module Google
# CustomResourceSubresourceStatus defines how to serve the status subresource # CustomResourceSubresourceStatus defines how to serve the status subresource
# for CustomResources. Status is represented by the `.status` JSON path inside # for CustomResources. Status is represented by the `.status` JSON path inside
# of a CustomResource. When set, # of a CustomResource. When set, * exposes a /status subresource for the custom
# * exposes a /status subresource for the custom resource # resource * PUT requests to the /status subresource take a custom resource
# * PUT requests to the /status subresource take a custom resource object, and # object, and ignore changes to anything except the status stanza * PUT/POST/
# ignore changes to anything except the status stanza # PATCH requests to the custom resource ignore changes to the status stanza
# * PUT/POST/PATCH requests to the custom resource ignore changes to the status
# stanza
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [Google::Apis::RunV1beta1::CustomResourceSubresourceStatus] # @return [Google::Apis::RunV1beta1::CustomResourceSubresourceStatus]
attr_accessor :status attr_accessor :status
@ -402,8 +388,8 @@ module Google
class CustomResourceValidation class CustomResourceValidation
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# JSONSchemaProps is a JSON-Schema following Specification Draft 4 # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-
# (http://json-schema.org/). # schema.org/).
# Corresponds to the JSON property `openAPIV3Schema` # Corresponds to the JSON property `openAPIV3Schema`
# @return [Google::Apis::RunV1beta1::JsonSchemaProps] # @return [Google::Apis::RunV1beta1::JsonSchemaProps]
attr_accessor :open_apiv3_schema attr_accessor :open_apiv3_schema
@ -444,9 +430,8 @@ module Google
end end
end end
# JSON represents any valid JSON value. # JSON represents any valid JSON value. These types are supported: bool, int64,
# These types are supported: bool, int64, float64, string, []interface``, # float64, string, []interface``, map[string]interface`` and nil.
# map[string]interface`` and nil.
class Json class Json
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -466,19 +451,19 @@ module Google
end end
end end
# JSONSchemaProps is a JSON-Schema following Specification Draft 4 # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-
# (http://json-schema.org/). # schema.org/).
class JsonSchemaProps class JsonSchemaProps
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults
# Defaults to true for the boolean property. # to true for the boolean property.
# Corresponds to the JSON property `additionalItems` # Corresponds to the JSON property `additionalItems`
# @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool] # @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool]
attr_accessor :additional_items attr_accessor :additional_items
# JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults
# Defaults to true for the boolean property. # to true for the boolean property.
# Corresponds to the JSON property `additionalProperties` # Corresponds to the JSON property `additionalProperties`
# @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool] # @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrBool]
attr_accessor :additional_properties attr_accessor :additional_properties
@ -493,9 +478,8 @@ module Google
# @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>] # @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
attr_accessor :any_of attr_accessor :any_of
# JSON represents any valid JSON value. # JSON represents any valid JSON value. These types are supported: bool, int64,
# These types are supported: bool, int64, float64, string, []interface``, # float64, string, []interface``, map[string]interface`` and nil.
# map[string]interface`` and nil.
# Corresponds to the JSON property `default` # Corresponds to the JSON property `default`
# @return [Google::Apis::RunV1beta1::Json] # @return [Google::Apis::RunV1beta1::Json]
attr_accessor :default attr_accessor :default
@ -520,9 +504,8 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :enum attr_accessor :enum
# JSON represents any valid JSON value. # JSON represents any valid JSON value. These types are supported: bool, int64,
# These types are supported: bool, int64, float64, string, []interface``, # float64, string, []interface``, map[string]interface`` and nil.
# map[string]interface`` and nil.
# Corresponds to the JSON property `example` # Corresponds to the JSON property `example`
# @return [Google::Apis::RunV1beta1::Json] # @return [Google::Apis::RunV1beta1::Json]
attr_accessor :example attr_accessor :example
@ -555,9 +538,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :id attr_accessor :id
# JSONSchemaPropsOrArray represents a value that can either be a # JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps
# JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization # or an array of JSONSchemaProps. Mainly here for serialization purposes.
# purposes.
# Corresponds to the JSON property `items` # Corresponds to the JSON property `items`
# @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrArray] # @return [Google::Apis::RunV1beta1::JsonSchemaPropsOrArray]
attr_accessor :items attr_accessor :items
@ -607,8 +589,8 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :multiple_of attr_accessor :multiple_of
# JSONSchemaProps is a JSON-Schema following Specification Draft 4 # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-
# (http://json-schema.org/). # schema.org/).
# Corresponds to the JSON property `not` # Corresponds to the JSON property `not`
# @return [Google::Apis::RunV1beta1::JsonSchemaProps] # @return [Google::Apis::RunV1beta1::JsonSchemaProps]
attr_accessor :not attr_accessor :not
@ -709,9 +691,8 @@ module Google
end end
end end
# JSONSchemaPropsOrArray represents a value that can either be a # JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps
# JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization # or an array of JSONSchemaProps. Mainly here for serialization purposes.
# purposes.
class JsonSchemaPropsOrArray class JsonSchemaPropsOrArray
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -720,8 +701,8 @@ module Google
# @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>] # @return [Array<Google::Apis::RunV1beta1::JsonSchemaProps>]
attr_accessor :json_schemas attr_accessor :json_schemas
# JSONSchemaProps is a JSON-Schema following Specification Draft 4 # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-
# (http://json-schema.org/). # schema.org/).
# Corresponds to the JSON property `schema` # Corresponds to the JSON property `schema`
# @return [Google::Apis::RunV1beta1::JsonSchemaProps] # @return [Google::Apis::RunV1beta1::JsonSchemaProps]
attr_accessor :schema attr_accessor :schema
@ -737,8 +718,8 @@ module Google
end end
end end
# JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults
# Defaults to true for the boolean property. # to true for the boolean property.
class JsonSchemaPropsOrBool class JsonSchemaPropsOrBool
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -748,8 +729,8 @@ module Google
attr_accessor :allows attr_accessor :allows
alias_method :allows?, :allows alias_method :allows?, :allows
# JSONSchemaProps is a JSON-Schema following Specification Draft 4 # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-
# (http://json-schema.org/). # schema.org/).
# Corresponds to the JSON property `schema` # Corresponds to the JSON property `schema`
# @return [Google::Apis::RunV1beta1::JsonSchemaProps] # @return [Google::Apis::RunV1beta1::JsonSchemaProps]
attr_accessor :schema attr_accessor :schema
@ -774,8 +755,8 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :property attr_accessor :property
# JSONSchemaProps is a JSON-Schema following Specification Draft 4 # JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-
# (http://json-schema.org/). # schema.org/).
# Corresponds to the JSON property `schema` # Corresponds to the JSON property `schema`
# @return [Google::Apis::RunV1beta1::JsonSchemaProps] # @return [Google::Apis::RunV1beta1::JsonSchemaProps]
attr_accessor :schema attr_accessor :schema
@ -811,8 +792,8 @@ module Google
attr_accessor :kind attr_accessor :kind
# ListMeta describes metadata that synthetic resources must have, including # ListMeta describes metadata that synthetic resources must have, including
# lists and various status objects. A resource may have only one of # lists and various status objects. A resource may have only one of `ObjectMeta,
# `ObjectMeta, ListMeta`. # ListMeta`.
# Corresponds to the JSON property `metadata` # Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1beta1::ListMeta] # @return [Google::Apis::RunV1beta1::ListMeta]
attr_accessor :metadata attr_accessor :metadata
@ -837,39 +818,33 @@ module Google
end end
# ListMeta describes metadata that synthetic resources must have, including # ListMeta describes metadata that synthetic resources must have, including
# lists and various status objects. A resource may have only one of # lists and various status objects. A resource may have only one of `ObjectMeta,
# `ObjectMeta, ListMeta`. # ListMeta`.
class ListMeta class ListMeta
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# continue may be set if the user set a limit on the number of items # continue may be set if the user set a limit on the number of items returned,
# returned, and indicates that the server has more data available. The value # and indicates that the server has more data available. The value is opaque and
# is opaque and may be used to issue another request to the endpoint that # may be used to issue another request to the endpoint that served this list to
# served this list to retrieve the next set of available objects. Continuing # retrieve the next set of available objects. Continuing a list may not be
# a list may not be possible if the server configuration has changed or more # possible if the server configuration has changed or more than a few minutes
# than a few minutes have passed. The resourceVersion field returned when # have passed. The resourceVersion field returned when using this continue value
# using this continue value will be identical to the value in the first # will be identical to the value in the first response.
# response.
# Corresponds to the JSON property `continue` # Corresponds to the JSON property `continue`
# @return [String] # @return [String]
attr_accessor :continue attr_accessor :continue
# String that identifies the server's internal version of this object that # String that identifies the server's internal version of this object that can
# can be used by clients to determine when objects have changed. Value must # be used by clients to determine when objects have changed. Value must be
# be treated as opaque by clients and passed unmodified back to the server. # treated as opaque by clients and passed unmodified back to the server.
# Populated by the system. # Populated by the system. Read-only. More info: https://git.k8s.io/community/
# Read-only. # contributors/devel/api-conventions.md#concurrency-control-and-consistency +
# More info: # optional
# https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
# control-and-consistency
# +optional
# Corresponds to the JSON property `resourceVersion` # Corresponds to the JSON property `resourceVersion`
# @return [String] # @return [String]
attr_accessor :resource_version attr_accessor :resource_version
# SelfLink is a URL representing this object. # SelfLink is a URL representing this object. Populated by the system. Read-only.
# Populated by the system.
# Read-only.
# +optional # +optional
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
@ -887,193 +862,155 @@ module Google
end end
end end
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
# persisted resources must have, which includes all objects users must create. # resources must have, which includes all objects users must create.
class ObjectMeta class ObjectMeta
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# (Optional) # (Optional) Annotations is an unstructured key value map stored with a resource
# Annotations is an unstructured key value map stored with a resource that # that may be set by external tools to store and retrieve arbitrary metadata.
# may be set by external tools to store and retrieve arbitrary metadata. They # They are not queryable and should be preserved when modifying objects. More
# are not queryable and should be preserved when modifying objects. More
# info: http://kubernetes.io/docs/user-guide/annotations # info: http://kubernetes.io/docs/user-guide/annotations
# Corresponds to the JSON property `annotations` # Corresponds to the JSON property `annotations`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :annotations attr_accessor :annotations
# (Optional) # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# Cloud Run fully managed: not supported # supported The name of the cluster which the object belongs to. This is used to
# Cloud Run for Anthos: supported # distinguish resources with same name and namespace in different clusters. This
# The name of the cluster which the object belongs to. # field is not set anywhere right now and apiserver is going to ignore it if set
# This is used to distinguish resources with same name and namespace in # in create or update request.
# 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` # Corresponds to the JSON property `clusterName`
# @return [String] # @return [String]
attr_accessor :cluster_name attr_accessor :cluster_name
# (Optional) # (Optional) CreationTimestamp is a timestamp representing the server time when
# CreationTimestamp is a timestamp representing the server time when this # this object was created. It is not guaranteed to be set in happens-before
# object was created. It is not guaranteed to be set in happens-before order # order across separate operations. Clients may not set this value. It is
# 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.
# represented in RFC3339 form and is in UTC. # Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-
# Populated by the system. # conventions.md#metadata
# Read-only.
# Null for lists.
# More info:
# https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
# Corresponds to the JSON property `creationTimestamp` # Corresponds to the JSON property `creationTimestamp`
# @return [String] # @return [String]
attr_accessor :creation_timestamp attr_accessor :creation_timestamp
# (Optional) # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# Cloud Run fully managed: not supported # supported Number of seconds allowed for this object to gracefully terminate
# Cloud Run for Anthos: supported # before it will be removed from the system. Only set when deletionTimestamp is
# Number of seconds allowed for this object to gracefully terminate before # also set. May only be shortened. Read-only.
# 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` # Corresponds to the JSON property `deletionGracePeriodSeconds`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :deletion_grace_period_seconds attr_accessor :deletion_grace_period_seconds
# (Optional) # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# Cloud Run fully managed: not supported # supported DeletionTimestamp is RFC 3339 date and time at which this resource
# Cloud Run for Anthos: supported # will be deleted. This field is set by the server when a graceful deletion is
# DeletionTimestamp is RFC 3339 date and time at which this resource will be # requested by the user, and is not directly settable by a client. The resource
# deleted. This field is set by the server when a graceful deletion is # is expected to be deleted (no longer visible from resource lists, and not
# requested by the user, and is not directly settable by a client. The # reachable by name) after the time in this field, once the finalizers list is
# resource is expected to be deleted (no longer visible from resource lists, # empty. As long as the finalizers list contains items, deletion is blocked.
# and not reachable by name) after the time in this field, once the # Once the deletionTimestamp is set, this value may not be unset or be set
# finalizers list is empty. As long as the finalizers list contains items, # further into the future, although it may be shortened or the resource may be
# deletion is blocked. Once the deletionTimestamp is set, this value may not # deleted prior to this time. For example, a user may request that a pod is
# be unset or be set further into the future, although it may be shortened or # deleted in 30 seconds. The Kubelet will react by sending a graceful
# the resource may be deleted prior to this time. For example, a user may # termination signal to the containers in the pod. After that 30 seconds, the
# request that a pod is deleted in 30 seconds. The Kubelet will react by # Kubelet will send a hard termination signal (SIGKILL) to the container and
# sending a graceful termination signal to the containers in the pod. After # after cleanup, remove the pod from the API. In the presence of network
# that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) # partitions, this object may still exist after this timestamp, until an
# to the container and after cleanup, remove the pod from the API. In the # administrator or automated process can determine the resource is fully
# presence of network partitions, this object may still exist after this # terminated. If not set, graceful deletion of the object has not been requested.
# timestamp, until an administrator or automated process can determine the # Populated by the system when a graceful deletion is requested. Read-only.
# resource is fully terminated. # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
# If not set, graceful deletion of the object has not been requested. # metadata
# 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` # Corresponds to the JSON property `deletionTimestamp`
# @return [String] # @return [String]
attr_accessor :deletion_timestamp attr_accessor :deletion_timestamp
# (Optional) # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# Cloud Run fully managed: not supported # supported Must be empty before the object is deleted from the registry. Each
# Cloud Run for Anthos: supported # entry is an identifier for the responsible component that will remove the
# Must be empty before the object is deleted from the registry. Each entry # entry from the list. If the deletionTimestamp of the object is non-nil,
# is an identifier for the responsible component that will remove the entry # entries in this list can only be removed. +patchStrategy=merge
# 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` # Corresponds to the JSON property `finalizers`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :finalizers attr_accessor :finalizers
# (Optional) # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# Cloud Run fully managed: not supported # supported GenerateName is an optional prefix, used by the server, to generate
# Cloud Run for Anthos: supported # a unique name ONLY IF the Name field has not been provided. If this field is
# GenerateName is an optional prefix, used by the server, to generate a # used, the name returned to the client will be different than the name passed.
# unique name ONLY IF the Name field has not been provided. If this field is # This value will also be combined with a unique suffix. The provided value has
# used, the name returned to the client will be different than the name # the same validation rules as the Name field, and may be truncated by the
# passed. This value will also be combined with a unique suffix. The provided # length of the suffix required to make the value unique on the server. If this
# value has the same validation rules as the Name field, and may be truncated # field is specified and the generated name exists, the server will NOT return a
# by the length of the suffix required to make the value unique on the # 409 - instead, it will either return 201 Created or 500 with Reason
# server. # ServerTimeout indicating a unique name could not be found in the time allotted,
# If this field is specified and the generated name exists, the server will # and the client should retry (optionally after the time indicated in the Retry-
# NOT return a 409 - instead, it will either return 201 Created or 500 with # After header). Applied only if Name is not specified. More info: https://git.
# Reason ServerTimeout indicating a unique name could not be found in the # k8s.io/community/contributors/devel/api-conventions.md#idempotency string
# time allotted, and the client should retry (optionally after the time # generateName = 2;
# 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` # Corresponds to the JSON property `generateName`
# @return [String] # @return [String]
attr_accessor :generate_name attr_accessor :generate_name
# (Optional) # (Optional) A sequence number representing a specific generation of the desired
# A sequence number representing a specific generation of the desired state. # state. Populated by the system. Read-only.
# Populated by the system. Read-only.
# Corresponds to the JSON property `generation` # Corresponds to the JSON property `generation`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :generation attr_accessor :generation
# (Optional) # (Optional) Map of string keys and values that can be used to organize and
# Map of string keys and values that can be used to organize and categorize # categorize (scope and select) objects. May match selectors of replication
# (scope and select) objects. May match selectors of replication controllers # controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels
# and routes.
# More info: http://kubernetes.io/docs/user-guide/labels
# Corresponds to the JSON property `labels` # Corresponds to the JSON property `labels`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# Name must be unique within a namespace, within a Cloud Run region. # Name must be unique within a namespace, within a Cloud Run region. Is required
# Is required when creating # when creating resources, although some resources may allow a client to request
# resources, although some resources may allow a client to request the # the generation of an appropriate name automatically. Name is primarily
# generation of an appropriate name automatically. Name is primarily intended # intended for creation idempotence and configuration definition. Cannot be
# for creation idempotence and configuration definition. Cannot be updated. # updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +
# More info: http://kubernetes.io/docs/user-guide/identifiers#names # optional
# +optional
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Namespace defines the space within each name must be unique, within a # Namespace defines the space within each name must be unique, within a Cloud
# Cloud Run region. In Cloud Run the namespace must be equal to either the # Run region. In Cloud Run the namespace must be equal to either the project ID
# project ID or project number. # or project number.
# Corresponds to the JSON property `namespace` # Corresponds to the JSON property `namespace`
# @return [String] # @return [String]
attr_accessor :namespace attr_accessor :namespace
# (Optional) # (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
# Cloud Run fully managed: not supported # supported List of objects that own this object. If ALL objects in the list
# Cloud Run for Anthos: supported # have been deleted, this object will be garbage collected.
# 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` # Corresponds to the JSON property `ownerReferences`
# @return [Array<Google::Apis::RunV1beta1::OwnerReference>] # @return [Array<Google::Apis::RunV1beta1::OwnerReference>]
attr_accessor :owner_references attr_accessor :owner_references
# (Optional) # (Optional) An opaque value that represents the internal version of this object
# An opaque value that represents the internal version of this object that # that can be used by clients to determine when objects have changed. May be
# can be used by clients to determine when objects have changed. May be used # used for optimistic concurrency, change detection, and the watch operation on
# for optimistic concurrency, change detection, and the watch operation on a # a resource or set of resources. Clients must treat these values as opaque and
# 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
# passed unmodified back to the server. They may only be valid for a # resource or set of resources. Populated by the system. Read-only. Value must
# particular resource or set of resources. # be treated as opaque by clients and . More info: https://git.k8s.io/community/
# Populated by the system. # contributors/devel/api-conventions.md#concurrency-control-and-consistency
# 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` # Corresponds to the JSON property `resourceVersion`
# @return [String] # @return [String]
attr_accessor :resource_version attr_accessor :resource_version
# (Optional) # (Optional) SelfLink is a URL representing this object. Populated by the system.
# SelfLink is a URL representing this object. # Read-only. string selfLink = 4;
# Populated by the system.
# Read-only.
# string selfLink = 4;
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
attr_accessor :self_link attr_accessor :self_link
# (Optional) # (Optional) UID is the unique in time and space value for this object. It is
# UID is the unique in time and space value for this object. It is typically # typically generated by the server on successful creation of a resource and is
# generated by the server on successful creation of a resource and is not # not allowed to change on PUT operations. Populated by the system. Read-only.
# allowed to change on PUT operations.
# Populated by the system.
# Read-only.
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
# Corresponds to the JSON property `uid` # Corresponds to the JSON property `uid`
# @return [String] # @return [String]
@ -1104,8 +1041,8 @@ module Google
end end
# OwnerReference contains enough information to let you identify an owning # OwnerReference contains enough information to let you identify an owning
# object. Currently, an owning object must be in the same namespace, so there # object. Currently, an owning object must be in the same namespace, so there is
# is no namespace field. # no namespace field.
class OwnerReference class OwnerReference
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1114,40 +1051,36 @@ module Google
# @return [String] # @return [String]
attr_accessor :api_version attr_accessor :api_version
# If true, AND if the owner has the "foregroundDeletion" finalizer, then # If true, AND if the owner has the "foregroundDeletion" finalizer, then the
# the owner cannot be deleted from the key-value store until this # owner cannot be deleted from the key-value store until this reference is
# reference is removed. # removed. Defaults to false. To set this field, a user needs "delete"
# Defaults to false. # permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
# To set this field, a user needs "delete" permission of the owner,
# otherwise 422 (Unprocessable Entity) will be returned.
# +optional # +optional
# Corresponds to the JSON property `blockOwnerDeletion` # Corresponds to the JSON property `blockOwnerDeletion`
# @return [Boolean] # @return [Boolean]
attr_accessor :block_owner_deletion attr_accessor :block_owner_deletion
alias_method :block_owner_deletion?, :block_owner_deletion alias_method :block_owner_deletion?, :block_owner_deletion
# If true, this reference points to the managing controller. # If true, this reference points to the managing controller. +optional
# +optional
# Corresponds to the JSON property `controller` # Corresponds to the JSON property `controller`
# @return [Boolean] # @return [Boolean]
attr_accessor :controller attr_accessor :controller
alias_method :controller?, :controller alias_method :controller?, :controller
# Kind of the referent. # Kind of the referent. More info: https://git.k8s.io/community/contributors/
# More info: # devel/api-conventions.md#types-kinds
# https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
# Corresponds to the JSON property `kind` # Corresponds to the JSON property `kind`
# @return [String] # @return [String]
attr_accessor :kind attr_accessor :kind
# Name of the referent. # Name of the referent. More info: http://kubernetes.io/docs/user-guide/
# More info: http://kubernetes.io/docs/user-guide/identifiers#names # identifiers#names
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# UID of the referent. # UID of the referent. More info: http://kubernetes.io/docs/user-guide/
# More info: http://kubernetes.io/docs/user-guide/identifiers#uids # identifiers#uids
# Corresponds to the JSON property `uid` # Corresponds to the JSON property `uid`
# @return [String] # @return [String]
attr_accessor :uid attr_accessor :uid

View File

@ -52,18 +52,17 @@ module Google
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# @param [String] parent # @param [String] parent
# The project ID or project number from which the storages should # The project ID or project number from which the storages should be listed.
# be listed.
# @param [String] resource_version # @param [String] resource_version
# The baseline resource version from which the list or watch operation should # The baseline resource version from which the list or watch operation should
# start. Not currently used by Cloud Run. # start. Not currently used by Cloud Run.
@ -106,8 +105,8 @@ module Google
# Rpc to get information about a CustomResourceDefinition. # Rpc to get information about a CustomResourceDefinition.
# @param [String] name # @param [String] name
# The name of the CustomResourceDefinition being retrieved. If needed, # The name of the CustomResourceDefinition being retrieved. If needed, replace `
# replace `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -137,8 +136,8 @@ module Google
# Rpc to get information about a CustomResourceDefinition. # Rpc to get information about a CustomResourceDefinition.
# @param [String] name # @param [String] name
# The name of the CustomResourceDefinition being retrieved. If needed, # The name of the CustomResourceDefinition being retrieved. If needed, replace `
# replace `namespace_id` with the project ID. # namespace_id` with the project ID.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -168,19 +167,18 @@ module Google
# Rpc to list custom resource definitions. # Rpc to list custom resource definitions.
# @param [String] parent # @param [String] parent
# The project ID or project number from which the storages should # The project ID or project number from which the storages should be listed.
# be listed.
# @param [String] continue # @param [String] continue
# Optional encoded string to continue paging. # Optional encoded string to continue paging.
# @param [String] field_selector # @param [String] field_selector
# Allows to filter resources based on a specific value for a field name. # Allows to filter resources based on a specific value for a field name. Send
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'. # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
# Not currently used by Cloud Run. # used by Cloud Run.
# @param [Boolean] include_uninitialized # @param [Boolean] include_uninitialized
# Not currently used by Cloud Run. # Not currently used by Cloud Run.
# @param [String] label_selector # @param [String] label_selector
# Allows to filter resources based on a label. Supported operations are # Allows to filter resources based on a label. Supported operations are =, !=,
# =, !=, exists, in, and notIn. # exists, in, and notIn.
# @param [Fixnum] limit # @param [Fixnum] limit
# @param [String] resource_version # @param [String] resource_version
# The baseline resource version from which the list or watch operation should # The baseline resource version from which the list or watch operation should

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1 module ServiceconsumermanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200719' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1967,7 +1967,7 @@ module Google
# existing data unusable. # existing data unusable.
# The following are specific rules for service defined Monitoring metric # The following are specific rules for service defined Monitoring metric
# descriptors: # 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 # fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed. # * Maximum of default 500 metric descriptors per service is allowed.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1beta1 module ServiceconsumermanagementV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200711' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1745,7 +1745,7 @@ module Google
# existing data unusable. # existing data unusable.
# The following are specific rules for service defined Monitoring metric # The following are specific rules for service defined Monitoring metric
# descriptors: # 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 # fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed. # * Maximum of default 500 metric descriptors per service is allowed.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1 module ServicenetworkingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200711' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2318,7 +2318,7 @@ module Google
# existing data unusable. # existing data unusable.
# The following are specific rules for service defined Monitoring metric # The following are specific rules for service defined Monitoring metric
# descriptors: # 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 # fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed. # * Maximum of default 500 metric descriptors per service is allowed.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta module ServicenetworkingV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200711' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2076,7 +2076,7 @@ module Google
# existing data unusable. # existing data unusable.
# The following are specific rules for service defined Monitoring metric # The following are specific rules for service defined Monitoring metric
# descriptors: # 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 # fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed. # * Maximum of default 500 metric descriptors per service is allowed.

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1 module ServiceusageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200711' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2975,7 +2975,7 @@ module Google
# existing data unusable. # existing data unusable.
# The following are specific rules for service defined Monitoring metric # The following are specific rules for service defined Monitoring metric
# descriptors: # 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 # fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed. # * Maximum of default 500 metric descriptors per service is allowed.

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1 module ServiceusageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200711' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3152,7 +3152,7 @@ module Google
# existing data unusable. # existing data unusable.
# The following are specific rules for service defined Monitoring metric # The following are specific rules for service defined Monitoring metric
# descriptors: # 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 # fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed. # * Maximum of default 500 metric descriptors per service is allowed.

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/ # @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3 module ToolresultsV1beta3
VERSION = 'V1beta3' VERSION = 'V1beta3'
REVISION = '20200513' REVISION = '20200722'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -908,6 +908,14 @@ module Google
attr_accessor :crashed attr_accessor :crashed
alias_method :crashed?, :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. # 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. # This might be caused by trying to run a test on an unsupported platform.
# Corresponds to the JSON property `notInstalled` # Corresponds to the JSON property `notInstalled`
@ -941,6 +949,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@crashed = args[:crashed] if args.key?(:crashed) @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) @not_installed = args[:not_installed] if args.key?(:not_installed)
@other_native_crash = args[:other_native_crash] if args.key?(:other_native_crash) @other_native_crash = args[:other_native_crash] if args.key?(:other_native_crash)
@timed_out = args[:timed_out] if args.key?(:timed_out) @timed_out = args[:timed_out] if args.key?(:timed_out)

View File

@ -887,6 +887,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :crashed, as: 'crashed' property :crashed, as: 'crashed'
property :failed_roboscript, as: 'failedRoboscript'
property :not_installed, as: 'notInstalled' property :not_installed, as: 'notInstalled'
property :other_native_crash, as: 'otherNativeCrash' property :other_native_crash, as: 'otherNativeCrash'
property :timed_out, as: 'timedOut' property :timed_out, as: 'timedOut'

File diff suppressed because it is too large Load Diff