diff --git a/api_names_out.yaml b/api_names_out.yaml index 7a3628e51..ef2020b7f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/cloudbilling_v1.rb b/generated/google/apis/cloudbilling_v1.rb index c41660b5f..2a7a82633 100644 --- a/generated/google/apis/cloudbilling_v1.rb +++ b/generated/google/apis/cloudbilling_v1.rb @@ -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' diff --git a/generated/google/apis/cloudbilling_v1/classes.rb b/generated/google/apis/cloudbilling_v1/classes.rb index 85bfae5cd..8c5311045 100644 --- a/generated/google/apis/cloudbilling_v1/classes.rb +++ b/generated/google/apis/cloudbilling_v1/classes.rb @@ -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) diff --git a/generated/google/apis/cloudbilling_v1/representations.rb b/generated/google/apis/cloudbilling_v1/representations.rb index bca4a5f73..34b720483 100644 --- a/generated/google/apis/cloudbilling_v1/representations.rb +++ b/generated/google/apis/cloudbilling_v1/representations.rb @@ -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' diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index 2cc6129f0..2f1d0ac9e 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -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' diff --git a/generated/google/apis/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index b9a4620f7..f55cb023c 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -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. diff --git a/generated/google/apis/cloudbuild_v1alpha1.rb b/generated/google/apis/cloudbuild_v1alpha1.rb index 1757f6c6b..5c36a5d18 100644 --- a/generated/google/apis/cloudbuild_v1alpha1.rb +++ b/generated/google/apis/cloudbuild_v1alpha1.rb @@ -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' diff --git a/generated/google/apis/cloudbuild_v1alpha1/classes.rb b/generated/google/apis/cloudbuild_v1alpha1/classes.rb index add4aaeb3..7d38aa89d 100644 --- a/generated/google/apis/cloudbuild_v1alpha1/classes.rb +++ b/generated/google/apis/cloudbuild_v1alpha1/classes.rb @@ -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. diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb index cd6aec1de..b61d14917 100644 --- a/generated/google/apis/fitness_v1.rb +++ b/generated/google/apis/fitness_v1.rb @@ -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' diff --git a/generated/google/apis/fitness_v1/classes.rb b/generated/google/apis/fitness_v1/classes.rb index 89541a4ac..880201ef3 100644 --- a/generated/google/apis/fitness_v1/classes.rb +++ b/generated/google/apis/fitness_v1/classes.rb @@ -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] 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] 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 diff --git a/generated/google/apis/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index 065c4c901..8e56763d5 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -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 diff --git a/generated/google/apis/iam_v1/representations.rb b/generated/google/apis/iam_v1/representations.rb index 1469b800b..222a46c19 100644 --- a/generated/google/apis/iam_v1/representations.rb +++ b/generated/google/apis/iam_v1/representations.rb @@ -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 diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index d237b20b4..597719b77 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -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 diff --git a/generated/google/apis/jobs_v3p1beta1.rb b/generated/google/apis/jobs_v3p1beta1.rb index 04fe058ab..56cd1c9e6 100644 --- a/generated/google/apis/jobs_v3p1beta1.rb +++ b/generated/google/apis/jobs_v3p1beta1.rb @@ -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' diff --git a/generated/google/apis/jobs_v3p1beta1/classes.rb b/generated/google/apis/jobs_v3p1beta1/classes.rb index 06fbca2e4..06a081b06 100644 --- a/generated/google/apis/jobs_v3p1beta1/classes.rb +++ b/generated/google/apis/jobs_v3p1beta1/classes.rb @@ -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 diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index ec2029617..b0c92dc01 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -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' diff --git a/generated/google/apis/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index c234c7272..aad9e4202 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -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 diff --git a/generated/google/apis/servicemanagement_v1/representations.rb b/generated/google/apis/servicemanagement_v1/representations.rb index 44fc2e059..f60a73076 100644 --- a/generated/google/apis/servicemanagement_v1/representations.rb +++ b/generated/google/apis/servicemanagement_v1/representations.rb @@ -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 diff --git a/generated/google/apis/serviceusage_v1.rb b/generated/google/apis/serviceusage_v1.rb index 6e1879b06..d89303b27 100644 --- a/generated/google/apis/serviceusage_v1.rb +++ b/generated/google/apis/serviceusage_v1.rb @@ -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' diff --git a/generated/google/apis/serviceusage_v1/service.rb b/generated/google/apis/serviceusage_v1/service.rb index ef9a6d12f..e68b9384e 100644 --- a/generated/google/apis/serviceusage_v1/service.rb +++ b/generated/google/apis/serviceusage_v1/service.rb @@ -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 # @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 # @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 # @param [String] name # Name of the consumer and service to enable the service on. # The `EnableService` and `DisableService` methods currently only support