Autogenerated update (2020-02-27)

Update:
- androidpublisher_v3
- books_v1
- containeranalysis_v1alpha1
- containeranalysis_v1beta1
- dfareporting_v3_4
- doubleclickbidmanager_v1
- doubleclickbidmanager_v1_1
- fitness_v1
- ml_v1
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- run_v1
- run_v1alpha1
- run_v1beta1
- runtimeconfig_v1
- runtimeconfig_v1beta1
- youtube_v3
This commit is contained in:
Google APIs 2020-02-27 00:38:30 +00:00
parent b9e9a8e2b8
commit f0cb17be6e
36 changed files with 2243 additions and 894 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
REVISION = '20200126'
REVISION = '20200223'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -31,6 +31,11 @@ module Google
# @return [Google::Apis::AndroidpublisherV3::ApkBinary]
attr_accessor :binary
# Represents the binary payload of an APK.
# Corresponds to the JSON property `testBinary`
# @return [Google::Apis::AndroidpublisherV3::ApkBinary]
attr_accessor :test_binary
# The version code of the APK, as specified in the APK's manifest file.
# Corresponds to the JSON property `versionCode`
# @return [Fixnum]
@ -43,6 +48,7 @@ module Google
# Update properties of this object
def update!(**args)
@binary = args[:binary] if args.key?(:binary)
@test_binary = args[:test_binary] if args.key?(:test_binary)
@version_code = args[:version_code] if args.key?(:version_code)
end
end
@ -302,6 +308,11 @@ module Google
# @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
attr_accessor :mod_ranges
#
# Corresponds to the JSON property `stratifiedSamplings`
# @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
attr_accessor :stratified_samplings
#
# Corresponds to the JSON property `versionCodes`
# @return [Array<Fixnum>]
@ -314,6 +325,7 @@ module Google
# Update properties of this object
def update!(**args)
@mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
@stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
@version_codes = args[:version_codes] if args.key?(:version_codes)
end
end
@ -1455,6 +1467,17 @@ module Google
# @return [Fixnum]
attr_accessor :salt
#
# Corresponds to the JSON property `stratifiedSamplings`
# @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
attr_accessor :stratified_samplings
#
# Corresponds to the JSON property `useAndroidId`
# @return [Boolean]
attr_accessor :use_android_id
alias_method :use_android_id?, :use_android_id
def initialize(**args)
update!(**args)
end
@ -1464,6 +1487,52 @@ module Google
@mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
@modulus = args[:modulus] if args.key?(:modulus)
@salt = args[:salt] if args.key?(:salt)
@stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
@use_android_id = args[:use_android_id] if args.key?(:use_android_id)
end
end
#
class StratifiedSampling
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `modRanges`
# @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
attr_accessor :mod_ranges
#
# Corresponds to the JSON property `stratum`
# @return [Google::Apis::AndroidpublisherV3::Stratum]
attr_accessor :stratum
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
@stratum = args[:stratum] if args.key?(:stratum)
end
end
#
class Stratum
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `brand`
# @return [String]
attr_accessor :brand
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@brand = args[:brand] if args.key?(:brand)
end
end
@ -1893,6 +1962,21 @@ module Google
class Testers
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `autoEnrolledAndroidGroups`
# @return [Array<String>]
attr_accessor :auto_enrolled_android_groups
#
# Corresponds to the JSON property `autoEnrolledGoogleGroups`
# @return [Array<String>]
attr_accessor :auto_enrolled_google_groups
#
# Corresponds to the JSON property `excludedGoogleGroups`
# @return [Array<String>]
attr_accessor :excluded_google_groups
# A list of all Google Groups, as email addresses, that define testers for this
# track.
# Corresponds to the JSON property `googleGroups`
@ -1905,6 +1989,9 @@ module Google
# Update properties of this object
def update!(**args)
@auto_enrolled_android_groups = args[:auto_enrolled_android_groups] if args.key?(:auto_enrolled_android_groups)
@auto_enrolled_google_groups = args[:auto_enrolled_google_groups] if args.key?(:auto_enrolled_google_groups)
@excluded_google_groups = args[:excluded_google_groups] if args.key?(:excluded_google_groups)
@google_groups = args[:google_groups] if args.key?(:google_groups)
end
end
@ -2014,11 +2101,22 @@ module Google
# @return [String]
attr_accessor :name
#
# Corresponds to the JSON property `pinnedVersions`
# @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePin>]
attr_accessor :pinned_versions
# The description of what is new in the app in this release.
# Corresponds to the JSON property `releaseNotes`
# @return [Array<Google::Apis::AndroidpublisherV3::LocalizedText>]
attr_accessor :release_notes
#
# Corresponds to the JSON property `rollbackEnabled`
# @return [Boolean]
attr_accessor :rollback_enabled
alias_method :rollback_enabled?, :rollback_enabled
#
# Corresponds to the JSON property `sampling`
# @return [Google::Apis::AndroidpublisherV3::Sampling]
@ -2053,7 +2151,9 @@ module Google
@country_targeting = args[:country_targeting] if args.key?(:country_targeting)
@in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority)
@name = args[:name] if args.key?(:name)
@pinned_versions = args[:pinned_versions] if args.key?(:pinned_versions)
@release_notes = args[:release_notes] if args.key?(:release_notes)
@rollback_enabled = args[:rollback_enabled] if args.key?(:rollback_enabled)
@sampling = args[:sampling] if args.key?(:sampling)
@status = args[:status] if args.key?(:status)
@user_fraction = args[:user_fraction] if args.key?(:user_fraction)
@ -2061,6 +2161,99 @@ module Google
end
end
#
class TrackReleasePin
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `targetings`
# @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting>]
attr_accessor :targetings
#
# Corresponds to the JSON property `versionCodes`
# @return [Array<Fixnum>]
attr_accessor :version_codes
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@targetings = args[:targetings] if args.key?(:targetings)
@version_codes = args[:version_codes] if args.key?(:version_codes)
end
end
#
class TrackReleasePinPinTargeting
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `countryCodes`
# @return [Array<String>]
attr_accessor :country_codes
#
# Corresponds to the JSON property `devices`
# @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin>]
attr_accessor :devices
#
# Corresponds to the JSON property `phoneskyVersions`
# @return [Array<Fixnum>]
attr_accessor :phonesky_versions
#
# Corresponds to the JSON property `sdkVersions`
# @return [Array<Fixnum>]
attr_accessor :sdk_versions
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@country_codes = args[:country_codes] if args.key?(:country_codes)
@devices = args[:devices] if args.key?(:devices)
@phonesky_versions = args[:phonesky_versions] if args.key?(:phonesky_versions)
@sdk_versions = args[:sdk_versions] if args.key?(:sdk_versions)
end
end
#
class TrackReleasePinPinTargetingDevicePin
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `brand`
# @return [String]
attr_accessor :brand
#
# Corresponds to the JSON property `device`
# @return [String]
attr_accessor :device
#
# Corresponds to the JSON property `product`
# @return [String]
attr_accessor :product
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@brand = args[:brand] if args.key?(:brand)
@device = args[:device] if args.key?(:device)
@product = args[:product] if args.key?(:product)
end
end
#
class TracksListResponse
include Google::Apis::Core::Hashable

View File

@ -286,6 +286,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class StratifiedSampling
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Stratum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SubscriptionCancelSurveyResult
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -370,6 +382,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TrackReleasePin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TrackReleasePinPinTargeting
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TrackReleasePinPinTargetingDevicePin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TracksListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -405,6 +435,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :binary, as: 'binary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation
property :test_binary, as: 'testBinary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation
property :version_code, as: 'versionCode'
end
end
@ -493,6 +525,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
collection :stratified_samplings, as: 'stratifiedSamplings', class: Google::Apis::AndroidpublisherV3::StratifiedSampling, decorator: Google::Apis::AndroidpublisherV3::StratifiedSampling::Representation
collection :version_codes, as: 'versionCodes'
end
end
@ -825,6 +859,26 @@ module Google
property :modulus, :numeric_string => true, as: 'modulus'
property :salt, as: 'salt'
collection :stratified_samplings, as: 'stratifiedSamplings', class: Google::Apis::AndroidpublisherV3::StratifiedSampling, decorator: Google::Apis::AndroidpublisherV3::StratifiedSampling::Representation
property :use_android_id, as: 'useAndroidId'
end
end
class StratifiedSampling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
property :stratum, as: 'stratum', class: Google::Apis::AndroidpublisherV3::Stratum, decorator: Google::Apis::AndroidpublisherV3::Stratum::Representation
end
end
class Stratum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :brand, as: 'brand'
end
end
@ -930,6 +984,9 @@ module Google
class Testers
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :auto_enrolled_android_groups, as: 'autoEnrolledAndroidGroups'
collection :auto_enrolled_google_groups, as: 'autoEnrolledGoogleGroups'
collection :excluded_google_groups, as: 'excludedGoogleGroups'
collection :google_groups, as: 'googleGroups'
end
end
@ -968,8 +1025,11 @@ module Google
property :in_app_update_priority, as: 'inAppUpdatePriority'
property :name, as: 'name'
collection :pinned_versions, as: 'pinnedVersions', class: Google::Apis::AndroidpublisherV3::TrackReleasePin, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePin::Representation
collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation
property :rollback_enabled, as: 'rollbackEnabled'
property :sampling, as: 'sampling', class: Google::Apis::AndroidpublisherV3::Sampling, decorator: Google::Apis::AndroidpublisherV3::Sampling::Representation
property :status, as: 'status'
@ -978,6 +1038,35 @@ module Google
end
end
class TrackReleasePin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :targetings, as: 'targetings', class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting::Representation
collection :version_codes, as: 'versionCodes'
end
end
class TrackReleasePinPinTargeting
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :country_codes, as: 'countryCodes'
collection :devices, as: 'devices', class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin::Representation
collection :phonesky_versions, as: 'phoneskyVersions'
collection :sdk_versions, as: 'sdkVersions'
end
end
class TrackReleasePinPinTargetingDevicePin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :brand, as: 'brand'
property :device, as: 'device'
property :product, as: 'product'
end
end
class TracksListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/books/docs/v1/getting_started
module BooksV1
VERSION = 'V1'
REVISION = '20191103'
REVISION = '20200204'
# Manage your books
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'

View File

@ -546,6 +546,43 @@ module Google
end
end
#
class BooksSubscriptionReleaseInfo
include Google::Apis::Core::Hashable
# Amount in micros of the specified currency code.
# Corresponds to the JSON property `amountInMicros`
# @return [Fixnum]
attr_accessor :amount_in_micros
# Currency code of the amount.
# Corresponds to the JSON property `currencyCode`
# @return [String]
attr_accessor :currency_code
# The release number of this issue/volume/book.
# Corresponds to the JSON property `releaseNumber`
# @return [String]
attr_accessor :release_number
# The release date.
# Corresponds to the JSON property `releaseTimestampUs`
# @return [Fixnum]
attr_accessor :release_timestamp_us
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros)
@currency_code = args[:currency_code] if args.key?(:currency_code)
@release_number = args[:release_number] if args.key?(:release_number)
@release_timestamp_us = args[:release_timestamp_us] if args.key?(:release_timestamp_us)
end
end
#
class RateRecommendedVolumeResponse
include Google::Apis::Core::Hashable
@ -2543,11 +2580,21 @@ module Google
attr_accessor :is_complete
alias_method :is_complete?, :is_complete
#
# Corresponds to the JSON property `seriesFormatType`
# @return [String]
attr_accessor :series_format_type
#
# Corresponds to the JSON property `seriesId`
# @return [String]
attr_accessor :series_id
#
# Corresponds to the JSON property `seriesSubscriptionReleaseInfo`
# @return [Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo]
attr_accessor :series_subscription_release_info
#
# Corresponds to the JSON property `seriesType`
# @return [String]
@ -2573,11 +2620,50 @@ module Google
@eligible_for_subscription = args[:eligible_for_subscription] if args.key?(:eligible_for_subscription)
@image_url = args[:image_url] if args.key?(:image_url)
@is_complete = args[:is_complete] if args.key?(:is_complete)
@series_format_type = args[:series_format_type] if args.key?(:series_format_type)
@series_id = args[:series_id] if args.key?(:series_id)
@series_subscription_release_info = args[:series_subscription_release_info] if args.key?(:series_subscription_release_info)
@series_type = args[:series_type] if args.key?(:series_type)
@subscription_id = args[:subscription_id] if args.key?(:subscription_id)
@title = args[:title] if args.key?(:title)
end
#
class SeriesSubscriptionReleaseInfo
include Google::Apis::Core::Hashable
# Cancellation date of the series subscription (or when it ends).
# Corresponds to the JSON property `cancellationTimestampUs`
# @return [Fixnum]
attr_accessor :cancellation_timestamp_us
# Release information for the last release.
# Corresponds to the JSON property `currentReleaseInfo`
# @return [Google::Apis::BooksV1::BooksSubscriptionReleaseInfo]
attr_accessor :current_release_info
# Release information for the next release.
# Corresponds to the JSON property `nextReleaseInfo`
# @return [Google::Apis::BooksV1::BooksSubscriptionReleaseInfo]
attr_accessor :next_release_info
# series subscription type.
# Corresponds to the JSON property `seriesSubscriptionType`
# @return [String]
attr_accessor :series_subscription_type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cancellation_timestamp_us = args[:cancellation_timestamp_us] if args.key?(:cancellation_timestamp_us)
@current_release_info = args[:current_release_info] if args.key?(:current_release_info)
@next_release_info = args[:next_release_info] if args.key?(:next_release_info)
@series_subscription_type = args[:series_subscription_type] if args.key?(:series_subscription_type)
end
end
end
end

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BooksSubscriptionReleaseInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RateRecommendedVolumeResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -399,6 +405,12 @@ module Google
class Series
class Representation < Google::Apis::Core::JsonRepresentation; end
class SeriesSubscriptionReleaseInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
@ -804,6 +816,16 @@ module Google
end
end
class BooksSubscriptionReleaseInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount_in_micros, :numeric_string => true, as: 'amountInMicros'
property :currency_code, as: 'currencyCode'
property :release_number, as: 'releaseNumber'
property :release_timestamp_us, :numeric_string => true, as: 'releaseTimestampUs'
end
end
class RateRecommendedVolumeResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1380,11 +1402,26 @@ module Google
property :eligible_for_subscription, as: 'eligibleForSubscription'
property :image_url, as: 'imageUrl'
property :is_complete, as: 'isComplete'
property :series_format_type, as: 'seriesFormatType'
property :series_id, as: 'seriesId'
property :series_subscription_release_info, as: 'seriesSubscriptionReleaseInfo', class: Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo, decorator: Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::Representation
property :series_type, as: 'seriesType'
property :subscription_id, as: 'subscriptionId'
property :title, as: 'title'
end
class SeriesSubscriptionReleaseInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cancellation_timestamp_us, :numeric_string => true, as: 'cancellationTimestampUs'
property :current_release_info, as: 'currentReleaseInfo', class: Google::Apis::BooksV1::BooksSubscriptionReleaseInfo, decorator: Google::Apis::BooksV1::BooksSubscriptionReleaseInfo::Representation
property :next_release_info, as: 'nextReleaseInfo', class: Google::Apis::BooksV1::BooksSubscriptionReleaseInfo, decorator: Google::Apis::BooksV1::BooksSubscriptionReleaseInfo::Representation
property :series_subscription_type, as: 'seriesSubscriptionType'
end
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200120'
REVISION = '20200221'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1beta1
VERSION = 'V1beta1'
REVISION = '20200120'
REVISION = '20200221'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/doubleclick-advertisers/
module DfareportingV3_4
VERSION = 'V3_4'
REVISION = '20191127'
REVISION = '20200121'
# Manage DoubleClick Digital Marketing conversions
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'

View File

@ -5568,12 +5568,6 @@ module Google
class DirectorySite
include Google::Apis::Core::Hashable
# Whether this directory site is active.
# Corresponds to the JSON property `active`
# @return [Boolean]
attr_accessor :active
alias_method :active?, :active
# ID of this directory site. This is a read-only, auto-generated field.
# Corresponds to the JSON property `id`
# @return [Fixnum]
@ -5630,7 +5624,6 @@ module Google
# Update properties of this object
def update!(**args)
@active = args[:active] if args.key?(:active)
@id = args[:id] if args.key?(:id)
@id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value)
@inpage_tag_formats = args[:inpage_tag_formats] if args.key?(:inpage_tag_formats)

View File

@ -2753,7 +2753,6 @@ module Google
class DirectorySite
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :active, as: 'active'
property :id, :numeric_string => true, as: 'id'
property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV3_4::DimensionValue, decorator: Google::Apis::DfareportingV3_4::DimensionValue::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20191210'
REVISION = '20200220'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -112,7 +112,7 @@ module Google
attr_accessor :filter_type
# SDF Version (column names, types, order) in which the entities will be
# returned. Default to 3.1.
# returned. Default to 5.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1_1
VERSION = 'V1_1'
REVISION = '20200124'
REVISION = '20200220'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -112,7 +112,7 @@ module Google
attr_accessor :filter_type
# SDF Version (column names, types, order) in which the entities will be
# returned. Default to 3.1.
# returned. Default to 5.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fit/rest/
module FitnessV1
VERSION = 'V1'
REVISION = '20200213'
REVISION = '20200220'
# Use Google Fit to see and store your physical activity data
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'

View File

@ -51,6 +51,8 @@ module Google
@batch_path = 'batch/fitness/v1'
end
# Creates a new data source that is unique across all data sources belonging to
# this user.
# A data source is a unique source of sensor data. Data sources can expose raw
# data coming from hardware sensors on local or companion devices. They can also
# expose derived data, created by transforming or merging other data sources.
@ -61,15 +63,17 @@ module Google
# data source identifier. Not all changes to data source affect the data stream
# ID, so that data collected by updated versions of the same application/device
# can still be considered to belong to the same data source.
# Data sources are addressed using a string generated by the server, based on
# the contents of the source being created.
# Creates a new data source that is unique across all data sources belonging to
# this user. The dataStreamId field should be excluded. This will be
# automatically generated by the server with the correct format. If a
# dataStreamId is included, it must match the format that the server would
# generate. This format is a combination of some fields from the data source,
# and has a specific order. If it doesn't match, the request will fail with an
# error.
# Data sources are identified using a string generated by the server, based on
# the contents of the source being created. The dataStreamId field should not be
# set when invoking this method. It will be automatically generated by the
# server with the correct format. If a dataStreamId is set, it must match the
# format that the server would generate. This format is a combination of some
# fields from the data source, and has a specific order. If it doesn't match,
# the request will fail with an error.
# Specifying a DataType which is not a known type (beginning with "com.google.")
# will create a DataSource with a custom data type. Custom data types are only
# readable by the application that created them. Custom data types are
# deprecated; use standard data types instead.
# In addition to the data source fields included in the data source ID, the
# developer project number that is authenticated when creating the data source
# is included. This developer project number is obfuscated when read by any

View File

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

View File

@ -658,13 +658,11 @@ module Google
# @return [String]
attr_accessor :state
# Represents input parameters for a training job. When using the
# gcloud command to submit your training job, you can specify
# the input parameters as command-line arguments and/or in a YAML configuration
# file referenced from the --config command-line argument. For
# details, see the guide to
# <a href="/ml-engine/docs/tensorflow/training-jobs">submitting a training
# job</a>.
# Represents input parameters for a training job. When using the gcloud command
# to submit your training job, you can specify the input parameters as
# command-line arguments and/or in a YAML configuration file referenced from
# the --config command-line argument. For details, see the guide to [submitting
# a training job](/ai-platform/training/docs/training-jobs).
# Corresponds to the JSON property `trainingInput`
# @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput]
attr_accessor :training_input
@ -1458,13 +1456,11 @@ module Google
end
end
# Represents input parameters for a training job. When using the
# gcloud command to submit your training job, you can specify
# the input parameters as command-line arguments and/or in a YAML configuration
# file referenced from the --config command-line argument. For
# details, see the guide to
# <a href="/ml-engine/docs/tensorflow/training-jobs">submitting a training
# job</a>.
# Represents input parameters for a training job. When using the gcloud command
# to submit your training job, you can specify the input parameters as
# command-line arguments and/or in a YAML configuration file referenced from
# the --config command-line argument. For details, see the guide to [submitting
# a training job](/ai-platform/training/docs/training-jobs).
class GoogleCloudMlV1TrainingInput
include Google::Apis::Core::Hashable
@ -1580,40 +1576,32 @@ module Google
# @return [String]
attr_accessor :python_module
# Optional. The version of Python used in training. If not set, the default
# version is '2.7'. Starting [January 13,
# 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
# required.
# Optional. The version of Python used in training. You must either specify
# this field or specify `masterConfig.imageUri`.
# The following Python versions are available:
# * Python '3.7' is available when `runtime_version` is set to '1.15' or
# later.
# * Python '3.5' is available when `runtime_version` is set to a version
# from '1.4' to '1.14'.
# * Python '2.7' is available when `runtime_version` is set to '1.15' or
# earlier. (Runtime versions released [after January 1,
# 2020](/ml-engine/docs/release-notes#december_10_2019) do not support
# Python 2.7.)
# earlier.
# Read more about the Python versions available for [each runtime
# version](/ml-engine/docs/runtime-version-list).
# Corresponds to the JSON property `pythonVersion`
# @return [String]
attr_accessor :python_version
# Required. The Google Compute Engine region to run the training job in.
# See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
# for AI Platform services.
# Required. The region to run the training job in. See the [available
# regions](/ai-platform/training/docs/regions) for AI Platform Training.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
# Optional. The AI Platform runtime version to use for training. If not
# set, AI Platform uses the default stable version, 1.0. Starting [January
# 13, 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
# required.
# For more information, see the
# <a href="/ml-engine/docs/runtime-version-list">runtime version list</a>
# and
# <a href="/ml-engine/docs/versioning">how to manage runtime versions</a>.
# Optional. The AI Platform runtime version to use for training. You must
# either specify this field or specify `masterConfig.imageUri`.
# For more information, see the [runtime version
# list](/ai-platform/training/docs/runtime-version-list) and learn [how to
# manage runtime versions](/ai-platform/training/docs/versioning).
# Corresponds to the JSON property `runtimeVersion`
# @return [String]
attr_accessor :runtime_version
@ -1973,19 +1961,14 @@ module Google
# @return [String]
attr_accessor :prediction_class
# Optional. The version of Python used in prediction. If not set, the default
# version is '2.7'. Starting [January 13,
# 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
# required.
# Required. The version of Python used in prediction.
# The following Python versions are available:
# * Python '3.7' is available when `runtime_version` is set to '1.15' or
# later.
# * Python '3.5' is available when `runtime_version` is set to a version
# from '1.4' to '1.14'.
# * Python '2.7' is available when `runtime_version` is set to '1.15' or
# earlier. (Runtime versions released [after January 1,
# 2020](/ml-engine/docs/release-notes#december_10_2019) do not support
# Python 2.7.)
# earlier.
# Read more about the Python versions available for [each runtime
# version](/ml-engine/docs/runtime-version-list).
# Corresponds to the JSON property `pythonVersion`
@ -2007,10 +1990,7 @@ module Google
# @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
attr_accessor :request_logging_config
# Optional. The AI Platform runtime version to use for this deployment.
# If not set, AI Platform uses the default stable version, 1.0. Starting
# [January 13, 2020](/ml-engine/docs/release-notes#december_10_2019), this
# field is required.
# Required. The AI Platform runtime version to use for this deployment.
# For more information, see the
# [runtime version list](/ml-engine/docs/runtime-version-list) and
# [how to manage runtime versions](/ml-engine/docs/versioning).

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1alpha
VERSION = 'V1alpha'
REVISION = '20200218'
REVISION = '20200225'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV2
VERSION = 'V2'
REVISION = '20200218'
REVISION = '20200225'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/
module RunV1
VERSION = 'V1'
REVISION = '20200130'
REVISION = '20200219'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2660,6 +2660,54 @@ module Google
end
end
# Cloud Run fully managed: not supported
# Cloud Run on GKE: supported
# Secret holds secret data of a certain type. The total bytes of the values in
# the Data field must be less than MaxSecretSize bytes.
class Secret
include Google::Apis::Core::Hashable
# Data contains the secret data. Each key must consist of alphanumeric
# characters, '-', '_' or '.'. The serialized form of the secret data is a
# base64 encoded string, representing the arbitrary (possibly non-string)
# data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
# Corresponds to the JSON property `data`
# @return [Hash<String,String>]
attr_accessor :data
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all
# persisted resources must have, which includes all objects users must create.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1::ObjectMeta]
attr_accessor :metadata
# stringData allows specifying non-binary secret data in string form.
# It is provided as a write-only convenience method.
# All keys and values are merged into the data field on write, overwriting
# any existing values. It is never output when reading from the API.
# +k8s:conversion-gen=false
# Corresponds to the JSON property `stringData`
# @return [Hash<String,String>]
attr_accessor :string_data
# Used to facilitate programmatic handling of secret data.
# 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)
@data = args[:data] if args.key?(:data)
@metadata = args[:metadata] if args.key?(:metadata)
@string_data = args[:string_data] if args.key?(:string_data)
@type = args[:type] if args.key?(:type)
end
end
# Cloud Run fully managed: not supported
# Cloud Run for Anthos: supported
# SecretEnvSource selects a Secret to populate the environment

View File

@ -322,6 +322,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Secret
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SecretEnvSource
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -985,6 +991,17 @@ module Google
end
end
class Secret
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :data, as: 'data'
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
hash :string_data, as: 'stringData'
property :type, as: 'type'
end
end
class SecretEnvSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -48,6 +48,110 @@ module Google
@batch_path = 'batch'
end
# Creates a new secret.
# @param [String] parent
# Required. The project ID or project number in which this secret should
# be created.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_api_v1_namespace_secret(parent, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'api/v1/{+parent}/secrets', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Rpc to get information about a secret.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace
# `namespace_id` with the project ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_api_v1_namespace_secret(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'api/v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Rpc to replace a secret.
# Only the spec and metadata labels and annotations are modifiable. After
# the Update request, Cloud Run will work to make the 'status'
# match the requested 'spec'.
# May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace
# `namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def replace_api_v1_namespace_secret_secret(name, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'api/v1/{+name}', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# List authorized domains.
# @param [String] parent
# Name of the parent Application resource. Example: `apps/myapp`.
@ -1336,6 +1440,110 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a new secret.
# @param [String] parent
# Required. The project ID or project number in which this secret should
# be created.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_secret(parent, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/secrets', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Rpc to get information about a secret.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace
# `namespace_id` with the project ID.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_secret(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Rpc to replace a secret.
# Only the spec and metadata labels and annotations are modifiable. After
# the Update request, Cloud Run will work to make the 'status'
# match the requested 'spec'.
# May provide metadata.resourceVersion to enforce update from last read for
# optimistic concurrency control.
# @param [String] name
# Required. The name of the secret being retrieved. If needed, replace
# `namespace_id` with the project ID.
# @param [Google::Apis::RunV1::Secret] secret_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Secret]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def replace_project_location_secret_secret(name, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1/{+name}', options)
command.request_representation = Google::Apis::RunV1::Secret::Representation
command.request_object = secret_object
command.response_representation = Google::Apis::RunV1::Secret::Representation
command.response_class = Google::Apis::RunV1::Secret
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Create a service.
# @param [String] parent
# The namespace in which the service should be created.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/
module RunV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200130'
REVISION = '20200219'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -635,6 +635,319 @@ module Google
end
end
# The CloudSchedulerSource resource.
class CloudSchedulerSource
include Google::Apis::Core::Hashable
# The API version for this call such as "events.cloud.google.com/v1alpha1".
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# The kind of resource, in this case "CloudSchedulerSource".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# ObjectMeta is metadata that all persisted resources must have, which includes
# all objects users must create.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
attr_accessor :metadata
# The desired state of the CloudSchedulerSource.
# Corresponds to the JSON property `spec`
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSourceSpec]
attr_accessor :spec
# CloudSchedulerSourceStatus represents the current state of a
# CloudSchedulerSource.
# Corresponds to the JSON property `status`
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@spec = args[:spec] if args.key?(:spec)
@status = args[:status] if args.key?(:status)
end
end
# The desired state of the CloudSchedulerSource.
class CloudSchedulerSourceSpec
include Google::Apis::Core::Hashable
# CloudEventOverrides defines arguments for a Source that control the output
# format of the CloudEvents produced by the Source.
# Corresponds to the JSON property `ceOverrides`
# @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
attr_accessor :ce_overrides
# Data to send in the payload of the Event.
# Corresponds to the JSON property `data`
# @return [String]
attr_accessor :data
# Location to create the Scheduler job in.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# Project is the ID of the Google Cloud Project that the CloudPubSubSource
# Topic exists in. If omitted, defaults to same as the cluster.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# Cloud Run fully managed: not supported
# Cloud Run on GKE: supported
# SecretKeySelector selects a key of a Secret.
# Corresponds to the JSON property `pubsubSecret`
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
attr_accessor :pubsub_secret
# Schedule in cron format, for example: "* * * * *" would be run
# every minute.
# Corresponds to the JSON property `schedule`
# @return [String]
attr_accessor :schedule
# Cloud Run fully managed: not supported
# Cloud Run on GKE: supported
# SecretKeySelector selects a key of a Secret.
# Corresponds to the JSON property `secret`
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
attr_accessor :secret
# Sink is a reference to an object that will resolve to a domain name or a
# URI directly to use as the sink.
# Corresponds to the JSON property `sink`
# @return [Google::Apis::RunV1alpha1::Destination]
attr_accessor :sink
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
@data = args[:data] if args.key?(:data)
@location = args[:location] if args.key?(:location)
@project = args[:project] if args.key?(:project)
@pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
@schedule = args[:schedule] if args.key?(:schedule)
@secret = args[:secret] if args.key?(:secret)
@sink = args[:sink] if args.key?(:sink)
end
end
# CloudSchedulerSourceStatus represents the current state of a
# CloudSchedulerSource.
class CloudSchedulerSourceStatus
include Google::Apis::Core::Hashable
# Array of observed CloudSchedulerSourceConditions, indicating the current
# state of the CloudSchedulerSource.
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
attr_accessor :conditions
# ObservedGeneration is the 'Generation' of the CloudSchedulerSource that
# was last processed by the controller.
# Corresponds to the JSON property `observedGeneration`
# @return [Fixnum]
attr_accessor :observed_generation
# SinkURI is the current active sink URI that has been configured for the
# Source.
# Corresponds to the JSON property `sinkUri`
# @return [String]
attr_accessor :sink_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@conditions = args[:conditions] if args.key?(:conditions)
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
@sink_uri = args[:sink_uri] if args.key?(:sink_uri)
end
end
# The CloudStorageSource resource.
class CloudStorageSource
include Google::Apis::Core::Hashable
# The API version for this call such as "events.cloud.google.com/v1alpha1".
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# The kind of resource, in this case "CloudStorageSource".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# ObjectMeta is metadata that all persisted resources must have, which includes
# all objects users must create.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
attr_accessor :metadata
# The desired state of the CloudStorageSource.
# Corresponds to the JSON property `spec`
# @return [Google::Apis::RunV1alpha1::CloudStorageSourceSpec]
attr_accessor :spec
# CloudStorageSourceStatus represents the current state of a
# CloudStorageSource.
# Corresponds to the JSON property `status`
# @return [Google::Apis::RunV1alpha1::CloudStorageSourceStatus]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@spec = args[:spec] if args.key?(:spec)
@status = args[:status] if args.key?(:status)
end
end
# The desired state of the CloudStorageSource.
class CloudStorageSourceSpec
include Google::Apis::Core::Hashable
# Bucket to subscribe to.
# Corresponds to the JSON property `bucket`
# @return [String]
attr_accessor :bucket
# CloudEventOverrides defines arguments for a Source that control the output
# format of the CloudEvents produced by the Source.
# Corresponds to the JSON property `ceOverrides`
# @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
attr_accessor :ce_overrides
# EventTypes to subscribe to. If unspecified, then subscribe to all events.
# Corresponds to the JSON property `eventTypes`
# @return [Array<String>]
attr_accessor :event_types
# ObjectNamePrefix limits the notifications to objects with this prefix.
# Corresponds to the JSON property `objectNamePrefix`
# @return [String]
attr_accessor :object_name_prefix
# PayloadFormat specifies the contents of the message payload.
# See https://cloud.google.com/storage/docs/pubsub-notifications#payload.
# Corresponds to the JSON property `payloadFormat`
# @return [String]
attr_accessor :payload_format
# Project is the ID of the Google Cloud Project that the PubSub Topic exists
# in. If omitted, defaults to same as the cluster.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# Cloud Run fully managed: not supported
# Cloud Run on GKE: supported
# SecretKeySelector selects a key of a Secret.
# Corresponds to the JSON property `pubsubSecret`
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
attr_accessor :pubsub_secret
# Cloud Run fully managed: not supported
# Cloud Run on GKE: supported
# SecretKeySelector selects a key of a Secret.
# Corresponds to the JSON property `secret`
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
attr_accessor :secret
# ServiceAccountName holds the name of the Kubernetes service account
# as which the underlying K8s resources should be run. If unspecified
# this will default to the "default" service account for the namespace
# in which the GCS exists.
# Corresponds to the JSON property `serviceAccountName`
# @return [String]
attr_accessor :service_account_name
# Sink is a reference to an object that will resolve to a domain name or a
# URI directly to use as the sink.
# Corresponds to the JSON property `sink`
# @return [Google::Apis::RunV1alpha1::Destination]
attr_accessor :sink
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bucket = args[:bucket] if args.key?(:bucket)
@ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
@event_types = args[:event_types] if args.key?(:event_types)
@object_name_prefix = args[:object_name_prefix] if args.key?(:object_name_prefix)
@payload_format = args[:payload_format] if args.key?(:payload_format)
@project = args[:project] if args.key?(:project)
@pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
@secret = args[:secret] if args.key?(:secret)
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
@sink = args[:sink] if args.key?(:sink)
end
end
# CloudStorageSourceStatus represents the current state of a
# CloudStorageSource.
class CloudStorageSourceStatus
include Google::Apis::Core::Hashable
# Array of observed CloudStorageSourceConditions, indicating the current
# state of the CloudStorageSource.
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
attr_accessor :conditions
# ObservedGeneration is the 'Generation' of the CloudStorageSource that
# was last processed by the controller.
# Corresponds to the JSON property `observedGeneration`
# @return [Fixnum]
attr_accessor :observed_generation
# SinkURI is the current active sink URI that has been configured for the
# Source.
# Corresponds to the JSON property `sinkUri`
# @return [String]
attr_accessor :sink_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@conditions = args[:conditions] if args.key?(:conditions)
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
@sink_uri = args[:sink_uri] if args.key?(:sink_uri)
end
end
# Condition defines a generic condition for a Resource
class Condition
include Google::Apis::Core::Hashable
@ -1839,49 +2152,6 @@ module Google
end
end
# Initializer is information about an initializer that has not yet completed.
class Initializer
include Google::Apis::Core::Hashable
# name of the process that is responsible for initializing this object.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
end
end
# Initializers tracks the progress of initialization.
class Initializers
include Google::Apis::Core::Hashable
# Pending is a list of initializers that must execute in order before this
# object is visible. When the last pending initializer is removed, and no
# failing result is set, the initializers struct will be set to nil and the
# object is considered as initialized and visible to all clients.
# +patchMergeKey=name
# +patchStrategy=merge
# Corresponds to the JSON property `pending`
# @return [Array<Google::Apis::RunV1alpha1::Initializer>]
attr_accessor :pending
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@pending = args[:pending] if args.key?(:pending)
end
end
# IntOrString is a type that can hold an int32 or a string. When used in
# JSON or YAML marshalling and unmarshalling, it produces or consumes the
# inner type. This allows you to have, for example, a JSON field that can
@ -2098,6 +2368,97 @@ module Google
end
end
# ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource
# resources.
class ListCloudSchedulerSourcesResponse
include Google::Apis::Core::Hashable
# The API version for this call such as "events.cloud.google.com/v1alpha1".
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# List of CloudSchedulerSources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::RunV1alpha1::CloudSchedulerSource>]
attr_accessor :items
# The kind of this resource, in this case "CloudSchedulerSourceList".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# ListMeta describes metadata that synthetic resources must have, including
# lists and various status objects. A resource may have only one of
# `ObjectMeta, ListMeta`.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
# ListCloudStorageSourcesResponse is a list of CloudStorageSource resources.
class ListCloudStorageSourcesResponse
include Google::Apis::Core::Hashable
# The API version for this call such as "events.cloud.google.com/v1alpha1".
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# List of CloudStorageSources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::RunV1alpha1::CloudStorageSource>]
attr_accessor :items
# The kind of this resource, in this case "CloudStorageSourceList".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# ListMeta describes metadata that synthetic resources must have, including
# lists and various status objects. A resource may have only one of
# `ObjectMeta, ListMeta`.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
# ListConfigurationsResponse is a list of Configuration resources.
class ListConfigurationsResponse
include Google::Apis::Core::Hashable
@ -2399,51 +2760,6 @@ module Google
end
end
# ListStoragesResponse is a list of Storage resources.
class ListStoragesResponse
include Google::Apis::Core::Hashable
# The API version for this call such as "events.cloud.google.com/v1alpha1".
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# List of Storages.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::RunV1alpha1::Storage>]
attr_accessor :items
# The kind of this resource, in this case "StorageList".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# ListMeta describes metadata that synthetic resources must have, including
# lists and various status objects. A resource may have only one of
# `ObjectMeta, ListMeta`.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1alpha1::ListMeta]
attr_accessor :metadata
# Locations that could not be reached.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@items = args[:items] if args.key?(:items)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end
# ListTriggersResponse is a list of Trigger resources.
class ListTriggersResponse
include Google::Apis::Core::Hashable
@ -2668,11 +2984,6 @@ module Google
# @return [Fixnum]
attr_accessor :generation
# Initializers tracks the progress of initialization.
# Corresponds to the JSON property `initializers`
# @return [Google::Apis::RunV1alpha1::Initializers]
attr_accessor :initializers
# Map of string keys and values that can be used to organize and categorize
# (scope and select) objects. May match selectors of replication controllers
# and routes.
@ -2758,7 +3069,6 @@ module Google
@finalizers = args[:finalizers] if args.key?(:finalizers)
@generate_name = args[:generate_name] if args.key?(:generate_name)
@generation = args[:generation] if args.key?(:generation)
@initializers = args[:initializers] if args.key?(:initializers)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@namespace = args[:namespace] if args.key?(:namespace)
@ -4439,165 +4749,6 @@ module Google
end
end
#
class Storage
include Google::Apis::Core::Hashable
# The API version for this call such as "events.cloud.google.com/v1alpha1".
# Corresponds to the JSON property `apiVersion`
# @return [String]
attr_accessor :api_version
# The kind of resource, in this case "Storage".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# ObjectMeta is metadata that all persisted resources must have, which includes
# all objects users must create.
# Corresponds to the JSON property `metadata`
# @return [Google::Apis::RunV1alpha1::ObjectMeta]
attr_accessor :metadata
# The desired state of the Storage.
# Corresponds to the JSON property `spec`
# @return [Google::Apis::RunV1alpha1::StorageSpec]
attr_accessor :spec
# StorageStatus represents the current state of a Storage.
# Corresponds to the JSON property `status`
# @return [Google::Apis::RunV1alpha1::StorageStatus]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_version = args[:api_version] if args.key?(:api_version)
@kind = args[:kind] if args.key?(:kind)
@metadata = args[:metadata] if args.key?(:metadata)
@spec = args[:spec] if args.key?(:spec)
@status = args[:status] if args.key?(:status)
end
end
# The desired state of the Storage.
class StorageSpec
include Google::Apis::Core::Hashable
# Bucket to subscribe to.
# Corresponds to the JSON property `bucket`
# @return [String]
attr_accessor :bucket
# CloudEventOverrides defines arguments for a Source that control the output
# format of the CloudEvents produced by the Source.
# Corresponds to the JSON property `ceOverrides`
# @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
attr_accessor :ce_overrides
# EventTypes to subscribe to. If unspecified, then subscribe to all events.
# +optional
# Corresponds to the JSON property `eventTypes`
# @return [Array<String>]
attr_accessor :event_types
# ObjectNamePrefix limits the notifications to objects with this prefix
# +optional
# Corresponds to the JSON property `objectNamePrefix`
# @return [String]
attr_accessor :object_name_prefix
# PayloadFormat specifies the contents of the message payload.
# See https://cloud.google.com/storage/docs/pubsub-notifications#payload.
# +optional
# Corresponds to the JSON property `payloadFormat`
# @return [String]
attr_accessor :payload_format
# Project is the ID of the Google Cloud Project that the PubSub Topic exists
# in. If omitted, defaults to same as the cluster. +optional
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# Cloud Run fully managed: not supported
# Cloud Run on GKE: supported
# SecretKeySelector selects a key of a Secret.
# Corresponds to the JSON property `pubsubSecret`
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
attr_accessor :pubsub_secret
# Cloud Run fully managed: not supported
# Cloud Run on GKE: supported
# SecretKeySelector selects a key of a Secret.
# Corresponds to the JSON property `secret`
# @return [Google::Apis::RunV1alpha1::SecretKeySelector]
attr_accessor :secret
# ServiceAccountName holds the name of the Kubernetes service account
# as which the underlying K8s resources should be run. If unspecified
# this will default to the "default" service account for the namespace
# in which the GCS exists.
# +optional
# Corresponds to the JSON property `serviceAccountName`
# @return [String]
attr_accessor :service_account_name
# Sink is a reference to an object that will resolve to a domain name or a
# URI directly to use as the sink.
# Corresponds to the JSON property `sink`
# @return [Google::Apis::RunV1alpha1::Destination]
attr_accessor :sink
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bucket = args[:bucket] if args.key?(:bucket)
@ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
@event_types = args[:event_types] if args.key?(:event_types)
@object_name_prefix = args[:object_name_prefix] if args.key?(:object_name_prefix)
@payload_format = args[:payload_format] if args.key?(:payload_format)
@project = args[:project] if args.key?(:project)
@pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
@secret = args[:secret] if args.key?(:secret)
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
@sink = args[:sink] if args.key?(:sink)
end
end
# StorageStatus represents the current state of a Storage.
class StorageStatus
include Google::Apis::Core::Hashable
# Array of observed StorageConditions, indicating the current state
# of the Storage.
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
attr_accessor :conditions
# ObservedGeneration is the 'Generation' of the Storage that
# was last processed by the controller.
# Corresponds to the JSON property `observedGeneration`
# @return [Fixnum]
attr_accessor :observed_generation
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@conditions = args[:conditions] if args.key?(:conditions)
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
end
end
# TCPSocketAction describes an action based on opening a socket
class TcpSocketAction
include Google::Apis::Core::Hashable

View File

@ -100,6 +100,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CloudSchedulerSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudSchedulerSourceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudSchedulerSourceStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudStorageSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudStorageSourceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudStorageSourceStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Condition
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -244,18 +280,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Initializer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Initializers
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IntOrString
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -292,6 +316,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListCloudSchedulerSourcesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListCloudStorageSourcesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListConfigurationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -334,12 +370,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListStoragesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListTriggersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -544,24 +574,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Storage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StorageSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StorageStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TcpSocketAction
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -773,6 +785,92 @@ module Google
end
end
class CloudSchedulerSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::CloudSchedulerSourceSpec, decorator: Google::Apis::RunV1alpha1::CloudSchedulerSourceSpec::Representation
property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus, decorator: Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus::Representation
end
end
class CloudSchedulerSourceSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
property :data, as: 'data'
property :location, as: 'location'
property :project, as: 'project'
property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :schedule, as: 'schedule'
property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
end
end
class CloudSchedulerSourceStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
property :observed_generation, as: 'observedGeneration'
property :sink_uri, as: 'sinkUri'
end
end
class CloudStorageSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::CloudStorageSourceSpec, decorator: Google::Apis::RunV1alpha1::CloudStorageSourceSpec::Representation
property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudStorageSourceStatus, decorator: Google::Apis::RunV1alpha1::CloudStorageSourceStatus::Representation
end
end
class CloudStorageSourceSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bucket, as: 'bucket'
property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
collection :event_types, as: 'eventTypes'
property :object_name_prefix, as: 'objectNamePrefix'
property :payload_format, as: 'payloadFormat'
property :project, as: 'project'
property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :service_account_name, as: 'serviceAccountName'
property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
end
end
class CloudStorageSourceStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
property :observed_generation, as: 'observedGeneration'
property :sink_uri, as: 'sinkUri'
end
end
class Condition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1056,21 +1154,6 @@ module Google
end
end
class Initializer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class Initializers
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :pending, as: 'pending', class: Google::Apis::RunV1alpha1::Initializer, decorator: Google::Apis::RunV1alpha1::Initializer::Representation
end
end
class IntOrString
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1134,6 +1217,32 @@ module Google
end
end
class ListCloudSchedulerSourcesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudSchedulerSource, decorator: Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
end
class ListCloudStorageSourcesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudStorageSource, decorator: Google::Apis::RunV1alpha1::CloudStorageSource::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
end
class ListConfigurationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1217,19 +1326,6 @@ module Google
end
end
class ListStoragesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::Storage, decorator: Google::Apis::RunV1alpha1::Storage::Representation
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
collection :unreachable, as: 'unreachable'
end
end
class ListTriggersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1272,8 +1368,6 @@ module Google
collection :finalizers, as: 'finalizers'
property :generate_name, as: 'generateName'
property :generation, as: 'generation'
property :initializers, as: 'initializers', class: Google::Apis::RunV1alpha1::Initializers, decorator: Google::Apis::RunV1alpha1::Initializers::Representation
hash :labels, as: 'labels'
property :name, as: 'name'
property :namespace, as: 'namespace'
@ -1642,49 +1736,6 @@ module Google
end
end
class Storage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::StorageSpec, decorator: Google::Apis::RunV1alpha1::StorageSpec::Representation
property :status, as: 'status', class: Google::Apis::RunV1alpha1::StorageStatus, decorator: Google::Apis::RunV1alpha1::StorageStatus::Representation
end
end
class StorageSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bucket, as: 'bucket'
property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
collection :event_types, as: 'eventTypes'
property :object_name_prefix, as: 'objectNamePrefix'
property :payload_format, as: 'payloadFormat'
property :project, as: 'project'
property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :service_account_name, as: 'serviceAccountName'
property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
end
end
class StorageStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
property :observed_generation, as: 'observedGeneration'
end
end
class TcpSocketAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/
module RunV1beta1
VERSION = 'V1beta1'
REVISION = '20200110'
REVISION = '20200219'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1
VERSION = 'V1'
REVISION = '20200211'
REVISION = '20200224'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1beta1
VERSION = 'V1beta1'
REVISION = '20200211'
REVISION = '20200224'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

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

View File

@ -3668,7 +3668,11 @@ module Google
# @return [String]
attr_accessor :latency_preference
#
# The mesh for projecting the video if projection is mesh. The mesh value must
# be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows
# the Spherical Video V2 RFC specification for an mshp box, excluding the box
# size and type but including the following four reserved zero bytes for the
# version and flags.
# Corresponds to the JSON property `mesh`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@ -5363,51 +5367,33 @@ module Google
class MembershipsDetails
include Google::Apis::Core::Hashable
# All levels that the user has access to. This includes the currently active
# level and all other levels that are included because of a higher purchase.
# Ids of all levels that the user has access to. This includes the currently
# active level and all other levels that are included because of a higher
# purchase.
# Corresponds to the JSON property `accessibleLevels`
# @return [Array<String>]
attr_accessor :accessible_levels
# The highest level that the user has access to at the moment.
# Id of the highest level that the user has access to at the moment.
# Corresponds to the JSON property `highestAccessibleLevel`
# @return [String]
attr_accessor :highest_accessible_level
# Display name for the highest level that the user has access to at the moment.
# Display name of the highest level that the user has access to at the moment.
# Corresponds to the JSON property `highestAccessibleLevelDisplayName`
# @return [String]
attr_accessor :highest_accessible_level_display_name
# The date and time when the user became a continuous member across all levels.
# Corresponds to the JSON property `memberSince`
# @return [String]
attr_accessor :member_since
# Data about memberships duration without taking into consideration pricing
# levels.
# Corresponds to the JSON property `membershipsDuration`
# @return [Google::Apis::YoutubeV3::MembershipsDuration]
attr_accessor :memberships_duration
# The date and time when the user started to continuously have access to the
# currently highest level.
# Corresponds to the JSON property `memberSinceCurrentLevel`
# @return [String]
attr_accessor :member_since_current_level
# The cumulative time the user has been a member across all levels in complete
# months (the time is rounded down to the nearest integer).
# Corresponds to the JSON property `memberTotalDuration`
# @return [Fixnum]
attr_accessor :member_total_duration
# The cumulative time the user has had access to the currently highest level in
# complete months (the time is rounded down to the nearest integer).
# Corresponds to the JSON property `memberTotalDurationCurrentLevel`
# @return [Fixnum]
attr_accessor :member_total_duration_current_level
# The highest level that the user has access to at the moment. DEPRECATED -
# highest_accessible_level should be used instead. This will be removed after we
# make sure there are no 3rd parties relying on it.
# Corresponds to the JSON property `purchasedLevel`
# @return [String]
attr_accessor :purchased_level
# Data about memberships duration on particular pricing levels.
# Corresponds to the JSON property `membershipsDurationAtLevels`
# @return [Array<Google::Apis::YoutubeV3::MembershipsDurationAtLevel>]
attr_accessor :memberships_duration_at_levels
def initialize(**args)
update!(**args)
@ -5418,11 +5404,66 @@ module Google
@accessible_levels = args[:accessible_levels] if args.key?(:accessible_levels)
@highest_accessible_level = args[:highest_accessible_level] if args.key?(:highest_accessible_level)
@highest_accessible_level_display_name = args[:highest_accessible_level_display_name] if args.key?(:highest_accessible_level_display_name)
@memberships_duration = args[:memberships_duration] if args.key?(:memberships_duration)
@memberships_duration_at_levels = args[:memberships_duration_at_levels] if args.key?(:memberships_duration_at_levels)
end
end
#
class MembershipsDuration
include Google::Apis::Core::Hashable
# The date and time when the user became a continuous member across all levels.
# Corresponds to the JSON property `memberSince`
# @return [String]
attr_accessor :member_since
# The cumulative time the user has been a member across all levels in complete
# months (the time is rounded down to the nearest integer).
# Corresponds to the JSON property `memberTotalDurationMonths`
# @return [Fixnum]
attr_accessor :member_total_duration_months
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@member_since = args[:member_since] if args.key?(:member_since)
@member_since_current_level = args[:member_since_current_level] if args.key?(:member_since_current_level)
@member_total_duration = args[:member_total_duration] if args.key?(:member_total_duration)
@member_total_duration_current_level = args[:member_total_duration_current_level] if args.key?(:member_total_duration_current_level)
@purchased_level = args[:purchased_level] if args.key?(:purchased_level)
@member_total_duration_months = args[:member_total_duration_months] if args.key?(:member_total_duration_months)
end
end
#
class MembershipsDurationAtLevel
include Google::Apis::Core::Hashable
# Pricing level id.
# Corresponds to the JSON property `level`
# @return [String]
attr_accessor :level
# The date and time when the user became a continuous member for the given level.
# Corresponds to the JSON property `memberSince`
# @return [String]
attr_accessor :member_since
# The cumulative time the user has been a member for the given level in complete
# months (the time is rounded down to the nearest integer).
# Corresponds to the JSON property `memberTotalDurationMonths`
# @return [Fixnum]
attr_accessor :member_total_duration_months
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@level = args[:level] if args.key?(:level)
@member_since = args[:member_since] if args.key?(:member_since)
@member_total_duration_months = args[:member_total_duration_months] if args.key?(:member_total_duration_months)
end
end
@ -8739,9 +8780,7 @@ module Google
# @return [String]
attr_accessor :rejection_reason
# Allows clients to set the Crosswalk self_declared state for a Video. This maps
# to VAPI.Video.creator_flags.is_crosswalk_self_declared() and VAPI.Video.
# creator_flags.is_not_crosswalk_self_declared().
#
# Corresponds to the JSON property `selfDeclaredMadeForKids`
# @return [Boolean]
attr_accessor :self_declared_made_for_kids

View File

@ -676,6 +676,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MembershipsDuration
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MembershipsDurationAtLevel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MembershipsLevel
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2530,11 +2542,27 @@ module Google
collection :accessible_levels, as: 'accessibleLevels'
property :highest_accessible_level, as: 'highestAccessibleLevel'
property :highest_accessible_level_display_name, as: 'highestAccessibleLevelDisplayName'
property :memberships_duration, as: 'membershipsDuration', class: Google::Apis::YoutubeV3::MembershipsDuration, decorator: Google::Apis::YoutubeV3::MembershipsDuration::Representation
collection :memberships_duration_at_levels, as: 'membershipsDurationAtLevels', class: Google::Apis::YoutubeV3::MembershipsDurationAtLevel, decorator: Google::Apis::YoutubeV3::MembershipsDurationAtLevel::Representation
end
end
class MembershipsDuration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :member_since, as: 'memberSince'
property :member_since_current_level, as: 'memberSinceCurrentLevel'
property :member_total_duration, as: 'memberTotalDuration'
property :member_total_duration_current_level, as: 'memberTotalDurationCurrentLevel'
property :purchased_level, as: 'purchasedLevel'
property :member_total_duration_months, as: 'memberTotalDurationMonths'
end
end
class MembershipsDurationAtLevel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :level, as: 'level'
property :member_since, as: 'memberSince'
property :member_total_duration_months, as: 'memberTotalDurationMonths'
end
end