Class: Google::Apis::CesV1::AppVariableDeclaration
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::AppVariableDeclaration
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Defines the structure and metadata for a variable.
Instance Attribute Summary collapse
-
#description ⇒ String
Required.
-
#name ⇒ String
Required.
-
#schema ⇒ Google::Apis::CesV1::Schema
Represents a select subset of an OpenAPI 3.0 schema object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppVariableDeclaration
constructor
A new instance of AppVariableDeclaration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppVariableDeclaration
Returns a new instance of AppVariableDeclaration.
830 831 832 |
# File 'lib/google/apis/ces_v1/classes.rb', line 830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Required. The description of the variable.
Corresponds to the JSON property description
817 818 819 |
# File 'lib/google/apis/ces_v1/classes.rb', line 817 def description @description end |
#name ⇒ String
Required. The name of the variable. The name must start with a letter or
underscore and contain only letters, numbers, or underscores.
Corresponds to the JSON property name
823 824 825 |
# File 'lib/google/apis/ces_v1/classes.rb', line 823 def name @name end |
#schema ⇒ Google::Apis::CesV1::Schema
Represents a select subset of an OpenAPI 3.0 schema object.
Corresponds to the JSON property schema
828 829 830 |
# File 'lib/google/apis/ces_v1/classes.rb', line 828 def schema @schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
835 836 837 838 839 |
# File 'lib/google/apis/ces_v1/classes.rb', line 835 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @schema = args[:schema] if args.key?(:schema) end |