Class: Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociationLocationDetails

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

Overview

Details about the association status in a specific cloud location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterceptEndpointGroupAssociationLocationDetails

Returns a new instance of InterceptEndpointGroupAssociationLocationDetails.



2097
2098
2099
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2097

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

Instance Attribute Details

#locationString

Output only. The cloud location. Corresponds to the JSON property location

Returns:

  • (String)


2090
2091
2092
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2090

def location
  @location
end

#stateString

Output only. The association state in this location. Corresponds to the JSON property state

Returns:

  • (String)


2095
2096
2097
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2095

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2102
2103
2104
2105
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2102

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