Autogenerated update (2020-02-01)

Update:
- accesscontextmanager_v1beta
- androidpublisher_v3
- cloudfunctions_v1
- compute_alpha
- content_v2_1
- fitness_v1
- prod_tt_sasportal_v1alpha1
- run_v1
- run_v1alpha1
- sasportal_v1alpha1
- serviceconsumermanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- storage_v1beta2
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-02-01 00:37:54 +00:00
parent 87222398b4
commit dd2ec2965d
41 changed files with 1227 additions and 1717 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/ # @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1beta module AccesscontextmanagerV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200120' REVISION = '20200128'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -699,8 +699,15 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :unrestricted_services attr_accessor :unrestricted_services
# Specifies how APIs are allowed to communicate within the Service
# Perimeter.
# Corresponds to the JSON property `vpcAccessibleServices`
# @return [Google::Apis::AccesscontextmanagerV1beta::VpcAccessibleServices]
attr_accessor :vpc_accessible_services
# Alpha. Specifies how APIs are allowed to communicate within the Service # Alpha. Specifies how APIs are allowed to communicate within the Service
# Perimeter. # Perimeter.
# This message is DEPRECATED and had been renamed to VpcAccessibleServices
# Corresponds to the JSON property `vpcServiceRestriction` # Corresponds to the JSON property `vpcServiceRestriction`
# @return [Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction] # @return [Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction]
attr_accessor :vpc_service_restriction attr_accessor :vpc_service_restriction
@ -715,6 +722,7 @@ module Google
@resources = args[:resources] if args.key?(:resources) @resources = args[:resources] if args.key?(:resources)
@restricted_services = args[:restricted_services] if args.key?(:restricted_services) @restricted_services = args[:restricted_services] if args.key?(:restricted_services)
@unrestricted_services = args[:unrestricted_services] if args.key?(:unrestricted_services) @unrestricted_services = args[:unrestricted_services] if args.key?(:unrestricted_services)
@vpc_accessible_services = args[:vpc_accessible_services] if args.key?(:vpc_accessible_services)
@vpc_service_restriction = args[:vpc_service_restriction] if args.key?(:vpc_service_restriction) @vpc_service_restriction = args[:vpc_service_restriction] if args.key?(:vpc_service_restriction)
end end
end end
@ -758,8 +766,38 @@ module Google
end end
end end
# Specifies how APIs are allowed to communicate within the Service
# Perimeter.
class VpcAccessibleServices
include Google::Apis::Core::Hashable
# The list of APIs usable within the Service Perimeter. Must be empty
# unless 'enable_restriction' is True.
# Corresponds to the JSON property `allowedServices`
# @return [Array<String>]
attr_accessor :allowed_services
# Whether to restrict API calls within the Service Perimeter to the list of
# APIs specified in 'allowed_services'.
# Corresponds to the JSON property `enableRestriction`
# @return [Boolean]
attr_accessor :enable_restriction
alias_method :enable_restriction?, :enable_restriction
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allowed_services = args[:allowed_services] if args.key?(:allowed_services)
@enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
end
end
# Alpha. Specifies how APIs are allowed to communicate within the Service # Alpha. Specifies how APIs are allowed to communicate within the Service
# Perimeter. # Perimeter.
# This message is DEPRECATED and had been renamed to VpcAccessibleServices
class VpcServiceRestriction class VpcServiceRestriction
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -112,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class VpcAccessibleServices
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VpcServiceRestriction class VpcServiceRestriction
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -266,6 +272,8 @@ module Google
collection :resources, as: 'resources' collection :resources, as: 'resources'
collection :restricted_services, as: 'restrictedServices' collection :restricted_services, as: 'restrictedServices'
collection :unrestricted_services, as: 'unrestrictedServices' collection :unrestricted_services, as: 'unrestrictedServices'
property :vpc_accessible_services, as: 'vpcAccessibleServices', class: Google::Apis::AccesscontextmanagerV1beta::VpcAccessibleServices, decorator: Google::Apis::AccesscontextmanagerV1beta::VpcAccessibleServices::Representation
property :vpc_service_restriction, as: 'vpcServiceRestriction', class: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction, decorator: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction::Representation property :vpc_service_restriction, as: 'vpcServiceRestriction', class: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction, decorator: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction::Representation
end end
@ -280,6 +288,14 @@ module Google
end end
end end
class VpcAccessibleServices
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :allowed_services, as: 'allowedServices'
property :enable_restriction, as: 'enableRestriction'
end
end
class VpcServiceRestriction class VpcServiceRestriction
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -1630,6 +1630,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :expiry_time_millis attr_accessor :expiry_time_millis
# User account identifier in the third-party service. Only present if account
# linking happened as part of the subscription purchase flow.
# Corresponds to the JSON property `externalAccountId`
# @return [String]
attr_accessor :external_account_id
# The family name of the user when the subscription was purchased. Only present # The family name of the user when the subscription was purchased. Only present
# for purchases made with 'Subscribe with Google'. # for purchases made with 'Subscribe with Google'.
# Corresponds to the JSON property `familyName` # Corresponds to the JSON property `familyName`
@ -1766,6 +1772,7 @@ module Google
@developer_payload = args[:developer_payload] if args.key?(:developer_payload) @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
@email_address = args[:email_address] if args.key?(:email_address) @email_address = args[:email_address] if args.key?(:email_address)
@expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis) @expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis)
@external_account_id = args[:external_account_id] if args.key?(:external_account_id)
@family_name = args[:family_name] if args.key?(:family_name) @family_name = args[:family_name] if args.key?(:family_name)
@given_name = args[:given_name] if args.key?(:given_name) @given_name = args[:given_name] if args.key?(:given_name)
@introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info) @introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info)
@ -1992,6 +1999,14 @@ module Google
# @return [Google::Apis::AndroidpublisherV3::CountryTargeting] # @return [Google::Apis::AndroidpublisherV3::CountryTargeting]
attr_accessor :country_targeting attr_accessor :country_targeting
# In-app update priority of the release. All newly added APKs in the release
# will be considered at this priority. in_app_update_priority can take values
# between [0, 5]. 5 is the highest priority. Default priority is 0. See https://
# developer.android.com/guide/playcore/in-app-updates.
# Corresponds to the JSON property `inAppUpdatePriority`
# @return [Fixnum]
attr_accessor :in_app_update_priority
# The release name, used to identify this release in the Play Console UI. Not # The release name, used to identify this release in the Play Console UI. Not
# required to be unique. This is optional, if not set it will be generated from # required to be unique. This is optional, if not set it will be generated from
# the version_name in the APKs. # the version_name in the APKs.
@ -2036,6 +2051,7 @@ module Google
def update!(**args) def update!(**args)
@controls = args[:controls] if args.key?(:controls) @controls = args[:controls] if args.key?(:controls)
@country_targeting = args[:country_targeting] if args.key?(:country_targeting) @country_targeting = args[:country_targeting] if args.key?(:country_targeting)
@in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@release_notes = args[:release_notes] if args.key?(:release_notes) @release_notes = args[:release_notes] if args.key?(:release_notes)
@sampling = args[:sampling] if args.key?(:sampling) @sampling = args[:sampling] if args.key?(:sampling)

View File

@ -866,6 +866,7 @@ module Google
property :developer_payload, as: 'developerPayload' property :developer_payload, as: 'developerPayload'
property :email_address, as: 'emailAddress' property :email_address, as: 'emailAddress'
property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis' property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis'
property :external_account_id, as: 'externalAccountId'
property :family_name, as: 'familyName' property :family_name, as: 'familyName'
property :given_name, as: 'givenName' property :given_name, as: 'givenName'
property :introductory_price_info, as: 'introductoryPriceInfo', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo::Representation property :introductory_price_info, as: 'introductoryPriceInfo', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo::Representation
@ -965,6 +966,7 @@ module Google
property :country_targeting, as: 'countryTargeting', class: Google::Apis::AndroidpublisherV3::CountryTargeting, decorator: Google::Apis::AndroidpublisherV3::CountryTargeting::Representation property :country_targeting, as: 'countryTargeting', class: Google::Apis::AndroidpublisherV3::CountryTargeting, decorator: Google::Apis::AndroidpublisherV3::CountryTargeting::Representation
property :in_app_update_priority, as: 'inAppUpdatePriority'
property :name, as: 'name' property :name, as: 'name'
collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation

View File

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

View File

@ -142,10 +142,28 @@ module Google
class Binding class Binding
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Represents an expression text. Example: # Represents a textual expression in the Common Expression Language (CEL)
# title: "User account presence" # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# description: "Determines whether the request has a user account" # are documented at https://github.com/google/cel-spec.
# expression: "size(request.user) > 0" # Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
# Corresponds to the JSON property `condition` # Corresponds to the JSON property `condition`
# @return [Google::Apis::CloudfunctionsV1::Expr] # @return [Google::Apis::CloudfunctionsV1::Expr]
attr_accessor :condition attr_accessor :condition
@ -509,34 +527,50 @@ module Google
end end
end end
# Represents an expression text. Example: # Represents a textual expression in the Common Expression Language (CEL)
# title: "User account presence" # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# description: "Determines whether the request has a user account" # are documented at https://github.com/google/cel-spec.
# expression: "size(request.user) > 0" # Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
class Expr class Expr
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# An optional description of the expression. This is a longer text which # Optional. Description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI. # describes the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# Textual representation of an expression in # Textual representation of an expression in Common Expression Language
# Common Expression Language syntax. # syntax.
# The application context of the containing message determines which
# well-known feature set of CEL is supported.
# Corresponds to the JSON property `expression` # Corresponds to the JSON property `expression`
# @return [String] # @return [String]
attr_accessor :expression attr_accessor :expression
# An optional string indicating the location of the expression for error # Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file. # reporting, e.g. a file name and a position in the file.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
attr_accessor :location attr_accessor :location
# An optional title for the expression, i.e. a short string describing # Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the # its purpose. This can be used e.g. in UIs which allow to enter the
# expression. # expression.
# Corresponds to the JSON property `title` # Corresponds to the JSON property `title`

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/ # @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha module ComputeAlpha
VERSION = 'Alpha' VERSION = 'Alpha'
REVISION = '20200104' REVISION = '20200106'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -9058,6 +9058,17 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a HealthCheckService. An up-to-date fingerprint must be provided in
# order to patch/update the HealthCheckService; Otherwise, the request will fail
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
# request to retrieve the HealthCheckService.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :fingerprint
# List of URLs to the HealthCheck resources. Must have at least one HealthCheck, # List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
# and not more than 10. HealthCheck resources must have portSpecification= # and not more than 10. HealthCheck resources must have portSpecification=
# USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be # USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
@ -9155,6 +9166,7 @@ module Google
def update!(**args) def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@health_checks = args[:health_checks] if args.key?(:health_checks) @health_checks = args[:health_checks] if args.key?(:health_checks)
@health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy) @health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
@health_status_aggregation_strategy = args[:health_status_aggregation_strategy] if args.key?(:health_status_aggregation_strategy) @health_status_aggregation_strategy = args[:health_status_aggregation_strategy] if args.key?(:health_status_aggregation_strategy)

View File

@ -7363,6 +7363,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp' property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description' property :description, as: 'description'
property :fingerprint, :base64 => true, as: 'fingerprint'
collection :health_checks, as: 'healthChecks' collection :health_checks, as: 'healthChecks'
property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy' property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy'
property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy' property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy'

View File

@ -21891,6 +21891,63 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the specified regional HealthCheckService resource with the data
# included in the request. This method supports PATCH semantics and uses the
# JSON merge patch format and processing rules.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region scoping this request.
# @param [String] health_check_service
# Name of the HealthCheckService to update. The name must be 1-63 characters
# long, and comply with RFC1035.
# @param [Google::Apis::ComputeAlpha::HealthCheckService] health_check_service_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed.
# For example, consider a situation where you make an initial request and the
# request times out. If you make the request again with the same request ID, the
# server can check if original operation with the same request ID was received,
# and if so, will ignore the second request. This prevents clients from
# accidentally creating duplicate commitments.
# The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @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 patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options)
command.request_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation
command.request_object = health_check_service_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['healthCheckService'] = health_check_service unless health_check_service.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource. # Returns permissions that a caller has on the specified resource.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2_1 module ContentV2_1
VERSION = 'V2_1' VERSION = 'V2_1'
REVISION = '20200110' REVISION = '20200117'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -1009,6 +1009,38 @@ module Google
end end
end end
#
class AccountsListLinksResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# accountsListLinksResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The list of available links.
# Corresponds to the JSON property `links`
# @return [Array<Google::Apis::ContentV2_1::LinkedAccount>]
attr_accessor :links
# The token for the retrieval of the next page of links.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@links = args[:links] if args.key?(:links)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# #
class AccountsListResponse class AccountsListResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3275,6 +3307,56 @@ module Google
end end
end end
#
class LinkService
include Google::Apis::Core::Hashable
# Service provided to or by the linked account.
# Corresponds to the JSON property `service`
# @return [String]
attr_accessor :service
# Status of the link
# Corresponds to the JSON property `status`
# @return [String]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@service = args[:service] if args.key?(:service)
@status = args[:status] if args.key?(:status)
end
end
#
class LinkedAccount
include Google::Apis::Core::Hashable
# The ID of the linked account.
# Corresponds to the JSON property `linkedAccountId`
# @return [String]
attr_accessor :linked_account_id
# List of provided services.
# Corresponds to the JSON property `services`
# @return [Array<Google::Apis::ContentV2_1::LinkService>]
attr_accessor :services
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
@services = args[:services] if args.key?(:services)
end
end
# #
class LocationIdSet class LocationIdSet
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -172,6 +172,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class AccountsListLinksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AccountsListResponse class AccountsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -556,6 +562,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LinkService
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LinkedAccount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationIdSet class LocationIdSet
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1796,6 +1814,16 @@ module Google
end end
end end
class AccountsListLinksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :links, as: 'links', class: Google::Apis::ContentV2_1::LinkedAccount, decorator: Google::Apis::ContentV2_1::LinkedAccount::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class AccountsListResponse class AccountsListResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2461,6 +2489,23 @@ module Google
end end
end end
class LinkService
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :service, as: 'service'
property :status, as: 'status'
end
end
class LinkedAccount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :linked_account_id, as: 'linkedAccountId'
collection :services, as: 'services', class: Google::Apis::ContentV2_1::LinkService, decorator: Google::Apis::ContentV2_1::LinkService::Representation
end
end
class LocationIdSet class LocationIdSet
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -352,6 +352,50 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns the list of accounts linked to your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId,
# then this account must be a multi-client account and accountId must be the ID
# of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account for which to list links.
# @param [Fixnum] max_results
# The maximum number of links to return in the response, used for pagination.
# @param [String] page_token
# The token returned by the previous request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContentV2_1::AccountsListLinksResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2_1::AccountsListLinksResponse]
#
# @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 listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}/listlinks', options)
command.response_representation = Google::Apis::ContentV2_1::AccountsListLinksResponse::Representation
command.response_class = Google::Apis::ContentV2_1::AccountsListLinksResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['accountId'] = account_id unless account_id.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Updates a Merchant Center account. # Updates a Merchant Center account.
# @param [Fixnum] merchant_id # @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId, # The ID of the managing account. If this parameter is not the same as accountId,

View File

@ -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 = '20200111' REVISION = '20200119'
# 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'

View File

@ -479,9 +479,11 @@ module Google
# When any of the optional fields that make up the data stream ID are absent, # When any of the optional fields that make up the data stream ID are absent,
# they will be omitted from the data stream ID. The minimum viable data stream # they will be omitted from the data stream ID. The minimum viable data stream
# ID would be: type:dataType.name:developer project number # ID would be: type:dataType.name:developer project number
# Finally, the developer project number is obfuscated when read by any REST or # Finally, the developer project number and device UID are obfuscated when read
# Android client that did not create the data source. Only the data source # by any REST or Android client that did not create the data source. Only the
# creator will see the developer project number in clear and normal form. # data source creator will see the developer project number in clear and normal
# form. This means a client will see a different set of data_stream_ids than
# another client with different credentials.
# Corresponds to the JSON property `dataStreamId` # Corresponds to the JSON property `dataStreamId`
# @return [String] # @return [String]
attr_accessor :data_stream_id attr_accessor :data_stream_id
@ -695,6 +697,8 @@ module Google
# obfuscated when read by any REST or Android client that did not create the # obfuscated when read by any REST or Android client that did not create the
# data source. Only the data source creator will see the uid field in clear and # data source. Only the data source creator will see the uid field in clear and
# normal form. # normal form.
# The obfuscation preserves equality; that is, given two IDs, if id1 == id2,
# obfuscated(id1) == obfuscated(id2).
# Corresponds to the JSON property `uid` # Corresponds to the JSON property `uid`
# @return [String] # @return [String]
attr_accessor :uid attr_accessor :uid
@ -912,7 +916,7 @@ module Google
# Holder object for the value of a single field in a data point. # Holder object for the value of a single field in a data point.
# A field value has a particular format and is only ever set to one of an # A field value has a particular format and is only ever set to one of an
# integer or a floating point value. LINT.IfChange # integer or a floating point value.
class Value class Value
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/spectrum-access-system/ # @see https://developers.google.com/spectrum-access-system/
module ProdTtSasportalV1alpha1 module ProdTtSasportalV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20200107' REVISION = '20200130'
# View your email address # View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

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

View File

@ -189,10 +189,28 @@ module Google
class Binding class Binding
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Represents an expression text. Example: # Represents a textual expression in the Common Expression Language (CEL)
# title: "User account presence" # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# description: "Determines whether the request has a user account" # are documented at https://github.com/google/cel-spec.
# expression: "size(request.user) > 0" # Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
# Corresponds to the JSON property `condition` # Corresponds to the JSON property `condition`
# @return [Google::Apis::RunV1::Expr] # @return [Google::Apis::RunV1::Expr]
attr_accessor :condition attr_accessor :condition
@ -1037,34 +1055,50 @@ module Google
end end
end end
# Represents an expression text. Example: # Represents a textual expression in the Common Expression Language (CEL)
# title: "User account presence" # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# description: "Determines whether the request has a user account" # are documented at https://github.com/google/cel-spec.
# expression: "size(request.user) > 0" # Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
class Expr class Expr
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# An optional description of the expression. This is a longer text which # Optional. Description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI. # describes the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# Textual representation of an expression in # Textual representation of an expression in Common Expression Language
# Common Expression Language syntax. # syntax.
# The application context of the containing message determines which
# well-known feature set of CEL is supported.
# Corresponds to the JSON property `expression` # Corresponds to the JSON property `expression`
# @return [String] # @return [String]
attr_accessor :expression attr_accessor :expression
# An optional string indicating the location of the expression for error # Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file. # reporting, e.g. a file name and a position in the file.
# Corresponds to the JSON property `location` # Corresponds to the JSON property `location`
# @return [String] # @return [String]
attr_accessor :location attr_accessor :location
# An optional title for the expression, i.e. a short string describing # Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the # its purpose. This can be used e.g. in UIs which allow to enter the
# expression. # expression.
# Corresponds to the JSON property `title` # Corresponds to the JSON property `title`

View File

@ -778,36 +778,6 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets information about a location.
# @param [String] name
# Resource name for the location.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::RunV1::Location] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RunV1::Location]
#
# @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(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::RunV1::Location::Representation
command.response_class = Google::Apis::RunV1::Location
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
# Lists information about the supported locations for this service. # Lists information about the supported locations for this service.
# @param [String] name # @param [String] name
# The resource that owns the locations collection, if applicable. # The resource that owns the locations collection, if applicable.

View File

@ -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 = '20191216' REVISION = '20200130'
# 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'

File diff suppressed because it is too large Load Diff

View File

@ -58,19 +58,19 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class CloudAuditLog class CloudAuditLogsSource
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 CloudAuditLogSpec class CloudAuditLogsSourceSpec
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 CloudAuditLogStatus class CloudAuditLogsSourceStatus
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
@ -82,6 +82,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class CloudPubSubSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudPubSubSourceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CloudPubSubSourceStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Condition class Condition
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -196,30 +214,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class EventType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EventTypeImporter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EventTypeParameter
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EventTypeSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExecAction class ExecAction
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -286,7 +280,13 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ListCloudAuditLogsResponse class ListCloudAuditLogsSourcesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListCloudPubSubSourcesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
@ -304,12 +304,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ListEventTypesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLocationsResponse class ListLocationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -322,12 +316,6 @@ 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
@ -400,24 +388,6 @@ 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
@ -592,12 +562,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SubscriberSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TcpSocketAction class TcpSocketAction
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -640,18 +604,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class TriggerFilterSourceAndType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TriggerImporterSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TriggerSpec class TriggerSpec
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -733,32 +685,27 @@ module Google
end end
end end
class CloudAuditLog class CloudAuditLogsSource
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion' property :api_version, as: 'apiVersion'
property :kind, as: 'kind' property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::CloudAuditLogSpec, decorator: Google::Apis::RunV1alpha1::CloudAuditLogSpec::Representation property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::CloudAuditLogsSourceSpec, decorator: Google::Apis::RunV1alpha1::CloudAuditLogsSourceSpec::Representation
property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudAuditLogStatus, decorator: Google::Apis::RunV1alpha1::CloudAuditLogStatus::Representation property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus, decorator: Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus::Representation
end end
end end
class CloudAuditLogSpec class CloudAuditLogsSourceSpec
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation property :ce_overrides, as: 'ceOverrides', class: Google::Apis::RunV1alpha1::CloudEventOverrides, decorator: Google::Apis::RunV1alpha1::CloudEventOverrides::Representation
property :method_name, as: 'methodName' property :method_name, as: 'methodName'
property :project, as: 'project'
property :pubsub_secret, as: 'pubsubSecret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :resource_name, as: 'resourceName' property :resource_name, as: 'resourceName'
property :secret, as: 'secret', class: Google::Apis::RunV1alpha1::SecretKeySelector, decorator: Google::Apis::RunV1alpha1::SecretKeySelector::Representation
property :service_account_name, as: 'serviceAccountName' property :service_account_name, as: 'serviceAccountName'
property :service_name, as: 'serviceName' property :service_name, as: 'serviceName'
property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
@ -766,7 +713,7 @@ module Google
end end
end end
class CloudAuditLogStatus class CloudAuditLogsSourceStatus
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
@ -783,6 +730,49 @@ module Google
end end
end end
class CloudPubSubSource
# @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::CloudPubSubSourceSpec, decorator: Google::Apis::RunV1alpha1::CloudPubSubSourceSpec::Representation
property :status, as: 'status', class: Google::Apis::RunV1alpha1::CloudPubSubSourceStatus, decorator: Google::Apis::RunV1alpha1::CloudPubSubSourceStatus::Representation
end
end
class CloudPubSubSourceSpec
# @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 CloudPubSubSourceStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::Condition, decorator: Google::Apis::RunV1alpha1::Condition::Representation
property :observed_generation, as: 'observedGeneration'
property :sink_uri, as: 'sinkUri'
end
end
class Condition class Condition
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1016,49 +1006,6 @@ module Google
end end
end end
class EventType
# @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::EventTypeSpec, decorator: Google::Apis::RunV1alpha1::EventTypeSpec::Representation
end
end
class EventTypeImporter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :kind, as: 'kind'
collection :parameters, as: 'parameters', class: Google::Apis::RunV1alpha1::EventTypeParameter, decorator: Google::Apis::RunV1alpha1::EventTypeParameter::Representation
end
end
class EventTypeParameter
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :name, as: 'name'
end
end
class EventTypeSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :broker, as: 'broker'
property :description, as: 'description'
property :importer, as: 'importer', class: Google::Apis::RunV1alpha1::EventTypeImporter, decorator: Google::Apis::RunV1alpha1::EventTypeImporter::Representation
property :schema, as: 'schema'
property :source, as: 'source'
property :type, as: 'type'
end
end
class ExecAction class ExecAction
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1161,11 +1108,24 @@ module Google
end end
end end
class ListCloudAuditLogsResponse class ListCloudAuditLogsSourcesResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion' property :api_version, as: 'apiVersion'
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudAuditLog, decorator: Google::Apis::RunV1alpha1::CloudAuditLog::Representation collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudAuditLogsSource, decorator: Google::Apis::RunV1alpha1::CloudAuditLogsSource::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 ListCloudPubSubSourcesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::CloudPubSubSource, decorator: Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
property :kind, as: 'kind' property :kind, as: 'kind'
property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
@ -1200,19 +1160,6 @@ module Google
end end
end end
class ListEventTypesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
collection :items, as: 'items', class: Google::Apis::RunV1alpha1::EventType, decorator: Google::Apis::RunV1alpha1::EventType::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 ListLocationsResponse class ListLocationsResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1231,19 +1178,6 @@ 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
@ -1401,50 +1335,6 @@ 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 :service_account_name, as: 'serviceAccountName'
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
@ -1795,15 +1685,6 @@ module Google
end end
end end
class SubscriberSpec
# @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 TcpSocketAction class TcpSocketAction
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1870,24 +1751,6 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
hash :attributes, as: 'attributes' hash :attributes, as: 'attributes'
property :source_and_type, as: 'sourceAndType', class: Google::Apis::RunV1alpha1::TriggerFilterSourceAndType, decorator: Google::Apis::RunV1alpha1::TriggerFilterSourceAndType::Representation
end
end
class TriggerFilterSourceAndType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :source, as: 'source'
property :type, as: 'type'
end
end
class TriggerImporterSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :arguments, as: 'arguments'
property :event_type_name, as: 'eventTypeName'
end end
end end
@ -1897,11 +1760,7 @@ module Google
property :broker, as: 'broker' property :broker, as: 'broker'
property :filter, as: 'filter', class: Google::Apis::RunV1alpha1::TriggerFilter, decorator: Google::Apis::RunV1alpha1::TriggerFilter::Representation property :filter, as: 'filter', class: Google::Apis::RunV1alpha1::TriggerFilter, decorator: Google::Apis::RunV1alpha1::TriggerFilter::Representation
collection :importers, as: 'importers', class: Google::Apis::RunV1alpha1::TriggerImporterSpec, decorator: Google::Apis::RunV1alpha1::TriggerImporterSpec::Representation property :subscriber, as: 'subscriber', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
property :sink, as: 'sink', class: Google::Apis::RunV1alpha1::Destination, decorator: Google::Apis::RunV1alpha1::Destination::Representation
property :subscriber, as: 'subscriber', class: Google::Apis::RunV1alpha1::SubscriberSpec, decorator: Google::Apis::RunV1alpha1::SubscriberSpec::Representation
end end
end end

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/spectrum-access-system/ # @see https://developers.google.com/spectrum-access-system/
module SasportalV1alpha1 module SasportalV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20200107' REVISION = '20200130'
# View your email address # View your email address
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1 module ServiceconsumermanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200114' REVISION = '20200130'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -438,8 +438,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The number of seconds to wait for a response from a request. The default # The number of seconds to wait for a response from a request. The default
# deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. # varies based on the request protocol and deployment environment.
# Corresponds to the JSON property `deadline` # Corresponds to the JSON property `deadline`
# @return [Float] # @return [Float]
attr_accessor :deadline attr_accessor :deadline

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1 module ServicenetworkingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200114' REVISION = '20200130'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -425,8 +425,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The number of seconds to wait for a response from a request. The default # The number of seconds to wait for a response from a request. The default
# deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. # varies based on the request protocol and deployment environment.
# Corresponds to the JSON property `deadline` # Corresponds to the JSON property `deadline`
# @return [Float] # @return [Float]
attr_accessor :deadline attr_accessor :deadline

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta module ServicenetworkingV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200114' REVISION = '20200130'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -425,8 +425,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The number of seconds to wait for a response from a request. The default # The number of seconds to wait for a response from a request. The default
# deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. # varies based on the request protocol and deployment environment.
# Corresponds to the JSON property `deadline` # Corresponds to the JSON property `deadline`
# @return [Float] # @return [Float]
attr_accessor :deadline attr_accessor :deadline

View File

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

View File

@ -344,8 +344,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The number of seconds to wait for a response from a request. The default # The number of seconds to wait for a response from a request. The default
# deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. # varies based on the request protocol and deployment environment.
# Corresponds to the JSON property `deadline` # Corresponds to the JSON property `deadline`
# @return [Float] # @return [Float]
attr_accessor :deadline attr_accessor :deadline

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1 module ServiceusageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200114' REVISION = '20200130'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -344,8 +344,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :address attr_accessor :address
# The number of seconds to wait for a response from a request. The default # The number of seconds to wait for a response from a request. The default
# deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. # varies based on the request protocol and deployment environment.
# Corresponds to the JSON property `deadline` # Corresponds to the JSON property `deadline`
# @return [Float] # @return [Float]
attr_accessor :deadline attr_accessor :deadline

View File

@ -47,7 +47,7 @@ module Google
attr_accessor :user_ip attr_accessor :user_ip
def initialize def initialize
super('https://www.googleapis.com/', 'storage/v1/') super('https://storage.googleapis.com/', 'storage/v1/')
@batch_path = 'batch/storage/v1' @batch_path = 'batch/storage/v1'
end end

View File

@ -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 StorageV1beta2 module StorageV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20190913' REVISION = '20191127'
# Manage your data and permissions in Google Cloud Storage # Manage your data and permissions in Google Cloud Storage
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control' AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'

View File

@ -47,7 +47,7 @@ module Google
attr_accessor :user_ip attr_accessor :user_ip
def initialize def initialize
super('https://www.googleapis.com/', 'storage/v1beta2/') super('https://storage.googleapis.com/', 'storage/v1beta2/')
@batch_path = 'batch/storage/v1beta2' @batch_path = 'batch/storage/v1beta2'
end end

View File

@ -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 = '20191203' REVISION = '20200119'
# 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'