Class: Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb

Overview

UnitVariable describes a parameter for a Unit.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#type::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable::Type

Returns Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.

Returns:



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb', line 57

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

  # Enumeration of variable types.
  # `STRUCT` and `LIST` values should be JSON-encoded strings.
  module Type
    # Variable type is unspecified.
    TYPE_UNSPECIFIED = 0

    # Variable type is string.
    STRING = 1

    # Variable type is int.
    INT = 2

    # Variable type is bool.
    BOOL = 3

    # Variable type is struct.
    STRUCT = 4

    # Variable type is list.
    LIST = 5
  end
end

#value::String

Returns Optional. String encoded value for the variable.

Returns:

  • (::String)

    Optional. String encoded value for the variable.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb', line 57

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

  # Enumeration of variable types.
  # `STRUCT` and `LIST` values should be JSON-encoded strings.
  module Type
    # Variable type is unspecified.
    TYPE_UNSPECIFIED = 0

    # Variable type is string.
    STRING = 1

    # Variable type is int.
    INT = 2

    # Variable type is bool.
    BOOL = 3

    # Variable type is struct.
    STRUCT = 4

    # Variable type is list.
    LIST = 5
  end
end

#variable::String

Returns Required. Immutable. Name of the variable from actuation configs.

Returns:

  • (::String)

    Required. Immutable. Name of the variable from actuation configs.



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb', line 57

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

  # Enumeration of variable types.
  # `STRUCT` and `LIST` values should be JSON-encoded strings.
  module Type
    # Variable type is unspecified.
    TYPE_UNSPECIFIED = 0

    # Variable type is string.
    STRING = 1

    # Variable type is int.
    INT = 2

    # Variable type is bool.
    BOOL = 3

    # Variable type is struct.
    STRUCT = 4

    # Variable type is list.
    LIST = 5
  end
end