# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::CreateBranchRuleRequest (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::CreateBranchRuleRequest.

CreateBranchRuleRequest is the request to create a branch rule.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #branch_rule

    def branch_rule() -> ::Google::Cloud::SecureSourceManager::V1::BranchRule

**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::BranchRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-BranchRule))

### #branch_rule=

    def branch_rule=(value) -> ::Google::Cloud::SecureSourceManager::V1::BranchRule

**Parameter**

- **value** ([::Google::Cloud::SecureSourceManager::V1::BranchRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-BranchRule))
**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::BranchRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-BranchRule))

### #branch_rule_id

    def branch_rule_id() -> ::String

**Returns**

- (::String)

### #branch_rule_id=

    def branch_rule_id=(value) -> ::String

**Parameter**

- **value** (::String)
**Returns**

- (::String)

### #parent

    def parent() -> ::String

**Returns**

- (::String)

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String)
**Returns**

- (::String)