Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::UpdatePrivateOfferDocumentRequest.
Message for updating a PrivateOfferDocument
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#private_offer_document
def private_offer_document() -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument) — Required. The resource being updated.
#private_offer_document=
def private_offer_document=(value) -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument
Parameter
- value (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument) — Required. The resource being updated.
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument) — Required. The resource being updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.
Returns
- (::Google::Protobuf::FieldMask) — Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.