Class: Google::Apis::NetworkmanagementV1::AbortInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/networkmanagement_v1/classes.rb,
generated/google/apis/networkmanagement_v1/representations.rb,
generated/google/apis/networkmanagement_v1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AbortInfo

Returns a new instance of AbortInfo.



39
40
41
# File 'generated/google/apis/networkmanagement_v1/classes.rb', line 39

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#causeString

Causes that the analysis is aborted. Corresponds to the JSON property cause

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/networkmanagement_v1/classes.rb', line 32

def cause
  @cause
end

#resource_uriString

URI of the resource that caused the abort. Corresponds to the JSON property resourceUri

Returns:

  • (String)


37
38
39
# File 'generated/google/apis/networkmanagement_v1/classes.rb', line 37

def resource_uri
  @resource_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'generated/google/apis/networkmanagement_v1/classes.rb', line 44

def update!(**args)
  @cause = args[:cause] if args.key?(:cause)
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
end