Autogenerated update (2018-11-09)

Update:
- cloudasset_v1beta1
- dataproc_v1
- dataproc_v1beta2
- drive_v2
- drive_v3
- runtimeconfig_v1beta1
- servicemanagement_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-11-09 00:36:43 +00:00
parent 4c90d65403
commit ddcba569d3
17 changed files with 268 additions and 13 deletions

View File

@ -41313,6 +41313,7 @@
"/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri "/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri
"/dataproc:v1/Job/hadoopJob": hadoop_job "/dataproc:v1/Job/hadoopJob": hadoop_job
"/dataproc:v1/Job/hiveJob": hive_job "/dataproc:v1/Job/hiveJob": hive_job
"/dataproc:v1/Job/jobUuid": job_uuid
"/dataproc:v1/Job/labels": labels "/dataproc:v1/Job/labels": labels
"/dataproc:v1/Job/labels/label": label "/dataproc:v1/Job/labels/label": label
"/dataproc:v1/Job/pigJob": pig_job "/dataproc:v1/Job/pigJob": pig_job
@ -41810,6 +41811,7 @@
"/dataproc:v1beta2/Job/driverOutputResourceUri": driver_output_resource_uri "/dataproc:v1beta2/Job/driverOutputResourceUri": driver_output_resource_uri
"/dataproc:v1beta2/Job/hadoopJob": hadoop_job "/dataproc:v1beta2/Job/hadoopJob": hadoop_job
"/dataproc:v1beta2/Job/hiveJob": hive_job "/dataproc:v1beta2/Job/hiveJob": hive_job
"/dataproc:v1beta2/Job/jobUuid": job_uuid
"/dataproc:v1beta2/Job/labels": labels "/dataproc:v1beta2/Job/labels": labels
"/dataproc:v1beta2/Job/labels/label": label "/dataproc:v1beta2/Job/labels/label": label
"/dataproc:v1beta2/Job/pigJob": pig_job "/dataproc:v1beta2/Job/pigJob": pig_job
@ -41818,6 +41820,7 @@
"/dataproc:v1beta2/Job/reference": reference "/dataproc:v1beta2/Job/reference": reference
"/dataproc:v1beta2/Job/scheduling": scheduling "/dataproc:v1beta2/Job/scheduling": scheduling
"/dataproc:v1beta2/Job/sparkJob": spark_job "/dataproc:v1beta2/Job/sparkJob": spark_job
"/dataproc:v1beta2/Job/sparkRJob": spark_r_job
"/dataproc:v1beta2/Job/sparkSqlJob": spark_sql_job "/dataproc:v1beta2/Job/sparkSqlJob": spark_sql_job
"/dataproc:v1beta2/Job/status": status "/dataproc:v1beta2/Job/status": status
"/dataproc:v1beta2/Job/statusHistory": status_history "/dataproc:v1beta2/Job/statusHistory": status_history
@ -41954,6 +41957,17 @@
"/dataproc:v1beta2/SparkJob/mainJarFileUri": main_jar_file_uri "/dataproc:v1beta2/SparkJob/mainJarFileUri": main_jar_file_uri
"/dataproc:v1beta2/SparkJob/properties": properties "/dataproc:v1beta2/SparkJob/properties": properties
"/dataproc:v1beta2/SparkJob/properties/property": property "/dataproc:v1beta2/SparkJob/properties/property": property
"/dataproc:v1beta2/SparkRJob": spark_r_job
"/dataproc:v1beta2/SparkRJob/archiveUris": archive_uris
"/dataproc:v1beta2/SparkRJob/archiveUris/archive_uri": archive_uri
"/dataproc:v1beta2/SparkRJob/args": args
"/dataproc:v1beta2/SparkRJob/args/arg": arg
"/dataproc:v1beta2/SparkRJob/fileUris": file_uris
"/dataproc:v1beta2/SparkRJob/fileUris/file_uri": file_uri
"/dataproc:v1beta2/SparkRJob/loggingConfig": logging_config
"/dataproc:v1beta2/SparkRJob/mainRFileUri": main_r_file_uri
"/dataproc:v1beta2/SparkRJob/properties": properties
"/dataproc:v1beta2/SparkRJob/properties/property": property
"/dataproc:v1beta2/SparkSqlJob": spark_sql_job "/dataproc:v1beta2/SparkSqlJob": spark_sql_job
"/dataproc:v1beta2/SparkSqlJob/jarFileUris": jar_file_uris "/dataproc:v1beta2/SparkSqlJob/jarFileUris": jar_file_uris
"/dataproc:v1beta2/SparkSqlJob/jarFileUris/jar_file_uri": jar_file_uri "/dataproc:v1beta2/SparkSqlJob/jarFileUris/jar_file_uri": jar_file_uri
@ -79816,6 +79830,7 @@
"/servicemanagement:v1/BackendRule/address": address "/servicemanagement:v1/BackendRule/address": address
"/servicemanagement:v1/BackendRule/deadline": deadline "/servicemanagement:v1/BackendRule/deadline": deadline
"/servicemanagement:v1/BackendRule/minDeadline": min_deadline "/servicemanagement:v1/BackendRule/minDeadline": min_deadline
"/servicemanagement:v1/BackendRule/operationDeadline": operation_deadline
"/servicemanagement:v1/BackendRule/selector": selector "/servicemanagement:v1/BackendRule/selector": selector
"/servicemanagement:v1/Billing": billing "/servicemanagement:v1/Billing": billing
"/servicemanagement:v1/Billing/consumerDestinations": consumer_destinations "/servicemanagement:v1/Billing/consumerDestinations": consumer_destinations

View File

@ -25,7 +25,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
module CloudassetV1beta1 module CloudassetV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20181105' REVISION = '20181107'
# 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

@ -47,6 +47,101 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Batch gets the update history of assets that overlap a time window.
# For RESOURCE content, this API outputs history with asset in both
# non-delete or deleted status.
# For IAM_POLICY content, this API outputs history when the asset and its
# attached IAM POLICY both exist. This can create gaps in the output history.
# @param [String] parent
# Required. The relative name of the root asset. It can only be an
# organization number (such as "organizations/123"), a project ID (such as
# "projects/my-project-id")", or a project number (such as "projects/12345").
# @param [Array<String>, String] asset_names
# A list of the full names of the assets. For example:
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
# instance1`.
# See [Resource Names](https://cloud.google.com/apis/design/resource_names#
# full_resource_name)
# for more info.
# The request becomes a no-op if the asset name list is empty, and the max
# size of the asset name list is 100 in one request.
# @param [String] content_type
# Required. The content type.
# @param [String] read_time_window_end_time
# End time of the time window (inclusive).
# Current timestamp if not specified.
# @param [String] read_time_window_start_time
# Start time of the time window (exclusive).
# @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::CloudassetV1beta1::BatchGetAssetsHistoryResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse]
#
# @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 batch_organization_get_assets_history(parent, asset_names: nil, content_type: nil, read_time_window_end_time: nil, read_time_window_start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}:batchGetAssetsHistory', options)
command.response_representation = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse::Representation
command.response_class = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse
command.params['parent'] = parent unless parent.nil?
command.query['assetNames'] = asset_names unless asset_names.nil?
command.query['contentType'] = content_type unless content_type.nil?
command.query['readTimeWindow.endTime'] = read_time_window_end_time unless read_time_window_end_time.nil?
command.query['readTimeWindow.startTime'] = read_time_window_start_time unless read_time_window_start_time.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Exports assets with time and resource types to a given Cloud Storage
# location. The output format is newline-delimited JSON.
# This API implements the google.longrunning.Operation API allowing you
# to keep track of the export.
# @param [String] parent
# Required. The relative name of the root asset. This can only be an
# organization
# number (such as "organizations/123"), a project ID (such as
# "projects/my-project-id"), or a project number (such as "projects/12345").
# @param [Google::Apis::CloudassetV1beta1::ExportAssetsRequest] export_assets_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::CloudassetV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudassetV1beta1::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 export_organization_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation
command.request_object = export_assets_request_object
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudassetV1beta1::Operation
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
# Gets the latest state of a long-running operation. Clients can use this # 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 # method to poll the operation result at intervals as recommended by the API
# service. # service.
@ -69,7 +164,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) def get_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options) command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudassetV1beta1::Operation command.response_class = Google::Apis::CloudassetV1beta1::Operation
@ -121,7 +216,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def batch_get_assets_history(parent, asset_names: nil, content_type: nil, read_time_window_end_time: nil, read_time_window_start_time: nil, fields: nil, quota_user: nil, options: nil, &block) def batch_project_get_assets_history(parent, asset_names: nil, content_type: nil, read_time_window_end_time: nil, read_time_window_start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}:batchGetAssetsHistory', options) command = make_simple_command(:get, 'v1beta1/{+parent}:batchGetAssetsHistory', options)
command.response_representation = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse::Representation command.response_representation = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse::Representation
command.response_class = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse command.response_class = Google::Apis::CloudassetV1beta1::BatchGetAssetsHistoryResponse
@ -162,7 +257,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def export_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) def export_project_assets(parent, export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options) command = make_simple_command(:post, 'v1beta1/{+parent}:exportAssets', options)
command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation command.request_representation = Google::Apis::CloudassetV1beta1::ExportAssetsRequest::Representation
command.request_object = export_assets_request_object command.request_object = export_assets_request_object
@ -174,6 +269,38 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end 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::CloudassetV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudassetV1beta1::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_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudassetV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudassetV1beta1::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 protected
def apply_command_defaults(command) def apply_command_defaults(command)

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1 module DataprocV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20181019' REVISION = '20181105'
# 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

@ -1043,6 +1043,13 @@ module Google
# @return [Google::Apis::DataprocV1::HiveJob] # @return [Google::Apis::DataprocV1::HiveJob]
attr_accessor :hive_job attr_accessor :hive_job
# Output only. A UUID that uniquely identifies a job within the project over
# time. This is in contrast to a user-settable reference.job_id that may be
# reused over time.
# Corresponds to the JSON property `jobUuid`
# @return [String]
attr_accessor :job_uuid
# Optional. The labels to associate with this job. Label keys must contain 1 to # Optional. The labels to associate with this job. Label keys must contain 1 to
# 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035. # 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.
# txt). Label values may be empty, but, if present, must contain 1 to 63 # txt). Label values may be empty, but, if present, must contain 1 to 63
@ -1118,6 +1125,7 @@ module Google
@driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri)
@hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job)
@hive_job = args[:hive_job] if args.key?(:hive_job) @hive_job = args[:hive_job] if args.key?(:hive_job)
@job_uuid = args[:job_uuid] if args.key?(:job_uuid)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@pig_job = args[:pig_job] if args.key?(:pig_job) @pig_job = args[:pig_job] if args.key?(:pig_job)
@placement = args[:placement] if args.key?(:placement) @placement = args[:placement] if args.key?(:placement)

View File

@ -634,6 +634,7 @@ module Google
property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
property :job_uuid, as: 'jobUuid'
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1beta2 module DataprocV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20181019' REVISION = '20181105'
# 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

@ -1062,6 +1062,13 @@ module Google
# @return [Google::Apis::DataprocV1beta2::HiveJob] # @return [Google::Apis::DataprocV1beta2::HiveJob]
attr_accessor :hive_job attr_accessor :hive_job
# Output only. A UUID that uniquely identifies a job within the project over
# time. This is in contrast to a user-settable reference.job_id that may be
# reused over time.
# Corresponds to the JSON property `jobUuid`
# @return [String]
attr_accessor :job_uuid
# Optional. The labels to associate with this job. Label keys must contain 1 to # Optional. The labels to associate with this job. Label keys must contain 1 to
# 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035. # 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.
# txt). Label values may be empty, but, if present, must contain 1 to 63 # txt). Label values may be empty, but, if present, must contain 1 to 63
@ -1104,6 +1111,12 @@ module Google
# @return [Google::Apis::DataprocV1beta2::SparkJob] # @return [Google::Apis::DataprocV1beta2::SparkJob]
attr_accessor :spark_job attr_accessor :spark_job
# A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/
# latest/sparkr.html) applications on YARN.
# Corresponds to the JSON property `sparkRJob`
# @return [Google::Apis::DataprocV1beta2::SparkRJob]
attr_accessor :spark_r_job
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
# ) queries. # ) queries.
# Corresponds to the JSON property `sparkSqlJob` # Corresponds to the JSON property `sparkSqlJob`
@ -1137,6 +1150,7 @@ module Google
@driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri)
@hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job)
@hive_job = args[:hive_job] if args.key?(:hive_job) @hive_job = args[:hive_job] if args.key?(:hive_job)
@job_uuid = args[:job_uuid] if args.key?(:job_uuid)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@pig_job = args[:pig_job] if args.key?(:pig_job) @pig_job = args[:pig_job] if args.key?(:pig_job)
@placement = args[:placement] if args.key?(:placement) @placement = args[:placement] if args.key?(:placement)
@ -1144,6 +1158,7 @@ module Google
@reference = args[:reference] if args.key?(:reference) @reference = args[:reference] if args.key?(:reference)
@scheduling = args[:scheduling] if args.key?(:scheduling) @scheduling = args[:scheduling] if args.key?(:scheduling)
@spark_job = args[:spark_job] if args.key?(:spark_job) @spark_job = args[:spark_job] if args.key?(:spark_job)
@spark_r_job = args[:spark_r_job] if args.key?(:spark_r_job)
@spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@status_history = args[:status_history] if args.key?(:status_history) @status_history = args[:status_history] if args.key?(:status_history)
@ -2161,6 +2176,65 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/
# latest/sparkr.html) applications on YARN.
class SparkRJob
include Google::Apis::Core::Hashable
# Optional. HCFS URIs of archives to be extracted in the working directory of
# Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .
# zip.
# Corresponds to the JSON property `archiveUris`
# @return [Array<String>]
attr_accessor :archive_uris
# Optional. The arguments to pass to the driver. Do not include arguments, such
# as --conf, that can be set as job properties, since a collision may occur that
# causes an incorrect job submission.
# Corresponds to the JSON property `args`
# @return [Array<String>]
attr_accessor :args
# Optional. HCFS URIs of files to be copied to the working directory of R
# drivers and distributed tasks. Useful for naively parallel tasks.
# Corresponds to the JSON property `fileUris`
# @return [Array<String>]
attr_accessor :file_uris
# The runtime logging config of the job.
# Corresponds to the JSON property `loggingConfig`
# @return [Google::Apis::DataprocV1beta2::LoggingConfig]
attr_accessor :logging_config
# Required. The HCFS URI of the main R file to use as the driver. Must be a .R
# file.
# Corresponds to the JSON property `mainRFileUri`
# @return [String]
attr_accessor :main_r_file_uri
# Optional. A mapping of property names to values, used to configure SparkR.
# Properties that conflict with values set by the Cloud Dataproc API may be
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
# and classes in user code.
# Corresponds to the JSON property `properties`
# @return [Hash<String,String>]
attr_accessor :properties
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@archive_uris = args[:archive_uris] if args.key?(:archive_uris)
@args = args[:args] if args.key?(:args)
@file_uris = args[:file_uris] if args.key?(:file_uris)
@logging_config = args[:logging_config] if args.key?(:logging_config)
@main_r_file_uri = args[:main_r_file_uri] if args.key?(:main_r_file_uri)
@properties = args[:properties] if args.key?(:properties)
end
end
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/
# ) queries. # ) queries.
class SparkSqlJob class SparkSqlJob

View File

@ -310,6 +310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SparkRJob
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SparkSqlJob class SparkSqlJob
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -644,6 +650,7 @@ module Google
property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1beta2::HiveJob, decorator: Google::Apis::DataprocV1beta2::HiveJob::Representation property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1beta2::HiveJob, decorator: Google::Apis::DataprocV1beta2::HiveJob::Representation
property :job_uuid, as: 'jobUuid'
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1beta2::PigJob, decorator: Google::Apis::DataprocV1beta2::PigJob::Representation property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1beta2::PigJob, decorator: Google::Apis::DataprocV1beta2::PigJob::Representation
@ -657,6 +664,8 @@ module Google
property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1beta2::SparkJob, decorator: Google::Apis::DataprocV1beta2::SparkJob::Representation property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1beta2::SparkJob, decorator: Google::Apis::DataprocV1beta2::SparkJob::Representation
property :spark_r_job, as: 'sparkRJob', class: Google::Apis::DataprocV1beta2::SparkRJob, decorator: Google::Apis::DataprocV1beta2::SparkRJob::Representation
property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1beta2::SparkSqlJob, decorator: Google::Apis::DataprocV1beta2::SparkSqlJob::Representation property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1beta2::SparkSqlJob, decorator: Google::Apis::DataprocV1beta2::SparkSqlJob::Representation
property :status, as: 'status', class: Google::Apis::DataprocV1beta2::JobStatus, decorator: Google::Apis::DataprocV1beta2::JobStatus::Representation property :status, as: 'status', class: Google::Apis::DataprocV1beta2::JobStatus, decorator: Google::Apis::DataprocV1beta2::JobStatus::Representation
@ -910,6 +919,19 @@ module Google
end end
end end
class SparkRJob
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :archive_uris, as: 'archiveUris'
collection :args, as: 'args'
collection :file_uris, as: 'fileUris'
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1beta2::LoggingConfig, decorator: Google::Apis::DataprocV1beta2::LoggingConfig::Representation
property :main_r_file_uri, as: 'mainRFileUri'
hash :properties, as: 'properties'
end
end
class SparkSqlJob class SparkSqlJob
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/ # @see https://developers.google.com/drive/
module DriveV2 module DriveV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20181025' REVISION = '20181101'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/ # @see https://developers.google.com/drive/
module DriveV3 module DriveV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20181025' REVISION = '20181101'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/ # @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1beta1 module RuntimeconfigV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20181022' REVISION = '20181105'
# 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

@ -683,7 +683,7 @@ module Google
# The name of the variable resource, in the format: # The name of the variable resource, in the format:
# projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME] # projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]
# The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a # The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a
# valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system # valid RuntimeConfig resource and `[VARIABLE_NAME]` follows Unix file system
# file path naming. # file path naming.
# The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and # The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and
# dashes. Slashes are used as path element separators and are not part of the # dashes. Slashes are used as path element separators and are not part of the
@ -697,7 +697,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# [Ouput only] The current state of the variable. The variable state indicates # Output only. The current state of the variable. The variable state indicates
# the outcome of the `variables().watch` call and is visible through the # the outcome of the `variables().watch` call and is visible through the
# `get` and `list` calls. # `get` and `list` calls.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/ # @see https://cloud.google.com/service-management/
module ServicemanagementV1 module ServicemanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20181005' REVISION = '20181102'
# 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

@ -518,6 +518,12 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :min_deadline attr_accessor :min_deadline
# The number of seconds to wait for the completion of a long running
# operation. The default is no deadline.
# Corresponds to the JSON property `operationDeadline`
# @return [Float]
attr_accessor :operation_deadline
# Selects the methods to which this rule applies. # Selects the methods to which this rule applies.
# Refer to selector for syntax details. # Refer to selector for syntax details.
# Corresponds to the JSON property `selector` # Corresponds to the JSON property `selector`
@ -533,6 +539,7 @@ module Google
@address = args[:address] if args.key?(:address) @address = args[:address] if args.key?(:address)
@deadline = args[:deadline] if args.key?(:deadline) @deadline = args[:deadline] if args.key?(:deadline)
@min_deadline = args[:min_deadline] if args.key?(:min_deadline) @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
@selector = args[:selector] if args.key?(:selector) @selector = args[:selector] if args.key?(:selector)
end end
end end

View File

@ -641,6 +641,7 @@ module Google
property :address, as: 'address' property :address, as: 'address'
property :deadline, as: 'deadline' property :deadline, as: 'deadline'
property :min_deadline, as: 'minDeadline' property :min_deadline, as: 'minDeadline'
property :operation_deadline, as: 'operationDeadline'
property :selector, as: 'selector' property :selector, as: 'selector'
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20181029' REVISION = '20181105'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'