Autogenerated update (2019-01-17)
Update: - cloudbilling_v1 - cloudbuild_v1 - cloudbuild_v1alpha1 - fitness_v1 - jobs_v3p1beta1 - servicemanagement_v1 - serviceusage_v1
This commit is contained in:
parent
277528a576
commit
cdb6c27105
|
@ -14832,6 +14832,7 @@
|
|||
"/cloudbilling:v1/ProjectBillingInfo/name": name
|
||||
"/cloudbilling:v1/ProjectBillingInfo/projectId": project_id
|
||||
"/cloudbilling:v1/Service": service
|
||||
"/cloudbilling:v1/Service/businessEntityName": business_entity_name
|
||||
"/cloudbilling:v1/Service/displayName": display_name
|
||||
"/cloudbilling:v1/Service/name": name
|
||||
"/cloudbilling:v1/Service/serviceId": service_id
|
||||
|
@ -85800,8 +85801,10 @@
|
|||
"/servicemanagement:v1/BackendRule": backend_rule
|
||||
"/servicemanagement:v1/BackendRule/address": address
|
||||
"/servicemanagement:v1/BackendRule/deadline": deadline
|
||||
"/servicemanagement:v1/BackendRule/jwtAudience": jwt_audience
|
||||
"/servicemanagement:v1/BackendRule/minDeadline": min_deadline
|
||||
"/servicemanagement:v1/BackendRule/operationDeadline": operation_deadline
|
||||
"/servicemanagement:v1/BackendRule/pathTranslation": path_translation
|
||||
"/servicemanagement:v1/BackendRule/selector": selector
|
||||
"/servicemanagement:v1/Billing": billing
|
||||
"/servicemanagement:v1/Billing/consumerDestinations": consumer_destinations
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/billing/
|
||||
module CloudbillingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180806'
|
||||
REVISION = '20190114'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -776,6 +776,12 @@ module Google
|
|||
class Service
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The business under which the service is offered.
|
||||
# Ex. "businessEntities/GCP", "businessEntities/Maps"
|
||||
# Corresponds to the JSON property `businessEntityName`
|
||||
# @return [String]
|
||||
attr_accessor :business_entity_name
|
||||
|
||||
# A human readable display name for this service.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
|
@ -799,6 +805,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@business_entity_name = args[:business_entity_name] if args.key?(:business_entity_name)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@service_id = args[:service_id] if args.key?(:service_id)
|
||||
|
|
|
@ -317,6 +317,7 @@ module Google
|
|||
class Service
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :business_entity_name, as: 'businessEntityName'
|
||||
property :display_name, as: 'displayName'
|
||||
property :name, as: 'name'
|
||||
property :service_id, as: 'serviceId'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/cloud-build/docs/
|
||||
module CloudbuildV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181017'
|
||||
REVISION = '20190116'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1135,8 +1135,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Hash(es) of the build source, which can be used to verify that
|
||||
# the originalsource integrity was maintained in the build. Note that
|
||||
# `FileHashes` willonly be populated if `BuildOptions` has requested a
|
||||
# the original source integrity was maintained in the build. Note that
|
||||
# `FileHashes` will only be populated if `BuildOptions` has requested a
|
||||
# `SourceProvenanceHash`.
|
||||
# The keys to this map are file paths used as build source and the values
|
||||
# contain the hash values for those files.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/cloud-build/docs/
|
||||
module CloudbuildV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190107'
|
||||
REVISION = '20190116'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -885,8 +885,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Hash(es) of the build source, which can be used to verify that
|
||||
# the originalsource integrity was maintained in the build. Note that
|
||||
# `FileHashes` willonly be populated if `BuildOptions` has requested a
|
||||
# the original source integrity was maintained in the build. Note that
|
||||
# `FileHashes` will only be populated if `BuildOptions` has requested a
|
||||
# `SourceProvenanceHash`.
|
||||
# The keys to this map are file paths used as build source and the values
|
||||
# contain the hash values for those files.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/fit/rest/
|
||||
module FitnessV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190101'
|
||||
REVISION = '20190109'
|
||||
|
||||
# View your activity information in Google Fit
|
||||
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
||||
|
|
|
@ -151,9 +151,9 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :end_time_millis
|
||||
|
||||
# A list of acceptable data quality standards. Only data points which conform to
|
||||
# at least one of the specified data quality standards will be returned. If the
|
||||
# list is empty, all data points are returned.
|
||||
# DO NOT POPULATE THIS FIELD. As data quality standards are deprecated, filling
|
||||
# it in will result in no data sources being returned. It will be removed in a
|
||||
# future version entirely.
|
||||
# Corresponds to the JSON property `filteredDataQualityStandard`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :filtered_data_quality_standard
|
||||
|
@ -449,8 +449,9 @@ module Google
|
|||
# @return [Google::Apis::FitnessV1::Application]
|
||||
attr_accessor :application
|
||||
|
||||
# DO NOT USE THIS FIELD. It is never populated in responses from the platform,
|
||||
# and is ignored in queries.
|
||||
# DO NOT POPULATE THIS FIELD. It is never populated in responses from the
|
||||
# platform, and is ignored in queries. It will be removed in a future version
|
||||
# entirely.
|
||||
# Corresponds to the JSON property `dataQualityStandard`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :data_quality_standard
|
||||
|
@ -618,7 +619,7 @@ module Google
|
|||
|
||||
# The largest end time of all data points in this possibly partial
|
||||
# representation of the dataset. Time is in nanoseconds from epoch. This should
|
||||
# also match the first part of the dataset identifier.
|
||||
# also match the second part of the dataset identifier.
|
||||
# Corresponds to the JSON property `maxEndTimeNs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_end_time_ns
|
||||
|
|
|
@ -695,43 +695,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The patch service account request.
|
||||
class PatchServiceAccountRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A service account in the Identity and Access Management API.
|
||||
# To create a service account, specify the `project_id` and the `account_id`
|
||||
# for the account. The `account_id` is unique within the project, and is used
|
||||
# to generate the service account email address and a stable
|
||||
# `unique_id`.
|
||||
# If the account already exists, the account's resource name is returned
|
||||
# in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
|
||||
# can use the name in other methods to access the account.
|
||||
# All other methods can identify the service account using the format
|
||||
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
||||
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
||||
# the account. The `ACCOUNT` value can be the `email` address or the
|
||||
# `unique_id` of the service account.
|
||||
# Corresponds to the JSON property `serviceAccount`
|
||||
# @return [Google::Apis::IamV1::ServiceAccount]
|
||||
attr_accessor :service_account
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@service_account = args[:service_account] if args.key?(:service_account)
|
||||
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
||||
end
|
||||
end
|
||||
|
||||
# A permission which can be included by a role.
|
||||
class Permission
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -124,12 +124,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PatchServiceAccountRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Permission
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -406,15 +400,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class PatchServiceAccountRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
class Permission
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -792,50 +792,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches a ServiceAccount.
|
||||
# Currently, only the following fields are updatable:
|
||||
# `display_name` and `description`.
|
||||
# Only fields specified in the request are garaunteed to be returned in
|
||||
# the response. Other fields in the response may be empty.
|
||||
# Note: The field mask is required.
|
||||
# @param [String] name
|
||||
# The resource name of the service account in the following format:
|
||||
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
||||
# Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
|
||||
# project from the `account` and the `ACCOUNT` value can be the `email`
|
||||
# address or the `unique_id` of the service account.
|
||||
# In responses the resource name will always be in the format
|
||||
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
||||
# @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_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::IamV1::ServiceAccount] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IamV1::ServiceAccount]
|
||||
#
|
||||
# @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_service_account(name, patch_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/{+name}', options)
|
||||
command.request_representation = Google::Apis::IamV1::PatchServiceAccountRequest::Representation
|
||||
command.request_object = patch_service_account_request_object
|
||||
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
||||
command.response_class = Google::Apis::IamV1::ServiceAccount
|
||||
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
|
||||
|
||||
# Sets the IAM access control policy for a
|
||||
# ServiceAccount.
|
||||
# @param [String] resource
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV3p1beta1
|
||||
VERSION = 'V3p1beta1'
|
||||
REVISION = '20190107'
|
||||
REVISION = '20190110'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2705,6 +2705,19 @@ module Google
|
|||
# factor assigned by
|
||||
# SearchJobsRequest.custom_ranking_info.importance_level in descending
|
||||
# order.
|
||||
# * "location`_`distance": By the distance between the location on jobs and
|
||||
# locations specified in the
|
||||
# SearchJobsRequest.job_query.location_filters.
|
||||
# When this order is selected, the
|
||||
# SearchJobsRequest.job_query.location_filters must not be empty. When
|
||||
# a job has multiple locations, the location closest to one of the locations
|
||||
# specified in the location filter will be used to calculate location
|
||||
# distance. Distance is calculated by the distance between two lat/long
|
||||
# coordinates, with a precision of 10e-4 degrees (11.3 meters).
|
||||
# Jobs that don't have locations specified will be ranked below jobs having
|
||||
# locations.
|
||||
# Diversification strategy is still applied unless explicitly disabled in
|
||||
# SearchJobsRequest.diversification_level.
|
||||
# Corresponds to the JSON property `orderBy`
|
||||
# @return [String]
|
||||
attr_accessor :order_by
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-management/
|
||||
module ServicemanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190102'
|
||||
REVISION = '20190112'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -512,6 +512,11 @@ module Google
|
|||
# @return [Float]
|
||||
attr_accessor :deadline
|
||||
|
||||
# The JWT audience is used when generating a JWT id token for the backend.
|
||||
# Corresponds to the JSON property `jwtAudience`
|
||||
# @return [String]
|
||||
attr_accessor :jwt_audience
|
||||
|
||||
# Minimum deadline in seconds needed for this method. Calls having deadline
|
||||
# value lower than this will be rejected.
|
||||
# Corresponds to the JSON property `minDeadline`
|
||||
|
@ -524,6 +529,11 @@ module Google
|
|||
# @return [Float]
|
||||
attr_accessor :operation_deadline
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `pathTranslation`
|
||||
# @return [String]
|
||||
attr_accessor :path_translation
|
||||
|
||||
# Selects the methods to which this rule applies.
|
||||
# Refer to selector for syntax details.
|
||||
# Corresponds to the JSON property `selector`
|
||||
|
@ -538,8 +548,10 @@ module Google
|
|||
def update!(**args)
|
||||
@address = args[:address] if args.key?(:address)
|
||||
@deadline = args[:deadline] if args.key?(:deadline)
|
||||
@jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
|
||||
@min_deadline = args[:min_deadline] if args.key?(:min_deadline)
|
||||
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
||||
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -640,8 +640,10 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :address, as: 'address'
|
||||
property :deadline, as: 'deadline'
|
||||
property :jwt_audience, as: 'jwtAudience'
|
||||
property :min_deadline, as: 'minDeadline'
|
||||
property :operation_deadline, as: 'operationDeadline'
|
||||
property :path_translation, as: 'pathTranslation'
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-usage/
|
||||
module ServiceusageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190109'
|
||||
REVISION = '20190115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -205,7 +205,6 @@ module Google
|
|||
|
||||
# Enable multiple services on a project. The operation is atomic: if enabling
|
||||
# any service fails, then the entire batch fails, and no state changes occur.
|
||||
# Operation<response: BatchEnableServicesResponse>
|
||||
# @param [String] parent
|
||||
# Parent to enable services on.
|
||||
# An example name would be:
|
||||
|
@ -248,7 +247,6 @@ module Google
|
|||
# It is not valid to call the disable method on a service that is not
|
||||
# currently enabled. Callers will receive a `FAILED_PRECONDITION` status if
|
||||
# the target service is not currently enabled.
|
||||
# Operation<response: DisableServiceResponse>
|
||||
# @param [String] name
|
||||
# Name of the consumer and service to disable the service on.
|
||||
# The enable and disable methods currently only support projects.
|
||||
|
@ -286,7 +284,6 @@ module Google
|
|||
end
|
||||
|
||||
# Enable a service so that it can be used with a project.
|
||||
# Operation<response: EnableServiceResponse>
|
||||
# @param [String] name
|
||||
# Name of the consumer and service to enable the service on.
|
||||
# The `EnableService` and `DisableService` methods currently only support
|
||||
|
|
Loading…
Reference in New Issue