Autogenerated update (2019-08-22)

Update:
- cloudscheduler_v1
- cloudscheduler_v1beta1
- dataproc_v1
- dataproc_v1beta2
- factchecktools_v1alpha1
- iam_v1
- toolresults_v1beta3
This commit is contained in:
Google APIs 2019-08-22 00:37:52 +00:00
parent 4ad2e5c864
commit 177d39d36e
20 changed files with 464 additions and 196 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/scheduler/
module CloudschedulerV1
VERSION = 'V1'
REVISION = '20190604'
REVISION = '20190815'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -303,8 +303,7 @@ module Google
# @return [Google::Apis::CloudschedulerV1::OidcToken]
attr_accessor :oidc_token
# Required.
# The full URI path that the request will be sent to. This string
# Required. The full URI path that the request will be sent to. This string
# must begin with either "http://" or "https://". Some examples of
# valid values for uri are:
# `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will
@ -755,8 +754,7 @@ module Google
# @return [String]
attr_accessor :data
# Required.
# The name of the Cloud Pub/Sub topic to which messages will
# Required. The name of the Cloud Pub/Sub topic to which messages will
# be published when a job is delivered. The topic name must be in the
# same format as required by PubSub's
# [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/

View File

@ -118,8 +118,7 @@ module Google
# Creates a job.
# @param [String] parent
# Required.
# The location name. For example:
# Required. The location name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID`.
# @param [Google::Apis::CloudschedulerV1::Job] job_object
# @param [String] fields
@ -153,8 +152,7 @@ module Google
# Deletes a job.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -185,8 +183,7 @@ module Google
# Gets a job.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -217,8 +214,7 @@ module Google
# Lists jobs.
# @param [String] parent
# Required.
# The location name. For example:
# Required. The location name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID`.
# @param [Fixnum] page_size
# Requested page size.
@ -327,8 +323,7 @@ module Google
# will be set to Job.State.PAUSED. A job must be in Job.State.ENABLED
# to be paused.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [Google::Apis::CloudschedulerV1::PauseJobRequest] pause_job_request_object
# @param [String] fields
@ -366,8 +361,7 @@ module Google
# will be set to Job.State.ENABLED. A job must be in
# Job.State.PAUSED to be resumed.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [Google::Apis::CloudschedulerV1::ResumeJobRequest] resume_job_request_object
# @param [String] fields
@ -403,8 +397,7 @@ module Google
# When this method is called, Cloud Scheduler will dispatch the job, even
# if the job is already running.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [Google::Apis::CloudschedulerV1::RunJobRequest] run_job_request_object
# @param [String] fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/scheduler/
module CloudschedulerV1beta1
VERSION = 'V1beta1'
REVISION = '20190604'
REVISION = '20190815'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -303,8 +303,7 @@ module Google
# @return [Google::Apis::CloudschedulerV1beta1::OidcToken]
attr_accessor :oidc_token
# Required.
# The full URI path that the request will be sent to. This string
# Required. The full URI path that the request will be sent to. This string
# must begin with either "http://" or "https://". Some examples of
# valid values for uri are:
# `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will
@ -756,8 +755,7 @@ module Google
# @return [String]
attr_accessor :data
# Required.
# The name of the Cloud Pub/Sub topic to which messages will
# Required. The name of the Cloud Pub/Sub topic to which messages will
# be published when a job is delivered. The topic name must be in the
# same format as required by PubSub's
# [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/

View File

@ -118,8 +118,7 @@ module Google
# Creates a job.
# @param [String] parent
# Required.
# The location name. For example:
# Required. The location name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID`.
# @param [Google::Apis::CloudschedulerV1beta1::Job] job_object
# @param [String] fields
@ -153,8 +152,7 @@ module Google
# Deletes a job.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -185,8 +183,7 @@ module Google
# Gets a job.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -217,8 +214,7 @@ module Google
# Lists jobs.
# @param [String] parent
# Required.
# The location name. For example:
# Required. The location name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID`.
# @param [Fixnum] page_size
# Requested page size.
@ -327,8 +323,7 @@ module Google
# will be set to Job.State.PAUSED. A job must be in Job.State.ENABLED
# to be paused.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [Google::Apis::CloudschedulerV1beta1::PauseJobRequest] pause_job_request_object
# @param [String] fields
@ -366,8 +361,7 @@ module Google
# will be set to Job.State.ENABLED. A job must be in
# Job.State.PAUSED to be resumed.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [Google::Apis::CloudschedulerV1beta1::ResumeJobRequest] resume_job_request_object
# @param [String] fields
@ -403,8 +397,7 @@ module Google
# When this method is called, Cloud Scheduler will dispatch the job, even
# if the job is already running.
# @param [String] name
# Required.
# The job name. For example:
# Required. The job name. For example:
# `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
# @param [Google::Apis::CloudschedulerV1beta1::RunJobRequest] run_job_request_object
# @param [String] fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1
VERSION = 'V1'
REVISION = '20190717'
REVISION = '20190809'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -783,8 +783,8 @@ module Google
class GetPolicyOptions
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum]
@ -942,6 +942,8 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The Compute Engine accelerator configuration for these instances.
# Beta Feature: This feature is still under development. It may be changed
# before final release.
# Corresponds to the JSON property `accelerators`
# @return [Array<Google::Apis::DataprocV1::AcceleratorConfig>]
attr_accessor :accelerators
@ -2624,7 +2626,14 @@ module Google
# @return [String]
attr_accessor :state
# Output only. The "resource name" of the template.
# Output only. The resource name of the workflow template as described in https:/
# /cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `template`
# @return [String]
attr_accessor :template
@ -2728,9 +2737,14 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Output only. The "resource name" of the template, as described in https://
# cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -49,9 +49,12 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -84,9 +87,14 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -121,12 +129,17 @@ module Google
# Retrieves the latest workflow template.Can retrieve previously instantiated
# template by specifying optional version parameter.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to retrieve. Only previously
# instatiated versions can be retrieved.If unspecified, retrieves the current
# instantiated versions can be retrieved.If unspecified, retrieves the current
# version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -199,9 +212,14 @@ module Google
# will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful
# completion, Operation.response will be Empty.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -241,9 +259,13 @@ module Google
# to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using
# WorkflowMetadata.On successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The "resource name" of the workflow template region, as described in
# https://cloud.google.com/apis/design/resource_names of the form projects/`
# project_id`/regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] request_id
# Optional. A tag that prevents multiple concurrent workflow instances with the
@ -284,9 +306,12 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -397,9 +422,14 @@ module Google
# Updates (replaces) workflow template. The updated template must contain
# version that matches the current server version.
# @param [String] name
# Output only. The "resource name" of the template, as described in https://
# cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -430,7 +460,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a cluster in a project.
# Creates a cluster in a project. The returned Operation.metadata will be
# ClusterOperationMetadata.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the cluster belongs
# to.
@ -476,7 +507,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a cluster in a project.
# Deletes a cluster in a project. The returned Operation.metadata will be
# ClusterOperationMetadata.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the cluster belongs
# to.
@ -526,8 +558,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets cluster diagnostic information. After the operation completes, the
# Operation.response field contains DiagnoseClusterOutputLocation.
# Gets cluster diagnostic information. The returned Operation.metadata will be
# ClusterOperationMetadata. After the operation completes, Operation.response
# contains DiagnoseClusterResults.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the cluster belongs
# to.
@ -692,7 +725,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a cluster in a project.
# Updates a cluster in a project. The returned Operation.metadata will be
# ClusterOperationMetadata.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project the cluster belongs to.
# @param [String] region
@ -1468,9 +1502,12 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1503,9 +1540,14 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -1540,12 +1582,17 @@ module Google
# Retrieves the latest workflow template.Can retrieve previously instantiated
# template by specifying optional version parameter.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to retrieve. Only previously
# instatiated versions can be retrieved.If unspecified, retrieves the current
# instantiated versions can be retrieved.If unspecified, retrieves the current
# version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1618,9 +1665,14 @@ module Google
# will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful
# completion, Operation.response will be Empty.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1660,9 +1712,13 @@ module Google
# to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using
# WorkflowMetadata.On successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The "resource name" of the workflow template region, as described in
# https://cloud.google.com/apis/design/resource_names of the form projects/`
# project_id`/regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] request_id
# Optional. A tag that prevents multiple concurrent workflow instances with the
@ -1703,9 +1759,12 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -1816,9 +1875,14 @@ module Google
# Updates (replaces) workflow template. The updated template must contain
# version that matches the current server version.
# @param [String] name
# Output only. The "resource name" of the template, as described in https://
# cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20190717'
REVISION = '20190809'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -95,9 +95,14 @@ module Google
# @return [String]
attr_accessor :id
# Output only. The "resource name" of the policy, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/autoscalingPolicies/`policy_id`.
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -991,8 +996,8 @@ module Google
class GetPolicyOptions
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum]
@ -1201,6 +1206,8 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The Compute Engine accelerator configuration for these instances.
# Beta Feature: This feature is still under development. It may be changed
# before final release.
# Corresponds to the JSON property `accelerators`
# @return [Array<Google::Apis::DataprocV1beta2::AcceleratorConfig>]
attr_accessor :accelerators
@ -3093,7 +3100,14 @@ module Google
# @return [String]
attr_accessor :state
# Output only. The "resource name" of the template.
# Output only. The resource name of the workflow template as described in https:/
# /cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `template`
# @return [String]
attr_accessor :template
@ -3197,9 +3211,14 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# Output only. The "resource name" of the template, as described in https://
# cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -49,9 +49,12 @@ module Google
# Creates new autoscaling policy.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`.
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -86,8 +89,13 @@ module Google
# that is in use by one or more clusters.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
# /regions/`region`/autoscalingPolicies/`policy_id`.
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -118,8 +126,13 @@ module Google
# Retrieves autoscaling policy.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
# /regions/`region`/autoscalingPolicies/`policy_id`.
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.get, the resource name of the policy
# has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.get, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -153,8 +166,8 @@ module Google
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -186,9 +199,12 @@ module Google
# Lists autoscaling policies in the project.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.list, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
@ -300,9 +316,14 @@ module Google
# Updates (replaces) autoscaling policy.Disabled check for update_mask, because
# all updates will be full replacements.
# @param [String] name
# Output only. The "resource name" of the policy, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/autoscalingPolicies/`policy_id`.
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -335,9 +356,12 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -370,9 +394,14 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -407,12 +436,17 @@ module Google
# Retrieves the latest workflow template.Can retrieve previously instantiated
# template by specifying optional version parameter.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to retrieve. Only previously
# instatiated versions can be retrieved.If unspecified, retrieves the current
# instantiated versions can be retrieved.If unspecified, retrieves the current
# version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -448,8 +482,8 @@ module Google
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -487,9 +521,14 @@ module Google
# will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful
# completion, Operation.response will be Empty.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -529,9 +568,13 @@ module Google
# to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using
# WorkflowMetadata.On successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The "resource name" of the workflow template region, as described in
# https://cloud.google.com/apis/design/resource_names of the form projects/`
# project_id`/regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] instance_id
# Deprecated. Please use request_id field instead.
@ -575,9 +618,12 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -688,9 +734,14 @@ module Google
# Updates (replaces) workflow template. The updated template must contain
# version that matches the current server version.
# @param [String] name
# Output only. The "resource name" of the template, as described in https://
# cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -723,9 +774,12 @@ module Google
# Creates new autoscaling policy.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`.
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.create, the resource name has the
# following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -760,8 +814,13 @@ module Google
# that is in use by one or more clusters.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
# /regions/`region`/autoscalingPolicies/`policy_id`.
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.delete, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -792,8 +851,13 @@ module Google
# Retrieves autoscaling policy.
# @param [String] name
# Required. The "resource name" of the autoscaling policy, as described in https:
# //cloud.google.com/apis/design/resource_names of the form projects/`project_id`
# /regions/`region`/autoscalingPolicies/`policy_id`.
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.get, the resource name of the policy
# has the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies.get, the resource name of the
# policy has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -827,8 +891,8 @@ module Google
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -860,9 +924,12 @@ module Google
# Lists autoscaling policies in the project.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The "resource name" of the region or location, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies.list, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.autoscalingPolicies.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
@ -974,9 +1041,14 @@ module Google
# Updates (replaces) autoscaling policy.Disabled check for update_mask, because
# all updates will be full replacements.
# @param [String] name
# Output only. The "resource name" of the policy, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/autoscalingPolicies/`policy_id`.
# Output only. The "resource name" of the autoscaling policy, as described in
# https://cloud.google.com/apis/design/resource_names.
# For projects.regions.autoscalingPolicies, the resource name of the policy has
# the following format: projects/`project_id`/regions/`region`/
# autoscalingPolicies/`policy_id`
# For projects.locations.autoscalingPolicies, the resource name of the policy
# has the following format: projects/`project_id`/locations/`location`/
# autoscalingPolicies/`policy_id`
# @param [Google::Apis::DataprocV1beta2::AutoscalingPolicy] autoscaling_policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1007,7 +1079,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a cluster in a project.
# Creates a cluster in a project. The returned Operation.metadata will be
# ClusterOperationMetadata.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the cluster belongs
# to.
@ -1053,7 +1126,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a cluster in a project.
# Deletes a cluster in a project. The returned Operation.metadata will be
# ClusterOperationMetadata.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the cluster belongs
# to.
@ -1103,8 +1177,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets cluster diagnostic information. After the operation completes, the
# Operation.response field contains DiagnoseClusterOutputLocation.
# Gets cluster diagnostic information. The returned Operation.metadata will be
# ClusterOperationMetadata. After the operation completes, Operation.response
# contains DiagnoseClusterResults.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the cluster belongs
# to.
@ -1187,8 +1262,8 @@ module Google
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1271,7 +1346,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a cluster in a project.
# Updates a cluster in a project. The returned Operation.metadata will be
# ClusterOperationMetadata.
# @param [String] project_id
# Required. The ID of the Google Cloud Platform project the cluster belongs to.
# @param [String] region
@ -1575,8 +1651,8 @@ module Google
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1925,8 +2001,8 @@ module Google
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2077,9 +2153,12 @@ module Google
# Creates new workflow template.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,create, the resource name of the
# region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.create, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2112,9 +2191,14 @@ module Google
# Deletes a workflow template. It does not cancel in-progress workflows.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.delete, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to delete. If specified, will only
# delete the template if the current server version matches specified version.
@ -2149,12 +2233,17 @@ module Google
# Retrieves the latest workflow template.Can retrieve previously instantiated
# template by specifying optional version parameter.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.get, the resource name of the template
# has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.get, the resource name of the
# template has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Fixnum] version
# Optional. The version of workflow template to retrieve. Only previously
# instatiated versions can be retrieved.If unspecified, retrieves the current
# instantiated versions can be retrieved.If unspecified, retrieves the current
# version.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2190,8 +2279,8 @@ module Google
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned. Acceptable values are 0
# and 1. If the value is 0, or the field is omitted, policy format version 1
# Optional. The policy format version to be returned. Acceptable values are 0, 1,
# and 3. If the value is 0, or the field is omitted, policy format version 1
# will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2229,9 +2318,14 @@ module Google
# will be WorkflowMetadata. Also see Using WorkflowMetadata.On successful
# completion, Operation.response will be Empty.
# @param [String] name
# Required. The "resource name" of the workflow template, as described in https:/
# /cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Required. The resource name of the workflow template, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates.instantiate, the resource name of the
# template has the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates.instantiate, the resource name of
# the template has the following format: projects/`project_id`/locations/`
# location`/workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::InstantiateWorkflowTemplateRequest] instantiate_workflow_template_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2271,9 +2365,13 @@ module Google
# to be deleted.The Operation.metadata will be WorkflowMetadata. Also see Using
# WorkflowMetadata.On successful completion, Operation.response will be Empty.
# @param [String] parent
# Required. The "resource name" of the workflow template region, as described in
# https://cloud.google.com/apis/design/resource_names of the form projects/`
# project_id`/regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,instantiateinline, the resource name
# of the region has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.instantiateinline, the resource name
# of the location has the following format: projects/`project_id`/locations/`
# location`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] instance_id
# Deprecated. Please use request_id field instead.
@ -2317,9 +2415,12 @@ module Google
# Lists workflows that match the specified filter in the request.
# @param [String] parent
# Required. The "resource name" of the region, as described in https://cloud.
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# Required. The resource name of the region or location, as described in https://
# cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates,list, the resource name of the region
# has the following format: projects/`project_id`/regions/`region`
# For projects.locations.workflowTemplates.list, the resource name of the
# location has the following format: projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# @param [String] page_token
@ -2430,9 +2531,14 @@ module Google
# Updates (replaces) workflow template. The updated template must contain
# version that matches the current server version.
# @param [String] name
# Output only. The "resource name" of the template, as described in https://
# cloud.google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`/workflowTemplates/`template_id`
# Output only. The resource name of the workflow template, as described in https:
# //cloud.google.com/apis/design/resource_names.
# For projects.regions.workflowTemplates, the resource name of the template has
# the following format: projects/`project_id`/regions/`region`/
# workflowTemplates/`template_id`
# For projects.locations.workflowTemplates, the resource name of the template
# has the following format: projects/`project_id`/locations/`location`/
# workflowTemplates/`template_id`
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fact-check/tools/api/
module FactchecktoolsV1alpha1
VERSION = 'V1alpha1'
REVISION = '20190328'
REVISION = '20190821'
# View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -113,6 +113,11 @@ module Google
# @return [String]
attr_accessor :image_url
# Corresponds to `ClaimReview.reviewRating.ratingExplanation`.
# Corresponds to the JSON property `ratingExplanation`
# @return [String]
attr_accessor :rating_explanation
# A numeric rating of this claim, in the range worstRating — bestRating
# inclusive.<br>
# Corresponds to `ClaimReview.reviewRating.ratingValue`.
@ -141,6 +146,7 @@ module Google
def update!(**args)
@best_rating = args[:best_rating] if args.key?(:best_rating)
@image_url = args[:image_url] if args.key?(:image_url)
@rating_explanation = args[:rating_explanation] if args.key?(:rating_explanation)
@rating_value = args[:rating_value] if args.key?(:rating_value)
@textual_rating = args[:textual_rating] if args.key?(:textual_rating)
@worst_rating = args[:worst_rating] if args.key?(:worst_rating)

View File

@ -114,6 +114,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :best_rating, as: 'bestRating'
property :image_url, as: 'imageUrl'
property :rating_explanation, as: 'ratingExplanation'
property :rating_value, as: 'ratingValue'
property :textual_rating, as: 'textualRating'
property :worst_rating, as: 'worstRating'

View File

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

View File

@ -1648,6 +1648,29 @@ module Google
@restored_account = args[:restored_account] if args.key?(:restored_account)
end
end
# The service account key upload request.
class UploadServiceAccountKeyRequest
include Google::Apis::Core::Hashable
# A field that allows clients to upload their own public key. If set,
# use this public key data to create a service account key for given
# service account.
# Please note, the expected format for this field is X509_PEM.
# Corresponds to the JSON property `publicKeyData`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :public_key_data
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@public_key_data = args[:public_key_data] if args.key?(:public_key_data)
end
end
end
end
end

View File

@ -286,6 +286,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UploadServiceAccountKeyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdminAuditData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -680,6 +686,13 @@ module Google
end
end
class UploadServiceAccountKeyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :public_key_data, :base64 => true, as: 'publicKeyData'
end
end
end
end
end

View File

@ -1561,6 +1561,46 @@ module Google
execute_or_queue_command(command, &block)
end
# Upload public key for a given service account.
# This rpc will create a
# ServiceAccountKey that has the
# provided public key and returns it.
# @param [String] name
# The resource name of the service account in the following format:
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
# the account. The `ACCOUNT` value can be the `email` address or the
# `unique_id` of the service account.
# @param [Google::Apis::IamV1::UploadServiceAccountKeyRequest] upload_service_account_key_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::IamV1::ServiceAccountKey] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::IamV1::ServiceAccountKey]
#
# @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 upload_service_account_key(name, upload_service_account_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}/keys:upload', options)
command.request_representation = Google::Apis::IamV1::UploadServiceAccountKeyRequest::Representation
command.request_object = upload_service_account_key_request_object
command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation
command.response_class = Google::Apis::IamV1::ServiceAccountKey
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
# Gets a Role definition.
# @param [String] name
# The `name` parameter's value depends on the target resource for the

View File

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