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.
1005 1006 1007 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Required. The description of the variable.
Corresponds to the JSON property description
992 993 994 |
# File 'lib/google/apis/ces_v1/classes.rb', line 992 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
998 999 1000 |
# File 'lib/google/apis/ces_v1/classes.rb', line 998 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
1003 1004 1005 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1003 def schema @schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1010 1011 1012 1013 1014 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1010 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 |