View Source GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1CommitmentSettings (google_api_cloud_channel v0.11.0)

Commitment settings for commitment-based offers.

Attributes

  • endTime (type: DateTime.t, default: nil) - Output only. Commitment end timestamp.
  • renewalSettings (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1RenewalSettings.t, default: nil) - Optional. Renewal settings applicable for a commitment-based Offer.
  • startTime (type: DateTime.t, default: nil) - Output only. Commitment start timestamp.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1CommitmentSettings{
  endTime: DateTime.t() | nil,
  renewalSettings:
    GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1RenewalSettings.t()
    | nil,
  startTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.