public MaintenanceWindow MaintenanceWindow { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e class in the Google.Cloud.Metastore.V1Alpha API represents a managed metastore service that handles metadata queries, and it's accessible via the latest version, 2.0.0-alpha11.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows configuration of various aspects of the metastore, such as database type, encryption, network settings, and maintenance window.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e class has output-only properties that show the service's current state, creation time, update time, endpoint URI, and a globally unique identifier (UID).\u003c/p\u003e\n"],["\u003cp\u003eIt has properties for setting up the configuration of the Hive metastore software, the network settings for the Dataproc metastore service and telemetry settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e object supports labels, which allow user-defined metadata to be associated with the service and the data type for this service can be determined to either be SPANNER or MYSQL.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1alpha API - Class Service (2.0.0-alpha11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.Service)\n- [2.0.0-alpha10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/2.0.0-alpha10/Google.Cloud.Metastore.V1Alpha.Service)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/1.0.0-alpha04/Google.Cloud.Metastore.V1Alpha.Service) \n\n public sealed class Service : IMessage\u003cService\u003e, IEquatable\u003cService\u003e, IDeepCloneable\u003cService\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1alpha API class Service.\n\nA managed metastore service that serves metadata queries. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Service \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.Service), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.Service), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.Service), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Metastore.V1Alpha](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Alpha.dll\n\nConstructors\n------------\n\n### Service()\n\n public Service()\n\n### Service(Service)\n\n public Service(Service other)\n\nProperties\n----------\n\n### ArtifactGcsUri\n\n public string ArtifactGcsUri { get; set; }\n\nOutput only. A Cloud Storage URI (starting with `gs://`) that specifies\nwhere artifacts related to the metastore service are stored.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time when the metastore service was created.\n\n### DatabaseType\n\n public Service.Types.DatabaseType DatabaseType { get; set; }\n\nImmutable. The database type that the Metastore service stores its data.\n\n### EncryptionConfig\n\n public EncryptionConfig EncryptionConfig { get; set; }\n\nImmutable. Information used to configure the Dataproc Metastore service to\nencrypt customer data at rest. Cannot be updated.\n\n### EndpointUri\n\n public string EndpointUri { get; set; }\n\nOutput only. The URI of the endpoint used to access the metastore service.\n\n### HiveMetastoreConfig\n\n public HiveMetastoreConfig HiveMetastoreConfig { get; set; }\n\nConfiguration information specific to running Hive metastore\nsoftware as the metastore service.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nUser-defined labels for the metastore service.\n\n### MaintenanceWindow\n\n public MaintenanceWindow MaintenanceWindow { get; set; }\n\nThe one hour maintenance window of the metastore service. This specifies\nwhen the service can be restarted for maintenance purposes in UTC time.\nMaintenance window is not needed for services with the SPANNER\ndatabase type.\n\n### MetadataIntegration\n\n public MetadataIntegration MetadataIntegration { get; set; }\n\nThe setting that defines how metastore metadata should be integrated with\nexternal services and systems.\n\n### MetadataManagementActivity\n\n public MetadataManagementActivity MetadataManagementActivity { get; set; }\n\nOutput only. The metadata management activities of the metastore service.\n\n### MetastoreConfigCase\n\n public Service.MetastoreConfigOneofCase MetastoreConfigCase { get; }\n\n### Name\n\n public string Name { get; set; }\n\nImmutable. The relative resource name of the metastore service, in the\nfollowing format:\n\n`projects/{project_number}/locations/{location_id}/services/{service_id}`.\n\n### Network\n\n public string Network { get; set; }\n\nImmutable. The relative resource name of the VPC network on which the\ninstance can be accessed. It is specified in the following form:\n\n`projects/{project_number}/global/networks/{network_id}`.\n\n### NetworkAsNetworkName\n\n public NetworkName NetworkAsNetworkName { get; set; }\n\n[NetworkName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.NetworkName)-typed view over the [Network](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.Service#Google_Cloud_Metastore_V1Alpha_Service_Network) resource name property.\n\n### NetworkConfig\n\n public NetworkConfig NetworkConfig { get; set; }\n\nThe configuration specifying the network settings for the\nDataproc Metastore service.\n\n### Port\n\n public int Port { get; set; }\n\nThe TCP port at which the metastore service is reached. Default: 9083.\n\n### ReleaseChannel\n\n public Service.Types.ReleaseChannel ReleaseChannel { get; set; }\n\nImmutable. The release channel of the service.\nIf unspecified, defaults to `STABLE`.\n\n### ScalingConfig\n\n public ScalingConfig ScalingConfig { get; set; }\n\nScaling configuration of the metastore service.\n\n### ServiceName\n\n public ServiceName ServiceName { get; set; }\n\n[ServiceName](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.ServiceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.Service#Google_Cloud_Metastore_V1Alpha_Service_Name) resource name property.\n\n### State\n\n public Service.Types.State State { get; set; }\n\nOutput only. The current state of the metastore service.\n\n### StateMessage\n\n public string StateMessage { get; set; }\n\nOutput only. Additional information about the current state of the\nmetastore service, if available.\n\n### TelemetryConfig\n\n public TelemetryConfig TelemetryConfig { get; set; }\n\nThe configuration specifying telemetry settings for the Dataproc Metastore\nservice. If unspecified defaults to `JSON`.\n\n### Tier\n\n public Service.Types.Tier Tier { get; set; }\n\nThe tier of the service.\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. The globally unique resource identifier of the metastore\nservice.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The time when the metastore service was last updated."]]