Class: Google::Apis::CloudsearchV1::Folder

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Folder

Returns a new instance of Folder.



8691
8692
8693
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8691

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

Instance Attribute Details

#idFixnum

Folder mapping id. Corresponds to the JSON property id

Returns:

  • (Fixnum)


8684
8685
8686
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8684

def id
  @id
end

#messageArray<Google::Apis::CloudsearchV1::ImapsyncFolderAttributeFolderMessage>

One for each copy of the message in the IMAP folder. Corresponds to the JSON property message



8689
8690
8691
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8689

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8696
8697
8698
8699
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8696

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