Google Cloud Security Command Center V2 Client - Class AwsOrganization (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class AwsOrganization.

An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.

Generated from protobuf message google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization

Namespace

Google \ Cloud \ SecurityCenter \ V2 \ AwsMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

getId

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

Returns
Type Description
string

setId

The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires "o-" followed by from 10 to 32 lowercase letters or digits.

Parameter
Name Description
var string
Returns
Type Description
$this