Class Service (0.1.0)

Service(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
name str
Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}".
display_name str
Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
description str
Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.
service_reference google.cloud.apphub_v1.types.ServiceReference
Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
service_properties google.cloud.apphub_v1.types.ServiceProperties
Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
attributes google.cloud.apphub_v1.types.Attributes
Optional. Consumer provided attributes.
discovered_service str
Required. Immutable. The resource name of the original discovered service.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update time.
uid str
Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.
state google.cloud.apphub_v1.types.Service.State
Output only. Service state.

Classes

State

State(value)

Service state.

Values: STATE_UNSPECIFIED (0): Unspecified state. CREATING (1): The service is being created. ACTIVE (2): The service is ready. DELETING (3): The service is being deleted. DETACHED (4): The underlying networking resources have been deleted.