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:
1 parent
87222398b4
commit
dd2ec2965d
41 files changed
+1227
-1717
No files matched your search
@@ -9058,6 +9058,17 @@ module Google
|
||||
# @return [String]
|
||||
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,
|
||||
# and not more than 10. HealthCheck resources must have portSpecification=
|
||||
# USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
|
||||
@@ -9155,6 +9166,7 @@ module Google
|
||||
def update!(**args)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@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_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)
|
||||
|
||||
@@ -7363,6 +7363,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
collection :health_checks, as: 'healthChecks'
|
||||
property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy'
|
||||
property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy'
|
||||
|
||||
@@ -21891,6 +21891,63 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
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.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
||||
Reference in new issue
Block a user