AI-generated Key Takeaways
- 
          A PhoneNumberOperation represents the creation of a new phone number. 
- 
          Calling methods like getErrors, getResult, or isSuccessful executes the operation and creates the phone number. 
- 
          For efficiency, store operations in an array and call methods only after constructing all operations. 
- 
          The getErrors method returns a list of errors if the operation fails. 
- 
          The getResult method returns the newly created PhoneNumber if successful, or null otherwise. 
- 
          The isSuccessful method returns true if the operation was successful. 
Methods:
| Member | Type | Description | 
|---|---|---|
| getErrors() | String[] | Returns an empty array if the operation was successful, otherwise returns the list of errors encountered when trying to create the PhoneNumber. | 
| getResult() | AdsApp.PhoneNumber | Returns the newly created PhoneNumber, or nullif
the operation was unsuccessful. | 
| isSuccessful() | boolean | Returns trueif the operation was successful. | 
getErrors()
  Returns an empty array if the operation was successful, otherwise returns
the list of errors encountered when trying to create the PhoneNumber.  Return values:
| Type | Description | 
|---|---|
| String[] | The errors that occurred during the PhoneNumberOperation . | 
getResult()
  Returns the newly created PhoneNumber, or null if
the operation was unsuccessful.  Return values:
| Type | Description | 
|---|---|
| AdsApp.PhoneNumber | The PhoneNumber created by the PhoneNumberOperation. | 
isSuccessful()
  Returns true if the operation was successful.  Return values:
| Type | Description | 
|---|---|
| boolean | trueif the operation was successful. |