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\u003eThis document provides reference information for the \u003ccode\u003eService\u003c/code\u003e class within the Google Cloud Dataproc Metastore v1 API, outlining its properties and inheritance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e class represents a managed metastore service used for serving metadata queries, with the latest version being 2.9.0 and historical versions ranging from 2.8.0 down to 1.0.0 available.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eService\u003c/code\u003e class include settings like \u003ccode\u003eDatabaseType\u003c/code\u003e, \u003ccode\u003eEncryptionConfig\u003c/code\u003e, \u003ccode\u003eNetwork\u003c/code\u003e, \u003ccode\u003ePort\u003c/code\u003e, and \u003ccode\u003eReleaseChannel\u003c/code\u003e, amongst others, allowing for specific configuration of the metastore service.\u003c/p\u003e\n"],["\u003cp\u003eThe document details both constructors for the service class, a default one and another that can be passed an instance of service to copy the data from.\u003c/p\u003e\n"],["\u003cp\u003eOutput-only properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eEndpointUri\u003c/code\u003e, \u003ccode\u003eMetadataManagementActivity\u003c/code\u003e, \u003ccode\u003eState\u003c/code\u003e, \u003ccode\u003eUid\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e are provided to give insight into the metastore service's status and history.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1 API - Class Service (2.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.Service)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.8.0/Google.Cloud.Metastore.V1.Service)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.7.0/Google.Cloud.Metastore.V1.Service)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.6.0/Google.Cloud.Metastore.V1.Service)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.5.0/Google.Cloud.Metastore.V1.Service)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.4.0/Google.Cloud.Metastore.V1.Service)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.3.0/Google.Cloud.Metastore.V1.Service)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.2.0/Google.Cloud.Metastore.V1.Service)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.1.0/Google.Cloud.Metastore.V1.Service)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.0.0/Google.Cloud.Metastore.V1.Service)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.1.0/Google.Cloud.Metastore.V1.Service)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.0.0/Google.Cloud.Metastore.V1.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 v1 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.V1/latest/Google.Cloud.Metastore.V1.Service), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.Service), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.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.V1](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1.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### 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.V1/latest/Google.Cloud.Metastore.V1.NetworkName)-typed view over the [Network](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.Service#Google_Cloud_Metastore_V1_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.V1/latest/Google.Cloud.Metastore.V1.ServiceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.Service#Google_Cloud_Metastore_V1_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."]]