Class: Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallEndpointAssociation

Returns a new instance of FirewallEndpointAssociation.



552
553
554
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 552

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


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

def create_time
  @create_time
end

#firewall_endpointString

Required. The URL of the FirewallEndpoint that is being associated. Corresponds to the JSON property firewallEndpoint

Returns:

  • (String)


513
514
515
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 513

def firewall_endpoint
  @firewall_endpoint
end

#labelsHash<String,String>

Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


518
519
520
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 518

def labels
  @labels
end

#nameString

Output only. name of resource Corresponds to the JSON property name

Returns:

  • (String)


523
524
525
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 523

def name
  @name
end

#networkString

Required. The URL of the network that is being associated. Corresponds to the JSON property network

Returns:

  • (String)


528
529
530
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 528

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)


534
535
536
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 534

def reconciling
  @reconciling
end

#stateString

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

Returns:

  • (String)


540
541
542
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 540

def state
  @state
end

#tls_inspection_policyString

Optional. The URL of the TlsInspectionPolicy that is being associated. Corresponds to the JSON property tlsInspectionPolicy

Returns:

  • (String)


545
546
547
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 545

def tls_inspection_policy
  @tls_inspection_policy
end

#update_timeString

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

Returns:

  • (String)


550
551
552
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 550

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



557
558
559
560
561
562
563
564
565
566
567
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 557

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @firewall_endpoint = args[:firewall_endpoint] if args.key?(:firewall_endpoint)
  @labels = args[:labels] if args.key?(:labels)
  @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)
  @tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy)
  @update_time = args[:update_time] if args.key?(:update_time)
end