Autogenerated update (2020-10-17)

Update:
- poly_v1
- run_v1
- servicenetworking_v1
- servicenetworking_v1beta
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-10-17 00:39:46 +00:00
parent 6022519cdb
commit d28c26731f
10 changed files with 133 additions and 160 deletions

View File

@ -20,14 +20,13 @@ module Google
module Apis module Apis
# Poly API # Poly API
# #
# The Poly API provides read access to assets hosted on <a href="https://poly. # The Poly API provides read access to assets hosted on poly.google.com to all,
# google.com">poly.google.com</a> to all, and upload access to <a href="https:// # and upload access to poly.google.com for whitelisted accounts.
# poly.google.com">poly.google.com</a> for whitelisted accounts.
# #
# @see https://developers.google.com/poly/ # @see https://developers.google.com/poly/
module PolyV1 module PolyV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200210' REVISION = '20201006'
end end
end end
end end

View File

@ -23,9 +23,9 @@ module Google
module PolyV1 module PolyV1
# Represents and describes an asset in the Poly library. An asset is a 3D model # Represents and describes an asset in the Poly library. An asset is a 3D model
# or scene created using [Tilt Brush](//www.tiltbrush.com), # or scene created using [Tilt Brush](//www.tiltbrush.com), [Blocks](//vr.google.
# [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file # com/blocks/), or any 3D program that produces a file that can be upload to
# that can be upload to Poly. # Poly.
class Asset class Asset
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -35,8 +35,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :author_name attr_accessor :author_name
# For published assets, the time when the asset was published. # For published assets, the time when the asset was published. For unpublished
# For unpublished assets, the time when the asset was created. # assets, the time when the asset was created.
# Corresponds to the JSON property `createTime` # Corresponds to the JSON property `createTime`
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
@ -51,8 +51,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# A list of Formats where each # A list of Formats where each format describes one representation of the asset.
# format describes one representation of the asset.
# Corresponds to the JSON property `formats` # Corresponds to the JSON property `formats`
# @return [Array<Google::Apis::PolyV1::Format>] # @return [Array<Google::Apis::PolyV1::Format>]
attr_accessor :formats attr_accessor :formats
@ -63,22 +62,21 @@ module Google
attr_accessor :is_curated attr_accessor :is_curated
alias_method :is_curated?, :is_curated alias_method :is_curated?, :is_curated
# The license under which the author has made the asset available # The license under which the author has made the asset available for use, if
# for use, if any. # any.
# Corresponds to the JSON property `license` # Corresponds to the JSON property `license`
# @return [String] # @return [String]
attr_accessor :license attr_accessor :license
# Application-defined opaque metadata for this asset. This field is only # Application-defined opaque metadata for this asset. This field is only
# returned when querying for the signed-in user's own assets, not for public # returned when querying for the signed-in user's own assets, not for public
# assets. This string is limited to 1K chars. It is up to the creator of # assets. This string is limited to 1K chars. It is up to the creator of the
# the asset to define the format for this string (for example, JSON). # asset to define the format for this string (for example, JSON).
# Corresponds to the JSON property `metadata` # Corresponds to the JSON property `metadata`
# @return [String] # @return [String]
attr_accessor :metadata attr_accessor :metadata
# The unique identifier for the asset in the form: # The unique identifier for the asset in the form: `assets/`ASSET_ID``.
# `assets/`ASSET_ID``.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -89,21 +87,20 @@ module Google
# @return [Google::Apis::PolyV1::PresentationParams] # @return [Google::Apis::PolyV1::PresentationParams]
attr_accessor :presentation_params attr_accessor :presentation_params
# Info about the sources of this asset (i.e. assets that were remixed to # Info about the sources of this asset (i.e. assets that were remixed to create
# create this asset). # this asset).
# Corresponds to the JSON property `remixInfo` # Corresponds to the JSON property `remixInfo`
# @return [Google::Apis::PolyV1::RemixInfo] # @return [Google::Apis::PolyV1::RemixInfo]
attr_accessor :remix_info attr_accessor :remix_info
# Represents a file in Poly, which can be a root, # Represents a file in Poly, which can be a root, resource, or thumbnail file.
# resource, or thumbnail file.
# Corresponds to the JSON property `thumbnail` # Corresponds to the JSON property `thumbnail`
# @return [Google::Apis::PolyV1::File] # @return [Google::Apis::PolyV1::File]
attr_accessor :thumbnail attr_accessor :thumbnail
# The time when the asset was last modified. For published assets, whose # The time when the asset was last modified. For published assets, whose
# contents are immutable, the update time changes only when metadata # contents are immutable, the update time changes only when metadata properties,
# properties, such as visibility, are updated. # such as visibility, are updated.
# Corresponds to the JSON property `updateTime` # Corresponds to the JSON property `updateTime`
# @return [String] # @return [String]
attr_accessor :update_time attr_accessor :update_time
@ -173,22 +170,18 @@ module Google
end end
end end
# Represents a file in Poly, which can be a root, # Represents a file in Poly, which can be a root, resource, or thumbnail file.
# resource, or thumbnail file.
class File class File
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The MIME content-type, such as `image/png`. # The MIME content-type, such as `image/png`. For more information, see [MIME
# For more information, see
# [MIME
# types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types). # types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).
# Corresponds to the JSON property `contentType` # Corresponds to the JSON property `contentType`
# @return [String] # @return [String]
attr_accessor :content_type attr_accessor :content_type
# The path of the resource file relative to the # The path of the resource file relative to the root file. For root or thumbnail
# root file. For root or thumbnail files, # files, this is just the filename.
# this is just the filename.
# Corresponds to the JSON property `relativePath` # Corresponds to the JSON property `relativePath`
# @return [String] # @return [String]
attr_accessor :relative_path attr_accessor :relative_path
@ -210,12 +203,12 @@ module Google
end end
end end
# The same asset can be represented in different formats, for example, # The same asset can be represented in different formats, for example, a [
# a [WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its # WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its
# corresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file # corresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file with
# with its corresponding .glb binary data. A format refers to a specific # its corresponding .glb binary data. A format refers to a specific
# representation of an asset and contains all information needed to # representation of an asset and contains all information needed to retrieve and
# retrieve and describe this representation. # describe this representation.
class Format class Format
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -230,14 +223,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :format_type attr_accessor :format_type
# A list of dependencies of the root element. May include, but is not # A list of dependencies of the root element. May include, but is not limited to,
# limited to, materials, textures, and shader programs. # materials, textures, and shader programs.
# Corresponds to the JSON property `resources` # Corresponds to the JSON property `resources`
# @return [Array<Google::Apis::PolyV1::File>] # @return [Array<Google::Apis::PolyV1::File>]
attr_accessor :resources attr_accessor :resources
# Represents a file in Poly, which can be a root, # Represents a file in Poly, which can be a root, resource, or thumbnail file.
# resource, or thumbnail file.
# Corresponds to the JSON property `root` # Corresponds to the JSON property `root`
# @return [Google::Apis::PolyV1::File] # @return [Google::Apis::PolyV1::File]
attr_accessor :root attr_accessor :root
@ -260,10 +252,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A non-negative integer that represents the level of detail (LOD) of this # A non-negative integer that represents the level of detail (LOD) of this
# format relative to other formats of the same asset with the same # format relative to other formats of the same asset with the same format_type.
# format_type. # This hint allows you to sort formats from the most-detailed (0) to least-
# This hint allows you to sort formats from the most-detailed (0) to # detailed (integers greater than 0).
# least-detailed (integers greater than 0).
# Corresponds to the JSON property `lodHint` # Corresponds to the JSON property `lodHint`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :lod_hint attr_accessor :lod_hint
@ -318,10 +309,9 @@ module Google
# @return [Array<Google::Apis::PolyV1::Asset>] # @return [Array<Google::Apis::PolyV1::Asset>]
attr_accessor :assets attr_accessor :assets
# The continuation token for retrieving the next page. If empty, # The continuation token for retrieving the next page. If empty, indicates that
# indicates that there are no more pages. To get the next page, submit the # there are no more pages. To get the next page, submit the same request
# same request specifying this value as the # specifying this value as the page_token.
# page_token.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -352,10 +342,9 @@ module Google
# @return [Array<Google::Apis::PolyV1::Asset>] # @return [Array<Google::Apis::PolyV1::Asset>]
attr_accessor :assets attr_accessor :assets
# The continuation token for retrieving the next page. If empty, # The continuation token for retrieving the next page. If empty, indicates that
# indicates that there are no more pages. To get the next page, submit the # there are no more pages. To get the next page, submit the same request
# same request specifying this value as the # specifying this value as the page_token.
# page_token.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -381,10 +370,9 @@ module Google
class ListUserAssetsResponse class ListUserAssetsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The continuation token for retrieving the next page. If empty, # The continuation token for retrieving the next page. If empty, indicates that
# indicates that there are no more pages. To get the next page, submit the # there are no more pages. To get the next page, submit the same request
# same request specifying this value as the # specifying this value as the page_token.
# page_token.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -466,24 +454,24 @@ module Google
class PresentationParams class PresentationParams
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A background color which could be used for displaying the 3D asset in a # A background color which could be used for displaying the 3D asset in a '
# 'thumbnail' or 'palette' style view. Authors have the option to set this # thumbnail' or 'palette' style view. Authors have the option to set this
# background color when publishing or editing their asset. # background color when publishing or editing their asset. This is represented
# This is represented as a six-digit hexademical triplet specifying the # as a six-digit hexademical triplet specifying the RGB components of the
# RGB components of the background color, e.g. #FF0000 for Red. # background color, e.g. #FF0000 for Red.
# Corresponds to the JSON property `backgroundColor` # Corresponds to the JSON property `backgroundColor`
# @return [String] # @return [String]
attr_accessor :background_color attr_accessor :background_color
# The materials' diffuse/albedo color. This does not apply to vertex colors # The materials' diffuse/albedo color. This does not apply to vertex colors or
# or texture maps. # texture maps.
# Corresponds to the JSON property `colorSpace` # Corresponds to the JSON property `colorSpace`
# @return [String] # @return [String]
attr_accessor :color_space attr_accessor :color_space
# A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the # A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the
# response you see "w: 1" and nothing else this is the default value of # response you see "w: 1" and nothing else this is the default value of [0, 0, 0,
# [0, 0, 0, 1] where x,y, and z are 0. # 1] where x,y, and z are 0.
# Corresponds to the JSON property `orientingRotation` # Corresponds to the JSON property `orientingRotation`
# @return [Google::Apis::PolyV1::Quaternion] # @return [Google::Apis::PolyV1::Quaternion]
attr_accessor :orienting_rotation attr_accessor :orienting_rotation
@ -501,8 +489,8 @@ module Google
end end
# A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the # A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the
# response you see "w: 1" and nothing else this is the default value of # response you see "w: 1" and nothing else this is the default value of [0, 0, 0,
# [0, 0, 0, 1] where x,y, and z are 0. # 1] where x,y, and z are 0.
class Quaternion class Quaternion
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -539,13 +527,12 @@ module Google
end end
end end
# Info about the sources of this asset (i.e. assets that were remixed to # Info about the sources of this asset (i.e. assets that were remixed to create
# create this asset). # this asset).
class RemixInfo class RemixInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Resource ids for the sources of this remix, of the form: # Resource ids for the sources of this remix, of the form: `assets/`ASSET_ID``
# `assets/`ASSET_ID``
# Corresponds to the JSON property `sourceAsset` # Corresponds to the JSON property `sourceAsset`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :source_asset attr_accessor :source_asset
@ -560,15 +547,14 @@ module Google
end end
end end
# A response message from a request to # A response message from a request to startImport. This is returned in the
# startImport. This is returned in the response # response field of the Operation.
# field of the Operation.
class StartAssetImportResponse class StartAssetImportResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The id of newly created asset. If this is empty when the operation is # The id of newly created asset. If this is empty when the operation is complete
# complete it means the import failed. Please refer to the # it means the import failed. Please refer to the assetImportMessages field to
# assetImportMessages field to understand what went wrong. # understand what went wrong.
# Corresponds to the JSON property `assetId` # Corresponds to the JSON property `assetId`
# @return [String] # @return [String]
attr_accessor :asset_id attr_accessor :asset_id
@ -578,8 +564,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :asset_import_id attr_accessor :asset_import_id
# The message from the asset import. This will contain any warnings # The message from the asset import. This will contain any warnings (or - in the
# (or - in the case of failure - errors) that occurred during import. # case of failure - errors) that occurred during import.
# Corresponds to the JSON property `assetImportMessages` # Corresponds to the JSON property `assetImportMessages`
# @return [Array<Google::Apis::PolyV1::AssetImportMessage>] # @return [Array<Google::Apis::PolyV1::AssetImportMessage>]
attr_accessor :asset_import_messages attr_accessor :asset_import_messages
@ -607,9 +593,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Represents and describes an asset in the Poly library. An asset is a 3D model # Represents and describes an asset in the Poly library. An asset is a 3D model
# or scene created using [Tilt Brush](//www.tiltbrush.com), # or scene created using [Tilt Brush](//www.tiltbrush.com), [Blocks](//vr.google.
# [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file # com/blocks/), or any 3D program that produces a file that can be upload to
# that can be upload to Poly. # Poly.
# Corresponds to the JSON property `asset` # Corresponds to the JSON property `asset`
# @return [Google::Apis::PolyV1::Asset] # @return [Google::Apis::PolyV1::Asset]
attr_accessor :asset attr_accessor :asset

View File

@ -22,9 +22,8 @@ module Google
module PolyV1 module PolyV1
# Poly API # Poly API
# #
# The Poly API provides read access to assets hosted on <a href="https://poly. # The Poly API provides read access to assets hosted on poly.google.com to all,
# google.com">poly.google.com</a> to all, and upload access to <a href="https:// # and upload access to poly.google.com for whitelisted accounts.
# poly.google.com">poly.google.com</a> for whitelisted accounts.
# #
# @example # @example
# require 'google/apis/poly_v1' # require 'google/apis/poly_v1'
@ -49,10 +48,9 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Returns detailed information about an asset given its name. # Returns detailed information about an asset given its name. PRIVATE assets are
# PRIVATE assets are returned only if # returned only if the currently authenticated user (via OAuth token) is the
# the currently authenticated user (via OAuth token) is the author of the # author of the asset.
# asset.
# @param [String] name # @param [String] name
# Required. An asset's name in the form `assets/`ASSET_ID``. # Required. An asset's name in the form `assets/`ASSET_ID``.
# @param [String] fields # @param [String] fields
@ -82,40 +80,35 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists all public, remixable assets. These are assets with an access level # Lists all public, remixable assets. These are assets with an access level of
# of PUBLIC and published under the # PUBLIC and published under the CC-By license.
# CC-By license.
# @param [String] category # @param [String] category
# Filter assets based on the specified category. Supported values are: # Filter assets based on the specified category. Supported values are: `animals`,
# `animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`, # `architecture`, `art`, `food`, `nature`, `objects`, `people`, `scenes`, `
# `scenes`, `technology`, and `transport`. # technology`, and `transport`.
# @param [Boolean] curated # @param [Boolean] curated
# Return only assets that have been curated by the Poly team. # Return only assets that have been curated by the Poly team.
# @param [String] format # @param [String] format
# Return only assets with the matching format. Acceptable values are: # Return only assets with the matching format. Acceptable values are: `BLOCKS`, `
# `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`. # FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
# @param [String] keywords # @param [String] keywords
# One or more search terms to be matched against all text that Poly has # One or more search terms to be matched against all text that Poly has indexed
# indexed for assets, which includes display_name, # for assets, which includes display_name, description, and tags. Multiple
# description, and tags. Multiple keywords should be # keywords should be separated by spaces.
# separated by spaces.
# @param [String] max_complexity # @param [String] max_complexity
# Returns assets that are of the specified complexity or less. Defaults to # Returns assets that are of the specified complexity or less. Defaults to
# COMPLEX. For example, a request for # COMPLEX. For example, a request for MEDIUM assets also includes SIMPLE assets.
# MEDIUM assets also includes
# SIMPLE assets.
# @param [String] order_by # @param [String] order_by
# Specifies an ordering for assets. Acceptable values are: # Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `
# `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets # OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of
# based on a combination of popularity and other features. # popularity and other features.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of assets to be returned. This value must be between `1` # The maximum number of assets to be returned. This value must be between `1`
# and `100`. Defaults to `20`. # and `100`. Defaults to `20`.
# @param [String] page_token # @param [String] page_token
# Specifies a continuation token from a previous search whose results were # Specifies a continuation token from a previous search whose results were split
# split into multiple pages. To get the next page, submit the same request # into multiple pages. To get the next page, submit the same request specifying
# specifying the value from # the value from next_page_token.
# next_page_token.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -150,36 +143,31 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists assets authored by the given user. Only the value 'me', representing # Lists assets authored by the given user. Only the value 'me', representing the
# the currently-authenticated user, is supported. May include assets with an # currently-authenticated user, is supported. May include assets with an access
# access level of PRIVATE or # level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the
# UNLISTED and assets which are
# All Rights Reserved for the
# currently-authenticated user. # currently-authenticated user.
# @param [String] name # @param [String] name
# A valid user id. Currently, only the special value 'me', representing the # A valid user id. Currently, only the special value 'me', representing the
# currently-authenticated user is supported. To use 'me', you must pass # currently-authenticated user is supported. To use 'me', you must pass an OAuth
# an OAuth token with the request. # token with the request.
# @param [String] format # @param [String] format
# Return only assets with the matching format. Acceptable values are: # Return only assets with the matching format. Acceptable values are: `BLOCKS`, `
# `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`. # FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
# @param [String] order_by # @param [String] order_by
# Specifies an ordering for assets. Acceptable values are: # Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `
# `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets # OLDEST`. Defaults to `BEST`, which ranks assets based on a combination of
# based on a combination of popularity and other features. # popularity and other features.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of assets to be returned. This value must be between `1` # The maximum number of assets to be returned. This value must be between `1`
# and `100`. Defaults to `20`. # and `100`. Defaults to `20`.
# @param [String] page_token # @param [String] page_token
# Specifies a continuation token from a previous search whose results were # Specifies a continuation token from a previous search whose results were split
# split into multiple pages. To get the next page, submit the same request # into multiple pages. To get the next page, submit the same request specifying
# specifying the value from # the value from next_page_token.
# next_page_token.
# @param [String] visibility # @param [String] visibility
# The visibility of the assets to be returned. # The visibility of the assets to be returned. Defaults to
# Defaults to # VISIBILITY_UNSPECIFIED which returns all assets.
# VISIBILITY_UNSPECIFIED
# which returns all assets.
# @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.
# @param [String] quota_user # @param [String] quota_user
@ -212,28 +200,27 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists assets that the user has liked. Only the value 'me', representing # Lists assets that the user has liked. Only the value 'me', representing the
# the currently-authenticated user, is supported. May include assets with an # currently-authenticated user, is supported. May include assets with an access
# access level of UNLISTED. # level of UNLISTED.
# @param [String] name # @param [String] name
# A valid user id. Currently, only the special value 'me', representing the # A valid user id. Currently, only the special value 'me', representing the
# currently-authenticated user is supported. To use 'me', you must pass # currently-authenticated user is supported. To use 'me', you must pass an OAuth
# an OAuth token with the request. # token with the request.
# @param [String] format # @param [String] format
# Return only assets with the matching format. Acceptable values are: # Return only assets with the matching format. Acceptable values are: `BLOCKS`, `
# `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`. # FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
# @param [String] order_by # @param [String] order_by
# Specifies an ordering for assets. Acceptable values are: # Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `
# `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which # OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which ranks assets based on
# ranks assets based on how recently they were liked. # how recently they were liked.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of assets to be returned. This value must be between `1` # The maximum number of assets to be returned. This value must be between `1`
# and `100`. Defaults to `20`. # and `100`. Defaults to `20`.
# @param [String] page_token # @param [String] page_token
# Specifies a continuation token from a previous search whose results were # Specifies a continuation token from a previous search whose results were split
# split into multiple pages. To get the next page, submit the same request # into multiple pages. To get the next page, submit the same request specifying
# specifying the value from # the value from next_page_token.
# next_page_token.
# @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.
# @param [String] quota_user # @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1 module RunV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201002' REVISION = '20201012'
# 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

@ -1974,11 +1974,12 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# (Optional) Cloud Run fully managed: Only memory and CPU are supported. Note: # (Optional) Cloud Run fully managed: Only memory and CPU are supported. Note:
# The only supported values for CPU are '1' and '2'. Cloud Run for Anthos: # The only supported values for CPU are '1', '2', and '4'. Setting 4 CPU
# supported Limits describes the maximum amount of compute resources allowed. # requires at least 2Gi of memory. Cloud Run for Anthos: supported Limits
# The values of the map is string form of the 'quantity' k8s type: https:// # describes the maximum amount of compute resources allowed. The values of the
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/ # map is string form of the 'quantity' k8s type: https://github.com/kubernetes/
# pkg/api/resource/quantity.go # kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/
# quantity.go
# Corresponds to the JSON property `limits` # Corresponds to the JSON property `limits`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :limits attr_accessor :limits
@ -2966,7 +2967,7 @@ module Google
attr_accessor :revision_name attr_accessor :revision_name
# Tag is optionally used to expose a dedicated url for referencing this target # Tag is optionally used to expose a dedicated url for referencing this target
# exclusively. Not currently supported in Cloud Run. +optional # exclusively. +optional
# Corresponds to the JSON property `tag` # Corresponds to the JSON property `tag`
# @return [String] # @return [String]
attr_accessor :tag attr_accessor :tag

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1 module ServicenetworkingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201014' REVISION = '20201015'
# 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

@ -930,7 +930,7 @@ module Google
# context.OriginContext The above specifies that all methods in the API request ` # context.OriginContext The above specifies that all methods in the API request `
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
# Available context types are defined in package `google.rpc.context`. This also # Available context types are defined in package `google.rpc.context`. This also
# provides mechanism to whitelist any protobuf message extension that can be # provides mechanism to allowlist any protobuf message extension that can be
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
# For example, list any service specific protobuf types that can appear in grpc # For example, list any service specific protobuf types that can appear in grpc
# metadata as follows in your yaml file: Example: context: rules: - selector: " # metadata as follows in your yaml file: Example: context: rules: - selector: "
@ -3285,7 +3285,7 @@ module Google
# context.OriginContext The above specifies that all methods in the API request ` # context.OriginContext The above specifies that all methods in the API request `
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
# Available context types are defined in package `google.rpc.context`. This also # Available context types are defined in package `google.rpc.context`. This also
# provides mechanism to whitelist any protobuf message extension that can be # provides mechanism to allowlist any protobuf message extension that can be
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
# For example, list any service specific protobuf types that can appear in grpc # For example, list any service specific protobuf types that can appear in grpc
# metadata as follows in your yaml file: Example: context: rules: - selector: " # metadata as follows in your yaml file: Example: context: rules: - selector: "

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta module ServicenetworkingV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20201014' REVISION = '20201015'
# 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

@ -792,7 +792,7 @@ module Google
# context.OriginContext The above specifies that all methods in the API request ` # context.OriginContext The above specifies that all methods in the API request `
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
# Available context types are defined in package `google.rpc.context`. This also # Available context types are defined in package `google.rpc.context`. This also
# provides mechanism to whitelist any protobuf message extension that can be # provides mechanism to allowlist any protobuf message extension that can be
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
# For example, list any service specific protobuf types that can appear in grpc # For example, list any service specific protobuf types that can appear in grpc
# metadata as follows in your yaml file: Example: context: rules: - selector: " # metadata as follows in your yaml file: Example: context: rules: - selector: "
@ -2948,7 +2948,7 @@ module Google
# context.OriginContext The above specifies that all methods in the API request ` # context.OriginContext The above specifies that all methods in the API request `
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
# Available context types are defined in package `google.rpc.context`. This also # Available context types are defined in package `google.rpc.context`. This also
# provides mechanism to whitelist any protobuf message extension that can be # provides mechanism to allowlist any protobuf message extension that can be
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
# For example, list any service specific protobuf types that can appear in grpc # For example, list any service specific protobuf types that can appear in grpc
# metadata as follows in your yaml file: Example: context: rules: - selector: " # metadata as follows in your yaml file: Example: context: rules: - selector: "

View File

@ -26,7 +26,7 @@ module Google
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/ # @see https://devsite.googleplex.com/youtube/partner/docs/v1/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201014' REVISION = '20201016'
# 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'