Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a new note for an issue.
Delete a note by its name.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List all notes for a certain issue, sorted in descending order by timestamp.
Retrieves the next page of results.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a new note for an issue.
Args:
parent: string, Required. The parent resource where this note will be created. Format: "projects/{project}/apps/{app}/issues/{issue}". (required)
body: object, The request body.
The object takes the form of:
{ # Developer notes for an issue.
"author": "A String", # Output only. The email of the author of the note.
"body": "A String", # Immutable. The body of the note.
"createTime": "A String", # Output only. Time when the note was created.
"name": "A String", # Output only. Identifier. Format: "projects/{project}/apps/app/issues/{issue}/notes/{note}".
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Developer notes for an issue.
"author": "A String", # Output only. The email of the author of the note.
"body": "A String", # Immutable. The body of the note.
"createTime": "A String", # Output only. Time when the note was created.
"name": "A String", # Output only. Identifier. Format: "projects/{project}/apps/app/issues/{issue}/notes/{note}".
}
delete(name, x__xgafv=None)
Delete a note by its name.
Args:
name: string, Required. The name of the note to delete. Format: projects/{project}/apps/{app}/issues/{issue}/notes/{note}. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List all notes for a certain issue, sorted in descending order by timestamp.
Args:
parent: string, Required. The issue the notes belongs to. Format: "projects/{project}/apps/{app}/issues/{issue}". (required)
pageSize: integer, Optional. The maximum number of notes per page. If omitted, defaults to 10.
pageToken: string, Optional. A page token, received from a previous calls.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for the ListNotes method.
"nextPageToken": "A String", # A pagination token to retrieve the next page of notes. If this field is not present, there are no subsequent notes.
"notes": [ # Returns notes ordered descending by the timestamp.
{ # Developer notes for an issue.
"author": "A String", # Output only. The email of the author of the note.
"body": "A String", # Immutable. The body of the note.
"createTime": "A String", # Output only. Time when the note was created.
"name": "A String", # Output only. Identifier. Format: "projects/{project}/apps/app/issues/{issue}/notes/{note}".
},
],
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.