Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CreateFrameworkRequest.
The request message for CreateFramework.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource name, in the format |
↳ framework_id |
string
Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework. |
↳ framework |
Framework
Required. The resource being created. |
getParent
Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFrameworkId
Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFrameworkId
Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFramework
Required. The resource being created.
| Returns | |
|---|---|
| Type | Description |
Framework|null |
|
hasFramework
clearFramework
setFramework
Required. The resource being created.
| Parameter | |
|---|---|
| Name | Description |
var |
Framework
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource name, in the format
|
framework |
Framework
Required. The resource being created. |
frameworkId |
string
Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework. |
| Returns | |
|---|---|
| Type | Description |
CreateFrameworkRequest |
|