Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The creation time of the resource.
#document_type
def document_type() -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument::DocumentType- (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument::DocumentType) — 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.
#document_type=
def document_type=(value) -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument::DocumentType- value (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument::DocumentType) — 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.
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument::DocumentType) — 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.
#inline_content
def inline_content() -> ::String- (::String) — Optional. Byte content of an unstructured document. Max size: 4MB
#inline_content=
def inline_content=(value) -> ::String- value (::String) — Optional. Byte content of an unstructured document. Max size: 4MB
- (::String) — Optional. Byte content of an unstructured document. Max size: 4MB
#mime_type
def mime_type() -> ::String-
(::String) —
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'
#mime_type=
def mime_type=(value) -> ::String-
value (::String) —
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'
-
(::String) —
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'
#name
def name() -> ::String- (::String) — Identifier. Name of the resource.
#name=
def name=(value) -> ::String- value (::String) — Identifier. Name of the resource.
- (::String) — Identifier. Name of the resource.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The last update time of the resource.