Class: Google::Apis::NetworkmanagementV1beta1::AbortInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::AbortInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb
Overview
Details of the final state "abort" and associated resource.
Instance Attribute Summary collapse
-
#cause ⇒ String
Causes that the analysis is aborted.
-
#projects_missing_permission ⇒ Array<String>
List of project IDs that the user has specified in the request but does not have permission to access network configs.
-
#resource_uri ⇒ String
URI of the resource that caused the abort.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AbortInfo
constructor
A new instance of AbortInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AbortInfo
Returns a new instance of AbortInfo.
46 47 48 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 46 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cause ⇒ String
Causes that the analysis is aborted.
Corresponds to the JSON property cause
32 33 34 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 32 def cause @cause end |
#projects_missing_permission ⇒ Array<String>
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.
Corresponds to the JSON property projectsMissingPermission
39 40 41 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 39 def @projects_missing_permission end |
#resource_uri ⇒ String
URI of the resource that caused the abort.
Corresponds to the JSON property resourceUri
44 45 46 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 44 def resource_uri @resource_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51 52 53 54 55 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 51 def update!(**args) @cause = args[:cause] if args.key?(:cause) @projects_missing_permission = args[:projects_missing_permission] if args.key?(:projects_missing_permission) @resource_uri = args[:resource_uri] if args.key?(:resource_uri) end |