Autogenerated update (2020-07-16)

Update:
- admob_v1
- appsmarket_v2
- cloudbuild_v1
- cloudscheduler_v1beta1
- dataflow_v1b3
- displayvideo_v1
- drive_v2
- drive_v3
- ml_v1
- run_v1alpha1
- searchconsole_v1
- servicemanagement_v1
- vision_v1p2beta1
- youtube_v3
This commit is contained in:
Google APIs 2020-07-16 00:38:22 +00:00
parent 4616f29b8f
commit 48cd79bc2a
31 changed files with 270 additions and 58 deletions

View File

@ -90209,6 +90209,12 @@
"/drive:v2/CommentReplyList/nextLink": next_link
"/drive:v2/CommentReplyList/nextPageToken": next_page_token
"/drive:v2/CommentReplyList/selfLink": self_link
"/drive:v2/ContentRestriction": content_restriction
"/drive:v2/ContentRestriction/readOnly": read_only
"/drive:v2/ContentRestriction/reason": reason
"/drive:v2/ContentRestriction/restrictingUser": restricting_user
"/drive:v2/ContentRestriction/restrictionDate": restriction_date
"/drive:v2/ContentRestriction/type": type
"/drive:v2/Drive": drive
"/drive:v2/Drive/backgroundImageFile": background_image_file
"/drive:v2/Drive/backgroundImageFile/id": id
@ -90271,6 +90277,7 @@
"/drive:v2/File/capabilities/canEdit": can_edit
"/drive:v2/File/capabilities/canListChildren": can_list_children
"/drive:v2/File/capabilities/canModifyContent": can_modify_content
"/drive:v2/File/capabilities/canModifyContentRestriction": can_modify_content_restriction
"/drive:v2/File/capabilities/canMoveChildrenOutOfDrive": can_move_children_out_of_drive
"/drive:v2/File/capabilities/canMoveChildrenOutOfTeamDrive": can_move_children_out_of_team_drive
"/drive:v2/File/capabilities/canMoveChildrenWithinDrive": can_move_children_within_drive
@ -90291,6 +90298,8 @@
"/drive:v2/File/capabilities/canTrash": can_trash
"/drive:v2/File/capabilities/canTrashChildren": can_trash_children
"/drive:v2/File/capabilities/canUntrash": can_untrash
"/drive:v2/File/contentRestrictions": content_restrictions
"/drive:v2/File/contentRestrictions/content_restriction": content_restriction
"/drive:v2/File/copyRequiresWriterPermission": copy_requires_writer_permission
"/drive:v2/File/copyable": copyable
"/drive:v2/File/createdDate": created_date
@ -91018,6 +91027,12 @@
"/drive:v3/CommentList/comments/comment": comment
"/drive:v3/CommentList/kind": kind
"/drive:v3/CommentList/nextPageToken": next_page_token
"/drive:v3/ContentRestriction": content_restriction
"/drive:v3/ContentRestriction/readOnly": read_only
"/drive:v3/ContentRestriction/reason": reason
"/drive:v3/ContentRestriction/restrictingUser": restricting_user
"/drive:v3/ContentRestriction/restrictionTime": restriction_time
"/drive:v3/ContentRestriction/type": type
"/drive:v3/Drive": drive
"/drive:v3/Drive/backgroundImageFile": background_image_file
"/drive:v3/Drive/backgroundImageFile/id": id
@ -91079,6 +91094,7 @@
"/drive:v3/File/capabilities/canEdit": can_edit
"/drive:v3/File/capabilities/canListChildren": can_list_children
"/drive:v3/File/capabilities/canModifyContent": can_modify_content
"/drive:v3/File/capabilities/canModifyContentRestriction": can_modify_content_restriction
"/drive:v3/File/capabilities/canMoveChildrenOutOfDrive": can_move_children_out_of_drive
"/drive:v3/File/capabilities/canMoveChildrenOutOfTeamDrive": can_move_children_out_of_team_drive
"/drive:v3/File/capabilities/canMoveChildrenWithinDrive": can_move_children_within_drive
@ -91104,6 +91120,8 @@
"/drive:v3/File/contentHints/thumbnail": thumbnail
"/drive:v3/File/contentHints/thumbnail/image": image
"/drive:v3/File/contentHints/thumbnail/mimeType": mime_type
"/drive:v3/File/contentRestrictions": content_restrictions
"/drive:v3/File/contentRestrictions/content_restriction": content_restriction
"/drive:v3/File/copyRequiresWriterPermission": copy_requires_writer_permission
"/drive:v3/File/createdTime": created_time
"/drive:v3/File/description": description

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/admob/api/
module AdmobV1
VERSION = 'V1'
REVISION = '20200708'
REVISION = '20200715'
end
end
end

View File

@ -49,7 +49,7 @@ module Google
# Gets information about the specified AdMob publisher account.
# @param [String] name
# Required. Resource name of the publisher account to retrieve.
# Resource name of the publisher account to retrieve.
# Example: accounts/pub-9876543210987654
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/apps-marketplace
module AppsmarketV2
VERSION = 'V2'
REVISION = '20200706'
REVISION = '20200713'
# View your installed application's licensing information
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/cloud-build/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20200626'
REVISION = '20200715'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -625,7 +625,7 @@ module Google
# @return [String]
attr_accessor :description
# If true, the trigger will never result in a build.
# If true, the trigger will never automatically execute a build.
# Corresponds to the JSON property `disabled`
# @return [Boolean]
attr_accessor :disabled

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/scheduler/
module CloudschedulerV1beta1
VERSION = 'V1beta1'
REVISION = '20200618'
REVISION = '20200703'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -687,11 +687,11 @@ module Google
# A message that is published by publishers and consumed by subscribers. The
# message must contain either a non-empty data field or at least one attribute.
# Note that client libraries represent this object differently
# depending on the language. See the corresponding
# <a href="https://cloud.google.com/pubsub/docs/reference/libraries">client
# library documentation</a> for more information. See
# <a href="https://cloud.google.com/pubsub/quotas">Quotas and limits</a>
# for more information about message limits.
# depending on the language. See the corresponding [client library
# documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for
# more information. See [quotas and limits]
# (https://cloud.google.com/pubsub/quotas) for more information about message
# limits.
class PubsubMessage
include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20200619'
REVISION = '20200703'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -528,7 +528,7 @@ module Google
# List the jobs of a project.
# To list the jobs of a project in a region, we recommend using
# `projects.locations.jobs.get` with a [regional endpoint]
# `projects.locations.jobs.list` with a [regional endpoint]
# (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To
# list the all jobs across all regions, use `projects.jobs.aggregated`. Using
# `projects.jobs.list` is not recommended, as you can only get the list of
@ -1092,7 +1092,7 @@ module Google
# List the jobs of a project.
# To list the jobs of a project in a region, we recommend using
# `projects.locations.jobs.get` with a [regional endpoint]
# `projects.locations.jobs.list` with a [regional endpoint]
# (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To
# list the all jobs across all regions, use `projects.jobs.aggregated`. Using
# `projects.jobs.list` is not recommended, as you can only get the list of

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/display-video/
module DisplayvideoV1
VERSION = 'V1'
REVISION = '20200709'
REVISION = '20200714'
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'

View File

@ -1693,7 +1693,7 @@ module Google
# - `campaignId`
# - `insertionOrderId`
# - `entityStatus`
# - `lineItemType`.
# - `lineItemType`
# Examples:
# * All line items under an insertion order: `insertionOrderId="1234"`
# * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
@ -1707,6 +1707,7 @@ module Google
# Acceptable values are:
# * "displayName" (default)
# * "entityStatus"
# * “flight.dateRange.endDate”
# The default sorting order is ascending. To specify descending order for
# a field, a suffix "desc" should be added to the field name. Example:
# `displayName desc`.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20200701'
REVISION = '20200706'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1340,6 +1340,53 @@ module Google
end
end
# A restriction for accessing the content of the file.
class ContentRestriction
include Google::Apis::Core::Hashable
# Whether the content of the file is read-only.
# Corresponds to the JSON property `readOnly`
# @return [Boolean]
attr_accessor :read_only
alias_method :read_only?, :read_only
# Reason for why the content of the file is restricted. This is only mutable on
# requests that also set readOnly=true.
# Corresponds to the JSON property `reason`
# @return [String]
attr_accessor :reason
# Information about a Drive user.
# Corresponds to the JSON property `restrictingUser`
# @return [Google::Apis::DriveV2::User]
attr_accessor :restricting_user
# The time at which the content restriction was set (formatted RFC 3339
# timestamp). Only populated if readOnly is true.
# Corresponds to the JSON property `restrictionDate`
# @return [DateTime]
attr_accessor :restriction_date
# The type of the content restriction. Currently the only possible value is
# globalContentRestriction.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@read_only = args[:read_only] if args.key?(:read_only)
@reason = args[:reason] if args.key?(:reason)
@restricting_user = args[:restricting_user] if args.key?(:restricting_user)
@restriction_date = args[:restriction_date] if args.key?(:restriction_date)
@type = args[:type] if args.key?(:type)
end
end
# Representation of a shared drive.
class Drive
include Google::Apis::Core::Hashable
@ -1743,6 +1790,12 @@ module Google
# @return [Google::Apis::DriveV2::File::Capabilities]
attr_accessor :capabilities
# Restrictions for accessing the content of the file. Only populated if such a
# restriction exists.
# Corresponds to the JSON property `contentRestrictions`
# @return [Array<Google::Apis::DriveV2::ContentRestriction>]
attr_accessor :content_restrictions
# Whether the options to copy, print, or download this file, should be disabled
# for readers and commenters.
# Corresponds to the JSON property `copyRequiresWriterPermission`
@ -2140,6 +2193,7 @@ module Google
@can_comment = args[:can_comment] if args.key?(:can_comment)
@can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
@capabilities = args[:capabilities] if args.key?(:capabilities)
@content_restrictions = args[:content_restrictions] if args.key?(:content_restrictions)
@copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
@copyable = args[:copyable] if args.key?(:copyable)
@created_date = args[:created_date] if args.key?(:created_date)
@ -2300,6 +2354,12 @@ module Google
attr_accessor :can_modify_content
alias_method :can_modify_content?, :can_modify_content
# Whether the current user can modify restrictions on content of this file.
# Corresponds to the JSON property `canModifyContentRestriction`
# @return [Boolean]
attr_accessor :can_modify_content_restriction
alias_method :can_modify_content_restriction?, :can_modify_content_restriction
# Whether the current user can move children of this folder outside of the
# shared drive. This is false when the item is not a folder. Only populated for
# items in shared drives.
@ -2454,6 +2514,7 @@ module Google
@can_edit = args[:can_edit] if args.key?(:can_edit)
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
@can_modify_content = args[:can_modify_content] if args.key?(:can_modify_content)
@can_modify_content_restriction = args[:can_modify_content_restriction] if args.key?(:can_modify_content_restriction)
@can_move_children_out_of_drive = args[:can_move_children_out_of_drive] if args.key?(:can_move_children_out_of_drive)
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
@can_move_children_within_drive = args[:can_move_children_within_drive] if args.key?(:can_move_children_within_drive)
@ -2698,8 +2759,11 @@ module Google
attr_accessor :starred
alias_method :starred?, :starred
# Whether this file has been trashed. This label applies to all users accessing
# the file; however, only owners are allowed to see and untrash files.
# Whether the file has been trashed, either explicitly or from a trashed parent
# folder. Only the owner may trash a file. The trashed item is excluded from all
# files.list responses returned for any user who does not own the file. However,
# all users with access to the file can see the trashed item metadata in an API
# response. All users with access can copy, download, export, and share the file.
# Corresponds to the JSON property `trashed`
# @return [Boolean]
attr_accessor :trashed

View File

@ -160,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ContentRestriction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Drive
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -693,6 +699,19 @@ module Google
end
end
class ContentRestriction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :read_only, as: 'readOnly'
property :reason, as: 'reason'
property :restricting_user, as: 'restrictingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation
property :restriction_date, as: 'restrictionDate', type: DateTime
property :type, as: 'type'
end
end
class Drive
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -777,6 +796,8 @@ module Google
property :can_read_revisions, as: 'canReadRevisions'
property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::File::Capabilities, decorator: Google::Apis::DriveV2::File::Capabilities::Representation
collection :content_restrictions, as: 'contentRestrictions', class: Google::Apis::DriveV2::ContentRestriction, decorator: Google::Apis::DriveV2::ContentRestriction::Representation
property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
property :copyable, as: 'copyable'
property :created_date, as: 'createdDate', type: DateTime
@ -880,6 +901,7 @@ module Google
property :can_edit, as: 'canEdit'
property :can_list_children, as: 'canListChildren'
property :can_modify_content, as: 'canModifyContent'
property :can_modify_content_restriction, as: 'canModifyContentRestriction'
property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive'
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive'

View File

@ -1131,7 +1131,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a copy of the specified file.
# Creates a copy of the specified file. Folders cannot be copied.
# @param [String] file_id
# The ID of the file to copy.
# @param [Google::Apis::DriveV2::File] file_object
@ -1489,9 +1489,12 @@ module Google
# Lists the user's files.
# @param [String] corpora
# Bodies of items (files/documents) to which the query applies. Supported bodies
# are 'default', 'domain', 'drive' and 'allDrives'. Prefer 'default' or 'drive'
# to 'allDrives' for efficiency.
# Groupings of files to which the query applies. Supported groupings are: 'user'
# (files created by, opened by, or shared directly with the user), 'drive' (
# files in the specified shared drive as indicated by the 'driveId'), 'domain' (
# files shared to the user's domain), and 'allDrives' (A combination of 'user'
# and 'drive' for all drives where the user is a member). When able, use 'user'
# or 'drive', instead of 'allDrives', for efficiency.
# @param [String] corpus
# The body of items (files/documents) to which the query applies. Deprecated:
# use 'corpora' instead.
@ -1711,7 +1714,11 @@ module Google
end
# Moves a file to the trash. The currently authenticated user must own the file
# or be at least a fileOrganizer on the parent for shared drive files.
# or be at least a fileOrganizer on the parent for shared drive files. Only the
# owner may trash a file. The trashed item is excluded from all files.list
# responses returned for any user who does not own the file. However, all users
# with access to the file can see the trashed item metadata in an API response.
# All users with access can copy, download, export, and share the file.
# @param [String] file_id
# The ID of the file to trash.
# @param [Boolean] supports_all_drives
@ -1750,7 +1757,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Restores a file from the trash.
# Restores a file from the trash. The currently authenticated user must own the
# file or be at least a fileOrganizer on the parent for shared drive files. Only
# the owner may untrash a file.
# @param [String] file_id
# The ID of the file to untrash.
# @param [Boolean] supports_all_drives

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20200618'
REVISION = '20200706'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -577,6 +577,53 @@ module Google
end
end
# A restriction for accessing the content of the file.
class ContentRestriction
include Google::Apis::Core::Hashable
# Whether the content of the file is read-only.
# Corresponds to the JSON property `readOnly`
# @return [Boolean]
attr_accessor :read_only
alias_method :read_only?, :read_only
# Reason for why the content of the file is restricted. This is only mutable on
# requests that also set readOnly=true.
# Corresponds to the JSON property `reason`
# @return [String]
attr_accessor :reason
# Information about a Drive user.
# Corresponds to the JSON property `restrictingUser`
# @return [Google::Apis::DriveV3::User]
attr_accessor :restricting_user
# The time at which the content restriction was set (formatted RFC 3339
# timestamp). Only populated if readOnly is true.
# Corresponds to the JSON property `restrictionTime`
# @return [DateTime]
attr_accessor :restriction_time
# The type of the content restriction. Currently the only possible value is
# globalContentRestriction.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@read_only = args[:read_only] if args.key?(:read_only)
@reason = args[:reason] if args.key?(:reason)
@restricting_user = args[:restricting_user] if args.key?(:restricting_user)
@restriction_time = args[:restriction_time] if args.key?(:restriction_time)
@type = args[:type] if args.key?(:type)
end
end
# Representation of a shared drive.
class Drive
include Google::Apis::Core::Hashable
@ -972,6 +1019,12 @@ module Google
# @return [Google::Apis::DriveV3::File::ContentHints]
attr_accessor :content_hints
# Restrictions for accessing the content of the file. Only populated if such a
# restriction exists.
# Corresponds to the JSON property `contentRestrictions`
# @return [Array<Google::Apis::DriveV3::ContentRestriction>]
attr_accessor :content_restrictions
# Whether the options to copy, print, or download this file, should be disabled
# for readers and commenters.
# Corresponds to the JSON property `copyRequiresWriterPermission`
@ -1234,8 +1287,10 @@ module Google
attr_accessor :thumbnail_version
# Whether the file has been trashed, either explicitly or from a trashed parent
# folder. Only the owner may trash a file, and other users cannot see files in
# the owner's trash.
# folder. Only the owner may trash a file. The trashed item is excluded from all
# files.list responses returned for any user who does not own the file. However,
# all users with access to the file can see the trashed item metadata in an API
# response. All users with access can copy, download, export, and share the file.
# Corresponds to the JSON property `trashed`
# @return [Boolean]
attr_accessor :trashed
@ -1308,6 +1363,7 @@ module Google
@app_properties = args[:app_properties] if args.key?(:app_properties)
@capabilities = args[:capabilities] if args.key?(:capabilities)
@content_hints = args[:content_hints] if args.key?(:content_hints)
@content_restrictions = args[:content_restrictions] if args.key?(:content_restrictions)
@copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
@created_time = args[:created_time] if args.key?(:created_time)
@description = args[:description] if args.key?(:description)
@ -1457,6 +1513,12 @@ module Google
attr_accessor :can_modify_content
alias_method :can_modify_content?, :can_modify_content
# Whether the current user can modify restrictions on content of this file.
# Corresponds to the JSON property `canModifyContentRestriction`
# @return [Boolean]
attr_accessor :can_modify_content_restriction
alias_method :can_modify_content_restriction?, :can_modify_content_restriction
# Whether the current user can move children of this folder outside of the
# shared drive. This is false when the item is not a folder. Only populated for
# items in shared drives.
@ -1611,6 +1673,7 @@ module Google
@can_edit = args[:can_edit] if args.key?(:can_edit)
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
@can_modify_content = args[:can_modify_content] if args.key?(:can_modify_content)
@can_modify_content_restriction = args[:can_modify_content_restriction] if args.key?(:can_modify_content_restriction)
@can_move_children_out_of_drive = args[:can_move_children_out_of_drive] if args.key?(:can_move_children_out_of_drive)
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
@can_move_children_within_drive = args[:can_move_children_within_drive] if args.key?(:can_move_children_within_drive)

View File

@ -82,6 +82,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ContentRestriction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Drive
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -410,6 +416,19 @@ module Google
end
end
class ContentRestriction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :read_only, as: 'readOnly'
property :reason, as: 'reason'
property :restricting_user, as: 'restrictingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation
property :restriction_time, as: 'restrictionTime', type: DateTime
property :type, as: 'type'
end
end
class Drive
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -493,6 +512,8 @@ module Google
property :content_hints, as: 'contentHints', class: Google::Apis::DriveV3::File::ContentHints, decorator: Google::Apis::DriveV3::File::ContentHints::Representation
collection :content_restrictions, as: 'contentRestrictions', class: Google::Apis::DriveV3::ContentRestriction, decorator: Google::Apis::DriveV3::ContentRestriction::Representation
property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
property :created_time, as: 'createdTime', type: DateTime
@ -578,6 +599,7 @@ module Google
property :can_edit, as: 'canEdit'
property :can_list_children, as: 'canListChildren'
property :can_modify_content, as: 'canModifyContent'
property :can_modify_content_restriction, as: 'canModifyContentRestriction'
property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive'
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive'

View File

@ -771,7 +771,7 @@ module Google
end
# Creates a copy of a file and applies any requested updates with patch
# semantics.
# semantics. Folders cannot be copied.
# @param [String] file_id
# The ID of the file.
# @param [Google::Apis::DriveV3::File] file_object
@ -1104,9 +1104,12 @@ module Google
# Lists or searches files.
# @param [String] corpora
# Bodies of items (files/documents) to which the query applies. Supported bodies
# are 'user', 'domain', 'drive' and 'allDrives'. Prefer 'user' or 'drive' to '
# allDrives' for efficiency.
# Groupings of files to which the query applies. Supported groupings are: 'user'
# (files created by, opened by, or shared directly with the user), 'drive' (
# files in the specified shared drive as indicated by the 'driveId'), 'domain' (
# files shared to the user's domain), and 'allDrives' (A combination of 'user'
# and 'drive' for all drives where the user is a member). When able, use 'user'
# or 'drive', instead of 'allDrives', for efficiency.
# @param [String] corpus
# The source of files to list. Deprecated: use 'corpora' instead.
# @param [String] drive_id
@ -1183,7 +1186,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a file's metadata and/or content with patch semantics.
# Updates a file's metadata and/or content. This method supports patch semantics.
# @param [String] file_id
# The ID of the file.
# @param [Google::Apis::DriveV3::File] file_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20200703'
REVISION = '20200714'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2455,15 +2455,15 @@ module Google
# @return [String]
attr_accessor :master_type
# Optional. The full name of the Google Compute Engine
# [network](/compute/docs/networks-and-firewalls#networks) to which the Job
# is peered. For example, projects/12345/global/networks/myVPC. Format is of
# the form projects/`project`/global/networks/`network`. Where `project` is a
# project number, as in '12345', and `network` is network name.".
# Optional. The full name of the [Compute Engine network](/vpc/docs/vpc) to
# which the
# Job is peered. For example, `projects/12345/global/networks/myVPC`. The
# format of this field is `projects/`project`/global/networks/`network``,
# where `project` is a project number (like `12345`) and `network` is network
# name.
# Private services access must already be configured for the network. If left
# unspecified, the Job is not peered with any network. Learn more -
# Connecting Job to user network over private
# IP.
# unspecified, the Job is not peered with any network. [Learn about using VPC
# Network Peering.](/ai-platform/training/docs/vpc-peering).
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
@ -2549,9 +2549,15 @@ module Google
# @return [Google::Apis::MlV1::GoogleCloudMlV1Scheduling]
attr_accessor :scheduling
# Optional. Specifies the service account for workload run-as account.
# Users submitting jobs must have act-as permission on this run-as account.
# If not specified, then CMLE P4SA will be used by default.
# Optional. The email address of a service account to use when running the
# training appplication. You must have the `iam.serviceAccounts.actAs`
# permission for the specified service account. In addition, the AI Platform
# Training Google-managed service account must have the
# `roles/iam.serviceAccountAdmin` role for the specified service account.
# [Learn more about configuring a service
# account.](/ai-platform/training/docs/custom-service-account)
# If not specified, the AI Platform Training Google-managed service account
# is used by default.
# Corresponds to the JSON property `serviceAccount`
# @return [String]
attr_accessor :service_account

View File

@ -18,7 +18,7 @@ require 'google/apis/run_v1alpha1/representations.rb'
module Google
module Apis
# Cloud Run API
# Cloud Run Admin API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.
@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/
module RunV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200622'
REVISION = '20200706'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module RunV1alpha1
# Cloud Run API
# Cloud Run Admin API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.

View File

@ -18,14 +18,15 @@ require 'google/apis/searchconsole_v1/representations.rb'
module Google
module Apis
# Google Search Console URL Testing Tools API
# Google Search Console API
#
# Provides tools for running validation tests against single URLs
# The Search Console API provides access to both Search Console data (verified
# users only) and to public information on an URL basis (anyone)
#
# @see https://developers.google.com/webmaster-tools/search-console-api/
module SearchconsoleV1
VERSION = 'V1'
REVISION = '20200208'
REVISION = '20200714'
end
end
end

View File

@ -20,9 +20,10 @@ require 'google/apis/errors'
module Google
module Apis
module SearchconsoleV1
# Google Search Console URL Testing Tools API
# Google Search Console API
#
# Provides tools for running validation tests against single URLs
# The Search Console API provides access to both Search Console data (verified
# users only) and to public information on an URL basis (anyone)
#
# @example
# require 'google/apis/searchconsole_v1'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServicemanagementV1
VERSION = 'V1'
REVISION = '20200619'
REVISION = '20200710'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2566,8 +2566,8 @@ module Google
# existing data unusable.
# The following are specific rules for service defined Monitoring metric
# descriptors:
# * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
# `launch_stage` fields are all required. The `unit` field must be specified
# * `type`, `metric_kind`, `value_type`, `description`, and `display_name`
# fields are all required. The `unit` field must be specified
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
# * Maximum of default 500 metric descriptors per service is allowed.
# * Maximum of default 10 labels per metric descriptor is allowed.

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/
module VisionV1p2beta1
VERSION = 'V1p2beta1'
REVISION = '20200612'
REVISION = '20200710'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3925,6 +3925,8 @@ module Google
# Image content, represented as a stream of bytes.
# Note: As with all `bytes` fields, protobuffers use a pure binary
# representation, whereas JSON representations use base64.
# Currently, this field only works for BatchAnnotateImages requests. It does
# not work for AsyncBatchAnnotateImages requests.
# Corresponds to the JSON property `content`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/
module YoutubeV3
VERSION = 'V3'
REVISION = '20200707'
REVISION = '20200714'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'