Google Cloud Network Management V1 Client - Class AbortInfo (1.5.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class AbortInfo.

Details of the final state "abort" and associated resource.

Generated from protobuf message google.cloud.networkmanagement.v1.AbortInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ cause int

Causes that the analysis is aborted.

↳ resource_uri string

URI of the resource that caused the abort.

↳ projects_missing_permission array

List of project IDs that the user has specified in the request but does not have permission to access network configs. Analysis is aborted in this case with the PERMISSION_DENIED cause.

getCause

Causes that the analysis is aborted.

Returns
TypeDescription
int

setCause

Causes that the analysis is aborted.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResourceUri

URI of the resource that caused the abort.

Returns
TypeDescription
string

setResourceUri

URI of the resource that caused the abort.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectsMissingPermission

List of project IDs that the user has specified in the request but does not have permission to access network configs. Analysis is aborted in this case with the PERMISSION_DENIED cause.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProjectsMissingPermission

List of project IDs that the user has specified in the request but does not have permission to access network configs. Analysis is aborted in this case with the PERMISSION_DENIED cause.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this