Class: Google::Apis::CloudsearchV1::Folder
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Folder
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
Folder mapping id.
-
#message ⇒ Array<Google::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessage>
One for each copy of the message in the IMAP folder.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Folder
constructor
A new instance of Folder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Folder
Returns a new instance of Folder.
9154 9155 9156 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9154 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
Folder mapping id.
Corresponds to the JSON property id
9147 9148 9149 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9147 def id @id end |
#message ⇒ Array<Google::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessage>
One for each copy of the message in the IMAP folder.
Corresponds to the JSON property message
9152 9153 9154 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9152 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9159 9160 9161 9162 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9159 def update!(**args) @id = args[:id] if args.key?(:id) @message = args[:message] if args.key?(:message) end |