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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ 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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEvents
Output only. A list of event names impacting the asset.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setEvents
Output only. A list of event names impacting the asset.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getAsset
Output only. Google Cloud asset possibly impacted by the specified events.
Returns | |
---|---|
Type | Description |
Google\Cloud\ServiceHealth\V1\Asset|null |
hasAsset
clearAsset
setAsset
Output only. Google Cloud asset possibly impacted by the specified events.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ServiceHealth\V1\Asset
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. The time when the affected project was last modified.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the affected project was last modified.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |