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.



2514
2515
2516
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2514

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



2505
2506
2507
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2505

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)


2512
2513
2514
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2512

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2519
2520
2521
2522
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2519

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