Google Cloud Security Command Center V1 Client - Class GetSimulationRequest (2.0.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1 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.v1.GetSimulationRequest

Namespace

Google \ Cloud \ SecurityCenter \ V1

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\V1\SecurityCenterClient::simulationName() for help formatting this field.

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