All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
CreateNote | Post /v1alpha1/{parent}/notes | Creates a new `Note`. |
CreateOccurrence | Post /v1alpha1/{parent}/occurrences | Creates a new `Occurrence`. Use this method to create `Occurrences` for a resource. |
CreateOperation | Post /v1alpha1/{parent}/operations | Creates a new `Operation`. |
GetOccurrenceNote | Get /v1alpha1/{name}/notes | Gets the `Note` attached to the given `Occurrence`. |
ListNoteOccurrences | Get /v1alpha1/{name}/occurrences | Lists `Occurrences` referencing the specified `Note`. Use this method to get all occurrences referencing your `Note` across all your customer projects. |
ListNotes | Get /v1alpha1/{parent}/notes | Lists all `Notes` for a given project. |
ListOccurrences | Get /v1alpha1/{parent}/occurrences | Lists active `Occurrences` for a given project matching the filters. |
UpdateNote | Patch /v1alpha1/{name} | Updates an existing `Note`. |
ApiNote CreateNote(ctx, parent, body) Creates a new
Note
.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
parent | string | ||
body | ApiNote |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiOccurrence CreateOccurrence(ctx, parent, body) Creates a new
Occurrence
. Use this method to createOccurrences
for a resource.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
parent | string | ||
body | ApiOccurrence |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LongrunningOperation CreateOperation(ctx, parent, body) Creates a new
Operation
.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
parent | string | ||
body | ApiCreateOperationRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiNote GetOccurrenceNote(ctx, name) Gets the
Note
attached to the givenOccurrence
.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiListNoteOccurrencesResponse ListNoteOccurrences(ctx, name, optional) Lists
Occurrences
referencing the specifiedNote
. Use this method to get all occurrences referencing yourNote
across all your customer projects.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | ||
optional | *ListNoteOccurrencesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListNoteOccurrencesOpts struct
Name | Type | Description | Notes |
---|
filter | optional.String| The filter expression. | pageSize | optional.Int32| Number of notes to return in the list. | pageToken | optional.String| Token to provide to skip to a particular spot in the list. |
ApiListNoteOccurrencesResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiListNotesResponse ListNotes(ctx, parent, optional) Lists all
Notes
for a given project.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
parent | string | ||
optional | *ListNotesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListNotesOpts struct
Name | Type | Description | Notes |
---|
filter | optional.String| The filter expression. | pageSize | optional.Int32| Number of notes to return in the list. | pageToken | optional.String| Token to provide to skip to a particular spot in the list. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiListOccurrencesResponse ListOccurrences(ctx, parent, optional) Lists active
Occurrences
for a given project matching the filters.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
parent | string | ||
optional | *ListOccurrencesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListOccurrencesOpts struct
Name | Type | Description | Notes |
---|
filter | optional.String| The filter expression. | pageSize | optional.Int32| Number of occurrences to return in the list. | pageToken | optional.String| Token to provide to skip to a particular spot in the list. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiNote UpdateNote(ctx, name, body) Updates an existing
Note
.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | ||
body | ApiNote |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]