Class: Google::Apis::NetworksecurityV1beta1::InterceptLocation

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 intercept in a specific cloud location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterceptLocation

Returns a new instance of InterceptLocation.



2539
2540
2541
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2539

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

Instance Attribute Details

#locationString

Output only. The cloud location, e.g. "us-central1-a" or "asia-south1". Corresponds to the JSON property location

Returns:

  • (String)


2532
2533
2534
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2532

def location
  @location
end

#stateString

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

Returns:

  • (String)


2537
2538
2539
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2537

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2544
2545
2546
2547
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2544

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