generated/google-apis-remotebuildexecution_v1alpha/lib/google/apis/remotebuildexecution_v1alpha/service.rb
def patch_project_instance(name, google_devtools_remotebuildexecution_admin_v1alpha_instance_object = nil, logging_enabled: nil, name1: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:patch, 'v1alpha/{+name}', options)
          command.request_representation = Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::Representation
          command.request_object = google_devtools_remotebuildexecution_admin_v1alpha_instance_object
          command.response_representation = Google::Apis::RemotebuildexecutionV1alpha::GoogleLongrunningOperation::Representation
          command.response_class = Google::Apis::RemotebuildexecutionV1alpha::GoogleLongrunningOperation
          command.params['name'] = name unless name.nil?
          command.query['loggingEnabled'] = logging_enabled unless logging_enabled.nil?
          command.query['name1'] = name1 unless name1.nil?
          command.query['updateMask'] = update_mask unless update_mask.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
# Updates the specified instance. Returns a long running operation which
# contains the updated instance in the response on completion.
# @param [String] name
#   Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/
#   instances/[INSTANCE_ID]`. Name should not be populated when creating an
#   instance since it is provided in the `instance_id` field.
# @param [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance] google_devtools_remotebuildexecution_admin_v1alpha_instance_object
# @param [Boolean] logging_enabled
#   Deprecated, use instance.logging_enabled instead. Whether to enable
#   Stackdriver logging for this instance.
# @param [String] name1
#   Deprecated, use instance.Name instead. Name of the instance to update. Format:
#   `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
# @param [String] update_mask
#   The update mask applies to instance. For the `FieldMask` definition, see https:
#   //developers.google.com/protocol-buffers/docs/reference/google.protobuf#
#   fieldmask If an empty update_mask is provided, only the non-default valued
#   field in the worker pool field will be updated. Note that in order to update a
#   field to the default value (zero, false, empty string) an explicit update_mask
#   must be provided.
# @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::RemotebuildexecutionV1alpha::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleLongrunningOperation]
#
# @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
Updates the specified instance. Returns a long running operation which
contains the updated instance in the response on completion.
Updates the specified instance . Returns a long running operation which contains the updated instance in the response on completion .
def patch_project_instance(name, google_devtools_remotebuildexecution_admin_v1alpha_instance_object = nil, logging_enabled: nil, name1: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:patch, 'v1alpha/{+name}', options)
          command.request_representation = Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::Representation
          command.request_object = google_devtools_remotebuildexecution_admin_v1alpha_instance_object
          command.response_representation = Google::Apis::RemotebuildexecutionV1alpha::GoogleLongrunningOperation::Representation
          command.response_class = Google::Apis::RemotebuildexecutionV1alpha::GoogleLongrunningOperation
          command.params['name'] = name unless name.nil?
          command.query['loggingEnabled'] = logging_enabled unless logging_enabled.nil?
          command.query['name1'] = name1 unless name1.nil?
          command.query['updateMask'] = update_mask unless update_mask.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def patch_project_instance ( name , google_devtools_remotebuildexecution_admin_v1alpha_instance_object = nil , logging_enabled : nil , name1 : nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :patch , 'v1alpha/{+name}' , options ) command . request_representation = Google :: Apis :: RemotebuildexecutionV1alpha :: GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance :: Representation command . request_object = google_devtools_remotebuildexecution_admin_v1alpha_instance_object command . response_representation = Google :: Apis :: RemotebuildexecutionV1alpha :: GoogleLongrunningOperation :: Representation command . response_class = Google :: Apis :: RemotebuildexecutionV1alpha :: GoogleLongrunningOperation command . params [ 'name' ] = name unless name . nil? command . query [ 'loggingEnabled' ] = logging_enabled unless logging_enabled . nil? command . query [ 'name1' ] = name1 unless name1 . nil? command . query [ 'updateMask' ] = update_mask unless update_mask . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Updates the specified instance.
Updates the specified instance .
None
Google::Apis::RemotebuildexecutionV1alpha::GoogleLongrunningOperation
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
name
google_devtools_remotebuildexecution_admin_v1alpha_instance_object
logging_enabled
name1
update_mask
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed