SaaS Runtime V1BETA1 API - Class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateUnitKindRequest (v0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the SaaS Runtime V1BETA1 API class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateUnitKindRequest.
The request structure for the UpdateUnitKind method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#request_id
defrequest_id()->::String
Returns
(::String) — 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. The server will guarantee
that for at least 60 minutes since the first request.
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).
#request_id=
defrequest_id=(value)->::String
Parameter
value (::String) — 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. The server will guarantee
that for at least 60 minutes since the first request.
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).
Returns
(::String) — 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. The server will guarantee
that for at least 60 minutes since the first request.
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).
value (::Google::Protobuf::FieldMask) — Field mask is used to specify the fields to be overwritten in the
UnitKind resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
If the user does not provide a mask then all fields in the
UnitKind will be overwritten.
Returns
(::Google::Protobuf::FieldMask) — Field mask is used to specify the fields to be overwritten in the
UnitKind resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
If the user does not provide a mask then all fields in the
UnitKind will be overwritten.
#validate_only
defvalidate_only()->::Boolean
Returns
(::Boolean) — If "validate_only" is set to true, the service will try to validate
that this request would succeed, but will not actually make changes.
#validate_only=
defvalidate_only=(value)->::Boolean
Parameter
value (::Boolean) — If "validate_only" is set to true, the service will try to validate
that this request would succeed, but will not actually make changes.
Returns
(::Boolean) — If "validate_only" is set to true, the service will try to validate
that this request would succeed, but will not actually make changes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[],[],null,["# SaaS Runtime V1BETA1 API - Class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateUnitKindRequest (v0.1.0)\n\nReference documentation and code samples for the SaaS Runtime V1BETA1 API class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateUnitKindRequest.\n\nThe request structure for the UpdateUnitKind method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #request_id\n\n def request_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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. The server will guarantee that for at least 60 minutes since the first request.\n\n For example, consider a situation where you make an initial request and the\n request times out. If you make the request again with the same request\n ID, the server can check if original operation with the same request ID\n was received, and if so, will ignore the second request. This prevents\n clients from accidentally creating duplicate commitments.\n\n The request ID must be a valid UUID with the exception that zero UUID is\n not supported (00000000-0000-0000-0000-000000000000).\n\n### #request_id=\n\n def request_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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. The server will guarantee that for at least 60 minutes since the first request.\n\n\n For example, consider a situation where you make an initial request and the\n request times out. If you make the request again with the same request\n ID, the server can check if original operation with the same request ID\n was received, and if so, will ignore the second request. This prevents\n clients from accidentally creating duplicate commitments.\n\n The request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000). \n**Returns**\n\n- (::String) --- 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. The server will guarantee that for at least 60 minutes since the first request.\n\n For example, consider a situation where you make an initial request and the\n request times out. If you make the request again with the same request\n ID, the server can check if original operation with the same request ID\n was received, and if so, will ignore the second request. This prevents\n clients from accidentally creating duplicate commitments.\n\n The request ID must be a valid UUID with the exception that zero UUID is\n not supported (00000000-0000-0000-0000-000000000000).\n\n### #unit_kind\n\n def unit_kind() -\u003e ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind\n\n**Returns**\n\n- ([::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind](./Google-Cloud-SaasPlatform-SaasServiceMgmt-V1beta1-UnitKind)) --- Required. The desired state for the unit kind.\n\n### #unit_kind=\n\n def unit_kind=(value) -\u003e ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind](./Google-Cloud-SaasPlatform-SaasServiceMgmt-V1beta1-UnitKind)) --- Required. The desired state for the unit kind. \n**Returns**\n\n- ([::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind](./Google-Cloud-SaasPlatform-SaasServiceMgmt-V1beta1-UnitKind)) --- Required. The desired state for the unit kind.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Field mask is used to specify the fields to be overwritten in the UnitKind resource by the update.\n\n\n The fields specified in the update_mask are relative to the resource, not\n the full request. A field will be overwritten if it is in the mask.\n\n If the user does not provide a mask then all fields in the\n UnitKind will be overwritten.\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Field mask is used to specify the fields to be overwritten in the UnitKind resource by the update.\n\n\n The fields specified in the update_mask are relative to the resource, not\n the full request. A field will be overwritten if it is in the mask.\n\n If the user does not provide a mask then all fields in the\nUnitKind will be overwritten. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Field mask is used to specify the fields to be overwritten in the UnitKind resource by the update.\n\n\n The fields specified in the update_mask are relative to the resource, not\n the full request. A field will be overwritten if it is in the mask.\n\n If the user does not provide a mask then all fields in the\n UnitKind will be overwritten.\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes. \n**Returns**\n\n- (::Boolean) --- If \"validate_only\" is set to true, the service will try to validate that this request would succeed, but will not actually make changes."]]