diff --git a/api_names_out.yaml b/api_names_out.yaml index d36b76728..b13887631 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -68962,6 +68962,7 @@ "/logging:v2/LogEntry/textPayload": text_payload "/logging:v2/LogEntry/timestamp": timestamp "/logging:v2/LogEntry/trace": trace +"/logging:v2/LogEntry/traceSampled": trace_sampled "/logging:v2/LogEntryOperation": log_entry_operation "/logging:v2/LogEntryOperation/first": first "/logging:v2/LogEntryOperation/id": id @@ -69376,6 +69377,7 @@ "/logging:v2beta1/LogEntry/textPayload": text_payload "/logging:v2beta1/LogEntry/timestamp": timestamp "/logging:v2beta1/LogEntry/trace": trace +"/logging:v2beta1/LogEntry/traceSampled": trace_sampled "/logging:v2beta1/LogEntryOperation": log_entry_operation "/logging:v2beta1/LogEntryOperation/first": first "/logging:v2beta1/LogEntryOperation/id": id diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index a811d61a2..5cfdacfe6 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/cloud-build/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20180910' + REVISION = '20180927' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index 8ad82bf11..1955d5e02 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -485,11 +485,11 @@ module Google attr_accessor :timing # List of volumes to mount into the build step. - # Each volume will be created as an empty volume prior to execution of the - # build step. Upon completion of the build, volumes and their contents will - # be discarded. + # Each volume is created as an empty volume prior to execution of the + # build step. Upon completion of the build, volumes and their contents are + # discarded. # 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` # @return [Array] attr_accessor :volumes @@ -1041,7 +1041,7 @@ module Google # Map of environment variable name to its encrypted value. # 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 - # 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. # Corresponds to the JSON property `secretEnv` # @return [Hash] diff --git a/generated/google/apis/iamcredentials_v1.rb b/generated/google/apis/iamcredentials_v1.rb index ba3b87251..a4730991d 100644 --- a/generated/google/apis/iamcredentials_v1.rb +++ b/generated/google/apis/iamcredentials_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials module IamcredentialsV1 VERSION = 'V1' - REVISION = '20180913' + REVISION = '20180921' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iamcredentials_v1/service.rb b/generated/google/apis/iamcredentials_v1/service.rb index 572c0a5bb..c8f48d4af 100644 --- a/generated/google/apis/iamcredentials_v1/service.rb +++ b/generated/google/apis/iamcredentials_v1/service.rb @@ -52,8 +52,6 @@ module Google # The resource name of the service account for which the credentials # are requested, in the following format: # `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 [String] fields # 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 # are requested, in the following format: # `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 [String] fields # 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 # are requested, in the following format: # `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 [String] fields # 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 # are requested, in the following format: # `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 [String] fields # 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 # are requested, in the following format: # `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 [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/logging_v2.rb b/generated/google/apis/logging_v2.rb index ff6a3e8b5..74d78112c 100644 --- a/generated/google/apis/logging_v2.rb +++ b/generated/google/apis/logging_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2 VERSION = 'V2' - REVISION = '20180915' + REVISION = '20180922' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/logging_v2/classes.rb b/generated/google/apis/logging_v2/classes.rb index eb3defedb..347c30985 100644 --- a/generated/google/apis/logging_v2/classes.rb +++ b/generated/google/apis/logging_v2/classes.rb @@ -728,6 +728,17 @@ module Google # @return [String] 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) update!(**args) end @@ -750,6 +761,7 @@ module Google @text_payload = args[:text_payload] if args.key?(:text_payload) @timestamp = args[:timestamp] if args.key?(:timestamp) @trace = args[:trace] if args.key?(:trace) + @trace_sampled = args[:trace_sampled] if args.key?(:trace_sampled) end end diff --git a/generated/google/apis/logging_v2/representations.rb b/generated/google/apis/logging_v2/representations.rb index 695041f37..51f4f1241 100644 --- a/generated/google/apis/logging_v2/representations.rb +++ b/generated/google/apis/logging_v2/representations.rb @@ -370,6 +370,7 @@ module Google property :text_payload, as: 'textPayload' property :timestamp, as: 'timestamp' property :trace, as: 'trace' + property :trace_sampled, as: 'traceSampled' end end diff --git a/generated/google/apis/logging_v2beta1.rb b/generated/google/apis/logging_v2beta1.rb index ab76ad415..cd96299b3 100644 --- a/generated/google/apis/logging_v2beta1.rb +++ b/generated/google/apis/logging_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2beta1 VERSION = 'V2beta1' - REVISION = '20180915' + REVISION = '20180922' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/logging_v2beta1/classes.rb b/generated/google/apis/logging_v2beta1/classes.rb index 3047a17d1..9a6eb230d 100644 --- a/generated/google/apis/logging_v2beta1/classes.rb +++ b/generated/google/apis/logging_v2beta1/classes.rb @@ -701,6 +701,17 @@ module Google # @return [String] 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) update!(**args) end @@ -723,6 +734,7 @@ module Google @text_payload = args[:text_payload] if args.key?(:text_payload) @timestamp = args[:timestamp] if args.key?(:timestamp) @trace = args[:trace] if args.key?(:trace) + @trace_sampled = args[:trace_sampled] if args.key?(:trace_sampled) end end diff --git a/generated/google/apis/logging_v2beta1/representations.rb b/generated/google/apis/logging_v2beta1/representations.rb index ce836847a..ab27044a1 100644 --- a/generated/google/apis/logging_v2beta1/representations.rb +++ b/generated/google/apis/logging_v2beta1/representations.rb @@ -349,6 +349,7 @@ module Google property :text_payload, as: 'textPayload' property :timestamp, as: 'timestamp' property :trace, as: 'trace' + property :trace_sampled, as: 'traceSampled' end end diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index f95799b65..d0d036e76 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20180916' + REVISION = '20180922' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index 014282b0e..a79f1519a 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -1983,7 +1983,8 @@ module Google # Required. The monitored resource type. This field must match the type field of # 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` # @return [String] attr_accessor :type diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index bfcc2856d..45433b4ea 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServicemanagementV1 VERSION = 'V1' - REVISION = '20180907' + REVISION = '20180922' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index 90859e8a6..bec536201 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -1924,22 +1924,6 @@ module Google # @return [String] 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. # Corresponds to the JSON property `patch` # @return [String] @@ -1981,8 +1965,6 @@ module Google @custom = args[:custom] if args.key?(:custom) @delete = args[:delete] if args.key?(:delete) @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) @post = args[:post] if args.key?(:post) @put = args[:put] if args.key?(:put) @@ -2286,138 +2268,6 @@ module Google 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] - 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. class MethodProp include Google::Apis::Core::Hashable @@ -3265,6 +3115,7 @@ module Google # quota checks at runtime. # An example quota configuration in yaml format: # quota: + # limits: # - name: apiWriteQpsPerProject # metric: library.googleapis.com/write_calls # unit: "1/min/`project`" # rate limit for consumer projects @@ -3860,6 +3711,7 @@ module Google # quota checks at runtime. # An example quota configuration in yaml format: # quota: + # limits: # - name: apiWriteQpsPerProject # metric: library.googleapis.com/write_calls # unit: "1/min/`project`" # rate limit for consumer projects diff --git a/generated/google/apis/servicemanagement_v1/representations.rb b/generated/google/apis/servicemanagement_v1/representations.rb index 8edaa6d76..a84d4a573 100644 --- a/generated/google/apis/servicemanagement_v1/representations.rb +++ b/generated/google/apis/servicemanagement_v1/representations.rb @@ -328,18 +328,6 @@ module Google include Google::Apis::Core::JsonObjectSupport 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 Representation < Google::Apis::Core::JsonRepresentation; end @@ -945,10 +933,6 @@ module Google property :delete, as: 'delete' 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 :post, as: 'post' property :put, as: 'put' @@ -1039,32 +1023,6 @@ module Google 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 # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/serviceuser_v1.rb b/generated/google/apis/serviceuser_v1.rb index 5c9b8b5a1..5d770d561 100644 --- a/generated/google/apis/serviceuser_v1.rb +++ b/generated/google/apis/serviceuser_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServiceuserV1 VERSION = 'V1' - REVISION = '20180907' + REVISION = '20180922' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/serviceuser_v1/classes.rb b/generated/google/apis/serviceuser_v1/classes.rb index 078e70dd5..864e4b02a 100644 --- a/generated/google/apis/serviceuser_v1/classes.rb +++ b/generated/google/apis/serviceuser_v1/classes.rb @@ -1373,22 +1373,6 @@ module Google # @return [String] 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. # Corresponds to the JSON property `patch` # @return [String] @@ -1430,8 +1414,6 @@ module Google @custom = args[:custom] if args.key?(:custom) @delete = args[:delete] if args.key?(:delete) @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) @post = args[:post] if args.key?(:post) @put = args[:put] if args.key?(:put) @@ -1634,138 +1616,6 @@ module Google 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] - 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. class MethodProp include Google::Apis::Core::Hashable @@ -2578,6 +2428,7 @@ module Google # quota checks at runtime. # An example quota configuration in yaml format: # quota: + # limits: # - name: apiWriteQpsPerProject # metric: library.googleapis.com/write_calls # unit: "1/min/`project`" # rate limit for consumer projects @@ -3108,6 +2959,7 @@ module Google # quota checks at runtime. # An example quota configuration in yaml format: # quota: + # limits: # - name: apiWriteQpsPerProject # metric: library.googleapis.com/write_calls # unit: "1/min/`project`" # rate limit for consumer projects diff --git a/generated/google/apis/serviceuser_v1/representations.rb b/generated/google/apis/serviceuser_v1/representations.rb index 5a69e22e0..61d3e3234 100644 --- a/generated/google/apis/serviceuser_v1/representations.rb +++ b/generated/google/apis/serviceuser_v1/representations.rb @@ -214,18 +214,6 @@ module Google include Google::Apis::Core::JsonObjectSupport 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 Representation < Google::Apis::Core::JsonRepresentation; end @@ -657,10 +645,6 @@ module Google property :delete, as: 'delete' 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 :post, as: 'post' property :put, as: 'put' @@ -716,32 +700,6 @@ module Google 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 # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb index f649066a4..ed268670e 100644 --- a/generated/google/apis/streetviewpublish_v1.rb +++ b/generated/google/apis/streetviewpublish_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/streetview/publish/ module StreetviewpublishV1 VERSION = 'V1' - REVISION = '20180924' + REVISION = '20180927' # Publish and manage your 360 photos on Google Street View AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' diff --git a/generated/google/apis/streetviewpublish_v1/classes.rb b/generated/google/apis/streetviewpublish_v1/classes.rb index 4a4b18ea6..47e63616f 100644 --- a/generated/google/apis/streetviewpublish_v1/classes.rb +++ b/generated/google/apis/streetviewpublish_v1/classes.rb @@ -541,9 +541,13 @@ module Google class Pose include Google::Apis::Core::Hashable - # The estimated horizontal accuracy of this pose in meters with 68% (one - # standard deviation) confidence. For more information, see: + # The estimated horizontal accuracy of this pose in meters with 68% + # confidence (one standard deviation). For example, on Android, this value is + # available from this method: # 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` # @return [Float] attr_accessor :accuracy_meters diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index c617e1707..927b7ac15 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -20,12 +20,12 @@ module Google module Apis # 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/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20180910' + REVISION = '20180925' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' diff --git a/generated/google/apis/youtube_partner_v1/classes.rb b/generated/google/apis/youtube_partner_v1/classes.rb index 25257d3d6..0d20183af 100644 --- a/generated/google/apis/youtube_partner_v1/classes.rb +++ b/generated/google/apis/youtube_partner_v1/classes.rb @@ -3055,7 +3055,8 @@ module Google attr_accessor :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` # @return [String] attr_accessor :hash_code diff --git a/generated/google/apis/youtube_partner_v1/service.rb b/generated/google/apis/youtube_partner_v1/service.rb index d5c1153f5..dc2f75705 100644 --- a/generated/google/apis/youtube_partner_v1/service.rb +++ b/generated/google/apis/youtube_partner_v1/service.rb @@ -22,7 +22,7 @@ module Google module YoutubePartnerV1 # 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 # require 'google/apis/youtube_partner_v1'