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.



4094
4095
4096
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4094

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



4085
4086
4087
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4085

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)


4092
4093
4094
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4092

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4099
4100
4101
4102
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 4099

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