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.



9238
9239
9240
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9238

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



9236
9237
9238
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9236

def folder
  @folder
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9243
9244
9245
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9243

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