Class: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupConnectedDeploymentGroup

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) ⇒ MirroringEndpointGroupConnectedDeploymentGroup

Returns a new instance of MirroringEndpointGroupConnectedDeploymentGroup.



4002
4003
4004
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4002

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

Instance Attribute Details

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

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



3993
3994
3995
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3993

def locations
  @locations
end

#nameString

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

Returns:

  • (String)


4000
4001
4002
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4000

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4007
4008
4009
4010
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4007

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