Class Service (1.15.2)

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

A managed metastore service that serves metadata queries.

.. _oneof:


Configuration information specific to running Hive metastore software as the metastore service. This field is a member of oneof_ metastore_config.
name str
Immutable. The relative resource name of the metastore service, in the following format: projects/{project_number}/locations/{location_id}/services/{service_id}.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the metastore service was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the metastore service was last updated.
labels MutableMapping[str, str]
User-defined labels for the metastore service.
network str
Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: projects/{project_number}/global/networks/{network_id}.
endpoint_uri str
Output only. The URI of the endpoint used to access the metastore service.
port int
The TCP port at which the metastore service is reached. Default: 9083.
Output only. The current state of the metastore service.
state_message str
Output only. Additional information about the current state of the metastore service, if available.
artifact_gcs_uri str
Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored.
The tier of the service.
The setting that defines how metastore metadata should be integrated with external services and systems.
The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type.
uid str
Output only. The globally unique resource identifier of the metastore service.
Output only. The metadata management activities of the metastore service.
Immutable. The release channel of the service. If unspecified, defaults to STABLE.
Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated.
The configuration specifying the network settings for the Dataproc Metastore service.
Immutable. The database type that the Metastore service stores its data.
The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON.
Scaling configuration of the metastore service.




The backend database type for the metastore service.

Values: DATABASE_TYPE_UNSPECIFIED (0): The DATABASE_TYPE is not set. MYSQL (1): MySQL is used to persist the metastore data. SPANNER (2): Spanner is used to persist the metastore data.


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

The abstract base class for a message.

kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.



Release channels bundle features of varying levels of stability. Newer features may be introduced initially into less stable release channels and can be automatically promoted into more stable release channels.

Values: RELEASE_CHANNEL_UNSPECIFIED (0): Release channel is not specified. CANARY (1): The CANARY release channel contains the newest features, which may be unstable and subject to unresolved issues with no known workarounds. Services using the CANARY release channel are not subject to any SLAs. STABLE (2): The STABLE release channel contains features that are considered stable and have been validated for production use.



The current state of the metastore service.

Values: STATE_UNSPECIFIED (0): The state of the metastore service is unknown. CREATING (1): The metastore service is in the process of being created. ACTIVE (2): The metastore service is running and ready to serve queries. SUSPENDING (3): The metastore service is entering suspension. Its query-serving availability may cease unexpectedly. SUSPENDED (4): The metastore service is suspended and unable to serve queries. UPDATING (5): The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time. DELETING (6): The metastore service is undergoing deletion. It cannot be used. ERROR (7): The metastore service has encountered an error and cannot be used. The metastore service should be deleted.



Available service tiers.

Values: TIER_UNSPECIFIED (0): The tier is not set. DEVELOPER (1): The developer tier provides limited scalability and no fault tolerance. Good for low-cost proof-of-concept. ENTERPRISE (3): The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads.