Google Cloud Security Command Center V2 Client - Class GetSimulationRequest (1.32.0)

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

Request message for getting simulation.

Simulation name can include "latest" to retrieve the latest simulation For example, "organizations/123/simulations/latest"

Generated from protobuf message google.cloud.securitycenter.v2.GetSimulationRequest

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The organization name or simulation name of this simulation Valid format: organizations/{organization}/simulations/latest organizations/{organization}/simulations/{simulation}

getName

Required. The organization name or simulation name of this simulation Valid format: organizations/{organization}/simulations/latest organizations/{organization}/simulations/{simulation}

Returns
Type Description
string

setName

Required. The organization name or simulation name of this simulation Valid format: organizations/{organization}/simulations/latest organizations/{organization}/simulations/{simulation}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The organization name or simulation name of this simulation

Valid format: organizations/{organization}/simulations/latest organizations/{organization}/simulations/{simulation} Please see Google\Cloud\SecurityCenter\V2\SecurityCenterClient::simulationName() for help formatting this field.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\GetSimulationRequest