Autogenerated update (2018-04-13)
Update: - adexchangebuyer2_v2beta1 - classroom_v1 - cloudbilling_v1 - dataflow_v1b3 - dataproc_v1 - dataproc_v1beta2 - dlp_v2 - tpu_v1alpha1 - youtube_partner_v1
This commit is contained in:
parent
3988dcc3fc
commit
e07587ed11
|
@ -34108,6 +34108,7 @@
|
||||||
"/dataflow:v1b3/MetricUpdate": metric_update
|
"/dataflow:v1b3/MetricUpdate": metric_update
|
||||||
"/dataflow:v1b3/MetricUpdate/cumulative": cumulative
|
"/dataflow:v1b3/MetricUpdate/cumulative": cumulative
|
||||||
"/dataflow:v1b3/MetricUpdate/distribution": distribution
|
"/dataflow:v1b3/MetricUpdate/distribution": distribution
|
||||||
|
"/dataflow:v1b3/MetricUpdate/gauge": gauge
|
||||||
"/dataflow:v1b3/MetricUpdate/internal": internal
|
"/dataflow:v1b3/MetricUpdate/internal": internal
|
||||||
"/dataflow:v1b3/MetricUpdate/kind": kind
|
"/dataflow:v1b3/MetricUpdate/kind": kind
|
||||||
"/dataflow:v1b3/MetricUpdate/meanCount": mean_count
|
"/dataflow:v1b3/MetricUpdate/meanCount": mean_count
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
|
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
|
||||||
module Adexchangebuyer2V2beta1
|
module Adexchangebuyer2V2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20180409'
|
REVISION = '20180411'
|
||||||
|
|
||||||
# Manage your Ad Exchange buyer account configuration
|
# Manage your Ad Exchange buyer account configuration
|
||||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||||
|
|
|
@ -481,7 +481,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# A creative and its classification data.
|
# A creative and its classification data.
|
||||||
# Next ID: 31
|
# Next ID: 35
|
||||||
class Creative
|
class Creative
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/classroom/
|
# @see https://developers.google.com/classroom/
|
||||||
module ClassroomV1
|
module ClassroomV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180403'
|
REVISION = '20180412'
|
||||||
|
|
||||||
# View and manage announcements in Google Classroom
|
# View and manage announcements in Google Classroom
|
||||||
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
||||||
|
|
|
@ -1396,32 +1396,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Response when listing topics.
|
|
||||||
class ListTopicResponse
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Token identifying the next page of results to return. If empty, no further
|
|
||||||
# results are available.
|
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :next_page_token
|
|
||||||
|
|
||||||
# Topic items that match the request.
|
|
||||||
# Corresponds to the JSON property `topic`
|
|
||||||
# @return [Array<Google::Apis::ClassroomV1::Topic>]
|
|
||||||
attr_accessor :topic
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
||||||
@topic = args[:topic] if args.key?(:topic)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Material attached to course work.
|
# Material attached to course work.
|
||||||
# When creating attachments, setting the `form` field is not supported.
|
# When creating attachments, setting the `form` field is not supported.
|
||||||
class Material
|
class Material
|
||||||
|
@ -2072,49 +2046,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Topic created by a teacher for the course
|
|
||||||
class Topic
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Identifier of the course.
|
|
||||||
# Read-only.
|
|
||||||
# Corresponds to the JSON property `courseId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :course_id
|
|
||||||
|
|
||||||
# The name of the topic, generated by the user.
|
|
||||||
# Leading and trailing whitespaces, if any, will be trimmed. Also, multiple
|
|
||||||
# consecutive whitespaces will be collapsed into one inside the name.
|
|
||||||
# Topic names are case sensitive, and must be no longer than 100 characters.
|
|
||||||
# Corresponds to the JSON property `name`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :name
|
|
||||||
|
|
||||||
# Unique identifier for the topic.
|
|
||||||
# Read-only.
|
|
||||||
# Corresponds to the JSON property `topicId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :topic_id
|
|
||||||
|
|
||||||
# The time the topic was last updated by the system.
|
|
||||||
# Read-only.
|
|
||||||
# Corresponds to the JSON property `updateTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :update_time
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@course_id = args[:course_id] if args.key?(:course_id)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
|
||||||
@topic_id = args[:topic_id] if args.key?(:topic_id)
|
|
||||||
@update_time = args[:update_time] if args.key?(:update_time)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Request to turn in a student submission.
|
# Request to turn in a student submission.
|
||||||
class TurnInStudentSubmissionRequest
|
class TurnInStudentSubmissionRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -226,12 +226,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListTopicResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Material
|
class Material
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -346,12 +340,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Topic
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class TurnInStudentSubmissionRequest
|
class TurnInStudentSubmissionRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -732,15 +720,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListTopicResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
collection :topic, as: 'topic', class: Google::Apis::ClassroomV1::Topic, decorator: Google::Apis::ClassroomV1::Topic::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Material
|
class Material
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -930,16 +909,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Topic
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :course_id, as: 'courseId'
|
|
||||||
property :name, as: 'name'
|
|
||||||
property :topic_id, as: 'topicId'
|
|
||||||
property :update_time, as: 'updateTime'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class TurnInStudentSubmissionRequest
|
class TurnInStudentSubmissionRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -1848,94 +1848,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns a topic.
|
|
||||||
# This method returns the following error codes:
|
|
||||||
# * `PERMISSION_DENIED` if the requesting user is not permitted to access the
|
|
||||||
# requested course or topic, or for access errors.
|
|
||||||
# * `INVALID_ARGUMENT` if the request is malformed.
|
|
||||||
# * `NOT_FOUND` if the requested course or topic does not exist.
|
|
||||||
# @param [String] course_id
|
|
||||||
# Identifier of the course.
|
|
||||||
# @param [String] id
|
|
||||||
# Identifier of the topic.
|
|
||||||
# @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::ClassroomV1::Topic] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::ClassroomV1::Topic]
|
|
||||||
#
|
|
||||||
# @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_course_topic(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1/courses/{courseId}/topics/{id}', options)
|
|
||||||
command.response_representation = Google::Apis::ClassroomV1::Topic::Representation
|
|
||||||
command.response_class = Google::Apis::ClassroomV1::Topic
|
|
||||||
command.params['courseId'] = course_id unless course_id.nil?
|
|
||||||
command.params['id'] = id unless id.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Returns the list of topics that the requester is permitted to view.
|
|
||||||
# This method returns the following error codes:
|
|
||||||
# * `PERMISSION_DENIED` if the requesting user is not permitted to access
|
|
||||||
# the requested course or for access errors.
|
|
||||||
# * `INVALID_ARGUMENT` if the request is malformed.
|
|
||||||
# * `NOT_FOUND` if the requested course does not exist.
|
|
||||||
# @param [String] course_id
|
|
||||||
# Identifier of the course.
|
|
||||||
# This identifier can be either the Classroom-assigned identifier or an
|
|
||||||
# alias.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# Maximum number of items to return. Zero or unspecified indicates that the
|
|
||||||
# server may assign a maximum.
|
|
||||||
# The server may return fewer than the specified number of results.
|
|
||||||
# @param [String] page_token
|
|
||||||
# nextPageToken
|
|
||||||
# value returned from a previous
|
|
||||||
# list call,
|
|
||||||
# indicating that the subsequent page of results should be returned.
|
|
||||||
# The list request
|
|
||||||
# must be otherwise identical to the one that resulted in this token.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::ClassroomV1::ListTopicResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::ClassroomV1::ListTopicResponse]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def list_course_topics(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1/courses/{courseId}/topics', options)
|
|
||||||
command.response_representation = Google::Apis::ClassroomV1::ListTopicResponse::Representation
|
|
||||||
command.response_class = Google::Apis::ClassroomV1::ListTopicResponse
|
|
||||||
command.params['courseId'] = course_id unless course_id.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Accepts an invitation, removing it and adding the invited user to the
|
# Accepts an invitation, removing it and adding the invited user to the
|
||||||
# teachers or students (as appropriate) of the specified course. Only the
|
# teachers or students (as appropriate) of the specified course. Only the
|
||||||
# invited user may accept an invitation.
|
# invited user may accept an invitation.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/billing/
|
# @see https://cloud.google.com/billing/
|
||||||
module CloudbillingV1
|
module CloudbillingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180307'
|
REVISION = '20180410'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -106,7 +106,6 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The configuration for logging of each type of permission.
|
# The configuration for logging of each type of permission.
|
||||||
# Next ID: 4
|
|
||||||
# Corresponds to the JSON property `auditLogConfigs`
|
# Corresponds to the JSON property `auditLogConfigs`
|
||||||
# @return [Array<Google::Apis::CloudbillingV1::AuditLogConfig>]
|
# @return [Array<Google::Apis::CloudbillingV1::AuditLogConfig>]
|
||||||
attr_accessor :audit_log_configs
|
attr_accessor :audit_log_configs
|
||||||
|
|
|
@ -50,7 +50,8 @@ module Google
|
||||||
|
|
||||||
# Creates a billing account.
|
# Creates a billing account.
|
||||||
# This method can only be used to create
|
# This method can only be used to create
|
||||||
# [billing subaccounts](https://cloud.google.com/billing/docs/concepts).
|
# [billing subaccounts](https://cloud.google.com/billing/docs/concepts)
|
||||||
|
# for GCP resellers.
|
||||||
# When creating a subaccount, the current authenticated user must have the
|
# When creating a subaccount, the current authenticated user must have the
|
||||||
# `billing.accounts.update` IAM permission on the master account, which is
|
# `billing.accounts.update` IAM permission on the master account, which is
|
||||||
# typically given to billing account
|
# typically given to billing account
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dataflow
|
# @see https://cloud.google.com/dataflow
|
||||||
module DataflowV1b3
|
module DataflowV1b3
|
||||||
VERSION = 'V1b3'
|
VERSION = 'V1b3'
|
||||||
REVISION = '20180314'
|
REVISION = '20180405'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -2241,6 +2241,13 @@ module Google
|
||||||
# @return [Object]
|
# @return [Object]
|
||||||
attr_accessor :distribution
|
attr_accessor :distribution
|
||||||
|
|
||||||
|
# A struct value describing properties of a Gauge.
|
||||||
|
# Metrics of gauge type show the value of a metric across time, and is
|
||||||
|
# aggregated based on the newest value.
|
||||||
|
# Corresponds to the JSON property `gauge`
|
||||||
|
# @return [Object]
|
||||||
|
attr_accessor :gauge
|
||||||
|
|
||||||
# Worker-computed aggregate value for internal use by the Dataflow
|
# Worker-computed aggregate value for internal use by the Dataflow
|
||||||
# service.
|
# service.
|
||||||
# Corresponds to the JSON property `internal`
|
# Corresponds to the JSON property `internal`
|
||||||
|
@ -2307,6 +2314,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@cumulative = args[:cumulative] if args.key?(:cumulative)
|
@cumulative = args[:cumulative] if args.key?(:cumulative)
|
||||||
@distribution = args[:distribution] if args.key?(:distribution)
|
@distribution = args[:distribution] if args.key?(:distribution)
|
||||||
|
@gauge = args[:gauge] if args.key?(:gauge)
|
||||||
@internal = args[:internal] if args.key?(:internal)
|
@internal = args[:internal] if args.key?(:internal)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@mean_count = args[:mean_count] if args.key?(:mean_count)
|
@mean_count = args[:mean_count] if args.key?(:mean_count)
|
||||||
|
|
|
@ -1377,6 +1377,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :cumulative, as: 'cumulative'
|
property :cumulative, as: 'cumulative'
|
||||||
property :distribution, as: 'distribution'
|
property :distribution, as: 'distribution'
|
||||||
|
property :gauge, as: 'gauge'
|
||||||
property :internal, as: 'internal'
|
property :internal, as: 'internal'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :mean_count, as: 'meanCount'
|
property :mean_count, as: 'meanCount'
|
||||||
|
|
|
@ -18,14 +18,14 @@ require 'google/apis/dataproc_v1/representations.rb'
|
||||||
|
|
||||||
module Google
|
module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google Cloud Dataproc API
|
# Cloud Dataproc API
|
||||||
#
|
#
|
||||||
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/dataproc/
|
# @see https://cloud.google.com/dataproc/
|
||||||
module DataprocV1
|
module DataprocV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180404'
|
REVISION = '20180409'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1426,9 +1426,10 @@ module Google
|
||||||
class SoftwareConfig
|
class SoftwareConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. The version of software inside the cluster. It must match the
|
# Optional. The version of software inside the cluster. It must be one of the
|
||||||
# regular expression [0-9]+\.[0-9]+. If unspecified, it defaults to the latest
|
# supported Cloud Dataproc Versions, such as "1.2" (including a subminor version,
|
||||||
# version (see Cloud Dataproc Versioning).
|
# such as "1.2.29"), or the "preview" version. If unspecified, it defaults to
|
||||||
|
# the latest version.
|
||||||
# Corresponds to the JSON property `imageVersion`
|
# Corresponds to the JSON property `imageVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :image_version
|
attr_accessor :image_version
|
||||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
||||||
module Google
|
module Google
|
||||||
module Apis
|
module Apis
|
||||||
module DataprocV1
|
module DataprocV1
|
||||||
# Google Cloud Dataproc API
|
# Cloud Dataproc API
|
||||||
#
|
#
|
||||||
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
||||||
#
|
#
|
||||||
|
|
|
@ -18,14 +18,14 @@ require 'google/apis/dataproc_v1beta2/representations.rb'
|
||||||
|
|
||||||
module Google
|
module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google Cloud Dataproc API
|
# Cloud Dataproc API
|
||||||
#
|
#
|
||||||
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/dataproc/
|
# @see https://cloud.google.com/dataproc/
|
||||||
module DataprocV1beta2
|
module DataprocV1beta2
|
||||||
VERSION = 'V1beta2'
|
VERSION = 'V1beta2'
|
||||||
REVISION = '20180404'
|
REVISION = '20180409'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1872,9 +1872,10 @@ module Google
|
||||||
class SoftwareConfig
|
class SoftwareConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. The version of software inside the cluster. It must match the
|
# Optional. The version of software inside the cluster. It must be one of the
|
||||||
# regular expression [0-9]+\.[0-9]+. If unspecified, it defaults to the latest
|
# supported Cloud Dataproc Versions, such as "1.2" (including a subminor version,
|
||||||
# version (see Cloud Dataproc Versioning).
|
# such as "1.2.29"), or the "preview" version. If unspecified, it defaults to
|
||||||
|
# the latest version.
|
||||||
# Corresponds to the JSON property `imageVersion`
|
# Corresponds to the JSON property `imageVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :image_version
|
attr_accessor :image_version
|
||||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
||||||
module Google
|
module Google
|
||||||
module Apis
|
module Apis
|
||||||
module DataprocV1beta2
|
module DataprocV1beta2
|
||||||
# Google Cloud Dataproc API
|
# Cloud Dataproc API
|
||||||
#
|
#
|
||||||
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
||||||
#
|
#
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dlp/docs/
|
# @see https://cloud.google.com/dlp/docs/
|
||||||
module DlpV2
|
module DlpV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20180404'
|
REVISION = '20180411'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -27,13 +27,15 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Publish the results of a DlpJob to a pub sub channel.
|
# Publish the results of a DlpJob to a pub sub channel.
|
||||||
# Compatible with: Inpect, Risk
|
# Compatible with: Inspect, Risk
|
||||||
# Corresponds to the JSON property `pubSub`
|
# Corresponds to the JSON property `pubSub`
|
||||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
|
||||||
attr_accessor :pub_sub
|
attr_accessor :pub_sub
|
||||||
|
|
||||||
# If set, the detailed findings will be persisted to the specified
|
# If set, the detailed findings will be persisted to the specified
|
||||||
# OutputStorageConfig. Compatible with: Inspect
|
# OutputStorageConfig. Only a single instance of this action can be
|
||||||
|
# specified.
|
||||||
|
# Compatible with: Inspect
|
||||||
# Corresponds to the JSON property `saveFindings`
|
# Corresponds to the JSON property `saveFindings`
|
||||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings]
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings]
|
||||||
attr_accessor :save_findings
|
attr_accessor :save_findings
|
||||||
|
@ -3492,7 +3494,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Publish the results of a DlpJob to a pub sub channel.
|
# Publish the results of a DlpJob to a pub sub channel.
|
||||||
# Compatible with: Inpect, Risk
|
# Compatible with: Inspect, Risk
|
||||||
class GooglePrivacyDlpV2PublishToPubSub
|
class GooglePrivacyDlpV2PublishToPubSub
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -4035,7 +4037,9 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# If set, the detailed findings will be persisted to the specified
|
# If set, the detailed findings will be persisted to the specified
|
||||||
# OutputStorageConfig. Compatible with: Inspect
|
# OutputStorageConfig. Only a single instance of this action can be
|
||||||
|
# specified.
|
||||||
|
# Compatible with: Inspect
|
||||||
class GooglePrivacyDlpV2SaveFindings
|
class GooglePrivacyDlpV2SaveFindings
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -87,8 +87,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a de-identify template for re-using frequently used configuration
|
# Creates a DeidentifyTemplate for re-using frequently used configuration
|
||||||
# for Deidentifying content, images, and storage.
|
# for de-identifying content, images, and storage.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
# organizations/my-org-id.
|
# organizations/my-org-id.
|
||||||
|
@ -122,7 +122,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a de-identify template.
|
# Deletes a DeidentifyTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and deidentify template to be deleted,
|
# Resource name of the organization and deidentify template to be deleted,
|
||||||
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
||||||
|
@ -154,7 +154,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a de-identify template.
|
# Gets a DeidentifyTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and deidentify template to be read, for
|
# Resource name of the organization and deidentify template to be read, for
|
||||||
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
||||||
|
@ -186,7 +186,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists de-identify templates.
|
# Lists DeidentifyTemplates.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
# organizations/my-org-id.
|
# organizations/my-org-id.
|
||||||
|
@ -225,7 +225,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the de-identify template.
|
# Updates the DeidentifyTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of organization and deidentify template to be updated, for
|
# Resource name of organization and deidentify template to be updated, for
|
||||||
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
||||||
|
@ -260,7 +260,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates an inspect template for re-using frequently used configuration
|
# Creates an InspectTemplate for re-using frequently used configuration
|
||||||
# for inspecting content, images, and storage.
|
# for inspecting content, images, and storage.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
|
@ -295,7 +295,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes an inspect template.
|
# Deletes an InspectTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and inspectTemplate to be deleted, for
|
# Resource name of the organization and inspectTemplate to be deleted, for
|
||||||
# example `organizations/433245324/inspectTemplates/432452342` or
|
# example `organizations/433245324/inspectTemplates/432452342` or
|
||||||
|
@ -327,7 +327,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets an inspect template.
|
# Gets an InspectTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and inspectTemplate to be read, for
|
# Resource name of the organization and inspectTemplate to be read, for
|
||||||
# example `organizations/433245324/inspectTemplates/432452342` or
|
# example `organizations/433245324/inspectTemplates/432452342` or
|
||||||
|
@ -359,7 +359,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists inspect templates.
|
# Lists InspectTemplates.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
# organizations/my-org-id.
|
# organizations/my-org-id.
|
||||||
|
@ -398,7 +398,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the inspect template.
|
# Updates the InspectTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of organization and inspectTemplate to be updated, for
|
# Resource name of organization and inspectTemplate to be updated, for
|
||||||
# example `organizations/433245324/inspectTemplates/432452342` or
|
# example `organizations/433245324/inspectTemplates/432452342` or
|
||||||
|
@ -537,8 +537,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a de-identify template for re-using frequently used configuration
|
# Creates a DeidentifyTemplate for re-using frequently used configuration
|
||||||
# for Deidentifying content, images, and storage.
|
# for de-identifying content, images, and storage.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
# organizations/my-org-id.
|
# organizations/my-org-id.
|
||||||
|
@ -572,7 +572,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a de-identify template.
|
# Deletes a DeidentifyTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and deidentify template to be deleted,
|
# Resource name of the organization and deidentify template to be deleted,
|
||||||
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
||||||
|
@ -604,7 +604,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a de-identify template.
|
# Gets a DeidentifyTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and deidentify template to be read, for
|
# Resource name of the organization and deidentify template to be read, for
|
||||||
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
||||||
|
@ -636,7 +636,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists de-identify templates.
|
# Lists DeidentifyTemplates.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
# organizations/my-org-id.
|
# organizations/my-org-id.
|
||||||
|
@ -675,7 +675,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the de-identify template.
|
# Updates the DeidentifyTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of organization and deidentify template to be updated, for
|
# Resource name of organization and deidentify template to be updated, for
|
||||||
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
# example `organizations/433245324/deidentifyTemplates/432452342` or
|
||||||
|
@ -745,8 +745,8 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a new job to inspect storage or calculate risk metrics [How-to
|
# Creates a new job to inspect storage or calculate risk metrics.
|
||||||
# guide](/dlp/docs/compute-risk-analysis).
|
# [How-to guide](/dlp/docs/compute-risk-analysis).
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id.
|
# The parent resource name, for example projects/my-project-id.
|
||||||
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
||||||
|
@ -935,7 +935,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates an inspect template for re-using frequently used configuration
|
# Creates an InspectTemplate for re-using frequently used configuration
|
||||||
# for inspecting content, images, and storage.
|
# for inspecting content, images, and storage.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
|
@ -970,7 +970,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes an inspect template.
|
# Deletes an InspectTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and inspectTemplate to be deleted, for
|
# Resource name of the organization and inspectTemplate to be deleted, for
|
||||||
# example `organizations/433245324/inspectTemplates/432452342` or
|
# example `organizations/433245324/inspectTemplates/432452342` or
|
||||||
|
@ -1002,7 +1002,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets an inspect template.
|
# Gets an InspectTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of the organization and inspectTemplate to be read, for
|
# Resource name of the organization and inspectTemplate to be read, for
|
||||||
# example `organizations/433245324/inspectTemplates/432452342` or
|
# example `organizations/433245324/inspectTemplates/432452342` or
|
||||||
|
@ -1034,7 +1034,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists inspect templates.
|
# Lists InspectTemplates.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id or
|
# The parent resource name, for example projects/my-project-id or
|
||||||
# organizations/my-org-id.
|
# organizations/my-org-id.
|
||||||
|
@ -1073,7 +1073,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the inspect template.
|
# Updates the InspectTemplate.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Resource name of organization and inspectTemplate to be updated, for
|
# Resource name of organization and inspectTemplate to be updated, for
|
||||||
# example `organizations/433245324/inspectTemplates/432452342` or
|
# example `organizations/433245324/inspectTemplates/432452342` or
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tpu/
|
# @see https://cloud.google.com/tpu/
|
||||||
module TpuV1alpha1
|
module TpuV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20180330'
|
REVISION = '20180411'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -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 = '20180402'
|
REVISION = '20180409'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
Loading…
Reference in New Issue