Class: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup

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

Message describing MirroringEndpointGroup object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MirroringEndpointGroup

Returns a new instance of MirroringEndpointGroup.



2612
2613
2614
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2612

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

Instance Attribute Details

#create_timeString

Output only. [Output only] Create time stamp Corresponds to the JSON property createTime

Returns:

  • (String)


2576
2577
2578
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2576

def create_time
  @create_time
end

#labelsHash<String,String>

Optional. Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


2581
2582
2583
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2581

def labels
  @labels
end

#mirroring_deployment_groupString

Required. Immutable. The Mirroring Deployment Group that this resource is connected to. Format is: projects/project/locations/global/ mirroringDeploymentGroups/mirroringDeploymentGroup` Corresponds to the JSON propertymirroringDeploymentGroup`

Returns:

  • (String)


2588
2589
2590
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2588

def mirroring_deployment_group
  @mirroring_deployment_group
end

#nameString

Immutable. Identifier. Next ID: 11 The name of the MirroringEndpointGroup. Corresponds to the JSON property name

Returns:

  • (String)


2593
2594
2595
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2593

def name
  @name
end

#reconcilingBoolean Also known as: reconciling?

Output only. Whether reconciling is in progress, recommended per https:// google.aip.dev/128. Corresponds to the JSON property reconciling

Returns:

  • (Boolean)


2599
2600
2601
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2599

def reconciling
  @reconciling
end

#stateString

Output only. Current state of the endpoint group. Corresponds to the JSON property state

Returns:

  • (String)


2605
2606
2607
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2605

def state
  @state
end

#update_timeString

Output only. [Output only] Update time stamp Corresponds to the JSON property updateTime

Returns:

  • (String)


2610
2611
2612
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2610

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2617
2618
2619
2620
2621
2622
2623
2624
2625
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2617

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @labels = args[:labels] if args.key?(:labels)
  @mirroring_deployment_group = args[:mirroring_deployment_group] if args.key?(:mirroring_deployment_group)
  @name = args[:name] if args.key?(:name)
  @reconciling = args[:reconciling] if args.key?(:reconciling)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end