Autogenerated update (2020-09-24)
Update: - appsmarket_v2 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - workflowexecutions_v1beta - youtube_v3
This commit is contained in:
parent
d3b9abfbb2
commit
d26304c166
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/apps-marketplace
|
# @see https://developers.google.com/apps-marketplace
|
||||||
module AppsmarketV2
|
module AppsmarketV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20200914'
|
REVISION = '20200921'
|
||||||
|
|
||||||
# View your installed application's licensing information
|
# View your installed application's licensing information
|
||||||
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'
|
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1
|
module CloudresourcemanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200907'
|
REVISION = '20200921'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -895,7 +895,7 @@ module Google
|
||||||
# with GetProject, and the Project remains visible to ListProjects. However, you
|
# with GetProject, and the Project remains visible to ListProjects. However, you
|
||||||
# cannot update the project. After the deletion completes, the Project is not
|
# cannot update the project. After the deletion completes, the Project is not
|
||||||
# retrievable by the GetProject and ListProjects methods. The caller must have
|
# retrievable by the GetProject and ListProjects methods. The caller must have
|
||||||
# modify permissions for this Project.
|
# delete permissions for this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `foo-bar-123`). Required.
|
# The Project ID (for example, `foo-bar-123`). Required.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -1379,7 +1379,7 @@ module Google
|
||||||
# Restores the Project identified by the specified `project_id` (for example, `
|
# Restores the Project identified by the specified `project_id` (for example, `
|
||||||
# my-project-123`). You can only use this method for a Project that has a
|
# my-project-123`). You can only use this method for a Project that has a
|
||||||
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
|
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
|
||||||
# be restored. The caller must have modify permissions for this Project.
|
# be restored. The caller must have undelete permissions for this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# Required. The project ID (for example, `foo-bar-123`).
|
# Required. The project ID (for example, `foo-bar-123`).
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1beta1
|
module CloudresourcemanagerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200907'
|
REVISION = '20200921'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -323,7 +323,7 @@ module Google
|
||||||
# with GetProject, and the Project remains visible to ListProjects. However, you
|
# with GetProject, and the Project remains visible to ListProjects. However, you
|
||||||
# cannot update the project. After the deletion completes, the Project is not
|
# cannot update the project. After the deletion completes, the Project is not
|
||||||
# retrievable by the GetProject and ListProjects methods. The caller must have
|
# retrievable by the GetProject and ListProjects methods. The caller must have
|
||||||
# modify permissions for this Project.
|
# delete permissions for this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Project ID (for example, `foo-bar-123`).
|
# The Project ID (for example, `foo-bar-123`).
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -620,7 +620,7 @@ module Google
|
||||||
# Restores the Project identified by the specified `project_id` (for example, `
|
# Restores the Project identified by the specified `project_id` (for example, `
|
||||||
# my-project-123`). You can only use this method for a Project that has a
|
# my-project-123`). You can only use this method for a Project that has a
|
||||||
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
|
# lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot
|
||||||
# be restored. The caller must have modify permissions for this Project.
|
# be restored. The caller must have undelete permissions for this Project.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# Required. The project ID (for example, `foo-bar-123`).
|
# Required. The project ID (for example, `foo-bar-123`).
|
||||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
# @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object
|
||||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Workflow Executions API
|
# Workflow Executions API
|
||||||
#
|
#
|
||||||
# Manages user-provided workflows.
|
# Execute workflows created with Workflows API.
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/workflows
|
# @see https://cloud.google.com/workflows
|
||||||
module WorkflowexecutionsV1beta
|
module WorkflowexecutionsV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20200901'
|
REVISION = '20200923'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
||||||
module WorkflowexecutionsV1beta
|
module WorkflowexecutionsV1beta
|
||||||
# Workflow Executions API
|
# Workflow Executions API
|
||||||
#
|
#
|
||||||
# Manages user-provided workflows.
|
# Execute workflows created with Workflows API.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/workflowexecutions_v1beta'
|
# require 'google/apis/workflowexecutions_v1beta'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/youtube/
|
# @see https://developers.google.com/youtube/
|
||||||
module YoutubeV3
|
module YoutubeV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20200920'
|
REVISION = '20200921'
|
||||||
|
|
||||||
# Manage your YouTube account
|
# Manage your YouTube account
|
||||||
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
||||||
|
|
|
@ -977,12 +977,6 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :id
|
attr_accessor :id
|
||||||
|
|
||||||
# Describes an invideo promotion campaign consisting of multiple promoted items.
|
|
||||||
# A campaign belongs to a single channel_id.
|
|
||||||
# Corresponds to the JSON property `invideoPromotion`
|
|
||||||
# @return [Google::Apis::YoutubeV3::InvideoPromotion]
|
|
||||||
attr_accessor :invideo_promotion
|
|
||||||
|
|
||||||
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
||||||
# channel".
|
# channel".
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
|
@ -1028,7 +1022,6 @@ module Google
|
||||||
@conversion_pings = args[:conversion_pings] if args.key?(:conversion_pings)
|
@conversion_pings = args[:conversion_pings] if args.key?(:conversion_pings)
|
||||||
@etag = args[:etag] if args.key?(:etag)
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@invideo_promotion = args[:invideo_promotion] if args.key?(:invideo_promotion)
|
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@localizations = args[:localizations] if args.key?(:localizations)
|
@localizations = args[:localizations] if args.key?(:localizations)
|
||||||
@snippet = args[:snippet] if args.key?(:snippet)
|
@snippet = args[:snippet] if args.key?(:snippet)
|
||||||
|
@ -3426,49 +3419,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Describes an invideo promotion campaign consisting of multiple promoted items.
|
|
||||||
# A campaign belongs to a single channel_id.
|
|
||||||
class InvideoPromotion
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Describes a temporal position of a visual widget inside a video.
|
|
||||||
# Corresponds to the JSON property `defaultTiming`
|
|
||||||
# @return [Google::Apis::YoutubeV3::InvideoTiming]
|
|
||||||
attr_accessor :default_timing
|
|
||||||
|
|
||||||
# List of promoted items in decreasing priority.
|
|
||||||
# Corresponds to the JSON property `items`
|
|
||||||
# @return [Array<Google::Apis::YoutubeV3::PromotedItem>]
|
|
||||||
attr_accessor :items
|
|
||||||
|
|
||||||
# Describes the spatial position of a visual widget inside a video. It is a
|
|
||||||
# union of various position types, out of which only will be set one.
|
|
||||||
# Corresponds to the JSON property `position`
|
|
||||||
# @return [Google::Apis::YoutubeV3::InvideoPosition]
|
|
||||||
attr_accessor :position
|
|
||||||
|
|
||||||
# Indicates whether the channel's promotional campaign uses "smart timing." This
|
|
||||||
# feature attempts to show promotions at a point in the video when they are more
|
|
||||||
# likely to be clicked and less likely to disrupt the viewing experience. This
|
|
||||||
# feature also picks up a single promotion to show on each video.
|
|
||||||
# Corresponds to the JSON property `useSmartTiming`
|
|
||||||
# @return [Boolean]
|
|
||||||
attr_accessor :use_smart_timing
|
|
||||||
alias_method :use_smart_timing?, :use_smart_timing
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@default_timing = args[:default_timing] if args.key?(:default_timing)
|
|
||||||
@items = args[:items] if args.key?(:items)
|
|
||||||
@position = args[:position] if args.key?(:position)
|
|
||||||
@use_smart_timing = args[:use_smart_timing] if args.key?(:use_smart_timing)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Describes a temporal position of a visual widget inside a video.
|
# Describes a temporal position of a visual widget inside a video.
|
||||||
class InvideoTiming
|
class InvideoTiming
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -6061,90 +6011,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Describes a single promoted item.
|
|
||||||
class PromotedItem
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# A custom message to display for this promotion. This field is currently
|
|
||||||
# ignored unless the promoted item is a website.
|
|
||||||
# Corresponds to the JSON property `customMessage`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :custom_message
|
|
||||||
|
|
||||||
# Describes a single promoted item id. It is a union of various possible types.
|
|
||||||
# Corresponds to the JSON property `id`
|
|
||||||
# @return [Google::Apis::YoutubeV3::PromotedItemId]
|
|
||||||
attr_accessor :id
|
|
||||||
|
|
||||||
# If true, the content owner's name will be used when displaying the promotion.
|
|
||||||
# This field can only be set when the update is made on behalf of the content
|
|
||||||
# owner.
|
|
||||||
# Corresponds to the JSON property `promotedByContentOwner`
|
|
||||||
# @return [Boolean]
|
|
||||||
attr_accessor :promoted_by_content_owner
|
|
||||||
alias_method :promoted_by_content_owner?, :promoted_by_content_owner
|
|
||||||
|
|
||||||
# Describes a temporal position of a visual widget inside a video.
|
|
||||||
# Corresponds to the JSON property `timing`
|
|
||||||
# @return [Google::Apis::YoutubeV3::InvideoTiming]
|
|
||||||
attr_accessor :timing
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@custom_message = args[:custom_message] if args.key?(:custom_message)
|
|
||||||
@id = args[:id] if args.key?(:id)
|
|
||||||
@promoted_by_content_owner = args[:promoted_by_content_owner] if args.key?(:promoted_by_content_owner)
|
|
||||||
@timing = args[:timing] if args.key?(:timing)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Describes a single promoted item id. It is a union of various possible types.
|
|
||||||
class PromotedItemId
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# If type is recentUpload, this field identifies the channel from which to take
|
|
||||||
# the recent upload. If missing, the channel is assumed to be the same channel
|
|
||||||
# for which the invideoPromotion is set.
|
|
||||||
# Corresponds to the JSON property `recentlyUploadedBy`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :recently_uploaded_by
|
|
||||||
|
|
||||||
# Describes the type of the promoted item.
|
|
||||||
# Corresponds to the JSON property `type`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :type
|
|
||||||
|
|
||||||
# If the promoted item represents a video, this field represents the unique
|
|
||||||
# YouTube ID identifying it. This field will be present only if type has the
|
|
||||||
# value video.
|
|
||||||
# Corresponds to the JSON property `videoId`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :video_id
|
|
||||||
|
|
||||||
# If the promoted item represents a website, this field represents the url
|
|
||||||
# pointing to the website. This field will be present only if type has the value
|
|
||||||
# website.
|
|
||||||
# Corresponds to the JSON property `websiteUrl`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :website_url
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@recently_uploaded_by = args[:recently_uploaded_by] if args.key?(:recently_uploaded_by)
|
|
||||||
@type = args[:type] if args.key?(:type)
|
|
||||||
@video_id = args[:video_id] if args.key?(:video_id)
|
|
||||||
@website_url = args[:website_url] if args.key?(:website_url)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# A pair Property / Value.
|
# A pair Property / Value.
|
||||||
class PropertyValue
|
class PropertyValue
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -424,12 +424,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class InvideoPromotion
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class InvideoTiming
|
class InvideoTiming
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -772,18 +766,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class PromotedItem
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class PromotedItemId
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class PropertyValue
|
class PropertyValue
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1419,8 +1401,6 @@ module Google
|
||||||
|
|
||||||
property :etag, as: 'etag'
|
property :etag, as: 'etag'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :invideo_promotion, as: 'invideoPromotion', class: Google::Apis::YoutubeV3::InvideoPromotion, decorator: Google::Apis::YoutubeV3::InvideoPromotion::Representation
|
|
||||||
|
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::ChannelLocalization, decorator: Google::Apis::YoutubeV3::ChannelLocalization::Representation
|
hash :localizations, as: 'localizations', class: Google::Apis::YoutubeV3::ChannelLocalization, decorator: Google::Apis::YoutubeV3::ChannelLocalization::Representation
|
||||||
|
|
||||||
|
@ -2017,19 +1997,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class InvideoPromotion
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :default_timing, as: 'defaultTiming', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
|
|
||||||
|
|
||||||
collection :items, as: 'items', class: Google::Apis::YoutubeV3::PromotedItem, decorator: Google::Apis::YoutubeV3::PromotedItem::Representation
|
|
||||||
|
|
||||||
property :position, as: 'position', class: Google::Apis::YoutubeV3::InvideoPosition, decorator: Google::Apis::YoutubeV3::InvideoPosition::Representation
|
|
||||||
|
|
||||||
property :use_smart_timing, as: 'useSmartTiming'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class InvideoTiming
|
class InvideoTiming
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2714,28 +2681,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class PromotedItem
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :custom_message, as: 'customMessage'
|
|
||||||
property :id, as: 'id', class: Google::Apis::YoutubeV3::PromotedItemId, decorator: Google::Apis::YoutubeV3::PromotedItemId::Representation
|
|
||||||
|
|
||||||
property :promoted_by_content_owner, as: 'promotedByContentOwner'
|
|
||||||
property :timing, as: 'timing', class: Google::Apis::YoutubeV3::InvideoTiming, decorator: Google::Apis::YoutubeV3::InvideoTiming::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class PromotedItemId
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :recently_uploaded_by, as: 'recentlyUploadedBy'
|
|
||||||
property :type, as: 'type'
|
|
||||||
property :video_id, as: 'videoId'
|
|
||||||
property :website_url, as: 'websiteUrl'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class PropertyValue
|
class PropertyValue
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
Loading…
Reference in New Issue