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 documentation for the \u003ccode\u003eService\u003c/code\u003e class within the Dataproc Metastore v1beta API, which is a managed service for serving metadata queries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eService\u003c/code\u003e class represents a managed metastore service and is implemented as a sealed class that inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe service can be configured with several properties such as \u003ccode\u003eDatabaseType\u003c/code\u003e, \u003ccode\u003eEncryptionConfig\u003c/code\u003e, \u003ccode\u003eHiveMetastoreConfig\u003c/code\u003e, \u003ccode\u003eNetworkConfig\u003c/code\u003e, \u003ccode\u003eScalingConfig\u003c/code\u003e, and \u003ccode\u003eTelemetryConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eEndpointUri\u003c/code\u003e for accessing the service, \u003ccode\u003eCreateTime\u003c/code\u003e and \u003ccode\u003eUpdateTime\u003c/code\u003e for tracking changes, and \u003ccode\u003eState\u003c/code\u003e for monitoring the current status, and the service also supports user-defined \u003ccode\u003eLabels\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this service available, with the latest version being 2.0.0-beta11.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class Service (2.0.0-beta11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Service)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.Service)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Service), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Service), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Service](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Beta.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.V1Beta/latest/Google.Cloud.Metastore.V1Beta.NetworkName)-typed view over the [Network](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Service#Google_Cloud_Metastore_V1Beta_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.V1Beta/latest/Google.Cloud.Metastore.V1Beta.ServiceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Service#Google_Cloud_Metastore_V1Beta_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."]]