public sealed class PrivateOfferDocument : IMessage<PrivateOfferDocument>, IEquatable<PrivateOfferDocument>, IDeepCloneable<PrivateOfferDocument>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Commerce Producer v1beta API class PrivateOfferDocument.
Message describing the PrivateOfferDocument resource. Used to attach documents to a private offer in state DRAFT. Once a private offer is no longer in state DRAFT, the set of child documents is immutable. Existing documents cannot be updated or deleted, and new documents cannot be added.
A private offer must include a EULA, either by assigning a standard EULA or attaching a custom EULA document, or a statement of work document.
Implements
IMessagePrivateOfferDocument, IEquatablePrivateOfferDocument, IDeepCloneablePrivateOfferDocument, IBufferMessage, IMessageNamespace
Google.Cloud.CommerceProducer.V1BetaAssembly
Google.Cloud.CommerceProducer.V1Beta.dll
Constructors
PrivateOfferDocument()
public PrivateOfferDocument()PrivateOfferDocument(PrivateOfferDocument)
public PrivateOfferDocument(PrivateOfferDocument other)| Parameter | |
|---|---|
| Name | Description |
other |
PrivateOfferDocument |
Properties
ContentCase
public PrivateOfferDocument.ContentOneofCase ContentCase { get; }| Property Value | |
|---|---|
| Type | Description |
PrivateOfferDocumentContentOneofCase |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The creation time of the resource.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
DocumentType
public PrivateOfferDocument.Types.DocumentType DocumentType { get; set; }Required. The classification type of the document. Used to distinguish between different types of documents that may be attached to a private offer for different business purposes.
| Property Value | |
|---|---|
| Type | Description |
PrivateOfferDocumentTypesDocumentType |
|
HasInlineContent
public bool HasInlineContent { get; }Gets whether the "inline_content" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
InlineContent
public ByteString InlineContent { get; set; }Optional. Byte content of an unstructured document. Max size: 4MB
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
MimeType
public string MimeType { get; set; }Optional. The MIME type of the document. Used to distinguish between different document formats. Supported formats (which may be expanded in the future)
- 'application/pdf'
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Identifier. Name of the resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PrivateOfferDocumentName
public PrivateOfferDocumentName PrivateOfferDocumentName { get; set; }PrivateOfferDocumentName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
PrivateOfferDocumentName |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The last update time of the resource.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|