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
- (::Google::Cloud::AppHub::V1::Attributes) — Optional. Consumer provided attributes.
#attributes=
def attributes=(value) -> ::Google::Cloud::AppHub::V1::Attributes
Parameter
- value (::Google::Cloud::AppHub::V1::Attributes) — Optional. Consumer provided attributes.
Returns
- (::Google::Cloud::AppHub::V1::Attributes) — Optional. Consumer provided attributes.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Create time.
#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
- (::Google::Cloud::AppHub::V1::ServiceProperties) — Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
#service_reference
def service_reference() -> ::Google::Cloud::AppHub::V1::ServiceReference
Returns
- (::Google::Cloud::AppHub::V1::ServiceReference) — Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
#state
def state() -> ::Google::Cloud::AppHub::V1::Service::State
Returns
- (::Google::Cloud::AppHub::V1::Service::State) — Output only. Service state.
#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
- (::Google::Protobuf::Timestamp) — Output only. Update time.