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.



8749
8750
8751
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8749

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



8747
8748
8749
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8747

def folder
  @folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8754
8755
8756
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8754

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