Serverless VPC Access V1 API - Class Google::Cloud::VpcAccess::V1::Connector (v0.6.0)

Reference documentation and code samples for the Serverless VPC Access V1 API class Google::Cloud::VpcAccess::V1::Connector.

Definition of a Serverless VPC Access connector.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#connected_projects

def connected_projects() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. List of projects using the connector.

#ip_cidr_range

def ip_cidr_range() -> ::String
Returns
  • (::String) — The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

#ip_cidr_range=

def ip_cidr_range=(value) -> ::String
Parameter
  • value (::String) — The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.
Returns
  • (::String) — The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — Machine type of VM Instance underlying connector. Default is e2-micro

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — Machine type of VM Instance underlying connector. Default is e2-micro
Returns
  • (::String) — Machine type of VM Instance underlying connector. Default is e2-micro

#max_instances

def max_instances() -> ::Integer
Returns
  • (::Integer) — Maximum value of instances in autoscaling group underlying the connector.

#max_instances=

def max_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum value of instances in autoscaling group underlying the connector.
Returns
  • (::Integer) — Maximum value of instances in autoscaling group underlying the connector.

#max_throughput

def max_throughput() -> ::Integer
Returns
  • (::Integer) — Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

#max_throughput=

def max_throughput=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
Returns
  • (::Integer) — Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

#min_instances

def min_instances() -> ::Integer
Returns
  • (::Integer) — Minimum value of instances in autoscaling group underlying the connector.

#min_instances=

def min_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum value of instances in autoscaling group underlying the connector.
Returns
  • (::Integer) — Minimum value of instances in autoscaling group underlying the connector.

#min_throughput

def min_throughput() -> ::Integer
Returns
  • (::Integer) — Minimum throughput of the connector in Mbps. Default and min is 200.

#min_throughput=

def min_throughput=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum throughput of the connector in Mbps. Default and min is 200.
Returns
  • (::Integer) — Minimum throughput of the connector in Mbps. Default and min is 200.

#name

def name() -> ::String
Returns
  • (::String) — The resource name in the format projects/*/locations/*/connectors/*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name in the format projects/*/locations/*/connectors/*.
Returns
  • (::String) — The resource name in the format projects/*/locations/*/connectors/*.

#network

def network() -> ::String
Returns
  • (::String) — Name of a VPC network.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Name of a VPC network.
Returns
  • (::String) — Name of a VPC network.

#state

def state() -> ::Google::Cloud::VpcAccess::V1::Connector::State
Returns

#subnet

def subnet() -> ::Google::Cloud::VpcAccess::V1::Connector::Subnet
Returns

#subnet=

def subnet=(value) -> ::Google::Cloud::VpcAccess::V1::Connector::Subnet
Parameter
Returns