# Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::CreateCloudControlRequest (v0.5.0)

0.5.0 (latest) 0.4.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::CreateCloudControlRequest.

The request message for \[CreateCloudControl\]\[\].

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cloud_control

    def cloud_control() -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl

**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::CloudControl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CloudControl)) --- Required. The cloud control that's being created.

### #cloud_control=

    def cloud_control=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl

**Parameter**

- **value** ([::Google::Cloud::CloudSecurityCompliance::V1::CloudControl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CloudControl)) --- Required. The cloud control that's being created.
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::CloudControl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CloudControl)) --- Required. The cloud control that's being created.

### #cloud_control_id

    def cloud_control_id() -> ::String

**Returns**

- (::String) --- Required. The identifier for the cloud control, which is the last segment of the cloud control name. The format is `^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$`.

### #cloud_control_id=

    def cloud_control_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The identifier for the cloud control, which is the last segment of the cloud control name. The format is `^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$`.
**Returns**

- (::String) --- Required. The identifier for the cloud control, which is the last segment of the cloud control name. The format is `^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$`.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource name, in one of the following formats:

  - `organizations/{organization}/locations/{location}`.
  - `projects/{project}/locations/{location}`.

  The only supported location is `global`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource name, in one of the following formats:


  - `organizations/{organization}/locations/{location}`.
  - `projects/{project}/locations/{location}`.

  The only supported location is `global`.
**Returns**

- (::String) --- Required. The parent resource name, in one of the following formats:

  - `organizations/{organization}/locations/{location}`.
  - `projects/{project}/locations/{location}`.

  The only supported location is `global`.