Autogenerated update (2018-03-30)
Update: - chat_v1 - container_v1beta1 - logging_v2 - logging_v2beta1 - servicemanagement_v1 - serviceuser_v1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - youtube_partner_v1
This commit is contained in:
parent
8843aa0d9a
commit
6f8ce9b0bb
|
@ -20,12 +20,12 @@ module Google
|
|||
module Apis
|
||||
# Hangouts Chat API
|
||||
#
|
||||
# Create bots and extend the new Hangouts Chat.
|
||||
# Enables bots to fetch information and perform actions in the new Hangouts Chat.
|
||||
#
|
||||
# @see https://developers.google.com/hangouts/chat
|
||||
module ChatV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180316'
|
||||
REVISION = '20180326'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
|||
module ChatV1
|
||||
# Hangouts Chat API
|
||||
#
|
||||
# Create bots and extend the new Hangouts Chat.
|
||||
# Enables bots to fetch information and perform actions in the new Hangouts Chat.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/chat_v1'
|
||||
|
@ -47,186 +47,6 @@ module Google
|
|||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Creates a message.
|
||||
# @param [String] parent
|
||||
# Required. Space resource name, in the form "spaces/*".
|
||||
# Example: spaces/AAAAMpdlehY
|
||||
# @param [Google::Apis::ChatV1::Message] message_object
|
||||
# @param [String] thread_key
|
||||
# Opaque thread identifier string that can be specified to group messages
|
||||
# into a single thread. If this is the first message with a given thread
|
||||
# identifier, a new thread is created. Subsequent messages with the same
|
||||
# thread identifier will be posted into the same thread. This relieves bots
|
||||
# and webhooks from having to store the Hangouts Chat thread ID of a thread (
|
||||
# created earlier by them) to post
|
||||
# further updates to it.
|
||||
# Has no effect if thread field,
|
||||
# corresponding to an existing thread, is set in message.
|
||||
# @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::ChatV1::Message] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ChatV1::Message]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_dm_conversation_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
|
||||
command.request_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.request_object = message_object
|
||||
command.response_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.response_class = Google::Apis::ChatV1::Message
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['threadKey'] = thread_key unless thread_key.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a message.
|
||||
# @param [String] parent
|
||||
# Required. Space resource name, in the form "spaces/*".
|
||||
# Example: spaces/AAAAMpdlehY
|
||||
# @param [Google::Apis::ChatV1::Message] message_object
|
||||
# @param [String] thread_key
|
||||
# Opaque thread identifier string that can be specified to group messages
|
||||
# into a single thread. If this is the first message with a given thread
|
||||
# identifier, a new thread is created. Subsequent messages with the same
|
||||
# thread identifier will be posted into the same thread. This relieves bots
|
||||
# and webhooks from having to store the Hangouts Chat thread ID of a thread (
|
||||
# created earlier by them) to post
|
||||
# further updates to it.
|
||||
# Has no effect if thread field,
|
||||
# corresponding to an existing thread, is set in message.
|
||||
# @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::ChatV1::Message] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ChatV1::Message]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_dm_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
|
||||
command.request_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.request_object = message_object
|
||||
command.response_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.response_class = Google::Apis::ChatV1::Message
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['threadKey'] = thread_key unless thread_key.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a message.
|
||||
# @param [String] parent
|
||||
# Required. Space resource name, in the form "spaces/*".
|
||||
# Example: spaces/AAAAMpdlehY
|
||||
# @param [Google::Apis::ChatV1::Message] message_object
|
||||
# @param [String] thread_key
|
||||
# Opaque thread identifier string that can be specified to group messages
|
||||
# into a single thread. If this is the first message with a given thread
|
||||
# identifier, a new thread is created. Subsequent messages with the same
|
||||
# thread identifier will be posted into the same thread. This relieves bots
|
||||
# and webhooks from having to store the Hangouts Chat thread ID of a thread (
|
||||
# created earlier by them) to post
|
||||
# further updates to it.
|
||||
# Has no effect if thread field,
|
||||
# corresponding to an existing thread, is set in message.
|
||||
# @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::ChatV1::Message] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ChatV1::Message]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_room_conversation_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
|
||||
command.request_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.request_object = message_object
|
||||
command.response_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.response_class = Google::Apis::ChatV1::Message
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['threadKey'] = thread_key unless thread_key.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a message.
|
||||
# @param [String] parent
|
||||
# Required. Space resource name, in the form "spaces/*".
|
||||
# Example: spaces/AAAAMpdlehY
|
||||
# @param [Google::Apis::ChatV1::Message] message_object
|
||||
# @param [String] thread_key
|
||||
# Opaque thread identifier string that can be specified to group messages
|
||||
# into a single thread. If this is the first message with a given thread
|
||||
# identifier, a new thread is created. Subsequent messages with the same
|
||||
# thread identifier will be posted into the same thread. This relieves bots
|
||||
# and webhooks from having to store the Hangouts Chat thread ID of a thread (
|
||||
# created earlier by them) to post
|
||||
# further updates to it.
|
||||
# Has no effect if thread field,
|
||||
# corresponding to an existing thread, is set in message.
|
||||
# @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::ChatV1::Message] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ChatV1::Message]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_room_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
|
||||
command.request_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.request_object = message_object
|
||||
command.response_representation = Google::Apis::ChatV1::Message::Representation
|
||||
command.response_class = Google::Apis::ChatV1::Message
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['threadKey'] = thread_key unless thread_key.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns a space.
|
||||
# @param [String] name
|
||||
# Required. Resource name of the space, in the form "spaces/*".
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180312'
|
||||
REVISION = '20180319'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -284,6 +284,13 @@ module Google
|
|||
# found in validMasterVersions returned by getServerConfig. The version can
|
||||
# be upgraded over time; such upgrades are reflected in
|
||||
# currentMasterVersion and currentNodeVersion.
|
||||
# Users may specify either explicit versions offered by
|
||||
# Kubernetes Engine or version aliases, which have the following behavior:
|
||||
# - "latest": picks the highest valid Kubernetes version
|
||||
# - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
||||
# - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
||||
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
||||
# - "","-": picks the default Kubernetes version
|
||||
# Corresponds to the JSON property `initialClusterVersion`
|
||||
# @return [String]
|
||||
attr_accessor :initial_cluster_version
|
||||
|
@ -393,7 +400,8 @@ module Google
|
|||
# The name of the Google Compute Engine
|
||||
# [network](/compute/docs/networks-and-firewalls#networks) to which the
|
||||
# cluster is connected. If left unspecified, the `default` network
|
||||
# will be used.
|
||||
# will be used. On output this shows the network ID instead of
|
||||
# the name.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
@ -469,7 +477,8 @@ module Google
|
|||
|
||||
# The name of the Google Compute Engine
|
||||
# [subnetwork](/compute/docs/subnetworks) to which the
|
||||
# cluster is connected.
|
||||
# cluster is connected. On output this shows the subnetwork ID instead of
|
||||
# the name.
|
||||
# Corresponds to the JSON property `subnetwork`
|
||||
# @return [String]
|
||||
attr_accessor :subnetwork
|
||||
|
@ -567,8 +576,14 @@ module Google
|
|||
attr_accessor :desired_master_authorized_networks_config
|
||||
|
||||
# The Kubernetes version to change the master to. The only valid value is the
|
||||
# latest supported version. Use "-" to have the server automatically select
|
||||
# the latest version.
|
||||
# latest supported version.
|
||||
# Users may specify either explicit versions offered by
|
||||
# Kubernetes Engine or version aliases, which have the following behavior:
|
||||
# - "latest": picks the highest valid Kubernetes version
|
||||
# - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
||||
# - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
||||
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
||||
# - "-": picks the default Kubernetes version
|
||||
# Corresponds to the JSON property `desiredMasterVersion`
|
||||
# @return [String]
|
||||
attr_accessor :desired_master_version
|
||||
|
@ -596,8 +611,14 @@ module Google
|
|||
attr_accessor :desired_node_pool_id
|
||||
|
||||
# The Kubernetes version to change the nodes to (typically an
|
||||
# upgrade). Use `-` to upgrade to the latest version supported by
|
||||
# the server.
|
||||
# upgrade).
|
||||
# Users may specify either explicit versions offered by
|
||||
# Kubernetes Engine or version aliases, which have the following behavior:
|
||||
# - "latest": picks the highest valid Kubernetes version
|
||||
# - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
||||
# - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
||||
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
||||
# - "-": picks the Kubernetes master version
|
||||
# Corresponds to the JSON property `desiredNodeVersion`
|
||||
# @return [String]
|
||||
attr_accessor :desired_node_version
|
||||
|
@ -2621,9 +2642,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :cluster_id
|
||||
|
||||
# The Kubernetes version to change the master to. The only valid value is the
|
||||
# latest supported version. Use "-" to have the server automatically select
|
||||
# the latest version.
|
||||
# The Kubernetes version to change the master to.
|
||||
# Users may specify either explicit versions offered by
|
||||
# Kubernetes Engine or version aliases, which have the following behavior:
|
||||
# - "latest": picks the highest valid Kubernetes version
|
||||
# - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
||||
# - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
||||
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
||||
# - "-": picks the default Kubernetes version
|
||||
# Corresponds to the JSON property `masterVersion`
|
||||
# @return [String]
|
||||
attr_accessor :master_version
|
||||
|
@ -2691,8 +2717,14 @@ module Google
|
|||
attr_accessor :node_pool_id
|
||||
|
||||
# The Kubernetes version to change the nodes to (typically an
|
||||
# upgrade). Use `-` to upgrade to the latest version supported by
|
||||
# the server.
|
||||
# upgrade).
|
||||
# Users may specify either explicit versions offered by Kubernetes Engine or
|
||||
# version aliases, which have the following behavior:
|
||||
# - "latest": picks the highest valid Kubernetes version
|
||||
# - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
|
||||
# - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
|
||||
# - "1.X.Y-gke.N": picks an explicit Kubernetes version
|
||||
# - "-": picks the Kubernetes master version
|
||||
# Corresponds to the JSON property `nodeVersion`
|
||||
# @return [String]
|
||||
attr_accessor :node_version
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180313'
|
||||
REVISION = '20180326'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -673,22 +673,6 @@ module Google
|
|||
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
||||
attr_accessor :resource
|
||||
|
||||
# An object representing a resource that can be used for monitoring, logging,
|
||||
# billing, or other purposes. Examples include virtual machine instances,
|
||||
# databases, and storage devices such as disks. The type field identifies a
|
||||
# MonitoredResourceDescriptor object that describes the resource's schema.
|
||||
# Information in the labels field identifies the actual resource and its
|
||||
# attributes according to the schema. For example, a particular Compute Engine
|
||||
# VM instance could be represented by the following object, because the
|
||||
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
||||
# zone":
|
||||
# ` "type": "gce_instance",
|
||||
# "labels": ` "instance_id": "12345678901234",
|
||||
# "zone": "us-central1-a" ``
|
||||
# Corresponds to the JSON property `secondaryResource`
|
||||
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
||||
attr_accessor :secondary_resource
|
||||
|
||||
# Optional. The severity of the log entry. The default value is LogSeverity.
|
||||
# DEFAULT.
|
||||
# Corresponds to the JSON property `severity`
|
||||
|
@ -749,7 +733,6 @@ module Google
|
|||
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
||||
@receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp)
|
||||
@resource = args[:resource] if args.key?(:resource)
|
||||
@secondary_resource = args[:secondary_resource] if args.key?(:secondary_resource)
|
||||
@severity = args[:severity] if args.key?(:severity)
|
||||
@source_location = args[:source_location] if args.key?(:source_location)
|
||||
@span_id = args[:span_id] if args.key?(:span_id)
|
||||
|
@ -1724,22 +1707,6 @@ module Google
|
|||
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
||||
attr_accessor :resource
|
||||
|
||||
# An object representing a resource that can be used for monitoring, logging,
|
||||
# billing, or other purposes. Examples include virtual machine instances,
|
||||
# databases, and storage devices such as disks. The type field identifies a
|
||||
# MonitoredResourceDescriptor object that describes the resource's schema.
|
||||
# Information in the labels field identifies the actual resource and its
|
||||
# attributes according to the schema. For example, a particular Compute Engine
|
||||
# VM instance could be represented by the following object, because the
|
||||
# MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
|
||||
# zone":
|
||||
# ` "type": "gce_instance",
|
||||
# "labels": ` "instance_id": "12345678901234",
|
||||
# "zone": "us-central1-a" ``
|
||||
# Corresponds to the JSON property `secondaryResource`
|
||||
# @return [Google::Apis::LoggingV2::MonitoredResource]
|
||||
attr_accessor :secondary_resource
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1752,7 +1719,6 @@ module Google
|
|||
@log_name = args[:log_name] if args.key?(:log_name)
|
||||
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
||||
@resource = args[:resource] if args.key?(:resource)
|
||||
@secondary_resource = args[:secondary_resource] if args.key?(:secondary_resource)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -349,8 +349,6 @@ module Google
|
|||
property :receive_timestamp, as: 'receiveTimestamp'
|
||||
property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
|
||||
|
||||
property :secondary_resource, as: 'secondaryResource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
|
||||
|
||||
property :severity, as: 'severity'
|
||||
property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2::LogEntrySourceLocation::Representation
|
||||
|
||||
|
@ -534,8 +532,6 @@ module Google
|
|||
property :partial_success, as: 'partialSuccess'
|
||||
property :resource, as: 'resource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
|
||||
|
||||
property :secondary_resource, as: 'secondaryResource', class: Google::Apis::LoggingV2::MonitoredResource, decorator: Google::Apis::LoggingV2::MonitoredResource::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ module Google
|
|||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://content-logging.googleapis.com/', '')
|
||||
super('https://logging.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180213'
|
||||
REVISION = '20180326'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-management/
|
||||
module ServicemanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180317'
|
||||
REVISION = '20180323'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -45,7 +45,7 @@ module Google
|
|||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://content-servicemanagement.googleapis.com/', '')
|
||||
super('https://servicemanagement.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-management/
|
||||
module ServiceuserV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180316'
|
||||
REVISION = '20180323'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -45,7 +45,7 @@ module Google
|
|||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://content-serviceuser.googleapis.com/', '')
|
||||
super('https://serviceuser.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180320'
|
||||
REVISION = '20180327'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -968,11 +968,6 @@ module Google
|
|||
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig]
|
||||
attr_accessor :output_config
|
||||
|
||||
# The full list of output files in GCS.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination>]
|
||||
attr_accessor :outputs
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -980,7 +975,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@output_config = args[:output_config] if args.key?(:output_config)
|
||||
@outputs = args[:outputs] if args.key?(:outputs)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -543,8 +543,6 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20180320'
|
||||
REVISION = '20180327'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1710,11 +1710,6 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig]
|
||||
attr_accessor :output_config
|
||||
|
||||
# The full list of output files in GCS.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination>]
|
||||
attr_accessor :outputs
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1722,7 +1717,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@output_config = args[:output_config] if args.key?(:output_config)
|
||||
@outputs = args[:outputs] if args.key?(:outputs)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -742,8 +742,6 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20180320'
|
||||
REVISION = '20180327'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -375,11 +375,6 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig]
|
||||
attr_accessor :output_config
|
||||
|
||||
# The full list of output files in GCS.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1GcsDestination>]
|
||||
attr_accessor :outputs
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -387,7 +382,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@output_config = args[:output_config] if args.key?(:output_config)
|
||||
@outputs = args[:outputs] if args.key?(:outputs)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -411,8 +411,6 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1GcsDestination, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1GcsDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180319'
|
||||
REVISION = '20180326'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue