Class: Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupConnectedDeploymentGroup

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

The endpoint group's view of a connected deployment group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterceptEndpointGroupConnectedDeploymentGroup

Returns a new instance of InterceptEndpointGroupConnectedDeploymentGroup.



2627
2628
2629
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2627

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

Instance Attribute Details

#locationsArray<Google::Apis::NetworksecurityV1beta1::InterceptLocation>

Output only. The list of locations where the deployment group is present. Corresponds to the JSON property locations



2618
2619
2620
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2618

def locations
  @locations
end

#nameString

Output only. The connected deployment group's resource name, for example: projects/123456789/locations/global/interceptDeploymentGroups/my-dg. See https://google.aip.dev/124. Corresponds to the JSON property name

Returns:

  • (String)


2625
2626
2627
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2625

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2632
2633
2634
2635
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2632

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