# Network Services V1 API - Class Google::Cloud::NetworkServices::V1::CreateServiceBindingRequest (v2.10.1)

2.10.1 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.2.0 0.1.0 Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::CreateServiceBindingRequest.

Request used by the ServiceBinding method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource of the ServiceBinding. Must be in the format `projects/*/locations/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource of the ServiceBinding. Must be in the format `projects/*/locations/*`.
**Returns**

- (::String) --- Required. The parent resource of the ServiceBinding. Must be in the format `projects/*/locations/*`.

### #service_binding

    def service_binding() -> ::Google::Cloud::NetworkServices::V1::ServiceBinding

**Returns**

- ([::Google::Cloud::NetworkServices::V1::ServiceBinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceBinding)) --- Required. ServiceBinding resource to be created.

### #service_binding=

    def service_binding=(value) -> ::Google::Cloud::NetworkServices::V1::ServiceBinding

**Parameter**

- **value** ([::Google::Cloud::NetworkServices::V1::ServiceBinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceBinding)) --- Required. ServiceBinding resource to be created.
**Returns**

- ([::Google::Cloud::NetworkServices::V1::ServiceBinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-ServiceBinding)) --- Required. ServiceBinding resource to be created.

### #service_binding_id

    def service_binding_id() -> ::String

**Returns**

- (::String) --- Required. Short name of the ServiceBinding resource to be created.

### #service_binding_id=

    def service_binding_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Short name of the ServiceBinding resource to be created.
**Returns**

- (::String) --- Required. Short name of the ServiceBinding resource to be created.