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 v1beta 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.v1beta.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.v1beta.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 document provides reference information for the \u003ccode\u003eProject.Types.ServiceTerms\u003c/code\u003e class within the Discovery Engine v1beta API, detailing its properties, constructors, inheritance, and implementation of various interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProject.Types.ServiceTerms\u003c/code\u003e class is used to store metadata regarding the terms of service, including acceptance and decline times.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eServiceTerms\u003c/code\u003e class include \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, which respectively represent the acceptance time, decline time, unique identifier, state, and version of the terms of service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceTerms\u003c/code\u003e class offers two constructors: a default constructor and one that accepts another \u003ccode\u003eServiceTerms\u003c/code\u003e object for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message handling, comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class Project.Types.ServiceTerms (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project.Types)[ServiceTerms](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project.Types.ServiceTerms), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Project](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project.Types)[ServiceTerms](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Project.Types)[ServiceTerms](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.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.v1beta.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.v1beta.Project.ServiceTerms.id\\] above."]]