App Hub V1 API - Class Google::Cloud::AppHub::V1::Service (v0.2.0)

Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::Service.

Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attributes

def attributes() -> ::Google::Cloud::AppHub::V1::Attributes
Returns

#attributes=

def attributes=(value) -> ::Google::Cloud::AppHub::V1::Attributes
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.
Returns
  • (::String) — Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

#discovered_service

def discovered_service() -> ::String
Returns
  • (::String) — Required. Immutable. The resource name of the original discovered service.

#discovered_service=

def discovered_service=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. The resource name of the original discovered service.
Returns
  • (::String) — Required. Immutable. The resource name of the original discovered service.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
Returns
  • (::String) — Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
Returns
  • (::String) — Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

#service_properties

def service_properties() -> ::Google::Cloud::AppHub::V1::ServiceProperties
Returns

#service_reference

def service_reference() -> ::Google::Cloud::AppHub::V1::ServiceReference
Returns

#state

def state() -> ::Google::Cloud::AppHub::V1::Service::State
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns