Autogenerated update (2019-10-26)
Update: - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - admin_datatransfer_v1 - admin_reports_v1 - appengine_v1 - appengine_v1beta - civicinfo_v2 - container_v1 - drive_v2 - fitness_v1 - licensing_v1 - reseller_v1 - run_v1alpha1 - storage_v1 - youtube_partner_v1
This commit is contained in:
parent
031751f4c5
commit
68f2bbe78e
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/ad-exchange/buyer-rest
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
||||||
module AdexchangebuyerV1_3
|
module AdexchangebuyerV1_3
|
||||||
VERSION = 'V1_3'
|
VERSION = 'V1_3'
|
||||||
REVISION = '20190614'
|
REVISION = '20191018'
|
||||||
|
|
||||||
# Manage your Ad Exchange buyer account configuration
|
# Manage your Ad Exchange buyer account configuration
|
||||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||||
|
|
|
@ -447,12 +447,25 @@ module Google
|
||||||
class AdTechnologyProviders
|
class AdTechnologyProviders
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
#
|
# The detected ad technology provider IDs for this creative. See https://storage.
|
||||||
|
# googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID
|
||||||
|
# to provided name, a privacy policy URL, and a list of domains which can be
|
||||||
|
# attributed to the provider. If this creative contains provider IDs that are
|
||||||
|
# outside of those listed in the `BidRequest.adslot.consented_providers_settings.
|
||||||
|
# consented_providers` field on the Authorized Buyers Real-Time Bidding
|
||||||
|
# protocol or the `BidRequest.user.ext.consented_providers_settings.
|
||||||
|
# consented_providers` field on the OpenRTB protocol, a bid submitted for a
|
||||||
|
# European Economic Area (EEA) user with this creative is not compliant with the
|
||||||
|
# GDPR policies as mentioned in the "Third-party Ad Technology Vendors" section
|
||||||
|
# of Authorized Buyers Program Guidelines.
|
||||||
# Corresponds to the JSON property `detectedProviderIds`
|
# Corresponds to the JSON property `detectedProviderIds`
|
||||||
# @return [Array<Fixnum>]
|
# @return [Array<Fixnum>]
|
||||||
attr_accessor :detected_provider_ids
|
attr_accessor :detected_provider_ids
|
||||||
|
|
||||||
#
|
# Whether the creative contains an unidentified ad technology provider. If true,
|
||||||
|
# a bid submitted for a European Economic Area (EEA) user with this creative is
|
||||||
|
# not compliant with the GDPR policies as mentioned in the "Third-party Ad
|
||||||
|
# Technology Vendors" section of Authorized Buyers Program Guidelines.
|
||||||
# Corresponds to the JSON property `hasUnidentifiedProvider`
|
# Corresponds to the JSON property `hasUnidentifiedProvider`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :has_unidentified_provider
|
attr_accessor :has_unidentified_provider
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/ad-exchange/buyer-rest
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
||||||
module AdexchangebuyerV1_4
|
module AdexchangebuyerV1_4
|
||||||
VERSION = 'V1_4'
|
VERSION = 'V1_4'
|
||||||
REVISION = '20190614'
|
REVISION = '20191018'
|
||||||
|
|
||||||
# Manage your Ad Exchange buyer account configuration
|
# Manage your Ad Exchange buyer account configuration
|
||||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||||
|
|
|
@ -720,12 +720,25 @@ module Google
|
||||||
class AdTechnologyProviders
|
class AdTechnologyProviders
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
#
|
# The detected ad technology provider IDs for this creative. See https://storage.
|
||||||
|
# googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID
|
||||||
|
# to provided name, a privacy policy URL, and a list of domains which can be
|
||||||
|
# attributed to the provider. If this creative contains provider IDs that are
|
||||||
|
# outside of those listed in the `BidRequest.adslot.consented_providers_settings.
|
||||||
|
# consented_providers` field on the Authorized Buyers Real-Time Bidding
|
||||||
|
# protocol or the `BidRequest.user.ext.consented_providers_settings.
|
||||||
|
# consented_providers` field on the OpenRTB protocol, a bid submitted for a
|
||||||
|
# European Economic Area (EEA) user with this creative is not compliant with the
|
||||||
|
# GDPR policies as mentioned in the "Third-party Ad Technology Vendors" section
|
||||||
|
# of Authorized Buyers Program Guidelines.
|
||||||
# Corresponds to the JSON property `detectedProviderIds`
|
# Corresponds to the JSON property `detectedProviderIds`
|
||||||
# @return [Array<Fixnum>]
|
# @return [Array<Fixnum>]
|
||||||
attr_accessor :detected_provider_ids
|
attr_accessor :detected_provider_ids
|
||||||
|
|
||||||
#
|
# Whether the creative contains an unidentified ad technology provider. If true,
|
||||||
|
# a bid submitted for a European Economic Area (EEA) user with this creative is
|
||||||
|
# not compliant with the GDPR policies as mentioned in the "Third-party Ad
|
||||||
|
# Technology Vendors" section of Authorized Buyers Program Guidelines.
|
||||||
# Corresponds to the JSON property `hasUnidentifiedProvider`
|
# Corresponds to the JSON property `hasUnidentifiedProvider`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :has_unidentified_provider
|
attr_accessor :has_unidentified_provider
|
||||||
|
@ -1326,7 +1339,7 @@ module Google
|
||||||
class DealTerms
|
class DealTerms
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Visibilty of the URL in bid requests.
|
# Visibility of the URL in bid requests.
|
||||||
# Corresponds to the JSON property `brandingType`
|
# Corresponds to the JSON property `brandingType`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :branding_type
|
attr_accessor :branding_type
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/admin-sdk/data-transfer/
|
# @see https://developers.google.com/admin-sdk/data-transfer/
|
||||||
module AdminDatatransferV1
|
module AdminDatatransferV1
|
||||||
VERSION = 'DatatransferV1'
|
VERSION = 'DatatransferV1'
|
||||||
REVISION = '20160223'
|
REVISION = '20190829'
|
||||||
|
|
||||||
# View and manage data transfers between users in your organization
|
# View and manage data transfers between users in your organization
|
||||||
AUTH_ADMIN_DATATRANSFER = 'https://www.googleapis.com/auth/admin.datatransfer'
|
AUTH_ADMIN_DATATRANSFER = 'https://www.googleapis.com/auth/admin.datatransfer'
|
||||||
|
|
|
@ -48,7 +48,7 @@ module Google
|
||||||
|
|
||||||
# The list of all possible transfer parameters for this application. These
|
# The list of all possible transfer parameters for this application. These
|
||||||
# parameters can be used to select the data of the user in this application to
|
# parameters can be used to select the data of the user in this application to
|
||||||
# be transfered.
|
# be transferred.
|
||||||
# Corresponds to the JSON property `transferParams`
|
# Corresponds to the JSON property `transferParams`
|
||||||
# @return [Array<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>]
|
# @return [Array<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>]
|
||||||
attr_accessor :transfer_params
|
attr_accessor :transfer_params
|
||||||
|
@ -77,7 +77,7 @@ module Google
|
||||||
attr_accessor :application_id
|
attr_accessor :application_id
|
||||||
|
|
||||||
# The transfer parameters for the application. These parameters are used to
|
# The transfer parameters for the application. These parameters are used to
|
||||||
# select the data which will get transfered in context of this application.
|
# select the data which will get transferred in context of this application.
|
||||||
# Corresponds to the JSON property `applicationTransferParams`
|
# Corresponds to the JSON property `applicationTransferParams`
|
||||||
# @return [Array<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>]
|
# @return [Array<Google::Apis::AdminDatatransferV1::ApplicationTransferParam>]
|
||||||
attr_accessor :application_transfer_params
|
attr_accessor :application_transfer_params
|
||||||
|
@ -108,7 +108,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :key
|
attr_accessor :key
|
||||||
|
|
||||||
# The value of the coressponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
|
# The value of the corresponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
|
||||||
# Corresponds to the JSON property `value`
|
# Corresponds to the JSON property `value`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :value
|
attr_accessor :value
|
||||||
|
@ -189,12 +189,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# ID of the user to whom the data is being transfered.
|
# ID of the user to whom the data is being transferred.
|
||||||
# Corresponds to the JSON property `newOwnerUserId`
|
# Corresponds to the JSON property `newOwnerUserId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :new_owner_user_id
|
attr_accessor :new_owner_user_id
|
||||||
|
|
||||||
# ID of the user whose data is being transfered.
|
# ID of the user whose data is being transferred.
|
||||||
# Corresponds to the JSON property `oldOwnerUserId`
|
# Corresponds to the JSON property `oldOwnerUserId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :old_owner_user_id
|
attr_accessor :old_owner_user_id
|
||||||
|
|
|
@ -86,7 +86,7 @@ module Google
|
||||||
|
|
||||||
# Lists the applications available for data transfer for a customer.
|
# Lists the applications available for data transfer for a customer.
|
||||||
# @param [String] customer_id
|
# @param [String] customer_id
|
||||||
# Immutable ID of the Google Apps account.
|
# Immutable ID of the G Suite account.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of results to return. Default is 100.
|
# Maximum number of results to return. Default is 100.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -192,7 +192,7 @@ module Google
|
||||||
|
|
||||||
# Lists the transfers for a customer by source user, destination user, or status.
|
# Lists the transfers for a customer by source user, destination user, or status.
|
||||||
# @param [String] customer_id
|
# @param [String] customer_id
|
||||||
# Immutable ID of the Google Apps account.
|
# Immutable ID of the G Suite account.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of results to return. Default is 100.
|
# Maximum number of results to return. Default is 100.
|
||||||
# @param [String] new_owner_user_id
|
# @param [String] new_owner_user_id
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see /admin-sdk/reports/
|
# @see /admin-sdk/reports/
|
||||||
module AdminReportsV1
|
module AdminReportsV1
|
||||||
VERSION = 'ReportsV1'
|
VERSION = 'ReportsV1'
|
||||||
REVISION = '20191003'
|
REVISION = '20191014'
|
||||||
|
|
||||||
# View audit reports for your G Suite domain
|
# View audit reports for your G Suite domain
|
||||||
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
||||||
|
|
|
@ -59,7 +59,8 @@ module Google
|
||||||
# parameters, see the activity parameters reference guides.
|
# parameters, see the activity parameters reference guides.
|
||||||
# @param [String] user_key
|
# @param [String] user_key
|
||||||
# Represents the profile ID or the user email for which the data should be
|
# Represents the profile ID or the user email for which the data should be
|
||||||
# filtered.
|
# filtered. Can be all for all information, or userKey for a user's unique G
|
||||||
|
# Suite profile ID or their primary email address.
|
||||||
# @param [String] application_name
|
# @param [String] application_name
|
||||||
# Application name for which the events are to be retrieved.
|
# Application name for which the events are to be retrieved.
|
||||||
# @param [String] actor_ip_address
|
# @param [String] actor_ip_address
|
||||||
|
@ -198,7 +199,8 @@ module Google
|
||||||
# see Receiving Push Notifications.
|
# see Receiving Push Notifications.
|
||||||
# @param [String] user_key
|
# @param [String] user_key
|
||||||
# Represents the profile ID or the user email for which the data should be
|
# Represents the profile ID or the user email for which the data should be
|
||||||
# filtered.
|
# filtered. Can be all for all information, or userKey for a user's unique G
|
||||||
|
# Suite profile ID or their primary email address.
|
||||||
# @param [String] application_name
|
# @param [String] application_name
|
||||||
# Application name for which the events are to be retrieved.
|
# Application name for which the events are to be retrieved.
|
||||||
# @param [Google::Apis::AdminReportsV1::Channel] channel_object
|
# @param [Google::Apis::AdminReportsV1::Channel] channel_object
|
||||||
|
@ -530,7 +532,8 @@ module Google
|
||||||
# Usage parameters reference guides.
|
# Usage parameters reference guides.
|
||||||
# @param [String] user_key
|
# @param [String] user_key
|
||||||
# Represents the profile ID or the user email for which the data should be
|
# Represents the profile ID or the user email for which the data should be
|
||||||
# filtered.
|
# filtered. Can be all for all information, or userKey for a user's unique G
|
||||||
|
# Suite profile ID or their primary email address.
|
||||||
# @param [String] date
|
# @param [String] date
|
||||||
# Represents the date the usage occurred. The timestamp is in the ISO 8601
|
# Represents the date the usage occurred. The timestamp is in the ISO 8601
|
||||||
# format, yyyy-mm-dd. We recommend you use your account's time zone for this.
|
# format, yyyy-mm-dd. We recommend you use your account's time zone for this.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1
|
module AppengineV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191003'
|
REVISION = '20191016'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -1434,9 +1434,9 @@ module Google
|
||||||
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
||||||
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
||||||
# getting billed, you can stop all instances within the target version by
|
# getting billed, you can stop all instances within the target version by
|
||||||
# changing the serving status of the version to 'STOPPEDwith the
|
# changing the serving status of the version to STOPPED with the apps.services.
|
||||||
# [apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-
|
# versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
# api/reference/rest/v1/apps.services.versions/patch) method.
|
# rest/v1/apps.services.versions/patch) method.
|
||||||
# @param [String] apps_id
|
# @param [String] apps_id
|
||||||
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
||||||
# default/versions/v1/instances/instance-1.
|
# default/versions/v1/instances/instance-1.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1beta
|
module AppengineV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20191003'
|
REVISION = '20191016'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -1434,9 +1434,9 @@ module Google
|
||||||
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
||||||
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
||||||
# getting billed, you can stop all instances within the target version by
|
# getting billed, you can stop all instances within the target version by
|
||||||
# changing the serving status of the version to 'STOPPEDwith the
|
# changing the serving status of the version to STOPPED with the apps.services.
|
||||||
# [apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-
|
# versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/
|
||||||
# api/reference/rest/v1/apps.services.versions/patch) method.
|
# rest/v1/apps.services.versions/patch) method.
|
||||||
# @param [String] apps_id
|
# @param [String] apps_id
|
||||||
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
||||||
# default/versions/v1/instances/instance-1.
|
# default/versions/v1/instances/instance-1.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/civic-information
|
# @see https://developers.google.com/civic-information
|
||||||
module CivicinfoV2
|
module CivicinfoV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20181017'
|
REVISION = '20191010'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -697,8 +697,8 @@ module Google
|
||||||
property :published, as: 'published'
|
property :published, as: 'published'
|
||||||
property :school_district, as: 'schoolDistrict'
|
property :school_district, as: 'schoolDistrict'
|
||||||
property :start_house_number, :numeric_string => true, as: 'startHouseNumber'
|
property :start_house_number, :numeric_string => true, as: 'startHouseNumber'
|
||||||
property :start_lat_e7, :numeric_string => true, as: 'startLatE7'
|
property :start_lat_e7, as: 'startLatE7'
|
||||||
property :start_lng_e7, :numeric_string => true, as: 'startLngE7'
|
property :start_lng_e7, as: 'startLngE7'
|
||||||
property :state, as: 'state'
|
property :state, as: 'state'
|
||||||
property :state_house_district, as: 'stateHouseDistrict'
|
property :state_house_district, as: 'stateHouseDistrict'
|
||||||
property :state_senate_district, as: 'stateSenateDistrict'
|
property :state_senate_district, as: 'stateSenateDistrict'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/container-engine/
|
# @see https://cloud.google.com/container-engine/
|
||||||
module ContainerV1
|
module ContainerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190906'
|
REVISION = '20191021'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -91,6 +91,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Configuration for returning group information from authenticators.
|
||||||
|
class AuthenticatorGroupsConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether this cluster should return group membership lookups
|
||||||
|
# during authentication using a group of security groups.
|
||||||
|
# Corresponds to the JSON property `enabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enabled
|
||||||
|
alias_method :enabled?, :enabled
|
||||||
|
|
||||||
|
# The name of the security group-of-groups to be used. Only relevant
|
||||||
|
# if enabled = true.
|
||||||
|
# Corresponds to the JSON property `securityGroup`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :security_group
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
|
@security_group = args[:security_group] if args.key?(:security_group)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# AutoUpgradeOptions defines the set of options for the user to control how
|
# AutoUpgradeOptions defines the set of options for the user to control how
|
||||||
# the Auto Upgrades will proceed.
|
# the Auto Upgrades will proceed.
|
||||||
class AutoUpgradeOptions
|
class AutoUpgradeOptions
|
||||||
|
@ -120,6 +148,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
||||||
|
# by NAP.
|
||||||
|
class AutoprovisioningNodePoolDefaults
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Scopes that are used by NAP when creating node pools. If oauth_scopes are
|
||||||
|
# specified, service_account should be empty.
|
||||||
|
# Corresponds to the JSON property `oauthScopes`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :oauth_scopes
|
||||||
|
|
||||||
|
# The Google Cloud Platform Service Account to be used by the node VMs. If
|
||||||
|
# service_account is specified, scopes should be empty.
|
||||||
|
# Corresponds to the JSON property `serviceAccount`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :service_account
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
||||||
|
@service_account = args[:service_account] if args.key?(:service_account)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Parameters for using BigQuery as the destination of resource usage export.
|
# Parameters for using BigQuery as the destination of resource usage export.
|
||||||
class BigQueryDestination
|
class BigQueryDestination
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -258,6 +314,19 @@ module Google
|
||||||
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
||||||
attr_accessor :addons_config
|
attr_accessor :addons_config
|
||||||
|
|
||||||
|
# Configuration for returning group information from authenticators.
|
||||||
|
# Corresponds to the JSON property `authenticatorGroupsConfig`
|
||||||
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
||||||
|
attr_accessor :authenticator_groups_config
|
||||||
|
|
||||||
|
# ClusterAutoscaling contains global, per-cluster information
|
||||||
|
# required by Cluster Autoscaler to automatically adjust
|
||||||
|
# the size of the cluster and create/delete
|
||||||
|
# node pools based on the current needs.
|
||||||
|
# Corresponds to the JSON property `autoscaling`
|
||||||
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
||||||
|
attr_accessor :autoscaling
|
||||||
|
|
||||||
# Configuration for Binary Authorization.
|
# Configuration for Binary Authorization.
|
||||||
# Corresponds to the JSON property `binaryAuthorization`
|
# Corresponds to the JSON property `binaryAuthorization`
|
||||||
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
||||||
|
@ -417,7 +486,7 @@ module Google
|
||||||
# The logging service the cluster should use to write logs.
|
# The logging service the cluster should use to write logs.
|
||||||
# Currently available options:
|
# Currently available options:
|
||||||
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
|
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
|
||||||
# service with Kubernetes-native resource model in Stackdriver
|
# service with Kubernetes-native resource model
|
||||||
# * `logging.googleapis.com` - the Google Cloud Logging service.
|
# * `logging.googleapis.com` - the Google Cloud Logging service.
|
||||||
# * `none` - no logs will be exported from the cluster.
|
# * `none` - no logs will be exported from the cluster.
|
||||||
# * if left as an empty string,`logging.googleapis.com` will be used.
|
# * if left as an empty string,`logging.googleapis.com` will be used.
|
||||||
|
@ -557,6 +626,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :tpu_ipv4_cidr_block
|
attr_accessor :tpu_ipv4_cidr_block
|
||||||
|
|
||||||
|
# VerticalPodAutoscaling contains global, per-cluster information
|
||||||
|
# required by Vertical Pod Autoscaler to automatically adjust
|
||||||
|
# the resources of pods controlled by it.
|
||||||
|
# Corresponds to the JSON property `verticalPodAutoscaling`
|
||||||
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
||||||
|
attr_accessor :vertical_pod_autoscaling
|
||||||
|
|
||||||
# [Output only] The name of the Google Compute Engine
|
# [Output only] The name of the Google Compute Engine
|
||||||
# [zone](/compute/docs/zones#available) in which the cluster
|
# [zone](/compute/docs/zones#available) in which the cluster
|
||||||
# resides.
|
# resides.
|
||||||
|
@ -572,6 +648,8 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
||||||
|
@authenticator_groups_config = args[:authenticator_groups_config] if args.key?(:authenticator_groups_config)
|
||||||
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
||||||
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
||||||
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
||||||
@conditions = args[:conditions] if args.key?(:conditions)
|
@conditions = args[:conditions] if args.key?(:conditions)
|
||||||
|
@ -615,10 +693,55 @@ module Google
|
||||||
@status_message = args[:status_message] if args.key?(:status_message)
|
@status_message = args[:status_message] if args.key?(:status_message)
|
||||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||||
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
||||||
|
@vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
|
||||||
@zone = args[:zone] if args.key?(:zone)
|
@zone = args[:zone] if args.key?(:zone)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ClusterAutoscaling contains global, per-cluster information
|
||||||
|
# required by Cluster Autoscaler to automatically adjust
|
||||||
|
# the size of the cluster and create/delete
|
||||||
|
# node pools based on the current needs.
|
||||||
|
class ClusterAutoscaling
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The list of Google Compute Engine [zones](/compute/docs/zones#available)
|
||||||
|
# in which the NodePool's nodes can be created by NAP.
|
||||||
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :autoprovisioning_locations
|
||||||
|
|
||||||
|
# AutoprovisioningNodePoolDefaults contains defaults for a node pool created
|
||||||
|
# by NAP.
|
||||||
|
# Corresponds to the JSON property `autoprovisioningNodePoolDefaults`
|
||||||
|
# @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
|
||||||
|
attr_accessor :autoprovisioning_node_pool_defaults
|
||||||
|
|
||||||
|
# Enables automatic node pool creation and deletion.
|
||||||
|
# Corresponds to the JSON property `enableNodeAutoprovisioning`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enable_node_autoprovisioning
|
||||||
|
alias_method :enable_node_autoprovisioning?, :enable_node_autoprovisioning
|
||||||
|
|
||||||
|
# Contains global constraints regarding minimum and maximum
|
||||||
|
# amount of resources in the cluster.
|
||||||
|
# Corresponds to the JSON property `resourceLimits`
|
||||||
|
# @return [Array<Google::Apis::ContainerV1::ResourceLimit>]
|
||||||
|
attr_accessor :resource_limits
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
|
||||||
|
@autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
|
||||||
|
@enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
|
||||||
|
@resource_limits = args[:resource_limits] if args.key?(:resource_limits)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
# ClusterUpdate describes an update to the cluster. Exactly one update can
|
||||||
# be applied to a cluster with each request, so at most one field can be
|
# be applied to a cluster with each request, so at most one field can be
|
||||||
# provided.
|
# provided.
|
||||||
|
@ -636,6 +759,14 @@ module Google
|
||||||
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
||||||
attr_accessor :desired_binary_authorization
|
attr_accessor :desired_binary_authorization
|
||||||
|
|
||||||
|
# ClusterAutoscaling contains global, per-cluster information
|
||||||
|
# required by Cluster Autoscaler to automatically adjust
|
||||||
|
# the size of the cluster and create/delete
|
||||||
|
# node pools based on the current needs.
|
||||||
|
# Corresponds to the JSON property `desiredClusterAutoscaling`
|
||||||
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
||||||
|
attr_accessor :desired_cluster_autoscaling
|
||||||
|
|
||||||
# Configuration of etcd encryption.
|
# Configuration of etcd encryption.
|
||||||
# Corresponds to the JSON property `desiredDatabaseEncryption`
|
# Corresponds to the JSON property `desiredDatabaseEncryption`
|
||||||
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
|
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
|
||||||
|
@ -666,7 +797,7 @@ module Google
|
||||||
# The logging service the cluster should use to write logs.
|
# The logging service the cluster should use to write logs.
|
||||||
# Currently available options:
|
# Currently available options:
|
||||||
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
|
# * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
|
||||||
# service with Kubernetes-native resource model in Stackdriver
|
# service with Kubernetes-native resource model
|
||||||
# * "logging.googleapis.com" - the Google Cloud Logging service
|
# * "logging.googleapis.com" - the Google Cloud Logging service
|
||||||
# * "none" - no logs will be exported from the cluster
|
# * "none" - no logs will be exported from the cluster
|
||||||
# Corresponds to the JSON property `desiredLoggingService`
|
# Corresponds to the JSON property `desiredLoggingService`
|
||||||
|
@ -696,7 +827,7 @@ module Google
|
||||||
# The monitoring service the cluster should use to write metrics.
|
# The monitoring service the cluster should use to write metrics.
|
||||||
# Currently available options:
|
# Currently available options:
|
||||||
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
|
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
|
||||||
# service with Kubernetes-native resource model in Stackdriver
|
# service with Kubernetes-native resource model
|
||||||
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
||||||
# * "none" - no metrics will be exported from the cluster
|
# * "none" - no metrics will be exported from the cluster
|
||||||
# Corresponds to the JSON property `desiredMonitoringService`
|
# Corresponds to the JSON property `desiredMonitoringService`
|
||||||
|
@ -735,6 +866,13 @@ module Google
|
||||||
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
||||||
attr_accessor :desired_resource_usage_export_config
|
attr_accessor :desired_resource_usage_export_config
|
||||||
|
|
||||||
|
# VerticalPodAutoscaling contains global, per-cluster information
|
||||||
|
# required by Vertical Pod Autoscaler to automatically adjust
|
||||||
|
# the resources of pods controlled by it.
|
||||||
|
# Corresponds to the JSON property `desiredVerticalPodAutoscaling`
|
||||||
|
# @return [Google::Apis::ContainerV1::VerticalPodAutoscaling]
|
||||||
|
attr_accessor :desired_vertical_pod_autoscaling
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -743,6 +881,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
||||||
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
||||||
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
||||||
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
||||||
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
||||||
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
||||||
|
@ -755,6 +894,7 @@ module Google
|
||||||
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
||||||
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
||||||
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
||||||
|
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -2095,6 +2235,12 @@ module Google
|
||||||
class NodePoolAutoscaling
|
class NodePoolAutoscaling
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Can this node pool be deleted automatically.
|
||||||
|
# Corresponds to the JSON property `autoprovisioned`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :autoprovisioned
|
||||||
|
alias_method :autoprovisioned?, :autoprovisioned
|
||||||
|
|
||||||
# Is autoscaling enabled for this node pool.
|
# Is autoscaling enabled for this node pool.
|
||||||
# Corresponds to the JSON property `enabled`
|
# Corresponds to the JSON property `enabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -2119,6 +2265,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@autoprovisioned = args[:autoprovisioned] if args.key?(:autoprovisioned)
|
||||||
@enabled = args[:enabled] if args.key?(:enabled)
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
||||||
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
||||||
|
@ -2309,6 +2456,38 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Contains information about amount of some resource in the cluster.
|
||||||
|
# For memory, value should be in GB.
|
||||||
|
class ResourceLimit
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Maximum amount of the resource in the cluster.
|
||||||
|
# Corresponds to the JSON property `maximum`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :maximum
|
||||||
|
|
||||||
|
# Minimum amount of the resource in the cluster.
|
||||||
|
# Corresponds to the JSON property `minimum`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :minimum
|
||||||
|
|
||||||
|
# Resource name "cpu", "memory" or gpu-specific string.
|
||||||
|
# Corresponds to the JSON property `resourceType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :resource_type
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@maximum = args[:maximum] if args.key?(:maximum)
|
||||||
|
@minimum = args[:minimum] if args.key?(:minimum)
|
||||||
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Configuration for exporting cluster resource usages.
|
# Configuration for exporting cluster resource usages.
|
||||||
class ResourceUsageExportConfig
|
class ResourceUsageExportConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -2832,7 +3011,7 @@ module Google
|
||||||
# The monitoring service the cluster should use to write metrics.
|
# The monitoring service the cluster should use to write metrics.
|
||||||
# Currently available options:
|
# Currently available options:
|
||||||
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
|
# * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
|
||||||
# service with Kubernetes-native resource model in Stackdriver
|
# service with Kubernetes-native resource model
|
||||||
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
|
||||||
# * "none" - no metrics will be exported from the cluster
|
# * "none" - no metrics will be exported from the cluster
|
||||||
# Corresponds to the JSON property `monitoringService`
|
# Corresponds to the JSON property `monitoringService`
|
||||||
|
@ -3476,6 +3655,28 @@ module Google
|
||||||
@status = args[:status] if args.key?(:status)
|
@status = args[:status] if args.key?(:status)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# VerticalPodAutoscaling contains global, per-cluster information
|
||||||
|
# required by Vertical Pod Autoscaler to automatically adjust
|
||||||
|
# the resources of pods controlled by it.
|
||||||
|
class VerticalPodAutoscaling
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Enables vertical pod autoscaling.
|
||||||
|
# Corresponds to the JSON property `enabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enabled
|
||||||
|
alias_method :enabled?, :enabled
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -34,12 +34,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AuthenticatorGroupsConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AutoUpgradeOptions
|
class AutoUpgradeOptions
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AutoprovisioningNodePoolDefaults
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class BigQueryDestination
|
class BigQueryDestination
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -76,6 +88,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ClusterAutoscaling
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ClusterUpdate
|
class ClusterUpdate
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -298,6 +316,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ResourceLimit
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceUsageExportConfig
|
class ResourceUsageExportConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -436,6 +460,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class VerticalPodAutoscaling
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class AcceleratorConfig
|
class AcceleratorConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -458,6 +488,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AuthenticatorGroupsConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enabled, as: 'enabled'
|
||||||
|
property :security_group, as: 'securityGroup'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class AutoUpgradeOptions
|
class AutoUpgradeOptions
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -466,6 +504,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AutoprovisioningNodePoolDefaults
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :oauth_scopes, as: 'oauthScopes'
|
||||||
|
property :service_account, as: 'serviceAccount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class BigQueryDestination
|
class BigQueryDestination
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -510,6 +556,10 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
||||||
|
|
||||||
|
property :authenticator_groups_config, as: 'authenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
|
||||||
|
|
||||||
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
||||||
|
|
||||||
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
||||||
|
|
||||||
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
||||||
|
@ -568,10 +618,24 @@ module Google
|
||||||
property :status_message, as: 'statusMessage'
|
property :status_message, as: 'statusMessage'
|
||||||
property :subnetwork, as: 'subnetwork'
|
property :subnetwork, as: 'subnetwork'
|
||||||
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
|
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
|
||||||
|
property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation
|
||||||
|
|
||||||
property :zone, as: 'zone'
|
property :zone, as: 'zone'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ClusterAutoscaling
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :autoprovisioning_locations, as: 'autoprovisioningLocations'
|
||||||
|
property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults::Representation
|
||||||
|
|
||||||
|
property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning'
|
||||||
|
collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1::ResourceLimit, decorator: Google::Apis::ContainerV1::ResourceLimit::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ClusterUpdate
|
class ClusterUpdate
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -579,6 +643,8 @@ module Google
|
||||||
|
|
||||||
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
||||||
|
|
||||||
|
property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
||||||
|
|
||||||
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
|
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
|
||||||
|
|
||||||
property :desired_image_type, as: 'desiredImageType'
|
property :desired_image_type, as: 'desiredImageType'
|
||||||
|
@ -596,6 +662,8 @@ module Google
|
||||||
property :desired_node_version, as: 'desiredNodeVersion'
|
property :desired_node_version, as: 'desiredNodeVersion'
|
||||||
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
|
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
|
||||||
|
|
||||||
|
property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -928,6 +996,7 @@ module Google
|
||||||
class NodePoolAutoscaling
|
class NodePoolAutoscaling
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :autoprovisioned, as: 'autoprovisioned'
|
||||||
property :enabled, as: 'enabled'
|
property :enabled, as: 'enabled'
|
||||||
property :max_node_count, as: 'maxNodeCount'
|
property :max_node_count, as: 'maxNodeCount'
|
||||||
property :min_node_count, as: 'minNodeCount'
|
property :min_node_count, as: 'minNodeCount'
|
||||||
|
@ -975,6 +1044,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ResourceLimit
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :maximum, :numeric_string => true, as: 'maximum'
|
||||||
|
property :minimum, :numeric_string => true, as: 'minimum'
|
||||||
|
property :resource_type, as: 'resourceType'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ResourceUsageExportConfig
|
class ResourceUsageExportConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1234,6 +1312,13 @@ module Google
|
||||||
property :status, as: 'status'
|
property :status, as: 'status'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class VerticalPodAutoscaling
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enabled, as: 'enabled'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/drive/
|
# @see https://developers.google.com/drive/
|
||||||
module DriveV2
|
module DriveV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20190926'
|
REVISION = '20191015'
|
||||||
|
|
||||||
# See, edit, create, and delete all of your Google Drive files
|
# See, edit, create, and delete all of your Google Drive files
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -127,7 +127,8 @@ module Google
|
||||||
# @return [Array<Google::Apis::DriveV2::About::QuotaBytesByService>]
|
# @return [Array<Google::Apis::DriveV2::About::QuotaBytesByService>]
|
||||||
attr_accessor :quota_bytes_by_service
|
attr_accessor :quota_bytes_by_service
|
||||||
|
|
||||||
# The total number of quota bytes.
|
# The total number of quota bytes. This is only relevant when quotaType is
|
||||||
|
# LIMITED.
|
||||||
# Corresponds to the JSON property `quotaBytesTotal`
|
# Corresponds to the JSON property `quotaBytesTotal`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :quota_bytes_total
|
attr_accessor :quota_bytes_total
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/fit/rest/
|
# @see https://developers.google.com/fit/rest/
|
||||||
module FitnessV1
|
module FitnessV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190910'
|
REVISION = '20191014'
|
||||||
|
|
||||||
# Use Google Fit to see and store your physical activity data
|
# Use Google Fit to see and store your physical activity data
|
||||||
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
||||||
|
|
|
@ -466,7 +466,7 @@ module Google
|
||||||
|
|
||||||
# Aggregates data of a certain type or stream into buckets divided by a given
|
# Aggregates data of a certain type or stream into buckets divided by a given
|
||||||
# type of boundary. Multiple data sets of multiple types and from multiple
|
# type of boundary. Multiple data sets of multiple types and from multiple
|
||||||
# sources can be aggreated into exactly one bucket type per request.
|
# sources can be aggregated into exactly one bucket type per request.
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# Aggregate data for the person identified. Use me to indicate the authenticated
|
# Aggregate data for the person identified. Use me to indicate the authenticated
|
||||||
# user. Only me is supported at this time.
|
# user. Only me is supported at this time.
|
||||||
|
|
|
@ -18,14 +18,14 @@ require 'google/apis/licensing_v1/representations.rb'
|
||||||
|
|
||||||
module Google
|
module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Enterprise License Manager API
|
# Licensing API
|
||||||
#
|
#
|
||||||
# Views and manages licenses for your domain.
|
# Licensing API to view and manage licenses for your domain
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/google-apps/licensing/
|
# @see https://developers.google.com/admin-sdk/licensing/
|
||||||
module LicensingV1
|
module LicensingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170213'
|
REVISION = '20190916'
|
||||||
|
|
||||||
# View and manage G Suite licenses for your domain
|
# View and manage G Suite licenses for your domain
|
||||||
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'
|
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'
|
||||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module LicensingV1
|
module LicensingV1
|
||||||
|
|
||||||
# Template for LiscenseAssignment Resource
|
# Representation of a license assignment.
|
||||||
class LicenseAssignment
|
class LicenseAssignment
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -36,7 +36,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# Id of the product.
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Product and SKU IDs.
|
||||||
# Corresponds to the JSON property `productId`
|
# Corresponds to the JSON property `productId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :product_id
|
attr_accessor :product_id
|
||||||
|
@ -51,7 +52,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :self_link
|
attr_accessor :self_link
|
||||||
|
|
||||||
# Id of the sku of the product.
|
# A product SKU's unique identifier. For more information about available SKUs
|
||||||
|
# in this version of the API, see Products and SKUs.
|
||||||
# Corresponds to the JSON property `skuId`
|
# Corresponds to the JSON property `skuId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :sku_id
|
attr_accessor :sku_id
|
||||||
|
@ -61,7 +63,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :sku_name
|
attr_accessor :sku_name
|
||||||
|
|
||||||
# Email id of the user.
|
# The user's current primary email address. If the user's email address changes,
|
||||||
|
# use the new email address in your API requests. Since a userId is subject to
|
||||||
|
# change, do not use a userId value as a key for persistent data. This key could
|
||||||
|
# break if the current user's email address changes. If the userId is suspended,
|
||||||
|
# the license status changes.
|
||||||
# Corresponds to the JSON property `userId`
|
# Corresponds to the JSON property `userId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :user_id
|
attr_accessor :user_id
|
||||||
|
@ -83,7 +89,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Template for LicenseAssignment Insert request
|
# Representation of a license assignment.
|
||||||
class LicenseAssignmentInsert
|
class LicenseAssignmentInsert
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -121,8 +127,10 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# The continuation token, used to page through large result sets. Provide this
|
# The token that you must submit in a subsequent request to retrieve additional
|
||||||
# value in a subsequent request to return the next page of results.
|
# license results matching your query parameters. The maxResults query string is
|
||||||
|
# related to the nextPageToken since maxResults determines how many entries are
|
||||||
|
# returned on each next page.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
|
|
@ -20,9 +20,9 @@ require 'google/apis/errors'
|
||||||
module Google
|
module Google
|
||||||
module Apis
|
module Apis
|
||||||
module LicensingV1
|
module LicensingV1
|
||||||
# Enterprise License Manager API
|
# Licensing API
|
||||||
#
|
#
|
||||||
# Views and manages licenses for your domain.
|
# Licensing API to view and manage licenses for your domain
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/licensing_v1'
|
# require 'google/apis/licensing_v1'
|
||||||
|
@ -30,7 +30,7 @@ module Google
|
||||||
# Licensing = Google::Apis::LicensingV1 # Alias the module
|
# Licensing = Google::Apis::LicensingV1 # Alias the module
|
||||||
# service = Licensing::LicensingService.new
|
# service = Licensing::LicensingService.new
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/google-apps/licensing/
|
# @see https://developers.google.com/admin-sdk/licensing/
|
||||||
class LicensingService < Google::Apis::Core::BaseService
|
class LicensingService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
@ -51,13 +51,20 @@ module Google
|
||||||
@batch_path = 'batch/licensing/v1'
|
@batch_path = 'batch/licensing/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Revoke License.
|
# Revoke a license.
|
||||||
# @param [String] product_id
|
# @param [String] product_id
|
||||||
# Name for product
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Products and SKUs.
|
||||||
# @param [String] sku_id
|
# @param [String] sku_id
|
||||||
# Name for sku
|
# A product SKU's unique identifier. For more information about available SKUs
|
||||||
|
# in this version of the API, see Products and SKUs.
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# email id or unique Id of the user
|
# The user's current primary email address. If the user's email address changes,
|
||||||
|
# use the new email address in your API requests.
|
||||||
|
# Since a userId is subject to change, do not use a userId value as a key for
|
||||||
|
# persistent data. This key could break if the current user's email address
|
||||||
|
# changes.
|
||||||
|
# If the userId is suspended, the license status changes.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -88,13 +95,20 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get license assignment of a particular product and sku for a user
|
# Get a specific user's license by product SKU.
|
||||||
# @param [String] product_id
|
# @param [String] product_id
|
||||||
# Name for product
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Products and SKUs.
|
||||||
# @param [String] sku_id
|
# @param [String] sku_id
|
||||||
# Name for sku
|
# A product SKU's unique identifier. For more information about available SKUs
|
||||||
|
# in this version of the API, see Products and SKUs.
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# email id or unique Id of the user
|
# The user's current primary email address. If the user's email address changes,
|
||||||
|
# use the new email address in your API requests.
|
||||||
|
# Since a userId is subject to change, do not use a userId value as a key for
|
||||||
|
# persistent data. This key could break if the current user's email address
|
||||||
|
# changes.
|
||||||
|
# If the userId is suspended, the license status changes.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -127,11 +141,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Assign License.
|
# Assign a license.
|
||||||
# @param [String] product_id
|
# @param [String] product_id
|
||||||
# Name for product
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Products and SKUs.
|
||||||
# @param [String] sku_id
|
# @param [String] sku_id
|
||||||
# Name for sku
|
# A product SKU's unique identifier. For more information about available SKUs
|
||||||
|
# in this version of the API, see Products and SKUs.
|
||||||
# @param [Google::Apis::LicensingV1::LicenseAssignmentInsert] license_assignment_insert_object
|
# @param [Google::Apis::LicensingV1::LicenseAssignmentInsert] license_assignment_insert_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -166,17 +182,23 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# List license assignments for given product of the customer.
|
# List all users assigned licenses for a specific product SKU.
|
||||||
# @param [String] product_id
|
# @param [String] product_id
|
||||||
# Name for product
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Products and SKUs.
|
||||||
# @param [String] customer_id
|
# @param [String] customer_id
|
||||||
# CustomerId represents the customer for whom licenseassignments are queried
|
# Customer's customerId. A previous version of this API accepted the primary
|
||||||
|
# domain name as a value for this field.
|
||||||
|
# If the customer is suspended, the server returns an error.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of campaigns to return at one time. Must be positive. Optional.
|
# The maxResults query string determines how many entries are returned on each
|
||||||
# Default value is 100.
|
# page of a large response. This is an optional parameter. The value must be a
|
||||||
|
# positive number.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Token to fetch the next page.Optional. By default server will return first
|
# Token to fetch the next page of data. The maxResults query string is related
|
||||||
# page
|
# to the pageToken since maxResults determines how many entries are returned on
|
||||||
|
# each page. This is an optional query string. If not specified, the server
|
||||||
|
# returns the first page.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -210,19 +232,26 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# List license assignments for given product and sku of the customer.
|
# List all users assigned licenses for a specific product SKU.
|
||||||
# @param [String] product_id
|
# @param [String] product_id
|
||||||
# Name for product
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Products and SKUs.
|
||||||
# @param [String] sku_id
|
# @param [String] sku_id
|
||||||
# Name for sku
|
# A product SKU's unique identifier. For more information about available SKUs
|
||||||
|
# in this version of the API, see Products and SKUs.
|
||||||
# @param [String] customer_id
|
# @param [String] customer_id
|
||||||
# CustomerId represents the customer for whom licenseassignments are queried
|
# Customer's customerId. A previous version of this API accepted the primary
|
||||||
|
# domain name as a value for this field.
|
||||||
|
# If the customer is suspended, the server returns an error.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of campaigns to return at one time. Must be positive. Optional.
|
# The maxResults query string determines how many entries are returned on each
|
||||||
# Default value is 100.
|
# page of a large response. This is an optional parameter. The value must be a
|
||||||
|
# positive number.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Token to fetch the next page.Optional. By default server will return first
|
# Token to fetch the next page of data. The maxResults query string is related
|
||||||
# page
|
# to the pageToken since maxResults determines how many entries are returned on
|
||||||
|
# each page. This is an optional query string. If not specified, the server
|
||||||
|
# returns the first page.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -257,13 +286,21 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Assign License. This method supports patch semantics.
|
# Reassign a user's product SKU with a different SKU in the same product. This
|
||||||
|
# method supports patch semantics.
|
||||||
# @param [String] product_id
|
# @param [String] product_id
|
||||||
# Name for product
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Products and SKUs.
|
||||||
# @param [String] sku_id
|
# @param [String] sku_id
|
||||||
# Name for sku for which license would be revoked
|
# A product SKU's unique identifier. For more information about available SKUs
|
||||||
|
# in this version of the API, see Products and SKUs.
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# email id or unique Id of the user
|
# The user's current primary email address. If the user's email address changes,
|
||||||
|
# use the new email address in your API requests.
|
||||||
|
# Since a userId is subject to change, do not use a userId value as a key for
|
||||||
|
# persistent data. This key could break if the current user's email address
|
||||||
|
# changes.
|
||||||
|
# If the userId is suspended, the license status changes.
|
||||||
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -299,13 +336,20 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Assign License.
|
# Reassign a user's product SKU with a different SKU in the same product.
|
||||||
# @param [String] product_id
|
# @param [String] product_id
|
||||||
# Name for product
|
# A product's unique identifier. For more information about products in this
|
||||||
|
# version of the API, see Products and SKUs.
|
||||||
# @param [String] sku_id
|
# @param [String] sku_id
|
||||||
# Name for sku for which license would be revoked
|
# A product SKU's unique identifier. For more information about available SKUs
|
||||||
|
# in this version of the API, see Products and SKUs.
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# email id or unique Id of the user
|
# The user's current primary email address. If the user's email address changes,
|
||||||
|
# use the new email address in your API requests.
|
||||||
|
# Since a userId is subject to change, do not use a userId value as a key for
|
||||||
|
# persistent data. This key could break if the current user's email address
|
||||||
|
# changes.
|
||||||
|
# If the userId is suspended, the license status changes.
|
||||||
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/google-apps/reseller/
|
# @see https://developers.google.com/google-apps/reseller/
|
||||||
module ResellerV1
|
module ResellerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190228'
|
REVISION = '20191008'
|
||||||
|
|
||||||
# Manage users on your domain
|
# Manage users on your domain
|
||||||
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
|
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
|
||||||
|
|
|
@ -485,7 +485,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Cancel or transfer a subscription to direct.
|
# Cancel, suspend, or transfer a subscription to direct.
|
||||||
# @param [String] customer_id
|
# @param [String] customer_id
|
||||||
# Either the customer's primary domain name or the customer's unique identifier.
|
# Either the customer's primary domain name or the customer's unique identifier.
|
||||||
# If using the domain name, we do not recommend using a customerId as a key for
|
# If using the domain name, we do not recommend using a customerId as a key for
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/run/
|
# @see https://cloud.google.com/run/
|
||||||
module RunV1alpha1
|
module RunV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20190927'
|
REVISION = '20191021'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -266,6 +266,84 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# CloudEventOverrides defines arguments for a Source that control the output
|
||||||
|
# format of the CloudEvents produced by the Source.
|
||||||
|
class CloudEventOverrides
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Extensions specify what attribute are added or overridden on the outbound
|
||||||
|
# event. Each `Extensions` key-value pair are set on the event as an
|
||||||
|
# attribute extension independently.
|
||||||
|
# +optional
|
||||||
|
# Corresponds to the JSON property `extensions`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :extensions
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@extensions = args[:extensions] if args.key?(:extensions)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Condition defines a generic condition for a Resource
|
||||||
|
class Condition
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. Last time the condition transitioned from one status to another.
|
||||||
|
# Corresponds to the JSON property `lastTransitionTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :last_transition_time
|
||||||
|
|
||||||
|
# Optional. Human readable message indicating details about the current status.
|
||||||
|
# Corresponds to the JSON property `message`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :message
|
||||||
|
|
||||||
|
# Optional. One-word CamelCase reason for the condition's last transition.
|
||||||
|
# Corresponds to the JSON property `reason`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reason
|
||||||
|
|
||||||
|
# Optional. How to interpret failures of this condition, one of Error, Warning,
|
||||||
|
# Info
|
||||||
|
# Corresponds to the JSON property `severity`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :severity
|
||||||
|
|
||||||
|
# Status of the condition, one of True, False, Unknown.
|
||||||
|
# Corresponds to the JSON property `status`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :status
|
||||||
|
|
||||||
|
# type is used to communicate the status of the reconciliation process.
|
||||||
|
# See also:
|
||||||
|
# https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
|
||||||
|
# conditions-and-reporting
|
||||||
|
# Types common to all resources include:
|
||||||
|
# * "Ready": True when the Resource is ready.
|
||||||
|
# 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)
|
||||||
|
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
||||||
|
@message = args[:message] if args.key?(:message)
|
||||||
|
@reason = args[:reason] if args.key?(:reason)
|
||||||
|
@severity = args[:severity] if args.key?(:severity)
|
||||||
|
@status = args[:status] if args.key?(:status)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# ConfigMapEnvSource selects a ConfigMap to populate the environment
|
# ConfigMapEnvSource selects a ConfigMap to populate the environment
|
||||||
# variables with.
|
# variables with.
|
||||||
# The contents of the target ConfigMap's Data field will represent the
|
# The contents of the target ConfigMap's Data field will represent the
|
||||||
|
@ -885,6 +963,35 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class Destination
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# ObjectReference contains enough information to let you inspect or modify the
|
||||||
|
# referred object.
|
||||||
|
# Corresponds to the JSON property `ref`
|
||||||
|
# @return [Google::Apis::RunV1alpha1::ObjectReference]
|
||||||
|
attr_accessor :ref
|
||||||
|
|
||||||
|
# URI is for direct URI Designations or used with the resulting URL from
|
||||||
|
# Addressable ObjectReference. If used with an ObjectReference, will be
|
||||||
|
# appended to the path of the resulting URL from the Addressable.
|
||||||
|
# + optional
|
||||||
|
# Corresponds to the JSON property `uri`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :uri
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@ref = args[:ref] if args.key?(:ref)
|
||||||
|
@uri = args[:uri] if args.key?(:uri)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Resource to hold the state and status of a user's domain mapping.
|
# Resource to hold the state and status of a user's domain mapping.
|
||||||
class DomainMapping
|
class DomainMapping
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1897,6 +2004,51 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ListPubSubsResponse is a list of PubSub resources.
|
||||||
|
class ListPubSubsResponse
|
||||||
|
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 PubSubs.
|
||||||
|
# Corresponds to the JSON property `items`
|
||||||
|
# @return [Array<Google::Apis::RunV1alpha1::PubSub>]
|
||||||
|
attr_accessor :items
|
||||||
|
|
||||||
|
# The kind of this resource, in this case "PubSubList".
|
||||||
|
# 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
|
||||||
|
|
||||||
# ListRevisionsResponse is a list of Revision resources.
|
# ListRevisionsResponse is a list of Revision resources.
|
||||||
class ListRevisionsResponse
|
class ListRevisionsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -2674,6 +2826,173 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class PubSub
|
||||||
|
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 "PubSub".
|
||||||
|
# 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 PubSub.
|
||||||
|
# Corresponds to the JSON property `spec`
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSubSpec]
|
||||||
|
attr_accessor :spec
|
||||||
|
|
||||||
|
# PubSubStatus represents the current state of a PubSub.
|
||||||
|
# Corresponds to the JSON property `status`
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSubStatus]
|
||||||
|
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 PubSub.
|
||||||
|
class PubSubSpec
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# AckDeadline is the default maximum time after a subscriber receives a
|
||||||
|
# message before the subscriber should acknowledge the message. Defaults
|
||||||
|
# to 30 seconds ('30s').
|
||||||
|
# +optional
|
||||||
|
# Corresponds to the JSON property `ackDeadline`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :ack_deadline
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# RetainAckedMessages defines whether to retain acknowledged messages. If
|
||||||
|
# true, acknowledged messages will not be expunged until they fall out of
|
||||||
|
# the RetentionDuration window.
|
||||||
|
# Corresponds to the JSON property `retainAckedMessages`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :retain_acked_messages
|
||||||
|
alias_method :retain_acked_messages?, :retain_acked_messages
|
||||||
|
|
||||||
|
# RetentionDuration defines how long to retain messages in backlog, from
|
||||||
|
# the time of publish. If RetainAckedMessages is true, this duration
|
||||||
|
# affects the retention of acknowledged messages, otherwise only
|
||||||
|
# unacknowledged messages are retained. Cannot be longer than 7 days or
|
||||||
|
# shorter than 10 minutes. Defaults to 7 days ('7d').
|
||||||
|
# +optional
|
||||||
|
# Corresponds to the JSON property `retentionDuration`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :retention_duration
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Topic is the ID of the PubSub Topic to Subscribe to. It must
|
||||||
|
# be in the form of the unique identifier within the project, not the
|
||||||
|
# entire name. E.g. it must be 'laconia', not
|
||||||
|
# 'projects/my-proj/topics/laconia'.
|
||||||
|
# Corresponds to the JSON property `topic`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :topic
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@ack_deadline = args[:ack_deadline] if args.key?(:ack_deadline)
|
||||||
|
@ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
|
||||||
|
@project = args[:project] if args.key?(:project)
|
||||||
|
@pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
|
||||||
|
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
|
||||||
|
@retention_duration = args[:retention_duration] if args.key?(:retention_duration)
|
||||||
|
@secret = args[:secret] if args.key?(:secret)
|
||||||
|
@sink = args[:sink] if args.key?(:sink)
|
||||||
|
@topic = args[:topic] if args.key?(:topic)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# PubSubStatus represents the current state of a PubSub.
|
||||||
|
class PubSubStatus
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Array of observed PubSubConditions, indicating the current state
|
||||||
|
# of the PubSub.
|
||||||
|
# Corresponds to the JSON property `conditions`
|
||||||
|
# @return [Array<Google::Apis::RunV1alpha1::Condition>]
|
||||||
|
attr_accessor :conditions
|
||||||
|
|
||||||
|
# ObservedGeneration is the 'Generation' of the PubSub 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.
|
||||||
|
# +optional
|
||||||
|
# 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 view model of a single quantity, e.g. "800 MiB". Corresponds to
|
# The view model of a single quantity, e.g. "800 MiB". Corresponds to
|
||||||
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
# https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
|
||||||
# apimachinery/pkg/api/resource/generated.proto
|
# apimachinery/pkg/api/resource/generated.proto
|
||||||
|
|
|
@ -58,6 +58,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class CloudEventOverrides
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Condition
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ConfigMapEnvSource
|
class ConfigMapEnvSource
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -112,6 +124,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Destination
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class DomainMapping
|
class DomainMapping
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -280,6 +298,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListPubSubsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListRevisionsResponse
|
class ListRevisionsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -346,6 +370,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PubSub
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PubSubSpec
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PubSubStatus
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Quantity
|
class Quantity
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -643,6 +685,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class CloudEventOverrides
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
hash :extensions, as: 'extensions'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Condition
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :last_transition_time, as: 'lastTransitionTime'
|
||||||
|
property :message, as: 'message'
|
||||||
|
property :reason, as: 'reason'
|
||||||
|
property :severity, as: 'severity'
|
||||||
|
property :status, as: 'status'
|
||||||
|
property :type, as: 'type'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ConfigMapEnvSource
|
class ConfigMapEnvSource
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -771,6 +832,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Destination
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :ref, as: 'ref', class: Google::Apis::RunV1alpha1::ObjectReference, decorator: Google::Apis::RunV1alpha1::ObjectReference::Representation
|
||||||
|
|
||||||
|
property :uri, as: 'uri'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class DomainMapping
|
class DomainMapping
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1057,6 +1127,19 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListPubSubsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :api_version, as: 'apiVersion'
|
||||||
|
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::PubSub, decorator: Google::Apis::RunV1alpha1::PubSub::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 ListRevisionsResponse
|
class ListRevisionsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1201,6 +1284,49 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PubSub
|
||||||
|
# @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::PubSubSpec, decorator: Google::Apis::RunV1alpha1::PubSubSpec::Representation
|
||||||
|
|
||||||
|
property :status, as: 'status', class: Google::Apis::RunV1alpha1::PubSubStatus, decorator: Google::Apis::RunV1alpha1::PubSubStatus::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PubSubSpec
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :ack_deadline, as: 'ackDeadline'
|
||||||
|
property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
|
||||||
|
|
||||||
|
property :project, as: 'project'
|
||||||
|
property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
|
||||||
|
|
||||||
|
property :retain_acked_messages, as: 'retainAckedMessages'
|
||||||
|
property :retention_duration, as: 'retentionDuration'
|
||||||
|
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
|
||||||
|
|
||||||
|
property :topic, as: 'topic'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PubSubStatus
|
||||||
|
# @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 Quantity
|
class Quantity
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -432,6 +432,210 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Creates a new pubsub.
|
||||||
|
# @param [String] parent
|
||||||
|
# The project ID or project number in which this pubsub should
|
||||||
|
# be created.
|
||||||
|
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_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::RunV1alpha1::PubSub] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSub]
|
||||||
|
#
|
||||||
|
# @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_namespace_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
|
||||||
|
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.request_object = pub_sub_object
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
||||||
|
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 delete a pubsub.
|
||||||
|
# @param [String] name
|
||||||
|
# The name of the pubsub being deleted. If needed, replace
|
||||||
|
# `namespace_id` with the project ID.
|
||||||
|
# @param [String] api_version
|
||||||
|
# Cloud Run currently ignores this parameter.
|
||||||
|
# @param [String] kind
|
||||||
|
# Cloud Run currently ignores this parameter.
|
||||||
|
# @param [String] propagation_policy
|
||||||
|
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
||||||
|
# this setting, and deletes in the background. Please see
|
||||||
|
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
||||||
|
# more information.
|
||||||
|
# @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::RunV1alpha1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::Empty]
|
||||||
|
#
|
||||||
|
# @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 delete_namespace_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::Empty
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
||||||
|
command.query['kind'] = kind unless kind.nil?
|
||||||
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.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 pubsub.
|
||||||
|
# @param [String] name
|
||||||
|
# The name of the pubsub 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::RunV1alpha1::PubSub] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSub]
|
||||||
|
#
|
||||||
|
# @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_namespace_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
||||||
|
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 list pubsubs.
|
||||||
|
# @param [String] parent
|
||||||
|
# The project ID or project number from which the pubsubs should
|
||||||
|
# be listed.
|
||||||
|
# @param [String] continue
|
||||||
|
# Optional encoded string to continue paging.
|
||||||
|
# @param [String] field_selector
|
||||||
|
# Allows to filter resources based on a specific value for a field name.
|
||||||
|
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
||||||
|
# Not currently used by Cloud Run.
|
||||||
|
# @param [Boolean] include_uninitialized
|
||||||
|
# Not currently used by Cloud Run.
|
||||||
|
# @param [String] label_selector
|
||||||
|
# Allows to filter resources based on a label. Supported operations are
|
||||||
|
# =, !=, exists, in, and notIn.
|
||||||
|
# @param [Fixnum] limit
|
||||||
|
# The maximum number of records that should be returned.
|
||||||
|
# @param [String] resource_version
|
||||||
|
# The baseline resource version from which the list or watch operation should
|
||||||
|
# start. Not currently used by Cloud Run.
|
||||||
|
# @param [Boolean] watch
|
||||||
|
# Flag that indicates that the client expects to watch this resource as well.
|
||||||
|
# Not currently used by Cloud Run.
|
||||||
|
# @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::RunV1alpha1::ListPubSubsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
|
||||||
|
#
|
||||||
|
# @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 list_namespace_pubsubs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['continue'] = continue unless continue.nil?
|
||||||
|
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
||||||
|
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
||||||
|
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
||||||
|
command.query['limit'] = limit unless limit.nil?
|
||||||
|
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
||||||
|
command.query['watch'] = watch unless watch.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 pubsub.
|
||||||
|
# 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
|
||||||
|
# The name of the pubsub being retrieved. If needed, replace
|
||||||
|
# `namespace_id` with the project ID.
|
||||||
|
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_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::RunV1alpha1::PubSub] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSub]
|
||||||
|
#
|
||||||
|
# @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_namespace_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
||||||
|
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.request_object = pub_sub_object
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
||||||
|
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 delete a revision.
|
# Rpc to delete a revision.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the revision being deleted. If needed, replace
|
# The name of the revision being deleted. If needed, replace
|
||||||
|
@ -1494,6 +1698,210 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Creates a new pubsub.
|
||||||
|
# @param [String] parent
|
||||||
|
# The project ID or project number in which this pubsub should
|
||||||
|
# be created.
|
||||||
|
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_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::RunV1alpha1::PubSub] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSub]
|
||||||
|
#
|
||||||
|
# @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_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1alpha1/{+parent}/pubsubs', options)
|
||||||
|
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.request_object = pub_sub_object
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
||||||
|
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 delete a pubsub.
|
||||||
|
# @param [String] name
|
||||||
|
# The name of the pubsub being deleted. If needed, replace
|
||||||
|
# `namespace_id` with the project ID.
|
||||||
|
# @param [String] api_version
|
||||||
|
# Cloud Run currently ignores this parameter.
|
||||||
|
# @param [String] kind
|
||||||
|
# Cloud Run currently ignores this parameter.
|
||||||
|
# @param [String] propagation_policy
|
||||||
|
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
||||||
|
# this setting, and deletes in the background. Please see
|
||||||
|
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
||||||
|
# more information.
|
||||||
|
# @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::RunV1alpha1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::Empty]
|
||||||
|
#
|
||||||
|
# @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 delete_project_location_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::Empty
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
||||||
|
command.query['kind'] = kind unless kind.nil?
|
||||||
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.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 pubsub.
|
||||||
|
# @param [String] name
|
||||||
|
# The name of the pubsub 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::RunV1alpha1::PubSub] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSub]
|
||||||
|
#
|
||||||
|
# @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_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
||||||
|
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 list pubsubs.
|
||||||
|
# @param [String] parent
|
||||||
|
# The project ID or project number from which the pubsubs should
|
||||||
|
# be listed.
|
||||||
|
# @param [String] continue
|
||||||
|
# Optional encoded string to continue paging.
|
||||||
|
# @param [String] field_selector
|
||||||
|
# Allows to filter resources based on a specific value for a field name.
|
||||||
|
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
||||||
|
# Not currently used by Cloud Run.
|
||||||
|
# @param [Boolean] include_uninitialized
|
||||||
|
# Not currently used by Cloud Run.
|
||||||
|
# @param [String] label_selector
|
||||||
|
# Allows to filter resources based on a label. Supported operations are
|
||||||
|
# =, !=, exists, in, and notIn.
|
||||||
|
# @param [Fixnum] limit
|
||||||
|
# The maximum number of records that should be returned.
|
||||||
|
# @param [String] resource_version
|
||||||
|
# The baseline resource version from which the list or watch operation should
|
||||||
|
# start. Not currently used by Cloud Run.
|
||||||
|
# @param [Boolean] watch
|
||||||
|
# Flag that indicates that the client expects to watch this resource as well.
|
||||||
|
# Not currently used by Cloud Run.
|
||||||
|
# @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::RunV1alpha1::ListPubSubsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
|
||||||
|
#
|
||||||
|
# @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 list_project_location_pubsubs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1alpha1/{+parent}/pubsubs', options)
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['continue'] = continue unless continue.nil?
|
||||||
|
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
||||||
|
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
||||||
|
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
||||||
|
command.query['limit'] = limit unless limit.nil?
|
||||||
|
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
||||||
|
command.query['watch'] = watch unless watch.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 pubsub.
|
||||||
|
# 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
|
||||||
|
# The name of the pubsub being retrieved. If needed, replace
|
||||||
|
# `namespace_id` with the project ID.
|
||||||
|
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_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::RunV1alpha1::PubSub] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RunV1alpha1::PubSub]
|
||||||
|
#
|
||||||
|
# @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_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
||||||
|
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.request_object = pub_sub_object
|
||||||
|
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
||||||
|
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
||||||
|
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 delete a revision.
|
# Rpc to delete a revision.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the revision being deleted. If needed, replace
|
# The name of the revision being deleted. If needed, replace
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/storage/docs/json_api/
|
# @see https://developers.google.com/storage/docs/json_api/
|
||||||
module StorageV1
|
module StorageV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190910'
|
REVISION = '20191011'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/youtube/partner/
|
# @see https://developers.google.com/youtube/partner/
|
||||||
module YoutubePartnerV1
|
module YoutubePartnerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190927'
|
REVISION = '20191014'
|
||||||
|
|
||||||
# View and manage your assets and associated content on YouTube
|
# View and manage your assets and associated content on YouTube
|
||||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||||
|
|
|
@ -1322,9 +1322,9 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates an existing claim by either changing its policy or its status. You can
|
# Patches an existing claim by either changing its policy or its status. You can
|
||||||
# update a claim's status from active to inactive to effectively release the
|
# update a claim's status from active to inactive to effectively release the
|
||||||
# claim. This method supports patch semantics.
|
# claim.
|
||||||
# @param [String] claim_id
|
# @param [String] claim_id
|
||||||
# The claimId parameter specifies the claim ID of the claim being updated.
|
# The claimId parameter specifies the claim ID of the claim being updated.
|
||||||
# @param [Google::Apis::YoutubePartnerV1::Claim] claim_object
|
# @param [Google::Apis::YoutubePartnerV1::Claim] claim_object
|
||||||
|
|
Loading…
Reference in New Issue