Service(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A managed metastore service that serves metadata queries.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
hive_metastore_config |
google.cloud.metastore_v1.types.HiveMetastoreConfig
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. |
state |
google.cloud.metastore_v1.types.Service.State
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.
|
tier |
google.cloud.metastore_v1.types.Service.Tier
The tier of the service. |
maintenance_window |
google.cloud.metastore_v1.types.MaintenanceWindow
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. |
metadata_management_activity |
google.cloud.metastore_v1.types.MetadataManagementActivity
Output only. The metadata management activities of the metastore service. |
release_channel |
google.cloud.metastore_v1.types.Service.ReleaseChannel
Immutable. The release channel of the service. If unspecified, defaults to STABLE .
|
encryption_config |
google.cloud.metastore_v1.types.EncryptionConfig
Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated. |
network_config |
google.cloud.metastore_v1.types.NetworkConfig
The configuration specifying the network settings for the Dataproc Metastore service. |
database_type |
google.cloud.metastore_v1.types.Service.DatabaseType
Immutable. The database type that the Metastore service stores its data. |
telemetry_config |
google.cloud.metastore_v1.types.TelemetryConfig
The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON .
|
Classes
DatabaseType
DatabaseType(value)
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
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
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 |
ReleaseChannel
ReleaseChannel(value)
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.
State
State(value)
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.
Tier
Tier(value)
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.