Class: Google::Cloud::NetworkServices::V1::ServiceBinding

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

Overview

ServiceBinding can be used to:

  • Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon.
  • Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
  • Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was created.

Returns:



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'proto_docs/google/cloud/networkservices/v1/service_binding.rb', line 63

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

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

#description::String

Returns Optional. A free-text description of the resource. Max length 1024 characters.

Returns:

  • (::String)

    Optional. A free-text description of the resource. Max length 1024 characters.



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'proto_docs/google/cloud/networkservices/v1/service_binding.rb', line 63

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

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

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

Returns Optional. Set of label tags associated with the ServiceBinding resource.

Returns:

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

    Optional. Set of label tags associated with the ServiceBinding resource.



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'proto_docs/google/cloud/networkservices/v1/service_binding.rb', line 63

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

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

#name::String

Returns Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/<service_binding_name>.

Returns:

  • (::String)

    Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/<service_binding_name>.



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'proto_docs/google/cloud/networkservices/v1/service_binding.rb', line 63

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

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

#service::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Optional. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*. This field is for Service Directory integration which will be deprecated soon.

Returns:

  • (::String)

    Optional. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*. This field is for Service Directory integration which will be deprecated soon.



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'proto_docs/google/cloud/networkservices/v1/service_binding.rb', line 63

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

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

#service_id::String (readonly)

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon.

Returns:

  • (::String)

    Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon.



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'proto_docs/google/cloud/networkservices/v1/service_binding.rb', line 63

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

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

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the resource was updated.

Returns:



63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'proto_docs/google/cloud/networkservices/v1/service_binding.rb', line 63

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

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