Class: Google::Apis::FtpV1::PscEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::FtpV1::PscEndpoint
- 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
-
#endpoint ⇒ String
Output only.
-
#network ⇒ String
Output only.
-
#status ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PscEndpoint
constructor
A new instance of PscEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#endpoint ⇒ String
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`
472 473 474 |
# File 'lib/google/apis/ftp_v1/classes.rb', line 472 def endpoint @endpoint end |
#network ⇒ String
Output only. The consumer network. Format: projects/project/locations/
location/networks/network`
Corresponds to the JSON propertynetwork`
478 479 480 |
# File 'lib/google/apis/ftp_v1/classes.rb', line 478 def network @network end |
#status ⇒ String
Output only. The status of the connected endpoint.
Corresponds to the JSON property status
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 |