Class: Google::Apis::CloudsearchV1::FolderAttribute

Inherits:
Object
  • Object
show all
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

Overview

This is the content of //imapsync/folder attribute.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FolderAttribute

Returns a new instance of FolderAttribute.



9174
9175
9176
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9174

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#folderArray<Google::Apis::CloudsearchV1::Folder>

List of all IMAP folders where the message presents. Corresponds to the JSON property folder



9172
9173
9174
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9172

def folder
  @folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9179
9180
9181
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9179

def update!(**args)
  @folder = args[:folder] if args.key?(:folder)
end