Liking cljdoc? Tell your friends :D

happygapi.containeranalysis.providers

Container Analysis API: providers. An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts. See: https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers

Container Analysis API: providers.
An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.
See: https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers
raw docstring

notes-create$clj

(notes-create$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/create

Required parameters: name

Optional parameters: parent, noteId

Body:

{:vulnerabilityType {:cvssScore number, :severity string, :details [Detail]}, :relatedUrl [{:label string, :url string}], :package {:name string, :distribution [Distribution]}, :buildType {:signature BuildSignature, :builderVersion string}, :discovery {:analysisKind string}, :deployable {:resourceUri [string]}, :expirationTime string, :name string, :createTime string, :updateTime string, :attestationAuthority {:hint AttestationAuthorityHint}, :shortDescription string, :upgrade {:distributions [UpgradeDistribution], :package string, :version Version}, :baseImage {:resourceUrl string, :fingerprint Fingerprint}, :kind string, :longDescription string}

Creates a new Note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/create

Required parameters: name

Optional parameters: parent, noteId

Body: 

{:vulnerabilityType {:cvssScore number,
                     :severity string,
                     :details [Detail]},
 :relatedUrl [{:label string, :url string}],
 :package {:name string, :distribution [Distribution]},
 :buildType {:signature BuildSignature, :builderVersion string},
 :discovery {:analysisKind string},
 :deployable {:resourceUri [string]},
 :expirationTime string,
 :name string,
 :createTime string,
 :updateTime string,
 :attestationAuthority {:hint AttestationAuthorityHint},
 :shortDescription string,
 :upgrade {:distributions [UpgradeDistribution],
           :package string,
           :version Version},
 :baseImage {:resourceUrl string, :fingerprint Fingerprint},
 :kind string,
 :longDescription string}

Creates a new `Note`.
sourceraw docstring

notes-delete$clj

(notes-delete$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/delete

Required parameters: name

Optional parameters: none

Deletes the given Note from the system.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/delete

Required parameters: name

Optional parameters: none

Deletes the given `Note` from the system.
sourceraw docstring

notes-get$clj

(notes-get$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/get

Required parameters: name

Optional parameters: none

Returns the requested Note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/get

Required parameters: name

Optional parameters: none

Returns the requested `Note`.
sourceraw docstring

notes-getIamPolicy$clj

(notes-getIamPolicy$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a note or an Occurrence resource. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a PERMISSION_DENIED error. Attempting to call this method on a non-existent resource will result in a NOT_FOUND error if the user has list permission on the project, or a PERMISSION_DENIED error otherwise. The resource takes the following formats: projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID} for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
sourceraw docstring

notes-list$clj

(notes-list$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/list

Required parameters: name

Optional parameters: pageToken, parent, pageSize, filter

Lists all Notes for a given project.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/list

Required parameters: name

Optional parameters: pageToken, parent, pageSize, filter

Lists all `Notes` for a given project.
sourceraw docstring

notes-occurrences-list$clj

(notes-occurrences-list$ auth parameters)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/occurrences/list

Required parameters: name

Optional parameters: pageSize, filter, pageToken

Lists Occurrences referencing the specified Note. Use this method to get all occurrences referencing your Note across all your customer projects.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/occurrences/list

Required parameters: name

Optional parameters: pageSize, filter, pageToken

Lists `Occurrences` referencing the specified `Note`. Use this method to get all occurrences referencing your `Note` across all your customer projects.
sourceraw docstring

notes-patch$clj

(notes-patch$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:vulnerabilityType {:cvssScore number, :severity string, :details [Detail]}, :relatedUrl [{:label string, :url string}], :package {:name string, :distribution [Distribution]}, :buildType {:signature BuildSignature, :builderVersion string}, :discovery {:analysisKind string}, :deployable {:resourceUri [string]}, :expirationTime string, :name string, :createTime string, :updateTime string, :attestationAuthority {:hint AttestationAuthorityHint}, :shortDescription string, :upgrade {:distributions [UpgradeDistribution], :package string, :version Version}, :baseImage {:resourceUrl string, :fingerprint Fingerprint}, :kind string, :longDescription string}

Updates an existing Note.

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:vulnerabilityType {:cvssScore number,
                     :severity string,
                     :details [Detail]},
 :relatedUrl [{:label string, :url string}],
 :package {:name string, :distribution [Distribution]},
 :buildType {:signature BuildSignature, :builderVersion string},
 :discovery {:analysisKind string},
 :deployable {:resourceUri [string]},
 :expirationTime string,
 :name string,
 :createTime string,
 :updateTime string,
 :attestationAuthority {:hint AttestationAuthorityHint},
 :shortDescription string,
 :upgrade {:distributions [UpgradeDistribution],
           :package string,
           :version Version},
 :baseImage {:resourceUrl string, :fingerprint Fingerprint},
 :kind string,
 :longDescription string}

Updates an existing `Note`.
sourceraw docstring

notes-setIamPolicy$clj

(notes-setIamPolicy$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:version integer, :etag string, :bindings [Binding]}}

Sets the access control policy on the specified Note or Occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a Note or an Occurrence, respectively. Attempting to call this method without these permissions will result in a PERMISSION_DENIEDerror. Attempting to call this method on a non-existent resource will result in aNOT_FOUNDerror if the user hascontaineranalysis.notes.listpermission on aNoteorcontaineranalysis.occurrences.liston anOccurrence, or aPERMISSION_DENIEDerror otherwise. The resource takes the following formats:projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:version integer, :etag string, :bindings [Binding]}}

Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes
sourceraw docstring

notes-testIamPermissions$clj

(notes-testIamPermissions$ auth parameters body)

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, "storage.objects.list" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a NOT_FOUND error if the user has list permission on the project, or a PERMISSION_DENIED error otherwise. The resource takes the following formats: projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID} for Occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for Notes

https://cloud.google.com/container-analysis/api/reference/rest/api/reference/rest/v1alpha1/providers/notes/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, "storage.objects.list" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close