Autogenerated update (2018-09-28)

Update:
- cloudbuild_v1
- iamcredentials_v1
- logging_v2
- logging_v2beta1
- monitoring_v3
- servicemanagement_v1
- serviceuser_v1
- streetviewpublish_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-09-28 00:36:28 +00:00
parent d59753a5aa
commit d7e41fb2a9
24 changed files with 58 additions and 414 deletions

View File

@ -68962,6 +68962,7 @@
"/logging:v2/LogEntry/textPayload": text_payload "/logging:v2/LogEntry/textPayload": text_payload
"/logging:v2/LogEntry/timestamp": timestamp "/logging:v2/LogEntry/timestamp": timestamp
"/logging:v2/LogEntry/trace": trace "/logging:v2/LogEntry/trace": trace
"/logging:v2/LogEntry/traceSampled": trace_sampled
"/logging:v2/LogEntryOperation": log_entry_operation "/logging:v2/LogEntryOperation": log_entry_operation
"/logging:v2/LogEntryOperation/first": first "/logging:v2/LogEntryOperation/first": first
"/logging:v2/LogEntryOperation/id": id "/logging:v2/LogEntryOperation/id": id
@ -69376,6 +69377,7 @@
"/logging:v2beta1/LogEntry/textPayload": text_payload "/logging:v2beta1/LogEntry/textPayload": text_payload
"/logging:v2beta1/LogEntry/timestamp": timestamp "/logging:v2beta1/LogEntry/timestamp": timestamp
"/logging:v2beta1/LogEntry/trace": trace "/logging:v2beta1/LogEntry/trace": trace
"/logging:v2beta1/LogEntry/traceSampled": trace_sampled
"/logging:v2beta1/LogEntryOperation": log_entry_operation "/logging:v2beta1/LogEntryOperation": log_entry_operation
"/logging:v2beta1/LogEntryOperation/first": first "/logging:v2beta1/LogEntryOperation/first": first
"/logging:v2beta1/LogEntryOperation/id": id "/logging:v2beta1/LogEntryOperation/id": id

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/cloud-build/docs/ # @see https://cloud.google.com/cloud-build/docs/
module CloudbuildV1 module CloudbuildV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180910' REVISION = '20180927'
# 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

@ -485,11 +485,11 @@ module Google
attr_accessor :timing attr_accessor :timing
# List of volumes to mount into the build step. # List of volumes to mount into the build step.
# Each volume will be created as an empty volume prior to execution of the # Each volume is created as an empty volume prior to execution of the
# build step. Upon completion of the build, volumes and their contents will # build step. Upon completion of the build, volumes and their contents are
# be discarded. # discarded.
# Using a named volume in only one step is not valid as it is indicative # Using a named volume in only one step is not valid as it is indicative
# of a mis-configured build request. # of a build request with an incorrect configuration.
# Corresponds to the JSON property `volumes` # Corresponds to the JSON property `volumes`
# @return [Array<Google::Apis::CloudbuildV1::Volume>] # @return [Array<Google::Apis::CloudbuildV1::Volume>]
attr_accessor :volumes attr_accessor :volumes
@ -1041,7 +1041,7 @@ module Google
# Map of environment variable name to its encrypted value. # Map of environment variable name to its encrypted value.
# Secret environment variables must be unique across all of a build's # Secret environment variables must be unique across all of a build's
# secrets, and must be used by at least one build step. Values can be at most # secrets, and must be used by at least one build step. Values can be at most
# 1 KB in size. There can be at most ten secret values across all of a # 2 KB in size. There can be at most ten secret values across all of a
# build's secrets. # build's secrets.
# Corresponds to the JSON property `secretEnv` # Corresponds to the JSON property `secretEnv`
# @return [Hash<String,String>] # @return [Hash<String,String>]

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials # @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
module IamcredentialsV1 module IamcredentialsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180913' REVISION = '20180921'
# 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

@ -52,8 +52,6 @@ module Google
# The resource name of the service account for which the credentials # The resource name of the service account for which the credentials
# are requested, in the following format: # are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# Using `-` as a wildcard for the project will infer the project from
# the account.
# @param [Google::Apis::IamcredentialsV1::GenerateAccessTokenRequest] generate_access_token_request_object # @param [Google::Apis::IamcredentialsV1::GenerateAccessTokenRequest] generate_access_token_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -89,8 +87,6 @@ module Google
# The resource name of the service account for which the credentials # The resource name of the service account for which the credentials
# are requested, in the following format: # are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# Using `-` as a wildcard for the project will infer the project from
# the account.
# @param [Google::Apis::IamcredentialsV1::GenerateIdTokenRequest] generate_id_token_request_object # @param [Google::Apis::IamcredentialsV1::GenerateIdTokenRequest] generate_id_token_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -126,8 +122,6 @@ module Google
# The resource name of the service account for which the credentials # The resource name of the service account for which the credentials
# are requested, in the following format: # are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# Use hyphen as placeholder for project id since there is no project context
# for this API.
# @param [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest] generate_identity_binding_access_token_request_object # @param [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest] generate_identity_binding_access_token_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -163,8 +157,6 @@ module Google
# The resource name of the service account for which the credentials # The resource name of the service account for which the credentials
# are requested, in the following format: # are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# Using `-` as a wildcard for the project will infer the project from
# the account.
# @param [Google::Apis::IamcredentialsV1::SignBlobRequest] sign_blob_request_object # @param [Google::Apis::IamcredentialsV1::SignBlobRequest] sign_blob_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -200,8 +192,6 @@ module Google
# The resource name of the service account for which the credentials # The resource name of the service account for which the credentials
# are requested, in the following format: # are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. # `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# Using `-` as a wildcard for the project will infer the project from
# the account.
# @param [Google::Apis::IamcredentialsV1::SignJwtRequest] sign_jwt_request_object # @param [Google::Apis::IamcredentialsV1::SignJwtRequest] sign_jwt_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/ # @see https://cloud.google.com/logging/docs/
module LoggingV2 module LoggingV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180915' REVISION = '20180922'
# 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

@ -728,6 +728,17 @@ module Google
# @return [String] # @return [String]
attr_accessor :trace attr_accessor :trace
# Optional. The sampling decision of the trace associated with the log entry.
# True means that the trace resource name in the trace field was sampled for
# storage in a trace backend. False means that the trace was not sampled for
# storage when this log entry was written, or the sampling decision was unknown
# at the time. A non-sampled trace value is still useful as a request
# correlation identifier. The default is False.
# Corresponds to the JSON property `traceSampled`
# @return [Boolean]
attr_accessor :trace_sampled
alias_method :trace_sampled?, :trace_sampled
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -750,6 +761,7 @@ module Google
@text_payload = args[:text_payload] if args.key?(:text_payload) @text_payload = args[:text_payload] if args.key?(:text_payload)
@timestamp = args[:timestamp] if args.key?(:timestamp) @timestamp = args[:timestamp] if args.key?(:timestamp)
@trace = args[:trace] if args.key?(:trace) @trace = args[:trace] if args.key?(:trace)
@trace_sampled = args[:trace_sampled] if args.key?(:trace_sampled)
end end
end end

View File

@ -370,6 +370,7 @@ module Google
property :text_payload, as: 'textPayload' property :text_payload, as: 'textPayload'
property :timestamp, as: 'timestamp' property :timestamp, as: 'timestamp'
property :trace, as: 'trace' property :trace, as: 'trace'
property :trace_sampled, as: 'traceSampled'
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/ # @see https://cloud.google.com/logging/docs/
module LoggingV2beta1 module LoggingV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20180915' REVISION = '20180922'
# 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

@ -701,6 +701,17 @@ module Google
# @return [String] # @return [String]
attr_accessor :trace attr_accessor :trace
# Optional. The sampling decision of the trace associated with the log entry.
# True means that the trace resource name in the trace field was sampled for
# storage in a trace backend. False means that the trace was not sampled for
# storage when this log entry was written, or the sampling decision was unknown
# at the time. A non-sampled trace value is still useful as a request
# correlation identifier. The default is False.
# Corresponds to the JSON property `traceSampled`
# @return [Boolean]
attr_accessor :trace_sampled
alias_method :trace_sampled?, :trace_sampled
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -723,6 +734,7 @@ module Google
@text_payload = args[:text_payload] if args.key?(:text_payload) @text_payload = args[:text_payload] if args.key?(:text_payload)
@timestamp = args[:timestamp] if args.key?(:timestamp) @timestamp = args[:timestamp] if args.key?(:timestamp)
@trace = args[:trace] if args.key?(:trace) @trace = args[:trace] if args.key?(:trace)
@trace_sampled = args[:trace_sampled] if args.key?(:trace_sampled)
end end
end end

View File

@ -349,6 +349,7 @@ module Google
property :text_payload, as: 'textPayload' property :text_payload, as: 'textPayload'
property :timestamp, as: 'timestamp' property :timestamp, as: 'timestamp'
property :trace, as: 'trace' property :trace, as: 'trace'
property :trace_sampled, as: 'traceSampled'
end end
end end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20180916' REVISION = '20180922'
# 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

@ -1983,7 +1983,8 @@ module Google
# Required. The monitored resource type. This field must match the type field of # Required. The monitored resource type. This field must match the type field of
# a MonitoredResourceDescriptor object. For example, the type of a Compute # a MonitoredResourceDescriptor object. For example, the type of a Compute
# Engine VM instance is gce_instance. # Engine VM instance is gce_instance. For a list of types, see Monitoring
# resource types and Logging resource types.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type

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 = '20180907' REVISION = '20180922'
# 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

@ -1924,22 +1924,6 @@ module Google
# @return [String] # @return [String]
attr_accessor :get attr_accessor :get
# Defines the Media configuration for a service in case of a download.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
# Corresponds to the JSON property `mediaDownload`
# @return [Google::Apis::ServicemanagementV1::MediaDownload]
attr_accessor :media_download
# Defines the Media configuration for a service in case of an upload.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
# Corresponds to the JSON property `mediaUpload`
# @return [Google::Apis::ServicemanagementV1::MediaUpload]
attr_accessor :media_upload
# Maps to HTTP PATCH. Used for updating a resource. # Maps to HTTP PATCH. Used for updating a resource.
# Corresponds to the JSON property `patch` # Corresponds to the JSON property `patch`
# @return [String] # @return [String]
@ -1981,8 +1965,6 @@ module Google
@custom = args[:custom] if args.key?(:custom) @custom = args[:custom] if args.key?(:custom)
@delete = args[:delete] if args.key?(:delete) @delete = args[:delete] if args.key?(:delete)
@get = args[:get] if args.key?(:get) @get = args[:get] if args.key?(:get)
@media_download = args[:media_download] if args.key?(:media_download)
@media_upload = args[:media_upload] if args.key?(:media_upload)
@patch = args[:patch] if args.key?(:patch) @patch = args[:patch] if args.key?(:patch)
@post = args[:post] if args.key?(:post) @post = args[:post] if args.key?(:post)
@put = args[:put] if args.key?(:put) @put = args[:put] if args.key?(:put)
@ -2286,138 +2268,6 @@ module Google
end end
end end
# Defines the Media configuration for a service in case of a download.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
class MediaDownload
include Google::Apis::Core::Hashable
# A boolean that determines whether a notification for the completion of a
# download should be sent to the backend.
# Corresponds to the JSON property `completeNotification`
# @return [Boolean]
attr_accessor :complete_notification
alias_method :complete_notification?, :complete_notification
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
# Specify name of the download service if one is used for download.
# Corresponds to the JSON property `downloadService`
# @return [String]
attr_accessor :download_service
# Name of the Scotty dropzone to use for the current API.
# Corresponds to the JSON property `dropzone`
# @return [String]
attr_accessor :dropzone
# Whether download is enabled.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# Optional maximum acceptable size for direct download.
# The size is specified in bytes.
# Corresponds to the JSON property `maxDirectDownloadSize`
# @return [Fixnum]
attr_accessor :max_direct_download_size
# A boolean that determines if direct download from ESF should be used for
# download of this media.
# Corresponds to the JSON property `useDirectDownload`
# @return [Boolean]
attr_accessor :use_direct_download
alias_method :use_direct_download?, :use_direct_download
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
@download_service = args[:download_service] if args.key?(:download_service)
@dropzone = args[:dropzone] if args.key?(:dropzone)
@enabled = args[:enabled] if args.key?(:enabled)
@max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size)
@use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download)
end
end
# Defines the Media configuration for a service in case of an upload.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
class MediaUpload
include Google::Apis::Core::Hashable
# A boolean that determines whether a notification for the completion of an
# upload should be sent to the backend. These notifications will not be seen
# by the client and will not consume quota.
# Corresponds to the JSON property `completeNotification`
# @return [Boolean]
attr_accessor :complete_notification
alias_method :complete_notification?, :complete_notification
# Name of the Scotty dropzone to use for the current API.
# Corresponds to the JSON property `dropzone`
# @return [String]
attr_accessor :dropzone
# Whether upload is enabled.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# Optional maximum acceptable size for an upload.
# The size is specified in bytes.
# Corresponds to the JSON property `maxSize`
# @return [Fixnum]
attr_accessor :max_size
# An array of mimetype patterns. Esf will only accept uploads that match one
# of the given patterns.
# Corresponds to the JSON property `mimeTypes`
# @return [Array<String>]
attr_accessor :mime_types
# Whether to receive a notification for progress changes of media upload.
# Corresponds to the JSON property `progressNotification`
# @return [Boolean]
attr_accessor :progress_notification
alias_method :progress_notification?, :progress_notification
# Whether to receive a notification on the start of media upload.
# Corresponds to the JSON property `startNotification`
# @return [Boolean]
attr_accessor :start_notification
alias_method :start_notification?, :start_notification
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
# Specify name of the upload service if one is used for upload.
# Corresponds to the JSON property `uploadService`
# @return [String]
attr_accessor :upload_service
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
@dropzone = args[:dropzone] if args.key?(:dropzone)
@enabled = args[:enabled] if args.key?(:enabled)
@max_size = args[:max_size] if args.key?(:max_size)
@mime_types = args[:mime_types] if args.key?(:mime_types)
@progress_notification = args[:progress_notification] if args.key?(:progress_notification)
@start_notification = args[:start_notification] if args.key?(:start_notification)
@upload_service = args[:upload_service] if args.key?(:upload_service)
end
end
# Method represents a method of an API interface. # Method represents a method of an API interface.
class MethodProp class MethodProp
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3265,6 +3115,7 @@ module Google
# quota checks at runtime. # quota checks at runtime.
# An example quota configuration in yaml format: # An example quota configuration in yaml format:
# quota: # quota:
# limits:
# - name: apiWriteQpsPerProject # - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls # metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects # unit: "1/min/`project`" # rate limit for consumer projects
@ -3860,6 +3711,7 @@ module Google
# quota checks at runtime. # quota checks at runtime.
# An example quota configuration in yaml format: # An example quota configuration in yaml format:
# quota: # quota:
# limits:
# - name: apiWriteQpsPerProject # - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls # metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects # unit: "1/min/`project`" # rate limit for consumer projects

View File

@ -328,18 +328,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MediaDownload
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MediaUpload
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MethodProp class MethodProp
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -945,10 +933,6 @@ module Google
property :delete, as: 'delete' property :delete, as: 'delete'
property :get, as: 'get' property :get, as: 'get'
property :media_download, as: 'mediaDownload', class: Google::Apis::ServicemanagementV1::MediaDownload, decorator: Google::Apis::ServicemanagementV1::MediaDownload::Representation
property :media_upload, as: 'mediaUpload', class: Google::Apis::ServicemanagementV1::MediaUpload, decorator: Google::Apis::ServicemanagementV1::MediaUpload::Representation
property :patch, as: 'patch' property :patch, as: 'patch'
property :post, as: 'post' property :post, as: 'post'
property :put, as: 'put' property :put, as: 'put'
@ -1039,32 +1023,6 @@ module Google
end end
end end
class MediaDownload
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :complete_notification, as: 'completeNotification'
property :download_service, as: 'downloadService'
property :dropzone, as: 'dropzone'
property :enabled, as: 'enabled'
property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize'
property :use_direct_download, as: 'useDirectDownload'
end
end
class MediaUpload
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :complete_notification, as: 'completeNotification'
property :dropzone, as: 'dropzone'
property :enabled, as: 'enabled'
property :max_size, :numeric_string => true, as: 'maxSize'
collection :mime_types, as: 'mimeTypes'
property :progress_notification, as: 'progressNotification'
property :start_notification, as: 'startNotification'
property :upload_service, as: 'uploadService'
end
end
class MethodProp class MethodProp
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

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

@ -1373,22 +1373,6 @@ module Google
# @return [String] # @return [String]
attr_accessor :get attr_accessor :get
# Defines the Media configuration for a service in case of a download.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
# Corresponds to the JSON property `mediaDownload`
# @return [Google::Apis::ServiceuserV1::MediaDownload]
attr_accessor :media_download
# Defines the Media configuration for a service in case of an upload.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
# Corresponds to the JSON property `mediaUpload`
# @return [Google::Apis::ServiceuserV1::MediaUpload]
attr_accessor :media_upload
# Maps to HTTP PATCH. Used for updating a resource. # Maps to HTTP PATCH. Used for updating a resource.
# Corresponds to the JSON property `patch` # Corresponds to the JSON property `patch`
# @return [String] # @return [String]
@ -1430,8 +1414,6 @@ module Google
@custom = args[:custom] if args.key?(:custom) @custom = args[:custom] if args.key?(:custom)
@delete = args[:delete] if args.key?(:delete) @delete = args[:delete] if args.key?(:delete)
@get = args[:get] if args.key?(:get) @get = args[:get] if args.key?(:get)
@media_download = args[:media_download] if args.key?(:media_download)
@media_upload = args[:media_upload] if args.key?(:media_upload)
@patch = args[:patch] if args.key?(:patch) @patch = args[:patch] if args.key?(:patch)
@post = args[:post] if args.key?(:post) @post = args[:post] if args.key?(:post)
@put = args[:put] if args.key?(:put) @put = args[:put] if args.key?(:put)
@ -1634,138 +1616,6 @@ module Google
end end
end end
# Defines the Media configuration for a service in case of a download.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
class MediaDownload
include Google::Apis::Core::Hashable
# A boolean that determines whether a notification for the completion of a
# download should be sent to the backend.
# Corresponds to the JSON property `completeNotification`
# @return [Boolean]
attr_accessor :complete_notification
alias_method :complete_notification?, :complete_notification
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
# Specify name of the download service if one is used for download.
# Corresponds to the JSON property `downloadService`
# @return [String]
attr_accessor :download_service
# Name of the Scotty dropzone to use for the current API.
# Corresponds to the JSON property `dropzone`
# @return [String]
attr_accessor :dropzone
# Whether download is enabled.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# Optional maximum acceptable size for direct download.
# The size is specified in bytes.
# Corresponds to the JSON property `maxDirectDownloadSize`
# @return [Fixnum]
attr_accessor :max_direct_download_size
# A boolean that determines if direct download from ESF should be used for
# download of this media.
# Corresponds to the JSON property `useDirectDownload`
# @return [Boolean]
attr_accessor :use_direct_download
alias_method :use_direct_download?, :use_direct_download
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
@download_service = args[:download_service] if args.key?(:download_service)
@dropzone = args[:dropzone] if args.key?(:dropzone)
@enabled = args[:enabled] if args.key?(:enabled)
@max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size)
@use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download)
end
end
# Defines the Media configuration for a service in case of an upload.
# Use this only for Scotty Requests. Do not use this for media support using
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
# your configuration for Bytestream methods.
class MediaUpload
include Google::Apis::Core::Hashable
# A boolean that determines whether a notification for the completion of an
# upload should be sent to the backend. These notifications will not be seen
# by the client and will not consume quota.
# Corresponds to the JSON property `completeNotification`
# @return [Boolean]
attr_accessor :complete_notification
alias_method :complete_notification?, :complete_notification
# Name of the Scotty dropzone to use for the current API.
# Corresponds to the JSON property `dropzone`
# @return [String]
attr_accessor :dropzone
# Whether upload is enabled.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# Optional maximum acceptable size for an upload.
# The size is specified in bytes.
# Corresponds to the JSON property `maxSize`
# @return [Fixnum]
attr_accessor :max_size
# An array of mimetype patterns. Esf will only accept uploads that match one
# of the given patterns.
# Corresponds to the JSON property `mimeTypes`
# @return [Array<String>]
attr_accessor :mime_types
# Whether to receive a notification for progress changes of media upload.
# Corresponds to the JSON property `progressNotification`
# @return [Boolean]
attr_accessor :progress_notification
alias_method :progress_notification?, :progress_notification
# Whether to receive a notification on the start of media upload.
# Corresponds to the JSON property `startNotification`
# @return [Boolean]
attr_accessor :start_notification
alias_method :start_notification?, :start_notification
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
# Specify name of the upload service if one is used for upload.
# Corresponds to the JSON property `uploadService`
# @return [String]
attr_accessor :upload_service
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
@dropzone = args[:dropzone] if args.key?(:dropzone)
@enabled = args[:enabled] if args.key?(:enabled)
@max_size = args[:max_size] if args.key?(:max_size)
@mime_types = args[:mime_types] if args.key?(:mime_types)
@progress_notification = args[:progress_notification] if args.key?(:progress_notification)
@start_notification = args[:start_notification] if args.key?(:start_notification)
@upload_service = args[:upload_service] if args.key?(:upload_service)
end
end
# Method represents a method of an API interface. # Method represents a method of an API interface.
class MethodProp class MethodProp
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2578,6 +2428,7 @@ module Google
# quota checks at runtime. # quota checks at runtime.
# An example quota configuration in yaml format: # An example quota configuration in yaml format:
# quota: # quota:
# limits:
# - name: apiWriteQpsPerProject # - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls # metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects # unit: "1/min/`project`" # rate limit for consumer projects
@ -3108,6 +2959,7 @@ module Google
# quota checks at runtime. # quota checks at runtime.
# An example quota configuration in yaml format: # An example quota configuration in yaml format:
# quota: # quota:
# limits:
# - name: apiWriteQpsPerProject # - name: apiWriteQpsPerProject
# metric: library.googleapis.com/write_calls # metric: library.googleapis.com/write_calls
# unit: "1/min/`project`" # rate limit for consumer projects # unit: "1/min/`project`" # rate limit for consumer projects

View File

@ -214,18 +214,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class MediaDownload
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MediaUpload
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MethodProp class MethodProp
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -657,10 +645,6 @@ module Google
property :delete, as: 'delete' property :delete, as: 'delete'
property :get, as: 'get' property :get, as: 'get'
property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceuserV1::MediaDownload, decorator: Google::Apis::ServiceuserV1::MediaDownload::Representation
property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceuserV1::MediaUpload, decorator: Google::Apis::ServiceuserV1::MediaUpload::Representation
property :patch, as: 'patch' property :patch, as: 'patch'
property :post, as: 'post' property :post, as: 'post'
property :put, as: 'put' property :put, as: 'put'
@ -716,32 +700,6 @@ module Google
end end
end end
class MediaDownload
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :complete_notification, as: 'completeNotification'
property :download_service, as: 'downloadService'
property :dropzone, as: 'dropzone'
property :enabled, as: 'enabled'
property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize'
property :use_direct_download, as: 'useDirectDownload'
end
end
class MediaUpload
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :complete_notification, as: 'completeNotification'
property :dropzone, as: 'dropzone'
property :enabled, as: 'enabled'
property :max_size, :numeric_string => true, as: 'maxSize'
collection :mime_types, as: 'mimeTypes'
property :progress_notification, as: 'progressNotification'
property :start_notification, as: 'startNotification'
property :upload_service, as: 'uploadService'
end
end
class MethodProp class MethodProp
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/streetview/publish/ # @see https://developers.google.com/streetview/publish/
module StreetviewpublishV1 module StreetviewpublishV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180924' REVISION = '20180927'
# Publish and manage your 360 photos on Google Street View # Publish and manage your 360 photos on Google Street View
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'

View File

@ -541,9 +541,13 @@ module Google
class Pose class Pose
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The estimated horizontal accuracy of this pose in meters with 68% (one # The estimated horizontal accuracy of this pose in meters with 68%
# standard deviation) confidence. For more information, see: # confidence (one standard deviation). For example, on Android, this value is
# available from this method:
# https://developer.android.com/reference/android/location/Location#getAccuracy() # https://developer.android.com/reference/android/location/Location#getAccuracy()
# .
# Other platforms have different methods of obtaining similar accuracy
# estimations.
# Corresponds to the JSON property `accuracyMeters` # Corresponds to the JSON property `accuracyMeters`
# @return [Float] # @return [Float]
attr_accessor :accuracy_meters attr_accessor :accuracy_meters

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Youtube Content ID API # Youtube Content ID API
# #
# API for YouTube partners. To use this API YouTube CMS account is required. # API for YouTube partners. To use this API a YouTube CMS account is required.
# #
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180910' REVISION = '20180925'
# 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'

View File

@ -3055,7 +3055,8 @@ module Google
attr_accessor :fp_direct attr_accessor :fp_direct
alias_method :fp_direct?, :fp_direct alias_method :fp_direct?, :fp_direct
# The MD5 hashcode of the reference content. # The MD5 hashcode of the reference content. Deprecated! This is no longer
# populated.
# Corresponds to the JSON property `hashCode` # Corresponds to the JSON property `hashCode`
# @return [String] # @return [String]
attr_accessor :hash_code attr_accessor :hash_code

View File

@ -22,7 +22,7 @@ module Google
module YoutubePartnerV1 module YoutubePartnerV1
# Youtube Content ID API # Youtube Content ID API
# #
# API for YouTube partners. To use this API YouTube CMS account is required. # API for YouTube partners. To use this API a YouTube CMS account is required.
# #
# @example # @example
# require 'google/apis/youtube_partner_v1' # require 'google/apis/youtube_partner_v1'