# Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlRequest (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::GetCloudControlRequest.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #major_revision_id

    def major_revision_id() -> ::Integer

**Returns**

- (::Integer) --- Optional. The major version of the cloud control to retrieve. If not specified, the most recently updated `revision_id` is retrieved.

### #major_revision_id=

    def major_revision_id=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The major version of the cloud control to retrieve. If not specified, the most recently updated `revision_id` is retrieved.
**Returns**

- (::Integer) --- Optional. The major version of the cloud control to retrieve. If not specified, the most recently updated `revision_id` is retrieved.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of the cloud control to retrieve, in one of the following formats: `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}` or `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.


  The only supported location is `global`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the cloud control to retrieve, in one of the following formats: `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}` or `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.


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

- (::String) --- Required. The name of the cloud control to retrieve, in one of the following formats: `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}` or `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.


  The only supported location is `global`.