Class: Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation

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 MirroringEndpointGroupAssociation object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MirroringEndpointGroupAssociation

Returns a new instance of MirroringEndpointGroupAssociation.



3165
3166
3167
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3165

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)


3118
3119
3120
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3118

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


3123
3124
3125
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3123

def labels
  @labels
end

#locations_detailsArray<Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociationLocationDetails>

Output only. The list of locations that this association is in and its details. Corresponds to the JSON property locationsDetails



3128
3129
3130
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3128

def locations_details
  @locations_details
end

#mirroring_endpoint_groupString

Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format is: projects/project/locations/global/ mirroringEndpointGroups/mirroringEndpointGroup` Corresponds to the JSON propertymirroringEndpointGroup`

Returns:

  • (String)


3135
3136
3137
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3135

def mirroring_endpoint_group
  @mirroring_endpoint_group
end

#nameString

Immutable. Identifier. The name of the MirroringEndpointGroupAssociation. Corresponds to the JSON property name

Returns:

  • (String)


3140
3141
3142
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3140

def name
  @name
end

#networkString

Required. Immutable. The VPC network associated. Format: projects/project/ global/networks/network. Corresponds to the JSON property network

Returns:

  • (String)


3146
3147
3148
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3146

def network
  @network
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)


3152
3153
3154
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3152

def reconciling
  @reconciling
end

#stateString

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

Returns:

  • (String)


3158
3159
3160
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3158

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


3163
3164
3165
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3163

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 3170

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @labels = args[:labels] if args.key?(:labels)
  @locations_details = args[:locations_details] if args.key?(:locations_details)
  @mirroring_endpoint_group = args[:mirroring_endpoint_group] if args.key?(:mirroring_endpoint_group)
  @name = args[:name] if args.key?(:name)
  @network = args[:network] if args.key?(:network)
  @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