Class: Google::Apis::FtpV1::PscEndpoint

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

Overview

Details of PSC endpoint created by customer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PscEndpoint

Returns a new instance of PscEndpoint.



485
486
487
# File 'lib/google/apis/ftp_v1/classes.rb', line 485

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

Instance Attribute Details

#endpointString

Output only. This is a Resource name for Private Service Connect endpoint. Format: projects/project/regions/region/forwardingRules/forwarding_rule` Corresponds to the JSON propertyendpoint`

Returns:

  • (String)


472
473
474
# File 'lib/google/apis/ftp_v1/classes.rb', line 472

def endpoint
  @endpoint
end

#networkString

Output only. The consumer network. Format: projects/project/locations/ location/networks/network` Corresponds to the JSON propertynetwork`

Returns:

  • (String)


478
479
480
# File 'lib/google/apis/ftp_v1/classes.rb', line 478

def network
  @network
end

#statusString

Output only. The status of the connected endpoint. Corresponds to the JSON property status

Returns:

  • (String)


483
484
485
# File 'lib/google/apis/ftp_v1/classes.rb', line 483

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



490
491
492
493
494
# File 'lib/google/apis/ftp_v1/classes.rb', line 490

def update!(**args)
  @endpoint = args[:endpoint] if args.key?(:endpoint)
  @network = args[:network] if args.key?(:network)
  @status = args[:status] if args.key?(:status)
end