Class: Google::Apis::ComputeV1::NetworkEndpointGroupPscData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Overview

All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkEndpointGroupPscData

Returns a new instance of NetworkEndpointGroupPscData.



24895
24896
24897
# File 'lib/google/apis/compute_v1/classes.rb', line 24895

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

Instance Attribute Details

#consumer_psc_addressString

[Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. Corresponds to the JSON property consumerPscAddress

Returns:

  • (String)


24877
24878
24879
# File 'lib/google/apis/compute_v1/classes.rb', line 24877

def consumer_psc_address
  @consumer_psc_address
end

#producer_portFixnum

The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type Corresponds to the JSON property producerPort

Returns:

  • (Fixnum)


24883
24884
24885
# File 'lib/google/apis/compute_v1/classes.rb', line 24883

def producer_port
  @producer_port
end

#psc_connection_idFixnum

[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. Corresponds to the JSON property pscConnectionId

Returns:

  • (Fixnum)


24888
24889
24890
# File 'lib/google/apis/compute_v1/classes.rb', line 24888

def psc_connection_id
  @psc_connection_id
end

#psc_connection_statusString

[Output Only] The connection status of the PSC Forwarding Rule. Corresponds to the JSON property pscConnectionStatus

Returns:

  • (String)


24893
24894
24895
# File 'lib/google/apis/compute_v1/classes.rb', line 24893

def psc_connection_status
  @psc_connection_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24900
24901
24902
24903
24904
24905
# File 'lib/google/apis/compute_v1/classes.rb', line 24900

def update!(**args)
  @consumer_psc_address = args[:consumer_psc_address] if args.key?(:consumer_psc_address)
  @producer_port = args[:producer_port] if args.key?(:producer_port)
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
  @psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
end