Methods summary
	
		| 
			 public 
			
			
			 |  | 
	
		| 
			 public 
			array
			
			 | 
		#
		getList( )
			
Get the list of custom metadata fields indexed for the account. 
			
Get the list of custom metadata fields indexed for the account. Returns
					arraythe custom metadata fields for the account - return[] struct the individual
custom metadata field info - name string the unique identifier of the metadata
field to update - state string the current state of the metadata field, one of
"active", "delete", or "index" - view_template string Mustache template to
control how the metadata is rendered in your activity log
 
 | 
	
		| 
			 public 
			struct
			
			 | 
		#
		add( string $name, string $view_template = null )
			
Add a new custom metadata field to be indexed for the account. 
			
Add a new custom metadata field to be indexed for the account. Parameters
					$namestring$name a unique identifier for the metadata field
$view_templatestring$view_template optional Mustache template to control how the metadata is
rendered in your activity log
Returns
					structthe information saved about the new metadata field - name string the unique
identifier of the metadata field to update - state string the current state of
the metadata field, one of "active", "delete", or "index" - view_template string
Mustache template to control how the metadata is rendered in your activity log
 
 | 
	
		| 
			 public 
			struct
			
			 | 
		#
		update( string $name, string $view_template )
			
Update an existing custom metadata field. 
			
Update an existing custom metadata field. Parameters
					$namestring$name the unique identifier of the metadata field to update
$view_templatestring$view_template optional Mustache template to control how the metadata is
rendered in your activity log
Returns
					structthe information for the updated metadata field - name string the unique
identifier of the metadata field to update - state string the current state of
the metadata field, one of "active", "delete", or "index" - view_template string
Mustache template to control how the metadata is rendered in your activity log
 
 | 
	
		| 
			 public 
			struct
			
			 | 
		#
		delete( string $name )
			
Delete an existing custom metadata field. Deletion isn't instataneous, and
/metadata/list will continue to return the field until the asynchronous deletion
process is complete. 
			
Delete an existing custom metadata field. Deletion isn't instataneous, and
/metadata/list will continue to return the field until the asynchronous deletion
process is complete. Parameters
					$namestring$name the unique identifier of the metadata field to update
Returns
					structthe information for the deleted metadata field - name string the unique
identifier of the metadata field to update - state string the current state of
the metadata field, one of "active", "delete", or "index" - view_template string
Mustache template to control how the metadata is rendered in your activity log
 
 |