Cloud FTP V1 API - Class Google::Cloud::Ftp::V1::InternalServerConfig::AllowedConsumer (v0.1.1)

Reference documentation and code samples for the Cloud FTP V1 API class Google::Cloud::Ftp::V1::InternalServerConfig::AllowedConsumer.

A consumer project or network that is permitted to connect to the server via PSC.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#connection_limit

def connection_limit() -> ::Integer
Returns
  • (::Integer) — Required. The connection limit for the consumer. Value must be greater than 0.

#connection_limit=

def connection_limit=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The connection limit for the consumer. Value must be greater than 0.
Returns
  • (::Integer) — Required. The connection limit for the consumer. Value must be greater than 0.

#project

def project() -> ::String
Returns
  • (::String) — The project ID or number of the consumer project. Must be in the format: projects/{project}.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — The project ID or number of the consumer project. Must be in the format: projects/{project}.
Returns
  • (::String) — The project ID or number of the consumer project. Must be in the format: projects/{project}.