Class: Google::Apis::NetworksecurityV1beta1::FirewallEndpoint

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallEndpoint

Returns a new instance of FirewallEndpoint.



508
509
510
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 508

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

Instance Attribute Details

#associated_networksArray<String>

Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/project/global/networks/name. Corresponds to the JSON property associatedNetworks

Returns:

  • (Array<String>)


457
458
459
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 457

def associated_networks
  @associated_networks
end

#associationsArray<Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociationReference>

Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured. Corresponds to the JSON property associations



464
465
466
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 464

def associations
  @associations
end

#billing_project_idString

Required. Project to bill on endpoint uptime usage. Corresponds to the JSON property billingProjectId

Returns:

  • (String)


469
470
471
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 469

def billing_project_id
  @billing_project_id
end

#create_timeString

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

Returns:

  • (String)


474
475
476
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 474

def create_time
  @create_time
end

#descriptionString

Optional. Description of the firewall endpoint. Max length 2048 characters. Corresponds to the JSON property description

Returns:

  • (String)


479
480
481
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 479

def description
  @description
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


484
485
486
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 484

def labels
  @labels
end

#nameString

Immutable. Identifier. name of resource Corresponds to the JSON property name

Returns:

  • (String)


489
490
491
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 489

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)


495
496
497
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 495

def reconciling
  @reconciling
end

#stateString

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

Returns:

  • (String)


501
502
503
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 501

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


506
507
508
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 506

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



513
514
515
516
517
518
519
520
521
522
523
524
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 513

def update!(**args)
  @associated_networks = args[:associated_networks] if args.key?(:associated_networks)
  @associations = args[:associations] if args.key?(:associations)
  @billing_project_id = args[:billing_project_id] if args.key?(:billing_project_id)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @labels = args[:labels] if args.key?(:labels)
  @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