public sealed class Project.Types.ServiceTerms : IMessage<Project.Types.ServiceTerms>, IEquatable<Project.Types.ServiceTerms>, IDeepCloneable<Project.Types.ServiceTerms>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class Project.Types.ServiceTerms.
The unique identifier of this terms of service.
Available terms:
GA_DATA_USE_TERMS: Terms for data
use. When using this as
id, the acceptable
[version][google.cloud.discoveryengine.v1.Project.ServiceTerms.version]
to provide is 2022-11-23.
The version string of the terms of service.
For acceptable values, see the comments for
[id][google.cloud.discoveryengine.v1.Project.ServiceTerms.id] above.
[[["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 documentation provides details for the \u003ccode\u003eProject.Types.ServiceTerms\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, including its inheritance, implementations, and members.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProject.Types.ServiceTerms\u003c/code\u003e class is designed to manage metadata related to the terms of service, offering properties such as \u003ccode\u003eAcceptTime\u003c/code\u003e, \u003ccode\u003eDeclineTime\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eState\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 1.6.0, with several older versions also documented, ranging back to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eId\u003c/code\u003e property allows for specifying specific terms, such as \u003ccode\u003eGA_DATA_USE_TERMS\u003c/code\u003e, which have a defined acceptable version, with the \u003ccode\u003eGA_DATA_USE_TERMS\u003c/code\u003e having an acceptable version of \u003ccode\u003e2022-11-23\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eProject.Types.ServiceTerms\u003c/code\u003e implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, to provide methods for message handling, equality checks, deep cloning, and buffer manipulation.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class Project.Types.ServiceTerms (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms) \n\n public sealed class Project.Types.ServiceTerms : IMessage\u003cProject.Types.ServiceTerms\u003e, IEquatable\u003cProject.Types.ServiceTerms\u003e, IDeepCloneable\u003cProject.Types.ServiceTerms\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class Project.Types.ServiceTerms.\n\nMetadata about the terms of service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Project.Types.ServiceTerms \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Project](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project.Types)[ServiceTerms](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Project](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project.Types)[ServiceTerms](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Project](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project.Types)[ServiceTerms](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.Project.Types.ServiceTerms), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### ServiceTerms()\n\n public ServiceTerms()\n\n### ServiceTerms(ServiceTerms)\n\n public ServiceTerms(Project.Types.ServiceTerms other)\n\nProperties\n----------\n\n### AcceptTime\n\n public Timestamp AcceptTime { get; set; }\n\nThe last time when the project agreed to the terms of service.\n\n### DeclineTime\n\n public Timestamp DeclineTime { get; set; }\n\nThe last time when the project declined or revoked the agreement to terms\nof service.\n\n### Id\n\n public string Id { get; set; }\n\nThe unique identifier of this terms of service.\nAvailable terms:\n\n- `GA_DATA_USE_TERMS`: [Terms for data\n use](https://cloud.google.com/retail/data-use-terms). When using this as `id`, the acceptable \\[version\\]\\[google.cloud.discoveryengine.v1.Project.ServiceTerms.version\\] to provide is `2022-11-23`.\n\n### State\n\n public Project.Types.ServiceTerms.Types.State State { get; set; }\n\nWhether the project has accepted/rejected the service terms or it is\nstill pending.\n\n### Version\n\n public string Version { get; set; }\n\nThe version string of the terms of service.\nFor acceptable values, see the comments for\n\\[id\\]\\[google.cloud.discoveryengine.v1.Project.ServiceTerms.id\\] above."]]