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.
997 998 999 |
# File 'lib/google/apis/ces_v1/classes.rb', line 997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Required. The description of the variable.
Corresponds to the JSON property description
984 985 986 |
# File 'lib/google/apis/ces_v1/classes.rb', line 984 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
990 991 992 |
# File 'lib/google/apis/ces_v1/classes.rb', line 990 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
995 996 997 |
# File 'lib/google/apis/ces_v1/classes.rb', line 995 def schema @schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1002 1003 1004 1005 1006 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1002 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 |