Google Cloud Security Compliance V1 Client - Class CreateFrameworkRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CreateFrameworkRequest.

Request message for creating a Framework

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The parent resource name, in the format organizations/{organization}/locations/{location} .

↳ framework_id
string

Required. ID of the framework. This is not the full name of the framework. This is 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} .

Returns
Type
Description
string

setParent

Required. The parent resource name, in the format organizations/{organization}/locations/{location} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFrameworkId

Required. ID of the framework.

This is not the full name of the framework. This is the last part of the full name of the framework.

Returns
Type
Description
string

setFrameworkId

Required. ID of the framework.

This is not the full name of the framework. This is 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
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The parent resource name, in the format organizations/{organization}/locations/{location} . Please see ConfigClient::organizationLocationName() for help formatting this field.

framework
Framework

Required. The resource being created

frameworkId
string

Required. ID of the framework. This is not the full name of the framework. This is the last part of the full name of the framework.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: