Updates the specified occurrence.

Scopes

You will need authorization for the https://www.googleapis.com/auth/cloud-platform scope to make a valid call.

If unset, the scope for this method defaults to https://www.googleapis.com/auth/cloud-platform. You can set the scope for this method like this: containeranalysis1-beta1 --scope <scope> projects occurrences-patch ...

Required Scalar Argument

  • <name> (string)
    • Required. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

Required Request Value

The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure. In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.

For example, a structure like this:

Occurrence:
  attestation:
    attestation:
      generic-signed-attestation:
        content-type: string
        serialized-payload: string
      pgp-signed-attestation:
        content-type: string
        pgp-key-id: string
        signature: string
  build:
    in-toto-slsa-provenance-v1:
      -type: string
      predicate:
        build-definition:
          build-type: string
        run-details:
          builder:
            id: string
            version: { string: string }
          metadata:
            finished-on: string
            invocation-id: string
            started-on: string
      predicate-type: string
    provenance:
      build-options: { string: string }
      builder-version: string
      create-time: string
      creator: string
      end-time: string
      id: string
      logs-uri: string
      project-id: string
      source-provenance:
        artifact-storage-source-uri: string
        context:
          cloud-repo:
            alias-context:
              kind: string
              name: string
            repo-id:
              project-repo-id:
                project-id: string
                repo-name: string
              uid: string
            revision-id: string
          gerrit:
            alias-context:
              kind: string
              name: string
            gerrit-project: string
            host-uri: string
            revision-id: string
          git:
            revision-id: string
            url: string
          labels: { string: string }
      start-time: string
      trigger-id: string
    provenance-bytes: string
  create-time: string
  deployment:
    deployment:
      address: string
      config: string
      deploy-time: string
      platform: string
      resource-uri: [string]
      undeploy-time: string
      user-email: string
  derived-image:
    derived-image:
      base-resource-url: string
      distance: integer
      fingerprint:
        v1-name: string
        v2-blob: [string]
        v2-name: string
  discovered:
    discovered:
      analysis-completed:
        analysis-type: [string]
      analysis-status: string
      analysis-status-error:
        code: integer
        message: string
      continuous-analysis: string
      last-analysis-time: string
      last-scan-time: string
      sbom-status:
        error: string
        sbom-state: string
  envelope:
    payload: string
    payload-type: string
  installation:
    installation:
      architecture: string
      cpe-uri: string
      license:
        comments: string
        expression: string
      name: string
      package-type: string
      version:
        epoch: integer
        inclusive: boolean
        kind: string
        name: string
        revision: string
  intoto:
    signed:
      byproducts:
        custom-values: { string: string }
      command: [string]
      environment:
        custom-values: { string: string }
  kind: string
  name: string
  note-name: string
  remediation: string
  resource:
    content-hash:
      type: string
      value: string
    name: string
    uri: string
  sbom:
    create-time: string
    creator-comment: string
    creators: [string]
    document-comment: string
    external-document-refs: [string]
    id: string
    license-list-version: string
    namespace: string
    title: string
  sbom-reference:
    payload:
      -type: string
      predicate:
        digest: { string: string }
        location: string
        mime-type: string
        referrer-id: string
      predicate-type: string
    payload-type: string
  spdx-file:
    attributions: [string]
    comment: string
    contributors: [string]
    copyright: string
    files-license-info: [string]
    id: string
    license-concluded:
      comments: string
      expression: string
    notice: string
  spdx-package:
    comment: string
    filename: string
    home-page: string
    id: string
    license-concluded:
      comments: string
      expression: string
    package-type: string
    source-info: string
    summary-description: string
    title: string
    version: string
  spdx-relationship:
    comment: string
    source: string
    target: string
    type: string
  update-time: string
  vulnerability:
    cvss-score: number
    cvss-v2:
      attack-complexity: string
      attack-vector: string
      authentication: string
      availability-impact: string
      base-score: number
      confidentiality-impact: string
      exploitability-score: number
      impact-score: number
      integrity-impact: string
      privileges-required: string
      scope: string
      user-interaction: string
    cvss-v3:
      attack-complexity: string
      attack-vector: string
      authentication: string
      availability-impact: string
      base-score: number
      confidentiality-impact: string
      exploitability-score: number
      impact-score: number
      integrity-impact: string
      privileges-required: string
      scope: string
      user-interaction: string
    cvss-version: string
    effective-severity: string
    extra-details: string
    long-description: string
    severity: string
    short-description: string
    type: string
    vex-assessment:
      cve: string
      impacts: [string]
      justification:
        details: string
        justification-type: string
      note-name: string
      state: string
      vulnerability-id: string

can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.

  • -r .attestation.attestation.generic-signed-attestation content-type=invidunt
    • Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
  • serialized-payload=sea

    • The serialized payload that is verified by one or more signatures. The encoding and semantic meaning of this payload must match what is set in content_type.
  • ..pgp-signed-attestation content-type=duo

    • Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
  • pgp-key-id=sea
    • The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. gpg --list-keys. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge "LONG", "SHORT", or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the fpr field returned when calling --list-keys with --with-colons. For example: gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys attester@example.com tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: Above, the fingerprint is 24FF6481B76AC91E66A00AC657A93A81EF3AE6FB.
  • signature=stet

    • Required. The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (--armor to gpg), non-clearsigned (--sign rather than --clearsign to gpg) are supported. Concretely, gpg --sign --armor --output=signature.gpg payload.json will create the signature content expected in this field in signature.gpg for the payload.json attestation payload.
  • ....build.in-toto-slsa-provenance-v1 -type=sadipscing

    • InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
  • predicate.build-definition build-type=no

    • No description provided.
  • ..run-details.builder id=tempor

    • No description provided.
  • version=key=ipsum

    • No description provided.
    • the value will be associated with the given key
  • ..metadata finished-on=sea

    • No description provided.
  • invocation-id=sit
    • No description provided.
  • started-on=amet.

    • No description provided.
  • .... predicate-type=ipsum

    • No description provided.
  • ..provenance build-options=key=at

    • Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
    • the value will be associated with the given key
  • builder-version=vero
    • Version string of the builder at the time this build was executed.
  • create-time=takimata
    • Time at which the build was created.
  • creator=gubergren
    • E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
  • end-time=et
    • Time at which execution of the build was finished.
  • id=invidunt
    • Required. Unique identifier of the build.
  • logs-uri=magna
    • URI where any logs for this provenance were written.
  • project-id=sit
    • ID of the project.
  • source-provenance artifact-storage-source-uri=gubergren
    • If provided, the input binary artifacts for the build came from this location.
  • context.cloud-repo.alias-context kind=elitr
    • The alias kind.
  • name=ipsum

    • The alias name.
  • ..repo-id.project-repo-id project-id=kasd

    • The ID of the project.
  • repo-name=dolore

    • The name of the repo. Leave empty for the default repo.
  • .. uid=lorem

    • A server-assigned, globally unique identifier.
  • .. revision-id=amet

    • A revision ID.
  • ..gerrit.alias-context kind=ipsum

    • The alias kind.
  • name=lorem

    • The alias name.
  • .. gerrit-project=dolores

    • The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
  • host-uri=consetetur
    • The URI of a running Gerrit instance.
  • revision-id=stet

    • A revision (commit) ID.
  • ..git revision-id=accusam

    • Git commit hash.
  • url=consetetur

    • Git repository URL.
  • .. labels=key=takimata

    • Labels with user defined metadata.
    • the value will be associated with the given key
  • ... start-time=sed

    • Time at which execution of the build was started.
  • trigger-id=nonumy

    • Trigger identifier if the build was triggered automatically; empty if not.
  • .. provenance-bytes=sea

    • Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, provenance_bytes can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.
  • .. create-time=eos

    • Output only. The time this occurrence was created.
  • deployment.deployment address=dolore
    • Address of the runtime element hosting this deployment.
  • config=accusam
    • Configuration used to create this deployment.
  • deploy-time=elitr
    • Required. Beginning of the lifetime of this deployment.
  • platform=sed
    • Platform hosting this deployment.
  • resource-uri=labore
    • Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
    • Each invocation of this argument appends the given value to the array.
  • undeploy-time=et
    • End of the lifetime of this deployment.
  • user-email=eirmod

    • Identity of the user that triggered this deployment.
  • ...derived-image.derived-image base-resource-url=sed

    • Output only. This contains the base image URL for the derived image occurrence.
  • distance=74
    • Output only. The number of layers by which this image differs from the associated image basis.
  • fingerprint v1-name=stet
    • Required. The layer ID of the final layer in the Docker image's v1 representation.
  • v2-blob=sit
    • Required. The ordered list of v2 blobs that represent a given image.
    • Each invocation of this argument appends the given value to the array.
  • v2-name=ipsum

    • Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.
  • ....discovered.discovered.analysis-completed analysis-type=lorem

    • No description provided.
    • Each invocation of this argument appends the given value to the array.
  • .. analysis-status=dolor

    • The status of discovery for the resource.
  • analysis-status-error code=4
    • The status code, which should be an enum value of google.rpc.Code.
  • message=magna

    • A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  • .. continuous-analysis=magna

    • Whether the resource is continuously analyzed.
  • last-analysis-time=invidunt
    • The last time continuous analysis was done for this resource. Deprecated, do not use.
  • last-scan-time=et
    • The last time this resource was scanned.
  • sbom-status error=et
    • If there was an error generating an SBOM, this will indicate what that error was.
  • sbom-state=dolor

    • The progress of the SBOM generation.
  • ....envelope payload=erat

    • No description provided.
  • payload-type=dolore

    • No description provided.
  • ..installation.installation architecture=vero

    • Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
  • cpe-uri=ea
    • Output only. The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
  • license comments=et
    • Comments
  • expression=amet.

    • Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
  • .. name=eirmod

    • Required. Output only. The name of the installed package.
  • package-type=sanctus
    • Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
  • version epoch=8
    • Used to correct mistakes in the version numbering scheme.
  • inclusive=true
    • Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
  • kind=et
    • Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
  • name=et
    • Required only when version kind is NORMAL. The main part of the version name.
  • revision=erat

    • The iteration of the package build from the above version.
  • ....intoto.signed.byproducts custom-values=key=eos

    • No description provided.
    • the value will be associated with the given key
  • .. command=nonumy

    • This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren't directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: "command": ["git", "clone", "https://github.com/in-toto/demo-project.git"]
    • Each invocation of this argument appends the given value to the array.
  • environment custom-values=key=ea

    • No description provided.
    • the value will be associated with the given key
  • .... kind=aliquyam

    • Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
  • name=nonumy
    • Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].
  • note-name=stet
    • Required. Immutable. The analysis note associated with this occurrence, in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. This field can be used as a filter in list requests.
  • remediation=rebum.
    • A description of actions that can be taken to remedy the note.
  • resource.content-hash type=eirmod
    • Required. The type of hash that was performed.
  • value=dolores

    • Required. The hash value.
  • .. name=aliquyam

    • Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - "Debian".
  • uri=sanctus

    • Required. The unique URI of the resource. For example, https://gcr.io/project/image@sha256:foo for a Docker image.
  • ..sbom create-time=invidunt

    • Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
  • creator-comment=dolor
    • A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
  • creators=eos
    • Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person's name
    • Each invocation of this argument appends the given value to the array.
  • document-comment=magna
    • A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
  • external-document-refs=no
    • Identify any external SPDX documents referenced within this SPDX document
    • Each invocation of this argument appends the given value to the array.
  • id=gubergren
    • Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
  • license-list-version=erat
    • A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
  • namespace=aliquyam
    • Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
  • title=consetetur

    • Identify name of this document as designated by creator
  • ..sbom-reference.payload -type=ea

    • Identifier for the schema of the Statement.
  • predicate digest=key=lorem
    • A map of algorithm to digest of the contents of the SBOM.
    • the value will be associated with the given key
  • location=elitr
    • The location of the SBOM.
  • mime-type=justo
    • The mime type of the SBOM.
  • referrer-id=lorem

    • The person or system referring this predicate to the consumer.
  • .. predicate-type=labore

    • URI identifying the type of the Predicate.
  • .. payload-type=gubergren

    • The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.
  • ..spdx-file attributions=vero

    • This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
    • Each invocation of this argument appends the given value to the array.
  • comment=ea
    • This field provides a place for the SPDX file creator to record any general comments about the file
  • contributors=sed
    • This field provides a place for the SPDX file creator to record file contributors
    • Each invocation of this argument appends the given value to the array.
  • copyright=sanctus
    • Identify the copyright holder of the file, as well as any dates present
  • files-license-info=labore
    • This field contains the license information actually found in the file, if any
    • Each invocation of this argument appends the given value to the array.
  • id=amet
    • Uniquely identify any element in an SPDX document which may be referenced by other elements
  • license-concluded comments=et
    • Comments
  • expression=dolore

    • Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
  • .. notice=voluptua.

    • This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
  • ..spdx-package comment=sit

    • A place for the SPDX file creator to record any general comments about the package being described
  • filename=sanctus
    • Provide the actual file name of the package, or path of the directory being treated as a package
  • home-page=ipsum
    • Output only. Provide a place for the SPDX file creator to record a web site that serves as the package's home page
  • id=eirmod
    • Uniquely identify any element in an SPDX document which may be referenced by other elements
  • license-concluded comments=vero
    • Comments
  • expression=voluptua.

    • Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
  • .. package-type=sea

    • Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
  • source-info=ipsum
    • Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
  • summary-description=sea
    • Output only. A short description of the package
  • title=et
    • Output only. Identify the full name of the package as given by the Package Originator
  • version=gubergren

    • Output only. Identify the version of the package
  • ..spdx-relationship comment=dolore

    • A place for the SPDX file creator to record any general comments about the relationship
  • source=ea
    • Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
  • target=elitr
    • Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
  • type=takimata

    • Output only. The type of relationship between the source and target SPDX elements
  • .. update-time=duo

    • Output only. The time this occurrence was last updated.
  • vulnerability cvss-score=0.1004331208470497
    • Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
  • cvss-v2 attack-complexity=sed
    • Defined in CVSS v3, CVSS v2
  • attack-vector=no
    • Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2
  • authentication=stet
    • Defined in CVSS v2
  • availability-impact=sea
    • Defined in CVSS v3, CVSS v2
  • base-score=0.8755402661178983
    • The base score is a function of the base metric scores.
  • confidentiality-impact=consetetur
    • Defined in CVSS v3, CVSS v2
  • exploitability-score=0.2545914457773325
    • No description provided.
  • impact-score=0.3205985526763834
    • No description provided.
  • integrity-impact=kasd
    • Defined in CVSS v3, CVSS v2
  • privileges-required=eirmod
    • Defined in CVSS v3
  • scope=dolores
    • Defined in CVSS v3
  • user-interaction=aliquyam

    • Defined in CVSS v3
  • ..cvss-v3 attack-complexity=dolor

    • Defined in CVSS v3, CVSS v2
  • attack-vector=vero
    • Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2
  • authentication=ea
    • Defined in CVSS v2
  • availability-impact=magna
    • Defined in CVSS v3, CVSS v2
  • base-score=0.27549071635704625
    • The base score is a function of the base metric scores.
  • confidentiality-impact=sea
    • Defined in CVSS v3, CVSS v2
  • exploitability-score=0.885559877998019
    • No description provided.
  • impact-score=0.049910030774320546
    • No description provided.
  • integrity-impact=dolore
    • Defined in CVSS v3, CVSS v2
  • privileges-required=amet
    • Defined in CVSS v3
  • scope=invidunt
    • Defined in CVSS v3
  • user-interaction=invidunt

    • Defined in CVSS v3
  • .. cvss-version=dolores

    • Output only. CVSS version used to populate cvss_score and severity.
  • effective-severity=diam
    • The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
  • extra-details=sanctus
    • Occurrence-specific extra details about the vulnerability.
  • long-description=sed
    • Output only. A detailed description of this vulnerability.
  • severity=eos
    • Output only. The note provider assigned Severity of the vulnerability.
  • short-description=sit
    • Output only. A one sentence description of this vulnerability.
  • type=et
    • The type of package; whether native or non native(ruby gems, node.js packages etc)
  • vex-assessment cve=ea
    • Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
  • impacts=dolor
    • Contains information about the impact of this vulnerability, this will change with time.
    • Each invocation of this argument appends the given value to the array.
  • justification details=sadipscing
    • Additional details on why this justification was chosen.
  • justification-type=diam

    • The justification type for this vulnerability.
  • .. note-name=at

    • The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: projects/[PROJECT_ID]/notes/[NOTE_ID].
  • state=at
    • Provides the state of this Vulnerability assessment.
  • vulnerability-id=kasd
    • The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.

About Cursors

The cursor position is key to comfortably set complex nested structures. The following rules apply:

  • The cursor position is always set relative to the current one, unless the field name starts with the . character. Fields can be nested such as in -r f.s.o .
  • The cursor position is set relative to the top-level structure if it starts with ., e.g. -r .s.s
  • You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify -r struct.sub_struct=bar.
  • You can move the cursor one level up by using ... Each additional . moves it up one additional level. E.g. ... would go three levels up.

Optional Output Flags

The method's return value a JSON encoded structure, which will be written to standard output by default.

  • -o out
    • out specifies the destination to which to write the server's result to. It will be a JSON-encoded structure. The destination may be - to indicate standard output, or a filepath that is to contain the received bytes. If unset, it defaults to standard output.

Optional Method Properties

You may set the following properties to further configure the call. Please note that -p is followed by one or more key-value-pairs, and is called like this -p k1=v1 k2=v2 even though the listing below repeats the -p for completeness.

  • -p update-mask=string
    • The fields to update.

Optional General Properties

The following properties can configure any call, and are not specific to this method.

  • -p $-xgafv=string

    • V1 error format.
  • -p access-token=string

    • OAuth access token.
  • -p alt=string

    • Data format for response.
  • -p callback=string

    • JSONP
  • -p fields=string

    • Selector specifying which fields to include in a partial response.
  • -p key=string

    • API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
  • -p oauth-token=string

    • OAuth 2.0 token for the current user.
  • -p pretty-print=boolean

    • Returns response with indentations and line breaks.
  • -p quota-user=string

    • Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
  • -p upload-type=string

    • Legacy upload protocol for media (e.g. "media", "multipart").
  • -p upload-protocol=string

    • Upload protocol for media (e.g. "raw", "multipart").