Google Cloud Service Health V1 Client - Class OrganizationImpact (0.1.0)

Reference documentation and code samples for the Google Cloud Service Health V1 Client class OrganizationImpact.

Represents impact to assets at organizational level. It is a read-only view and does not allow any modifications.

Generated from protobuf message google.cloud.servicehealth.v1.OrganizationImpact

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Identifier. Unique name of the organization impact in this scope including organization and location using the form organizations/{organization_id}/locations/{location}/organizationImpacts/{organization_impact_id}. organization_id - ID (number) of the organization that contains the event. To get your organization_id, see Getting your organization resource ID.
organization_impact_id - ID of the OrganizationImpact resource.

↳ events array

Output only. A list of event names impacting the asset.

↳ asset Google\Cloud\ServiceHealth\V1\Asset

Output only. Google Cloud asset possibly impacted by the specified events.

↳ update_time Google\Protobuf\Timestamp

Output only. The time when the affected project was last modified.

getName

Output only. Identifier. Unique name of the organization impact in this scope including organization and location using the form organizations/{organization_id}/locations/{location}/organizationImpacts/{organization_impact_id}.

organization_id - ID (number) of the organization that contains the event. To get your organization_id, see Getting your organization resource ID.
organization_impact_id - ID of the OrganizationImpact resource.

Returns
TypeDescription
string

setName

Output only. Identifier. Unique name of the organization impact in this scope including organization and location using the form organizations/{organization_id}/locations/{location}/organizationImpacts/{organization_impact_id}.

organization_id - ID (number) of the organization that contains the event. To get your organization_id, see Getting your organization resource ID.
organization_impact_id - ID of the OrganizationImpact resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEvents

Output only. A list of event names impacting the asset.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEvents

Output only. A list of event names impacting the asset.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAsset

Output only. Google Cloud asset possibly impacted by the specified events.

Returns
TypeDescription
Google\Cloud\ServiceHealth\V1\Asset|null

hasAsset

clearAsset

setAsset

Output only. Google Cloud asset possibly impacted by the specified events.

Parameter
NameDescription
var Google\Cloud\ServiceHealth\V1\Asset
Returns
TypeDescription
$this

getUpdateTime

Output only. The time when the affected project was last modified.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the affected project was last modified.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this