View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent (google_api_payments_reseller_subscription v0.7.0)

Intent message for creating a Subscription resource.

Attributes

  • parent (type: String.t, default: nil) - Required. The parent resource name, which is the identifier of the partner.
  • subscription (type: GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Subscription.t, default: nil) - Required. The Subscription to be created.
  • subscriptionId (type: String.t, default: nil) - Required. Identifies the subscription resource on the Partner side. The value is restricted to 63 ASCII characters at the maximum. If a subscription was previously created with the same subscription_id, we will directly return that one.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent{
    parent: String.t() | nil,
    subscription:
      GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Subscription.t()
      | nil,
    subscriptionId: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.