(::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the
branchRule 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.
The special value "*" means full replacement.
value (::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the
branchRule 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.
The special value "*" means full replacement.
Returns
(::Google::Protobuf::FieldMask) — Required. Field mask is used to specify the fields to be overwritten in the
branchRule 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.
The special value "*" means full replacement.
#validate_only
defvalidate_only()->::Boolean
Returns
(::Boolean) — Optional. If set, validate the request and preview the review, but do not
actually post it. (https://google.aip.dev/163, for declarative friendly)
#validate_only=
defvalidate_only=(value)->::Boolean
Parameter
value (::Boolean) — Optional. If set, validate the request and preview the review, but do not
actually post it. (https://google.aip.dev/163, for declarative friendly)
Returns
(::Boolean) — Optional. If set, validate the request and preview the review, but do not
actually post it. (https://google.aip.dev/163, for declarative friendly)
[[["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-28 UTC."],[],[],null,["# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::UpdateBranchRuleRequest (v2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [2.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.2.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [2.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.1.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.0.1/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.3.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.2.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.1.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.0.1/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.4.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.3.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [0.2.2](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.2.2/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.1.0/Google-Cloud-SecureSourceManager-V1-UpdateBranchRuleRequest) \nReference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::UpdateBranchRuleRequest.\n\nUpdateBranchRuleRequest is the request to update a branchRule. \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### #branch_rule\n\n def branch_rule() -\u003e ::Google::Cloud::SecureSourceManager::V1::BranchRule\n\n**Returns**\n\n- ([::Google::Cloud::SecureSourceManager::V1::BranchRule](./Google-Cloud-SecureSourceManager-V1-BranchRule))\n\n### #branch_rule=\n\n def branch_rule=(value) -\u003e ::Google::Cloud::SecureSourceManager::V1::BranchRule\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SecureSourceManager::V1::BranchRule](./Google-Cloud-SecureSourceManager-V1-BranchRule)) \n**Returns**\n\n- ([::Google::Cloud::SecureSourceManager::V1::BranchRule](./Google-Cloud-SecureSourceManager-V1-BranchRule))\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. Field mask is used to specify the fields to be overwritten in the branchRule 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. The special value \"\\*\" means full replacement.\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)) --- Required. Field mask is used to specify the fields to be overwritten in the branchRule 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. The special value \"\\*\" means full replacement. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- Required. Field mask is used to specify the fields to be overwritten in the branchRule 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. The special value \"\\*\" means full replacement.\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set, validate the request and preview the review, but do not actually post it. (https://google.aip.dev/163, for declarative friendly)\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set, validate the request and preview the review, but do not actually post it. (https://google.aip.dev/163, for declarative friendly) \n**Returns**\n\n- (::Boolean) --- Optional. If set, validate the request and preview the review, but do not actually post it. (https://google.aip.dev/163, for declarative friendly)"]]