Class: Google::Cloud::VpcAccess::V1::Connector
- Inherits:
-
Object
- Object
- Google::Cloud::VpcAccess::V1::Connector
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb
Overview
Definition of a Serverless VPC Access connector.
Defined Under Namespace
Modules: State Classes: Subnet
Instance Attribute Summary collapse
-
#connected_projects ⇒ ::Array<::String>
readonly
Output only.
-
#ip_cidr_range ⇒ ::String
The range of internal addresses that follows RFC 4632 notation.
-
#machine_type ⇒ ::String
Machine type of VM Instance underlying connector.
-
#max_instances ⇒ ::Integer
Maximum value of instances in autoscaling group underlying the connector.
-
#max_throughput ⇒ ::Integer
Maximum throughput of the connector in Mbps.
-
#min_instances ⇒ ::Integer
Minimum value of instances in autoscaling group underlying the connector.
-
#min_throughput ⇒ ::Integer
Minimum throughput of the connector in Mbps.
-
#name ⇒ ::String
The resource name in the format
projects/*/locations/*/connectors/*
. -
#network ⇒ ::String
Name of a VPC network.
-
#state ⇒ ::Google::Cloud::VpcAccess::V1::Connector::State
readonly
Output only.
-
#subnet ⇒ ::Google::Cloud::VpcAccess::V1::Connector::Subnet
The subnet in which to house the VPC Access Connector.
Instance Attribute Details
#connected_projects ⇒ ::Array<::String> (readonly)
Returns Output only. List of projects using the connector.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#ip_cidr_range ⇒ ::String
Returns The range of internal addresses that follows RFC 4632 notation.
Example: 10.132.0.0/28
.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#machine_type ⇒ ::String
Returns Machine type of VM Instance underlying connector. Default is e2-micro.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#max_instances ⇒ ::Integer
Returns Maximum value of instances in autoscaling group underlying the connector.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#max_throughput ⇒ ::Integer
Returns Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#min_instances ⇒ ::Integer
Returns Minimum value of instances in autoscaling group underlying the connector.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#min_throughput ⇒ ::Integer
Returns Minimum throughput of the connector in Mbps. Default and min is 200.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#name ⇒ ::String
Returns The resource name in the format projects/*/locations/*/connectors/*
.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#network ⇒ ::String
Returns Name of a VPC network.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#state ⇒ ::Google::Cloud::VpcAccess::V1::Connector::State (readonly)
Returns Output only. State of the VPC access connector.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |
#subnet ⇒ ::Google::Cloud::VpcAccess::V1::Connector::Subnet
Returns The subnet in which to house the VPC Access Connector.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb', line 59 class Connector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The subnet in which to house the connector # @!attribute [rw] name # @return [::String] # Subnet name (relative, not fully qualified). # E.g. if the full subnet selfLink is # https://compute.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetName} # the correct input for this field would be \\{subnetName} # @!attribute [rw] project_id # @return [::String] # Project in which the subnet exists. # If not set, this project is assumed to be the project for which # the connector create request was issued. class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # State of a connector. module State # Invalid state. STATE_UNSPECIFIED = 0 # Connector is deployed and ready to receive traffic. READY = 1 # An Insert operation is in progress. Transient condition. CREATING = 2 # A Delete operation is in progress. Transient condition. DELETING = 3 # Connector is in a bad state, manual deletion recommended. ERROR = 4 # The connector is being updated. UPDATING = 5 end end |