Class: Google::Cloud::Compute::V1::NetworkEndpointGroup

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, see Network endpoint groups overview.

Defined Under Namespace

Modules: NetworkEndpointType Classes: AnnotationsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#annotations::Google::Protobuf::Map{::String => ::String}

Returns Metadata defined as annotations on the network endpoint group.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Metadata defined as annotations on the network endpoint group.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#app_engine::Google::Cloud::Compute::V1::NetworkEndpointGroupAppEngine

Returns Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

Returns:



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#cloud_function::Google::Cloud::Compute::V1::NetworkEndpointGroupCloudFunction

Returns Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

Returns:



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#cloud_run::Google::Cloud::Compute::V1::NetworkEndpointGroupCloudRun

Returns Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.

Returns:



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#creation_timestamp::String

Returns [Output Only] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#default_port::Integer

Returns The default port used if the port number is not specified in the network endpoint.

Returns:

  • (::Integer)

    The default port used if the port number is not specified in the network endpoint.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#description::String

Returns An optional description of this resource. Provide this property when you create the resource.

Returns:

  • (::String)

    An optional description of this resource. Provide this property when you create the resource.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#id::Integer

Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer)

    [Output Only] The unique identifier for the resource. This identifier is defined by the server.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#kind::String

Returns [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#name::String

Returns Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Returns:

  • (::String)

    Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#network::String

Returns The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.

Returns:

  • (::String)

    The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#network_endpoint_type::String

Returns Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.

Returns:

  • (::String)

    Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#psc_data::Google::Cloud::Compute::V1::NetworkEndpointGroupPscData



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#psc_target_service::String

Returns The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com".

Returns:

  • (::String)

    The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#region::String

Returns [Output Only] The URL of the region where the network endpoint group is located.

Returns:

  • (::String)

    [Output Only] The URL of the region where the network endpoint group is located.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

Returns [Output Only] Server-defined URL for the resource.

Returns:

  • (::String)

    [Output Only] Server-defined URL for the resource.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#size::Integer

Returns [Output only] Number of network endpoints in the network endpoint group.

Returns:

  • (::Integer)

    [Output only] Number of network endpoints in the network endpoint group.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#subnetwork::String

Returns Optional URL of the subnetwork to which all network endpoints in the NEG belong.

Returns:

  • (::String)

    Optional URL of the subnetwork to which all network endpoints in the NEG belong.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end

#zone::String

Returns [Output Only] The URL of the zone where the network endpoint group is located.

Returns:

  • (::String)

    [Output Only] The URL of the zone where the network endpoint group is located.



19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 19822

class NetworkEndpointGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
  module NetworkEndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_ENDPOINT_TYPE = 0

    # The network endpoint is represented by an IP address.
    GCE_VM_IP = 401_880_793

    # The network endpoint is represented by IP address and port pair.
    GCE_VM_IP_PORT = 501_838_375

    # The network endpoint is represented by fully qualified domain name and port.
    INTERNET_FQDN_PORT = 404_154_477

    # The network endpoint is represented by an internet IP address and port.
    INTERNET_IP_PORT = 477_719_963

    # The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
    NON_GCP_PRIVATE_IP_PORT = 336_447_968

    # The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
    PRIVATE_SERVICE_CONNECT = 48_134_724

    # The network endpoint is handled by specified serverless infrastructure.
    SERVERLESS = 270_492_508
  end
end