Class: Google::Apis::NetworksecurityV1::MirroringEndpointGroupConnectedDeploymentGroup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1/classes.rb,
lib/google/apis/networksecurity_v1/representations.rb,
lib/google/apis/networksecurity_v1/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.



3940
3941
3942
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3940

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

Instance Attribute Details

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

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



3931
3932
3933
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3931

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)


3938
3939
3940
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3938

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3945
3946
3947
3948
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 3945

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