Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::UpdatePrivateOfferRequest.
Message for updating a PrivateOffer
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#private_offer
def private_offer() -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — Required. The resource being updated
#private_offer=
def private_offer=(value) -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOffer
Parameter
- value (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — Required. The resource being updated
Returns
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — 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.