Class: Google::Cloud::GDCHardwareManagement::V1alpha::SubscriptionConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb

Overview

A message to store a subscription configuration.

Defined Under Namespace

Modules: SubscriptionState

Instance Attribute Summary collapse

Instance Attribute Details

#billing_id::String (readonly)

Returns Output only. The Google Cloud Billing ID that the subscription is created under.

Returns:

  • (::String)

    Output only. The Google Cloud Billing ID that the subscription is created under.



1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 1148

class SubscriptionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum to represent the state of the subscription.
  module SubscriptionState
    # State is unspecified.
    SUBSCRIPTION_STATE_UNSPECIFIED = 0

    # Active state means that the subscription has been created successfully
    # and billing is happening.
    ACTIVE = 1

    # Inactive means that the subscription has been created successfully, but
    # billing has not started yet.
    INACTIVE = 2

    # The subscription is in an erroneous state.
    ERROR = 3

    # The subscription state failed to be retrieved. This may be a transient
    # issue. The user should retry the request.
    FAILED_TO_RETRIEVE = 4

    # The subscription has been completed, because it has reached the end date.
    COMPLETED = 5
  end
end

#state::Google::Cloud::GDCHardwareManagement::V1alpha::SubscriptionConfig::SubscriptionState (readonly)

Returns Output only. The current state of the subscription.

Returns:



1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 1148

class SubscriptionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum to represent the state of the subscription.
  module SubscriptionState
    # State is unspecified.
    SUBSCRIPTION_STATE_UNSPECIFIED = 0

    # Active state means that the subscription has been created successfully
    # and billing is happening.
    ACTIVE = 1

    # Inactive means that the subscription has been created successfully, but
    # billing has not started yet.
    INACTIVE = 2

    # The subscription is in an erroneous state.
    ERROR = 3

    # The subscription state failed to be retrieved. This may be a transient
    # issue. The user should retry the request.
    FAILED_TO_RETRIEVE = 4

    # The subscription has been completed, because it has reached the end date.
    COMPLETED = 5
  end
end

#subscription_id::String (readonly)

Returns Output only. The unique identifier of the subscription.

Returns:

  • (::String)

    Output only. The unique identifier of the subscription.



1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
# File 'proto_docs/google/cloud/gdchardwaremanagement/v1alpha/resources.rb', line 1148

class SubscriptionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum to represent the state of the subscription.
  module SubscriptionState
    # State is unspecified.
    SUBSCRIPTION_STATE_UNSPECIFIED = 0

    # Active state means that the subscription has been created successfully
    # and billing is happening.
    ACTIVE = 1

    # Inactive means that the subscription has been created successfully, but
    # billing has not started yet.
    INACTIVE = 2

    # The subscription is in an erroneous state.
    ERROR = 3

    # The subscription state failed to be retrieved. This may be a transient
    # issue. The user should retry the request.
    FAILED_TO_RETRIEVE = 4

    # The subscription has been completed, because it has reached the end date.
    COMPLETED = 5
  end
end