Autogenerated update (2019-08-15)

Update:
- bigquerydatatransfer_v1
- firebasehosting_v1beta1
- genomics_v2alpha1
- sheets_v4
- storagetransfer_v1
This commit is contained in:
Google APIs 2019-08-15 00:37:46 +00:00
parent a953ec5607
commit 229a369104
10 changed files with 63 additions and 32 deletions

View File

@ -26,11 +26,14 @@ module Google
# @see https://cloud.google.com/bigquery/ # @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1 module BigquerydatatransferV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190615' REVISION = '20190811'
# View and manage your data in Google BigQuery # View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
# View your data in Google BigQuery
AUTH_BIGQUERY_READONLY = 'https://www.googleapis.com/auth/bigquery.readonly'
# 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

@ -27,7 +27,7 @@ module Google
# @see https://firebase.google.com/docs/hosting/ # @see https://firebase.google.com/docs/hosting/
module FirebasehostingV1beta1 module FirebasehostingV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190801' REVISION = '20190813'
# 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

@ -297,8 +297,8 @@ module Google
class Header class Header
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. The user-supplied # The user-supplied [glob
# [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
# against the request URL path. # against the request URL path.
# Corresponds to the JSON property `glob` # Corresponds to the JSON property `glob`
# @return [String] # @return [String]
@ -309,6 +309,12 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :headers attr_accessor :headers
# The user-supplied RE2 regular expression to match against the request
# URL path.
# Corresponds to the JSON property `regex`
# @return [String]
attr_accessor :regex
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -317,6 +323,7 @@ module Google
def update!(**args) def update!(**args)
@glob = args[:glob] if args.key?(:glob) @glob = args[:glob] if args.key?(:glob)
@headers = args[:headers] if args.key?(:headers) @headers = args[:headers] if args.key?(:headers)
@regex = args[:regex] if args.key?(:regex)
end end
end end
@ -456,8 +463,8 @@ module Google
class Redirect class Redirect
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. The user-supplied # The user-supplied [glob
# [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
# against the request URL path. # against the request URL path.
# Corresponds to the JSON property `glob` # Corresponds to the JSON property `glob`
# @return [String] # @return [String]
@ -475,6 +482,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :location attr_accessor :location
# The user-supplied RE2 regular expression to match against the request
# URL path.
# Corresponds to the JSON property `regex`
# @return [String]
attr_accessor :regex
# Required. The status HTTP code to return in the response. It must be a # Required. The status HTTP code to return in the response. It must be a
# valid 3xx status code. # valid 3xx status code.
# Corresponds to the JSON property `statusCode` # Corresponds to the JSON property `statusCode`
@ -489,6 +502,7 @@ module Google
def update!(**args) def update!(**args)
@glob = args[:glob] if args.key?(:glob) @glob = args[:glob] if args.key?(:glob)
@location = args[:location] if args.key?(:location) @location = args[:location] if args.key?(:location)
@regex = args[:regex] if args.key?(:regex)
@status_code = args[:status_code] if args.key?(:status_code) @status_code = args[:status_code] if args.key?(:status_code)
end end
end end
@ -571,8 +585,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :function attr_accessor :function
# Required. The user-supplied # The user-supplied [glob
# [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
# against the request URL path. # against the request URL path.
# Corresponds to the JSON property `glob` # Corresponds to the JSON property `glob`
# @return [String] # @return [String]
@ -583,6 +597,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :path attr_accessor :path
# The user-supplied RE2 regular expression to match against the request
# URL path.
# Corresponds to the JSON property `regex`
# @return [String]
attr_accessor :regex
# A configured rewrite that directs requests to a Cloud Run service. If the # A configured rewrite that directs requests to a Cloud Run service. If the
# Cloud Run service does not exist when setting or updating your Firebase # Cloud Run service does not exist when setting or updating your Firebase
# Hosting configuration, then the request fails. Any errors from the Cloud Run # Hosting configuration, then the request fails. Any errors from the Cloud Run
@ -602,6 +622,7 @@ module Google
@function = args[:function] if args.key?(:function) @function = args[:function] if args.key?(:function)
@glob = args[:glob] if args.key?(:glob) @glob = args[:glob] if args.key?(:glob)
@path = args[:path] if args.key?(:path) @path = args[:path] if args.key?(:path)
@regex = args[:regex] if args.key?(:regex)
@run = args[:run] if args.key?(:run) @run = args[:run] if args.key?(:run)
end end
end end

View File

@ -229,6 +229,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :glob, as: 'glob' property :glob, as: 'glob'
hash :headers, as: 'headers' hash :headers, as: 'headers'
property :regex, as: 'regex'
end end
end end
@ -279,6 +280,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :glob, as: 'glob' property :glob, as: 'glob'
property :location, as: 'location' property :location, as: 'location'
property :regex, as: 'regex'
property :status_code, as: 'statusCode' property :status_code, as: 'statusCode'
end end
end end
@ -304,6 +306,7 @@ module Google
property :function, as: 'function' property :function, as: 'function'
property :glob, as: 'glob' property :glob, as: 'glob'
property :path, as: 'path' property :path, as: 'path'
property :regex, as: 'regex'
property :run, as: 'run', class: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite, decorator: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite::Representation property :run, as: 'run', class: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite, decorator: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite::Representation
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics # @see https://cloud.google.com/genomics
module GenomicsV2alpha1 module GenomicsV2alpha1
VERSION = 'V2alpha1' VERSION = 'V2alpha1'
REVISION = '20190719' REVISION = '20190813'
# 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

@ -1129,7 +1129,7 @@ module Google
attr_accessor :email attr_accessor :email
# List of scopes to be enabled for this service account on the VM, in # List of scopes to be enabled for this service account on the VM, in
# addition to the Cloud Genomics API scope. # addition to the cloud-platform API scope that will be added by default.
# Corresponds to the JSON property `scopes` # Corresponds to the JSON property `scopes`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :scopes attr_accessor :scopes

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/ # @see https://developers.google.com/sheets/
module SheetsV4 module SheetsV4
VERSION = 'V4' VERSION = 'V4'
REVISION = '20190730' REVISION = '20190813'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -3879,9 +3879,10 @@ module Google
end end
end end
# Removes rows within this range containing duplicate values in the specified # Removes rows within this range that contain values in the specified columns
# columns. Rows with identical values but different letter cases, formatting, # that are duplicates of values in any previous row. Rows with identical values
# or formulas are considered to be duplicates. # but different letter cases, formatting, or formulas are considered to be
# duplicates.
# This request also removes duplicate rows hidden from view (for example, due # This request also removes duplicate rows hidden from view (for example, due
# to a filter). When removing duplicates, the first instance of each duplicate # to a filter). When removing duplicates, the first instance of each duplicate
# row scanning from the top downwards is kept in the resulting range. Content # row scanning from the top downwards is kept in the resulting range. Content
@ -7213,9 +7214,10 @@ module Google
# @return [Google::Apis::SheetsV4::DeleteDimensionGroupRequest] # @return [Google::Apis::SheetsV4::DeleteDimensionGroupRequest]
attr_accessor :delete_dimension_group attr_accessor :delete_dimension_group
# Removes rows within this range containing duplicate values in the specified # Removes rows within this range that contain values in the specified columns
# columns. Rows with identical values but different letter cases, formatting, # that are duplicates of values in any previous row. Rows with identical values
# or formulas are considered to be duplicates. # but different letter cases, formatting, or formulas are considered to be
# duplicates.
# This request also removes duplicate rows hidden from view (for example, due # This request also removes duplicate rows hidden from view (for example, due
# to a filter). When removing duplicates, the first instance of each duplicate # to a filter). When removing duplicates, the first instance of each duplicate
# row scanning from the top downwards is kept in the resulting range. Content # row scanning from the top downwards is kept in the resulting range. Content
@ -7339,9 +7341,9 @@ module Google
# Trims the whitespace (such as spaces, tabs, or new lines) in every cell in # Trims the whitespace (such as spaces, tabs, or new lines) in every cell in
# the specified range. This request removes all whitespace from the start and # the specified range. This request removes all whitespace from the start and
# end of each cell's text, and reduces any sub-sequence of remaining whitespace # end of each cell's text, and reduces any subsequence of remaining whitespace
# characters to a single space. If the resulting trimmed text starts with a '+' # characters to a single space. If the resulting trimmed text starts with a '+'
# or '=' character, the text remains as a string value and is not interpreted # or '=' character, the text remains as a string value and isn't interpreted
# as a formula. # as a formula.
# Corresponds to the JSON property `trimWhitespace` # Corresponds to the JSON property `trimWhitespace`
# @return [Google::Apis::SheetsV4::TrimWhitespaceRequest] # @return [Google::Apis::SheetsV4::TrimWhitespaceRequest]
@ -9216,9 +9218,9 @@ module Google
# Trims the whitespace (such as spaces, tabs, or new lines) in every cell in # Trims the whitespace (such as spaces, tabs, or new lines) in every cell in
# the specified range. This request removes all whitespace from the start and # the specified range. This request removes all whitespace from the start and
# end of each cell's text, and reduces any sub-sequence of remaining whitespace # end of each cell's text, and reduces any subsequence of remaining whitespace
# characters to a single space. If the resulting trimmed text starts with a '+' # characters to a single space. If the resulting trimmed text starts with a '+'
# or '=' character, the text remains as a string value and is not interpreted # or '=' character, the text remains as a string value and isn't interpreted
# as a formula. # as a formula.
class TrimWhitespaceRequest class TrimWhitespaceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage-transfer/docs # @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1 module StoragetransferV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190729' REVISION = '20190810'
# 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

@ -204,13 +204,13 @@ module Google
end end
end end
# In a GcsData resource, an object's name is the Google Cloud Storage object's # In a GcsData resource, an object's name is the Cloud Storage object's
# name and its `lastModificationTime` refers to the object's updated time, # name and its `lastModificationTime` refers to the object's updated time,
# which changes when the content or the metadata of the object is updated. # which changes when the content or the metadata of the object is updated.
class GcsData class GcsData
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Required. Google Cloud Storage bucket name (see # Required. Cloud Storage bucket name (see
# [Bucket Name # [Bucket Name
# Requirements](https://cloud.google.com/storage/docs/naming#requirements)). # Requirements](https://cloud.google.com/storage/docs/naming#requirements)).
# Corresponds to the JSON property `bucketName` # Corresponds to the JSON property `bucketName`
@ -268,7 +268,7 @@ module Google
# bytes, the object transfer will fail. For more information, see # bytes, the object transfer will fail. For more information, see
# [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5) # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
# * Ensure that each URL you specify is publicly accessible. For # * Ensure that each URL you specify is publicly accessible. For
# example, in Google Cloud Storage you can # example, in Cloud Storage you can
# [share an object publicly] # [share an object publicly]
# (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get # (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get
# a link to it. # a link to it.
@ -348,7 +348,7 @@ module Google
end end
# Conditions that determine which objects will be transferred. Applies only # Conditions that determine which objects will be transferred. Applies only
# to S3 and GCS objects. # to S3 and Cloud Storage objects.
class ObjectConditions class ObjectConditions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -396,7 +396,8 @@ module Google
# `NOW` refers to the `start_time` of the 'TransferOperation`. Also, # `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
# `lastModificationTime` refers to the time of the last change to the # `lastModificationTime` refers to the time of the last change to the
# object's content or metadata - specifically, this would be the `updated` # object's content or metadata - specifically, this would be the `updated`
# property of GCS objects and the `LastModified` field of S3 objects. # property of Cloud Storage objects and the `LastModified` field of S3
# objects.
# Corresponds to the JSON property `maxTimeElapsedSinceLastModification` # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
# @return [String] # @return [String]
attr_accessor :max_time_elapsed_since_last_modification attr_accessor :max_time_elapsed_since_last_modification
@ -408,7 +409,8 @@ module Google
# `NOW` refers to the `start_time` of the 'TransferOperation`. Also, # `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
# `lastModificationTime` refers to the time of the last change to the # `lastModificationTime` refers to the time of the last change to the
# object's content or metadata - specifically, this would be the `updated` # object's content or metadata - specifically, this would be the `updated`
# property of GCS objects and the `LastModified` field of S3 objects. # property of Cloud Storage objects and the `LastModified` field of S3
# objects.
# Corresponds to the JSON property `minTimeElapsedSinceLastModification` # Corresponds to the JSON property `minTimeElapsedSinceLastModification`
# @return [String] # @return [String]
attr_accessor :min_time_elapsed_since_last_modification attr_accessor :min_time_elapsed_since_last_modification
@ -950,14 +952,14 @@ module Google
# @return [Google::Apis::StoragetransferV1::AwsS3Data] # @return [Google::Apis::StoragetransferV1::AwsS3Data]
attr_accessor :aws_s3_data_source attr_accessor :aws_s3_data_source
# In a GcsData resource, an object's name is the Google Cloud Storage object's # In a GcsData resource, an object's name is the Cloud Storage object's
# name and its `lastModificationTime` refers to the object's updated time, # name and its `lastModificationTime` refers to the object's updated time,
# which changes when the content or the metadata of the object is updated. # which changes when the content or the metadata of the object is updated.
# Corresponds to the JSON property `gcsDataSink` # Corresponds to the JSON property `gcsDataSink`
# @return [Google::Apis::StoragetransferV1::GcsData] # @return [Google::Apis::StoragetransferV1::GcsData]
attr_accessor :gcs_data_sink attr_accessor :gcs_data_sink
# In a GcsData resource, an object's name is the Google Cloud Storage object's # In a GcsData resource, an object's name is the Cloud Storage object's
# name and its `lastModificationTime` refers to the object's updated time, # name and its `lastModificationTime` refers to the object's updated time,
# which changes when the content or the metadata of the object is updated. # which changes when the content or the metadata of the object is updated.
# Corresponds to the JSON property `gcsDataSource` # Corresponds to the JSON property `gcsDataSource`
@ -986,7 +988,7 @@ module Google
# bytes, the object transfer will fail. For more information, see # bytes, the object transfer will fail. For more information, see
# [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5) # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
# * Ensure that each URL you specify is publicly accessible. For # * Ensure that each URL you specify is publicly accessible. For
# example, in Google Cloud Storage you can # example, in Cloud Storage you can
# [share an object publicly] # [share an object publicly]
# (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get # (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get
# a link to it. # a link to it.
@ -1000,7 +1002,7 @@ module Google
attr_accessor :http_data_source attr_accessor :http_data_source
# Conditions that determine which objects will be transferred. Applies only # Conditions that determine which objects will be transferred. Applies only
# to S3 and GCS objects. # to S3 and Cloud Storage objects.
# Corresponds to the JSON property `objectConditions` # Corresponds to the JSON property `objectConditions`
# @return [Google::Apis::StoragetransferV1::ObjectConditions] # @return [Google::Apis::StoragetransferV1::ObjectConditions]
attr_accessor :object_conditions attr_accessor :object_conditions