Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::Subscription.
Subscription information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_renewal_enabled
def auto_renewal_enabled() -> ::Boolean
Returns
- (::Boolean) — Whether auto renewal is enabled by user choice on current subscription. This field indicates order/subscription status after pending plan change is cancelled or rejected.
#auto_renewal_enabled=
def auto_renewal_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether auto renewal is enabled by user choice on current subscription. This field indicates order/subscription status after pending plan change is cancelled or rejected.
Returns
- (::Boolean) — Whether auto renewal is enabled by user choice on current subscription. This field indicates order/subscription status after pending plan change is cancelled or rejected.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The timestamp when the subscription ends, if applicable.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The timestamp when the subscription ends, if applicable.
Returns
- (::Google::Protobuf::Timestamp) — The timestamp when the subscription ends, if applicable.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The timestamp when the subscription begins, if applicable.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The timestamp when the subscription begins, if applicable.
Returns
- (::Google::Protobuf::Timestamp) — The timestamp when the subscription begins, if applicable.