From 997d63b59a0775656b4781283e62cd3af1f322d6 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 30 Jan 2020 05:26:03 -0800 Subject: [PATCH] [CHANGE ME] Re-generated grafeas to pick up changes in the API or client library generator. --- grafeas/grafeas/grafeas.py | 2 +- grafeas/grafeas/grafeas_v1/__init__.py | 2 +- grafeas/grafeas/grafeas_v1/gapic/enums.py | 2 +- .../grafeas_v1/gapic/grafeas_client.py | 2 +- .../transports/grafeas_grpc_transport.py | 2 +- .../grafeas_v1/proto/attestation_pb2.py | 30 +-- grafeas/grafeas/grafeas_v1/proto/build_pb2.py | 4 +- .../grafeas/grafeas_v1/proto/common_pb2.py | 10 +- grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py | 4 +- .../grafeas_v1/proto/deployment_pb2.py | 3 +- .../grafeas/grafeas_v1/proto/discovery_pb2.py | 9 +- .../grafeas/grafeas_v1/proto/grafeas.proto | 24 +- .../grafeas/grafeas_v1/proto/grafeas_pb2.py | 116 +++++---- grafeas/grafeas/grafeas_v1/proto/image_pb2.py | 18 +- .../grafeas/grafeas_v1/proto/package_pb2.py | 21 +- .../grafeas_v1/proto/provenance_pb2.py | 33 +-- .../grafeas/grafeas_v1/proto/upgrade_pb2.py | 33 +-- .../grafeas_v1/proto/vulnerability_pb2.py | 8 +- grafeas/grafeas/grafeas_v1/types.py | 2 +- grafeas/synth.metadata | 220 +++++++++++++++++- .../unit/gapic/v1/test_grafeas_client_v1.py | 2 +- 21 files changed, 380 insertions(+), 167 deletions(-) diff --git a/grafeas/grafeas/grafeas.py b/grafeas/grafeas/grafeas.py index 35dae0565d59..be586f6cfd64 100644 --- a/grafeas/grafeas/grafeas.py +++ b/grafeas/grafeas/grafeas.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/grafeas/grafeas/grafeas_v1/__init__.py b/grafeas/grafeas/grafeas_v1/__init__.py index 0d9cf87061c1..2e0f3ee626da 100644 --- a/grafeas/grafeas/grafeas_v1/__init__.py +++ b/grafeas/grafeas/grafeas_v1/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/grafeas/grafeas/grafeas_v1/gapic/enums.py b/grafeas/grafeas/grafeas_v1/gapic/enums.py index 34e2dc41397d..59dd0c26cea4 100644 --- a/grafeas/grafeas/grafeas_v1/gapic/enums.py +++ b/grafeas/grafeas/grafeas_v1/gapic/enums.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py b/grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py index 544632304ea7..cfda1db0881a 100644 --- a/grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py +++ b/grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/grafeas/grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py b/grafeas/grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py index b7769a71eced..8a630ead26aa 100644 --- a/grafeas/grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py +++ b/grafeas/grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/grafeas/grafeas/grafeas_v1/proto/attestation_pb2.py b/grafeas/grafeas/grafeas_v1/proto/attestation_pb2.py index 41f8ca1e2b13..e390883e1707 100644 --- a/grafeas/grafeas/grafeas_v1/proto/attestation_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/attestation_pb2.py @@ -184,13 +184,13 @@ dict( DESCRIPTOR=_ATTESTATIONNOTE_HINT, __module__="grafeas_v1.proto.attestation_pb2", - __doc__="""This submessage provides human-readable hints about the purpose of the - authority. Because the name of a note acts as its resource reference, it - is important to disambiguate the canonical name of the Note (which might - be a UUID for security purposes) from "readable" names more suitable for - debug output. Note that these hints should not be used to look up - authorities in security sensitive contexts, such as when looking up - attestations to verify. + __doc__="""This submessage provides human-readable hints about the + purpose of the authority. Because the name of a note acts as its + resource reference, it is important to disambiguate the canonical name + of the Note (which might be a UUID for security purposes) from + "readable" names more suitable for debug output. Note that these hints + should not be used to look up authorities in security sensitive + contexts, such as when looking up attestations to verify. Attributes: @@ -229,14 +229,14 @@ dict( DESCRIPTOR=_ATTESTATIONOCCURRENCE, __module__="grafeas_v1.proto.attestation_pb2", - __doc__="""Occurrence that represents a single "attestation". The authenticity of - an attestation can be verified using the attached signature. If the - verifier trusts the public key of the signer, then verifying the - signature is sufficient to establish trust. In this circumstance, the - authority to which this attestation is attached is primarily useful for - lookup (how to find this attestation if you already know the authority - and artifact to be verified) and intent (for which authority this - attestation was intended to sign. + __doc__="""Occurrence that represents a single "attestation". The + authenticity of an attestation can be verified using the attached + signature. If the verifier trusts the public key of the signer, then + verifying the signature is sufficient to establish trust. In this + circumstance, the authority to which this attestation is attached is + primarily useful for lookup (how to find this attestation if you already + know the authority and artifact to be verified) and intent (for which + authority this attestation was intended to sign. Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/build_pb2.py b/grafeas/grafeas/grafeas_v1/proto/build_pb2.py index affcce26b1f3..da4fb11156b3 100644 --- a/grafeas/grafeas/grafeas_v1/proto/build_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/build_pb2.py @@ -142,8 +142,8 @@ dict( DESCRIPTOR=_BUILDNOTE, __module__="grafeas_v1.proto.build_pb2", - __doc__="""Note holding the version of the provider's builder and the signature of - the provenance message in the build details occurrence. + __doc__="""Note holding the version of the provider's builder and the + signature of the provenance message in the build details occurrence. Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/common_pb2.py b/grafeas/grafeas/grafeas_v1/proto/common_pb2.py index 2d90830d3aac..78a377e57a9c 100644 --- a/grafeas/grafeas/grafeas_v1/proto/common_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/common_pb2.py @@ -229,11 +229,11 @@ dict( DESCRIPTOR=_SIGNATURE, __module__="grafeas_v1.proto.common_pb2", - __doc__="""Verifiers (e.g. Kritis implementations) MUST verify signatures with - respect to the trust anchors defined in policy (e.g. a Kritis policy). - Typically this means that the verifier has been configured with a map - from ``public_key_id`` to public key material (and any required - parameters, e.g. signing algorithm). + __doc__="""Verifiers (e.g. Kritis implementations) MUST verify + signatures with respect to the trust anchors defined in policy (e.g. a + Kritis policy). Typically this means that the verifier has been + configured with a map from ``public_key_id`` to public key material (and + any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature ``public_key_id`` as anything more than a key lookup hint. The diff --git a/grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py b/grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py index 501eb4f7ca14..5bdfe1f19ba5 100644 --- a/grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py @@ -499,8 +499,8 @@ dict( DESCRIPTOR=_CVSSV3, __module__="grafeas_v1.proto.cvss_pb2", - __doc__="""Common Vulnerability Scoring System version 3. For details, see - https://www.first.org/cvss/specification-document + __doc__="""Common Vulnerability Scoring System version 3. For + details, see https://www.first.org/cvss/specification-document Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/deployment_pb2.py b/grafeas/grafeas/grafeas_v1/proto/deployment_pb2.py index b5fea556d0ac..556749ae2e2c 100644 --- a/grafeas/grafeas/grafeas_v1/proto/deployment_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/deployment_pb2.py @@ -286,7 +286,8 @@ dict( DESCRIPTOR=_DEPLOYMENTOCCURRENCE, __module__="grafeas_v1.proto.deployment_pb2", - __doc__="""The period during which some deployable was active in a runtime. + __doc__="""The period during which some deployable was active in a + runtime. Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/discovery_pb2.py b/grafeas/grafeas/grafeas_v1/proto/discovery_pb2.py index 58204a08f424..65976d7924bc 100644 --- a/grafeas/grafeas/grafeas_v1/proto/discovery_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/discovery_pb2.py @@ -293,9 +293,9 @@ dict( DESCRIPTOR=_DISCOVERYNOTE, __module__="grafeas_v1.proto.discovery_pb2", - __doc__="""A note that indicates a type of analysis a provider would perform. This - note exists in a provider's project. A ``Discovery`` occurrence is - created in a consumer's project at the start of analysis. + __doc__="""A note that indicates a type of analysis a provider would + perform. This note exists in a provider's project. A ``Discovery`` + occurrence is created in a consumer's project at the start of analysis. Attributes: @@ -314,7 +314,8 @@ dict( DESCRIPTOR=_DISCOVERYOCCURRENCE, __module__="grafeas_v1.proto.discovery_pb2", - __doc__="""Provides information about the analysis status of a discovered resource. + __doc__="""Provides information about the analysis status of a + discovered resource. Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/grafeas.proto b/grafeas/grafeas/grafeas_v1/proto/grafeas.proto index fdb26bcb83fb..57b2fc23e5f9 100644 --- a/grafeas/grafeas/grafeas_v1/proto/grafeas.proto +++ b/grafeas/grafeas/grafeas_v1/proto/grafeas.proto @@ -37,6 +37,10 @@ option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas"; option java_multiple_files = true; option java_package = "io.grafeas.v1"; option objc_class_prefix = "GRA"; +option (google.api.resource_definition) = { + type: "grafeas.io/Project" + pattern: "projects/{project}" +}; // [Grafeas](https://grafeas.io) API. // @@ -53,6 +57,8 @@ option objc_class_prefix = "GRA"; // there would be one note for the vulnerability and an occurrence for each // image with the vulnerability referring to that note. service Grafeas { + option (google.api.default_host) = "containeranalysis.googleapis.com"; + // Gets the specified occurrence. rpc GetOccurrence(GetOccurrenceRequest) returns (Occurrence) { option (google.api.http) = { @@ -314,8 +320,7 @@ message ListOccurrencesRequest { // `projects/[PROJECT_ID]`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference).type = - "cloudresourcemanager.googleapis.com/Project" + (google.api.resource_reference).type = "grafeas.io/Project" ]; // The filter expression. @@ -355,8 +360,7 @@ message CreateOccurrenceRequest { // the occurrence is to be created. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference).type = - "cloudresourcemanager.googleapis.com/Project" + (google.api.resource_reference).type = "grafeas.io/Project" ]; // The occurrence to create. Occurrence occurrence = 2 [(google.api.field_behavior) = REQUIRED]; @@ -402,8 +406,7 @@ message ListNotesRequest { // `projects/[PROJECT_ID]`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference).type = - "cloudresourcemanager.googleapis.com/Project" + (google.api.resource_reference).type = "grafeas.io/Project" ]; // The filter expression. @@ -443,8 +446,7 @@ message CreateNoteRequest { // the note is to be created. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference).type = - "cloudresourcemanager.googleapis.com/Project" + (google.api.resource_reference).type = "grafeas.io/Project" ]; // The ID to use for this note. string note_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -496,8 +498,7 @@ message BatchCreateNotesRequest { // the notes are to be created. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference).type = - "cloudresourcemanager.googleapis.com/Project" + (google.api.resource_reference).type = "grafeas.io/Project" ]; // The notes to create. Max allowed length is 1000. @@ -516,8 +517,7 @@ message BatchCreateOccurrencesRequest { // the occurrences are to be created. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference).type = - "cloudresourcemanager.googleapis.com/Project" + (google.api.resource_reference).type = "grafeas.io/Project" ]; // The occurrences to create. Max allowed length is 1000. diff --git a/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2.py b/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2.py index d32d41ea23bd..96f3e2bd210b 100644 --- a/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/grafeas_pb2.py @@ -50,10 +50,10 @@ package="grafeas.v1", syntax="proto3", serialized_options=_b( - "\n\rio.grafeas.v1P\001Z8google.golang.org/genproto/googleapis/grafeas/v1;grafeas\242\002\003GRA" + "\n\rio.grafeas.v1P\001Z8google.golang.org/genproto/googleapis/grafeas/v1;grafeas\242\002\003GRA\352A(\n\022grafeas.io/Project\022\022projects/{project}" ), serialized_pb=_b( - '\n\x1egrafeas_v1/proto/grafeas.proto\x12\ngrafeas.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"grafeas_v1/proto/attestation.proto\x1a\x1cgrafeas_v1/proto/build.proto\x1a\x1dgrafeas_v1/proto/common.proto\x1a!grafeas_v1/proto/deployment.proto\x1a grafeas_v1/proto/discovery.proto\x1a\x1cgrafeas_v1/proto/image.proto\x1a\x1egrafeas_v1/proto/package.proto\x1a\x1egrafeas_v1/proto/upgrade.proto\x1a$grafeas_v1/proto/vulnerability.proto"\xd8\x05\n\nOccurrence\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cresource_uri\x18\x02 \x01(\t\x12\x11\n\tnote_name\x18\x03 \x01(\t\x12"\n\x04kind\x18\x04 \x01(\x0e\x32\x14.grafeas.v1.NoteKind\x12\x13\n\x0bremediation\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\rvulnerability\x18\x08 \x01(\x0b\x32#.grafeas.v1.VulnerabilityOccurrenceH\x00\x12,\n\x05\x62uild\x18\t \x01(\x0b\x32\x1b.grafeas.v1.BuildOccurrenceH\x00\x12,\n\x05image\x18\n \x01(\x0b\x32\x1b.grafeas.v1.ImageOccurrenceH\x00\x12\x30\n\x07package\x18\x0b \x01(\x0b\x32\x1d.grafeas.v1.PackageOccurrenceH\x00\x12\x36\n\ndeployment\x18\x0c \x01(\x0b\x32 .grafeas.v1.DeploymentOccurrenceH\x00\x12\x34\n\tdiscovery\x18\r \x01(\x0b\x32\x1f.grafeas.v1.DiscoveryOccurrenceH\x00\x12\x38\n\x0b\x61ttestation\x18\x0e \x01(\x0b\x32!.grafeas.v1.AttestationOccurrenceH\x00\x12\x30\n\x07upgrade\x18\x0f \x01(\x0b\x32\x1d.grafeas.v1.UpgradeOccurrenceH\x00:G\xea\x41\x44\n\x15grafeas.io/Occurrence\x12+projects/{project}/occurrences/{occurrence}B\t\n\x07\x64\x65tails"\x82\x06\n\x04Note\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11short_description\x18\x02 \x01(\t\x12\x18\n\x10long_description\x18\x03 \x01(\t\x12"\n\x04kind\x18\x04 \x01(\x0e\x32\x14.grafeas.v1.NoteKind\x12+\n\x0brelated_url\x18\x05 \x03(\x0b\x32\x16.grafeas.v1.RelatedUrl\x12\x33\n\x0f\x65xpiration_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12related_note_names\x18\t \x03(\t\x12\x36\n\rvulnerability\x18\n \x01(\x0b\x32\x1d.grafeas.v1.VulnerabilityNoteH\x00\x12&\n\x05\x62uild\x18\x0b \x01(\x0b\x32\x15.grafeas.v1.BuildNoteH\x00\x12&\n\x05image\x18\x0c \x01(\x0b\x32\x15.grafeas.v1.ImageNoteH\x00\x12*\n\x07package\x18\r \x01(\x0b\x32\x17.grafeas.v1.PackageNoteH\x00\x12\x30\n\ndeployment\x18\x0e \x01(\x0b\x32\x1a.grafeas.v1.DeploymentNoteH\x00\x12.\n\tdiscovery\x18\x0f \x01(\x0b\x32\x19.grafeas.v1.DiscoveryNoteH\x00\x12\x32\n\x0b\x61ttestation\x18\x10 \x01(\x0b\x32\x1b.grafeas.v1.AttestationNoteH\x00\x12*\n\x07upgrade\x18\x11 \x01(\x0b\x32\x17.grafeas.v1.UpgradeNoteH\x00:5\xea\x41\x32\n\x0fgrafeas.io/Note\x12\x1fprojects/{project}/notes/{note}B\x06\n\x04type"C\n\x14GetOccurrenceRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence"\x94\x01\n\x16ListOccurrencesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"_\n\x17ListOccurrencesResponse\x12+\n\x0boccurrences\x18\x01 \x03(\x0b\x32\x16.grafeas.v1.Occurrence\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"F\n\x17\x44\x65leteOccurrenceRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence"\x8f\x01\n\x17\x43reateOccurrenceRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12/\n\noccurrence\x18\x02 \x01(\x0b\x32\x16.grafeas.v1.OccurrenceB\x03\xe0\x41\x02"\xa8\x01\n\x17UpdateOccurrenceRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence\x12/\n\noccurrence\x18\x02 \x01(\x0b\x32\x16.grafeas.v1.OccurrenceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"7\n\x0eGetNoteRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note"G\n\x18GetOccurrenceNoteRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence"\x8e\x01\n\x10ListNotesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"M\n\x11ListNotesResponse\x12\x1f\n\x05notes\x18\x01 \x03(\x0b\x32\x10.grafeas.v1.Note\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t":\n\x11\x44\x65leteNoteRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note"\x93\x01\n\x11\x43reateNoteRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x14\n\x07note_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12#\n\x04note\x18\x03 \x01(\x0b\x32\x10.grafeas.v1.NoteB\x03\xe0\x41\x02"\x90\x01\n\x11UpdateNoteRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note\x12#\n\x04note\x18\x02 \x01(\x0b\x32\x10.grafeas.v1.NoteB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"z\n\x1aListNoteOccurrencesRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"c\n\x1bListNoteOccurrencesResponse\x12+\n\x0boccurrences\x18\x01 \x03(\x0b\x32\x16.grafeas.v1.Occurrence\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xe2\x01\n\x17\x42\x61tchCreateNotesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x42\n\x05notes\x18\x02 \x03(\x0b\x32..grafeas.v1.BatchCreateNotesRequest.NotesEntryB\x03\xe0\x41\x02\x1a>\n\nNotesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.grafeas.v1.Note:\x02\x38\x01";\n\x18\x42\x61tchCreateNotesResponse\x12\x1f\n\x05notes\x18\x01 \x03(\x0b\x32\x10.grafeas.v1.Note"\x96\x01\n\x1d\x42\x61tchCreateOccurrencesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x30\n\x0boccurrences\x18\x02 \x03(\x0b\x32\x16.grafeas.v1.OccurrenceB\x03\xe0\x41\x02"M\n\x1e\x42\x61tchCreateOccurrencesResponse\x12+\n\x0boccurrences\x18\x01 \x03(\x0b\x32\x16.grafeas.v1.Occurrence2\xed\x0f\n\x07Grafeas\x12}\n\rGetOccurrence\x12 .grafeas.v1.GetOccurrenceRequest\x1a\x16.grafeas.v1.Occurrence"2\x82\xd3\xe4\x93\x02%\x12#/v1/{name=projects/*/occurrences/*}\xda\x41\x04name\x12\x97\x01\n\x0fListOccurrences\x12".grafeas.v1.ListOccurrencesRequest\x1a#.grafeas.v1.ListOccurrencesResponse";\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=projects/*}/occurrences\xda\x41\rparent,filter\x12\x83\x01\n\x10\x44\x65leteOccurrence\x12#.grafeas.v1.DeleteOccurrenceRequest\x1a\x16.google.protobuf.Empty"2\x82\xd3\xe4\x93\x02%*#/v1/{name=projects/*/occurrences/*}\xda\x41\x04name\x12\x9c\x01\n\x10\x43reateOccurrence\x12#.grafeas.v1.CreateOccurrenceRequest\x1a\x16.grafeas.v1.Occurrence"K\x82\xd3\xe4\x93\x02\x31"#/v1/{parent=projects/*}/occurrences:\noccurrence\xda\x41\x11parent,occurrence\x12\xc0\x01\n\x16\x42\x61tchCreateOccurrences\x12).grafeas.v1.BatchCreateOccurrencesRequest\x1a*.grafeas.v1.BatchCreateOccurrencesResponse"O\x82\xd3\xe4\x93\x02\x34"//v1/{parent=projects/*}/occurrences:batchCreate:\x01*\xda\x41\x12parent,occurrences\x12\xa6\x01\n\x10UpdateOccurrence\x12#.grafeas.v1.UpdateOccurrenceRequest\x1a\x16.grafeas.v1.Occurrence"U\x82\xd3\xe4\x93\x02\x31\x32#/v1/{name=projects/*/occurrences/*}:\noccurrence\xda\x41\x1bname,occurrence,update_mask\x12\x85\x01\n\x11GetOccurrenceNote\x12$.grafeas.v1.GetOccurrenceNoteRequest\x1a\x10.grafeas.v1.Note"8\x82\xd3\xe4\x93\x02+\x12)/v1/{name=projects/*/occurrences/*}/notes\xda\x41\x04name\x12\x65\n\x07GetNote\x12\x1a.grafeas.v1.GetNoteRequest\x1a\x10.grafeas.v1.Note",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=projects/*/notes/*}\xda\x41\x04name\x12\x7f\n\tListNotes\x12\x1c.grafeas.v1.ListNotesRequest\x1a\x1d.grafeas.v1.ListNotesResponse"5\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=projects/*}/notes\xda\x41\rparent,filter\x12q\n\nDeleteNote\x12\x1d.grafeas.v1.DeleteNoteRequest\x1a\x16.google.protobuf.Empty",\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=projects/*/notes/*}\xda\x41\x04name\x12\x80\x01\n\nCreateNote\x12\x1d.grafeas.v1.CreateNoteRequest\x1a\x10.grafeas.v1.Note"A\x82\xd3\xe4\x93\x02%"\x1d/v1/{parent=projects/*}/notes:\x04note\xda\x41\x13parent,note_id,note\x12\xa2\x01\n\x10\x42\x61tchCreateNotes\x12#.grafeas.v1.BatchCreateNotesRequest\x1a$.grafeas.v1.BatchCreateNotesResponse"C\x82\xd3\xe4\x93\x02.")/v1/{parent=projects/*}/notes:batchCreate:\x01*\xda\x41\x0cparent,notes\x12\x82\x01\n\nUpdateNote\x12\x1d.grafeas.v1.UpdateNoteRequest\x1a\x10.grafeas.v1.Note"C\x82\xd3\xe4\x93\x02%2\x1d/v1/{name=projects/*/notes/*}:\x04note\xda\x41\x15name,note,update_mask\x12\xa7\x01\n\x13ListNoteOccurrences\x12&.grafeas.v1.ListNoteOccurrencesRequest\x1a\'.grafeas.v1.ListNoteOccurrencesResponse"?\x82\xd3\xe4\x93\x02+\x12)/v1/{name=projects/*/notes/*}/occurrences\xda\x41\x0bname,filterBQ\n\rio.grafeas.v1P\x01Z8google.golang.org/genproto/googleapis/grafeas/v1;grafeas\xa2\x02\x03GRAb\x06proto3' + '\n\x1egrafeas_v1/proto/grafeas.proto\x12\ngrafeas.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a"grafeas_v1/proto/attestation.proto\x1a\x1cgrafeas_v1/proto/build.proto\x1a\x1dgrafeas_v1/proto/common.proto\x1a!grafeas_v1/proto/deployment.proto\x1a grafeas_v1/proto/discovery.proto\x1a\x1cgrafeas_v1/proto/image.proto\x1a\x1egrafeas_v1/proto/package.proto\x1a\x1egrafeas_v1/proto/upgrade.proto\x1a$grafeas_v1/proto/vulnerability.proto"\xd8\x05\n\nOccurrence\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cresource_uri\x18\x02 \x01(\t\x12\x11\n\tnote_name\x18\x03 \x01(\t\x12"\n\x04kind\x18\x04 \x01(\x0e\x32\x14.grafeas.v1.NoteKind\x12\x13\n\x0bremediation\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\rvulnerability\x18\x08 \x01(\x0b\x32#.grafeas.v1.VulnerabilityOccurrenceH\x00\x12,\n\x05\x62uild\x18\t \x01(\x0b\x32\x1b.grafeas.v1.BuildOccurrenceH\x00\x12,\n\x05image\x18\n \x01(\x0b\x32\x1b.grafeas.v1.ImageOccurrenceH\x00\x12\x30\n\x07package\x18\x0b \x01(\x0b\x32\x1d.grafeas.v1.PackageOccurrenceH\x00\x12\x36\n\ndeployment\x18\x0c \x01(\x0b\x32 .grafeas.v1.DeploymentOccurrenceH\x00\x12\x34\n\tdiscovery\x18\r \x01(\x0b\x32\x1f.grafeas.v1.DiscoveryOccurrenceH\x00\x12\x38\n\x0b\x61ttestation\x18\x0e \x01(\x0b\x32!.grafeas.v1.AttestationOccurrenceH\x00\x12\x30\n\x07upgrade\x18\x0f \x01(\x0b\x32\x1d.grafeas.v1.UpgradeOccurrenceH\x00:G\xea\x41\x44\n\x15grafeas.io/Occurrence\x12+projects/{project}/occurrences/{occurrence}B\t\n\x07\x64\x65tails"\x82\x06\n\x04Note\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11short_description\x18\x02 \x01(\t\x12\x18\n\x10long_description\x18\x03 \x01(\t\x12"\n\x04kind\x18\x04 \x01(\x0e\x32\x14.grafeas.v1.NoteKind\x12+\n\x0brelated_url\x18\x05 \x03(\x0b\x32\x16.grafeas.v1.RelatedUrl\x12\x33\n\x0f\x65xpiration_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12related_note_names\x18\t \x03(\t\x12\x36\n\rvulnerability\x18\n \x01(\x0b\x32\x1d.grafeas.v1.VulnerabilityNoteH\x00\x12&\n\x05\x62uild\x18\x0b \x01(\x0b\x32\x15.grafeas.v1.BuildNoteH\x00\x12&\n\x05image\x18\x0c \x01(\x0b\x32\x15.grafeas.v1.ImageNoteH\x00\x12*\n\x07package\x18\r \x01(\x0b\x32\x17.grafeas.v1.PackageNoteH\x00\x12\x30\n\ndeployment\x18\x0e \x01(\x0b\x32\x1a.grafeas.v1.DeploymentNoteH\x00\x12.\n\tdiscovery\x18\x0f \x01(\x0b\x32\x19.grafeas.v1.DiscoveryNoteH\x00\x12\x32\n\x0b\x61ttestation\x18\x10 \x01(\x0b\x32\x1b.grafeas.v1.AttestationNoteH\x00\x12*\n\x07upgrade\x18\x11 \x01(\x0b\x32\x17.grafeas.v1.UpgradeNoteH\x00:5\xea\x41\x32\n\x0fgrafeas.io/Note\x12\x1fprojects/{project}/notes/{note}B\x06\n\x04type"C\n\x14GetOccurrenceRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence"{\n\x16ListOccurrencesRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xe0\x41\x02\xfa\x41\x14\n\x12grafeas.io/Project\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"_\n\x17ListOccurrencesResponse\x12+\n\x0boccurrences\x18\x01 \x03(\x0b\x32\x16.grafeas.v1.Occurrence\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"F\n\x17\x44\x65leteOccurrenceRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence"v\n\x17\x43reateOccurrenceRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xe0\x41\x02\xfa\x41\x14\n\x12grafeas.io/Project\x12/\n\noccurrence\x18\x02 \x01(\x0b\x32\x16.grafeas.v1.OccurrenceB\x03\xe0\x41\x02"\xa8\x01\n\x17UpdateOccurrenceRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence\x12/\n\noccurrence\x18\x02 \x01(\x0b\x32\x16.grafeas.v1.OccurrenceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"7\n\x0eGetNoteRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note"G\n\x18GetOccurrenceNoteRequest\x12+\n\x04name\x18\x01 \x01(\tB\x1d\xe0\x41\x02\xfa\x41\x17\n\x15grafeas.io/Occurrence"u\n\x10ListNotesRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xe0\x41\x02\xfa\x41\x14\n\x12grafeas.io/Project\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"M\n\x11ListNotesResponse\x12\x1f\n\x05notes\x18\x01 \x03(\x0b\x32\x10.grafeas.v1.Note\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t":\n\x11\x44\x65leteNoteRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note"z\n\x11\x43reateNoteRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xe0\x41\x02\xfa\x41\x14\n\x12grafeas.io/Project\x12\x14\n\x07note_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12#\n\x04note\x18\x03 \x01(\x0b\x32\x10.grafeas.v1.NoteB\x03\xe0\x41\x02"\x90\x01\n\x11UpdateNoteRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note\x12#\n\x04note\x18\x02 \x01(\x0b\x32\x10.grafeas.v1.NoteB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"z\n\x1aListNoteOccurrencesRequest\x12%\n\x04name\x18\x01 \x01(\tB\x17\xe0\x41\x02\xfa\x41\x11\n\x0fgrafeas.io/Note\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"c\n\x1bListNoteOccurrencesResponse\x12+\n\x0boccurrences\x18\x01 \x03(\x0b\x32\x16.grafeas.v1.Occurrence\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xc9\x01\n\x17\x42\x61tchCreateNotesRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xe0\x41\x02\xfa\x41\x14\n\x12grafeas.io/Project\x12\x42\n\x05notes\x18\x02 \x03(\x0b\x32..grafeas.v1.BatchCreateNotesRequest.NotesEntryB\x03\xe0\x41\x02\x1a>\n\nNotesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.grafeas.v1.Note:\x02\x38\x01";\n\x18\x42\x61tchCreateNotesResponse\x12\x1f\n\x05notes\x18\x01 \x03(\x0b\x32\x10.grafeas.v1.Note"}\n\x1d\x42\x61tchCreateOccurrencesRequest\x12*\n\x06parent\x18\x01 \x01(\tB\x1a\xe0\x41\x02\xfa\x41\x14\n\x12grafeas.io/Project\x12\x30\n\x0boccurrences\x18\x02 \x03(\x0b\x32\x16.grafeas.v1.OccurrenceB\x03\xe0\x41\x02"M\n\x1e\x42\x61tchCreateOccurrencesResponse\x12+\n\x0boccurrences\x18\x01 \x03(\x0b\x32\x16.grafeas.v1.Occurrence2\x92\x10\n\x07Grafeas\x12}\n\rGetOccurrence\x12 .grafeas.v1.GetOccurrenceRequest\x1a\x16.grafeas.v1.Occurrence"2\x82\xd3\xe4\x93\x02%\x12#/v1/{name=projects/*/occurrences/*}\xda\x41\x04name\x12\x97\x01\n\x0fListOccurrences\x12".grafeas.v1.ListOccurrencesRequest\x1a#.grafeas.v1.ListOccurrencesResponse";\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=projects/*}/occurrences\xda\x41\rparent,filter\x12\x83\x01\n\x10\x44\x65leteOccurrence\x12#.grafeas.v1.DeleteOccurrenceRequest\x1a\x16.google.protobuf.Empty"2\x82\xd3\xe4\x93\x02%*#/v1/{name=projects/*/occurrences/*}\xda\x41\x04name\x12\x9c\x01\n\x10\x43reateOccurrence\x12#.grafeas.v1.CreateOccurrenceRequest\x1a\x16.grafeas.v1.Occurrence"K\x82\xd3\xe4\x93\x02\x31"#/v1/{parent=projects/*}/occurrences:\noccurrence\xda\x41\x11parent,occurrence\x12\xc0\x01\n\x16\x42\x61tchCreateOccurrences\x12).grafeas.v1.BatchCreateOccurrencesRequest\x1a*.grafeas.v1.BatchCreateOccurrencesResponse"O\x82\xd3\xe4\x93\x02\x34"//v1/{parent=projects/*}/occurrences:batchCreate:\x01*\xda\x41\x12parent,occurrences\x12\xa6\x01\n\x10UpdateOccurrence\x12#.grafeas.v1.UpdateOccurrenceRequest\x1a\x16.grafeas.v1.Occurrence"U\x82\xd3\xe4\x93\x02\x31\x32#/v1/{name=projects/*/occurrences/*}:\noccurrence\xda\x41\x1bname,occurrence,update_mask\x12\x85\x01\n\x11GetOccurrenceNote\x12$.grafeas.v1.GetOccurrenceNoteRequest\x1a\x10.grafeas.v1.Note"8\x82\xd3\xe4\x93\x02+\x12)/v1/{name=projects/*/occurrences/*}/notes\xda\x41\x04name\x12\x65\n\x07GetNote\x12\x1a.grafeas.v1.GetNoteRequest\x1a\x10.grafeas.v1.Note",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=projects/*/notes/*}\xda\x41\x04name\x12\x7f\n\tListNotes\x12\x1c.grafeas.v1.ListNotesRequest\x1a\x1d.grafeas.v1.ListNotesResponse"5\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=projects/*}/notes\xda\x41\rparent,filter\x12q\n\nDeleteNote\x12\x1d.grafeas.v1.DeleteNoteRequest\x1a\x16.google.protobuf.Empty",\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=projects/*/notes/*}\xda\x41\x04name\x12\x80\x01\n\nCreateNote\x12\x1d.grafeas.v1.CreateNoteRequest\x1a\x10.grafeas.v1.Note"A\x82\xd3\xe4\x93\x02%"\x1d/v1/{parent=projects/*}/notes:\x04note\xda\x41\x13parent,note_id,note\x12\xa2\x01\n\x10\x42\x61tchCreateNotes\x12#.grafeas.v1.BatchCreateNotesRequest\x1a$.grafeas.v1.BatchCreateNotesResponse"C\x82\xd3\xe4\x93\x02.")/v1/{parent=projects/*}/notes:batchCreate:\x01*\xda\x41\x0cparent,notes\x12\x82\x01\n\nUpdateNote\x12\x1d.grafeas.v1.UpdateNoteRequest\x1a\x10.grafeas.v1.Note"C\x82\xd3\xe4\x93\x02%2\x1d/v1/{name=projects/*/notes/*}:\x04note\xda\x41\x15name,note,update_mask\x12\xa7\x01\n\x13ListNoteOccurrences\x12&.grafeas.v1.ListNoteOccurrencesRequest\x1a\'.grafeas.v1.ListNoteOccurrencesResponse"?\x82\xd3\xe4\x93\x02+\x12)/v1/{name=projects/*/notes/*}/occurrences\xda\x41\x0bname,filter\x1a#\xca\x41 containeranalysis.googleapis.comB|\n\rio.grafeas.v1P\x01Z8google.golang.org/genproto/googleapis/grafeas/v1;grafeas\xa2\x02\x03GRA\xea\x41(\n\x12grafeas.io/Project\x12\x12projects/{project}b\x06proto3' ), dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, @@ -775,9 +775,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=_b("\340A\002\372A\024\n\022grafeas.io/Project"), file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -843,8 +841,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2129, - serialized_end=2277, + serialized_start=2128, + serialized_end=2251, ) @@ -900,8 +898,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2279, - serialized_end=2374, + serialized_start=2253, + serialized_end=2348, ) @@ -939,8 +937,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2376, - serialized_end=2446, + serialized_start=2350, + serialized_end=2420, ) @@ -966,9 +964,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=_b("\340A\002\372A\024\n\022grafeas.io/Project"), file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -998,8 +994,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2449, - serialized_end=2592, + serialized_start=2422, + serialized_end=2540, ) @@ -1073,8 +1069,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2595, - serialized_end=2763, + serialized_start=2543, + serialized_end=2711, ) @@ -1112,8 +1108,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2765, - serialized_end=2820, + serialized_start=2713, + serialized_end=2768, ) @@ -1151,8 +1147,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2822, - serialized_end=2893, + serialized_start=2770, + serialized_end=2841, ) @@ -1178,9 +1174,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=_b("\340A\002\372A\024\n\022grafeas.io/Project"), file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1246,8 +1240,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2896, - serialized_end=3038, + serialized_start=2843, + serialized_end=2960, ) @@ -1303,8 +1297,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3040, - serialized_end=3117, + serialized_start=2962, + serialized_end=3039, ) @@ -1342,8 +1336,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3119, - serialized_end=3177, + serialized_start=3041, + serialized_end=3099, ) @@ -1369,9 +1363,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=_b("\340A\002\372A\024\n\022grafeas.io/Project"), file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1419,8 +1411,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3180, - serialized_end=3327, + serialized_start=3101, + serialized_end=3223, ) @@ -1494,8 +1486,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3330, - serialized_end=3474, + serialized_start=3226, + serialized_end=3370, ) @@ -1587,8 +1579,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3476, - serialized_end=3598, + serialized_start=3372, + serialized_end=3494, ) @@ -1644,8 +1636,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3600, - serialized_end=3699, + serialized_start=3496, + serialized_end=3595, ) @@ -1701,8 +1693,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3866, - serialized_end=3928, + serialized_start=3737, + serialized_end=3799, ) _BATCHCREATENOTESREQUEST = _descriptor.Descriptor( @@ -1727,9 +1719,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=_b("\340A\002\372A\024\n\022grafeas.io/Project"), file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1759,8 +1749,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3702, - serialized_end=3928, + serialized_start=3598, + serialized_end=3799, ) @@ -1798,8 +1788,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3930, - serialized_end=3989, + serialized_start=3801, + serialized_end=3860, ) @@ -1825,9 +1815,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=_b("\340A\002\372A\024\n\022grafeas.io/Project"), file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1857,8 +1845,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3992, - serialized_end=4142, + serialized_start=3862, + serialized_end=3987, ) @@ -1896,8 +1884,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4144, - serialized_end=4221, + serialized_start=3989, + serialized_end=4066, ) _OCCURRENCE.fields_by_name[ @@ -2088,7 +2076,8 @@ dict( DESCRIPTOR=_OCCURRENCE, __module__="grafeas_v1.proto.grafeas_pb2", - __doc__="""An instance of an analysis type that has been found on a resource. + __doc__="""An instance of an analysis type that has been found on a + resource. Attributes: @@ -2358,7 +2347,8 @@ dict( DESCRIPTOR=_GETOCCURRENCENOTEREQUEST, __module__="grafeas_v1.proto.grafeas_pb2", - __doc__="""Request to get the note to which the specified occurrence is attached. + __doc__="""Request to get the note to which the specified occurrence + is attached. Attributes: @@ -2653,9 +2643,9 @@ full_name="grafeas.v1.Grafeas", file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=4224, - serialized_end=6253, + serialized_options=_b("\312A containeranalysis.googleapis.com"), + serialized_start=4069, + serialized_end=6135, methods=[ _descriptor.MethodDescriptor( name="GetOccurrence", diff --git a/grafeas/grafeas/grafeas_v1/proto/image_pb2.py b/grafeas/grafeas/grafeas_v1/proto/image_pb2.py index 75312ffb9931..29648e78624b 100644 --- a/grafeas/grafeas/grafeas_v1/proto/image_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/image_pb2.py @@ -324,7 +324,8 @@ dict( DESCRIPTOR=_LAYER, __module__="grafeas_v1.proto.image_pb2", - __doc__="""Layer holds metadata specific to a layer of a Docker image. + __doc__="""Layer holds metadata specific to a layer of a Docker + image. Attributes: @@ -347,7 +348,8 @@ dict( DESCRIPTOR=_FINGERPRINT, __module__="grafeas_v1.proto.image_pb2", - __doc__="""A set of properties that uniquely identify a given Docker image. + __doc__="""A set of properties that uniquely identify a given Docker + image. Attributes: @@ -373,10 +375,10 @@ dict( DESCRIPTOR=_IMAGENOTE, __module__="grafeas_v1.proto.image_pb2", - __doc__="""Basis describes the base image portion (Note) of the DockerImage - relationship. Linked occurrences are derived from this or an equivalent - image via: FROM Or an equivalent reference, e.g., a tag of the - resource\_url. + __doc__="""Basis describes the base image portion (Note) of the + DockerImage relationship. Linked occurrences are derived from this or an + equivalent image via: FROM Or an equivalent reference, e.g., a tag of + the resource\_url. Attributes: @@ -397,8 +399,8 @@ dict( DESCRIPTOR=_IMAGEOCCURRENCE, __module__="grafeas_v1.proto.image_pb2", - __doc__="""Details of the derived image portion of the DockerImage relationship. - This image would be produced from a Dockerfile with FROM . + __doc__="""Details of the derived image portion of the DockerImage + relationship. This image would be produced from a Dockerfile with FROM . Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/package_pb2.py b/grafeas/grafeas/grafeas_v1/proto/package_pb2.py index 519f2aa60187..3bdab00e710d 100644 --- a/grafeas/grafeas/grafeas_v1/proto/package_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/package_pb2.py @@ -541,8 +541,8 @@ dict( DESCRIPTOR=_DISTRIBUTION, __module__="grafeas_v1.proto.package_pb2", - __doc__="""This represents a particular channel of distribution for a given - package. E.g., Debian's jessie-backports dpkg mirror. + __doc__="""This represents a particular channel of distribution for a + given package. E.g., Debian's jessie-backports dpkg mirror. Attributes: @@ -574,8 +574,9 @@ dict( DESCRIPTOR=_LOCATION, __module__="grafeas_v1.proto.package_pb2", - __doc__="""An occurrence of a particular package installation found within a - system's filesystem. E.g., glibc was found in ``/var/lib/dpkg/status``. + __doc__="""An occurrence of a particular package installation found + within a system's filesystem. E.g., glibc was found in + ``/var/lib/dpkg/status``. Attributes: @@ -600,9 +601,9 @@ dict( DESCRIPTOR=_PACKAGENOTE, __module__="grafeas_v1.proto.package_pb2", - __doc__="""This represents a particular package that is distributed over various - channels. E.g., glibc (aka libc6) is distributed by many, at various - versions. + __doc__="""This represents a particular package that is distributed + over various channels. E.g., glibc (aka libc6) is distributed by many, + at various versions. Attributes: @@ -622,7 +623,8 @@ dict( DESCRIPTOR=_PACKAGEOCCURRENCE, __module__="grafeas_v1.proto.package_pb2", - __doc__="""Details on how a particular software package was installed on a system. + __doc__="""Details on how a particular software package was installed + on a system. Attributes: @@ -643,7 +645,8 @@ dict( DESCRIPTOR=_VERSION, __module__="grafeas_v1.proto.package_pb2", - __doc__="""Version contains structured information about the version of a package. + __doc__="""Version contains structured information about the version + of a package. Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/provenance_pb2.py b/grafeas/grafeas/grafeas_v1/proto/provenance_pb2.py index 3f25bbc15af8..637ba1803e0d 100644 --- a/grafeas/grafeas/grafeas_v1/proto/provenance_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/provenance_pb2.py @@ -1510,8 +1510,8 @@ ), DESCRIPTOR=_BUILDPROVENANCE, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""Provenance of a build. Contains all information needed to verify the - full details about the build from source to completion. + __doc__="""Provenance of a build. Contains all information needed to + verify the full details about the build from source to completion. Attributes: @@ -1570,7 +1570,8 @@ ), DESCRIPTOR=_SOURCE, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""Source describes the location of the source used for the build. + __doc__="""Source describes the location of the source used for the + build. Attributes: @@ -1606,8 +1607,9 @@ dict( DESCRIPTOR=_FILEHASHES, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""Container message for hashes of byte content of files, used in source - messages to verify integrity of source input to the build. + __doc__="""Container message for hashes of byte content of files, + used in source messages to verify integrity of source input to the + build. Attributes: @@ -1645,7 +1647,8 @@ dict( DESCRIPTOR=_COMMAND, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""Command describes a step performed as part of the build pipeline. + __doc__="""Command describes a step performed as part of the build + pipeline. Attributes: @@ -1715,9 +1718,9 @@ ), DESCRIPTOR=_SOURCECONTEXT, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""A SourceContext is a reference to a tree of files. A SourceContext - together with a path point to a unique revision of a single file or - directory. + __doc__="""A SourceContext is a reference to a tree of files. A + SourceContext together with a path point to a unique revision of a + single file or directory. Attributes: @@ -1767,8 +1770,8 @@ dict( DESCRIPTOR=_CLOUDREPOSOURCECONTEXT, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""A CloudRepoSourceContext denotes a particular revision in a Google Cloud - Source Repo. + __doc__="""A CloudRepoSourceContext denotes a particular revision in + a Google Cloud Source Repo. Attributes: @@ -1822,8 +1825,8 @@ dict( DESCRIPTOR=_GITSOURCECONTEXT, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""A GitSourceContext denotes a particular revision in a third party Git - repository (e.g., GitHub). + __doc__="""A GitSourceContext denotes a particular revision in a + third party Git repository (e.g., GitHub). Attributes: @@ -1867,8 +1870,8 @@ dict( DESCRIPTOR=_PROJECTREPOID, __module__="grafeas_v1.proto.provenance_pb2", - __doc__="""Selects a repo using a Google Cloud Platform project ID (e.g., - winged-cargo-31) and a repo name within that project. + __doc__="""Selects a repo using a Google Cloud Platform project ID + (e.g., winged-cargo-31) and a repo name within that project. Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2.py b/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2.py index 53306778e8b9..a8f4cdaa31ee 100644 --- a/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/upgrade_pb2.py @@ -604,10 +604,11 @@ dict( DESCRIPTOR=_UPGRADENOTE, __module__="grafeas_v1.proto.upgrade_pb2", - __doc__="""An Upgrade Note represents a potential upgrade of a package to a given - version. For each package version combination (i.e. bash 4.0, bash 4.1, - bash 4.1.2), there will be an Upgrade Note. For Windows, windows\_update - field represents the information related to the update. + __doc__="""An Upgrade Note represents a potential upgrade of a + package to a given version. For each package version combination (i.e. + bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For + Windows, windows\_update field represents the information related to the + update. Attributes: @@ -633,9 +634,10 @@ dict( DESCRIPTOR=_UPGRADEDISTRIBUTION, __module__="grafeas_v1.proto.upgrade_pb2", - __doc__="""The Upgrade Distribution represents metadata about the Upgrade for each - operating system (CPE). Some distributions have additional metadata - around updates, classifying them into various categories and severities. + __doc__="""The Upgrade Distribution represents metadata about the + Upgrade for each operating system (CPE). Some distributions have + additional metadata around updates, classifying them into various + categories and severities. Attributes: @@ -700,9 +702,9 @@ ), DESCRIPTOR=_WINDOWSUPDATE, __module__="grafeas_v1.proto.upgrade_pb2", - __doc__="""Windows Update represents the metadata about the update for the Windows - operating system. The fields in this message come from the Windows - Update API documented at + __doc__="""Windows Update represents the metadata about the update + for the Windows operating system. The fields in this message come from + the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate. @@ -736,11 +738,12 @@ dict( DESCRIPTOR=_UPGRADEOCCURRENCE, __module__="grafeas_v1.proto.upgrade_pb2", - __doc__="""An Upgrade Occurrence represents that a specific resource\_url could - install a specific upgrade. This presence is supplied via local sources - (i.e. it is present in the mirror and the running system has noticed its - availability). For Windows, both distribution and windows\_update - contain information for the Windows update. + __doc__="""An Upgrade Occurrence represents that a specific + resource\_url could install a specific upgrade. This presence is + supplied via local sources (i.e. it is present in the mirror and the + running system has noticed its availability). For Windows, both + distribution and windows\_update contain information for the Windows + update. Attributes: diff --git a/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2.py b/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2.py index 18768fe20a16..bf2abfb18d54 100644 --- a/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2.py +++ b/grafeas/grafeas/grafeas_v1/proto/vulnerability_pb2.py @@ -989,8 +989,8 @@ dict( DESCRIPTOR=_VULNERABILITYNOTE_DETAIL, __module__="grafeas_v1.proto.vulnerability_pb2", - __doc__="""A detail for a distro and package affected by this vulnerability and its - associated fix (if one is available). + __doc__="""A detail for a distro and package affected by this + vulnerability and its associated fix (if one is available). Attributes: @@ -1137,8 +1137,8 @@ dict( DESCRIPTOR=_VULNERABILITYOCCURRENCE_PACKAGEISSUE, __module__="grafeas_v1.proto.vulnerability_pb2", - __doc__="""A detail for a distro and package this vulnerability occurrence was - found in and its associated fix (if one is available). + __doc__="""A detail for a distro and package this vulnerability + occurrence was found in and its associated fix (if one is available). Attributes: diff --git a/grafeas/grafeas/grafeas_v1/types.py b/grafeas/grafeas/grafeas_v1/types.py index 20df4ae63447..9d65a986fea5 100644 --- a/grafeas/grafeas/grafeas_v1/types.py +++ b/grafeas/grafeas/grafeas_v1/types.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/grafeas/synth.metadata b/grafeas/synth.metadata index 4a0bb5ee6aab..10f2cb3c38d3 100644 --- a/grafeas/synth.metadata +++ b/grafeas/synth.metadata @@ -1,19 +1,20 @@ { - "updateTime": "2020-01-09T13:18:19.456306Z", + "updateTime": "2020-01-30T13:26:03.331590Z", "sources": [ { "generator": { "name": "artman", - "version": "0.43.0", - "dockerImage": "googleapis/artman@sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20" + "version": "0.44.4", + "dockerImage": "googleapis/artman@sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6ace586805c08896fef43e28a261337fcf3f022b", - "internalRef": "288783603" + "sha": "c1246a29e22b0f98e800a536b5b0da2d933a55f2", + "internalRef": "292310790", + "log": "c1246a29e22b0f98e800a536b5b0da2d933a55f2\nUpdating v1 protos with the latest inline documentation (in comments) and config options. Also adding a per-service .yaml file.\n\nPiperOrigin-RevId: 292310790\n\nb491d07cadaae7cde5608321f913e5ca1459b32d\nRevert accidental local_repository change\n\nPiperOrigin-RevId: 292245373\n\naf3400a8cb6110025198b59a0f7d018ae3cda700\nUpdate gapic-generator dependency (prebuilt PHP binary support).\n\nPiperOrigin-RevId: 292243997\n\n341fd5690fae36f36cf626ef048fbcf4bbe7cee6\ngrafeas: v1 add resource_definition for the grafeas.io/Project and change references for Project.\n\nPiperOrigin-RevId: 292221998\n\n42e915ec2ece1cd37a590fbcd10aa2c0fb0e5b06\nUpdate the gapic-generator, protoc-java-resource-name-plugin and protoc-docs-plugin to the latest commit.\n\nPiperOrigin-RevId: 292182368\n\nf035f47250675d31492a09f4a7586cfa395520a7\nFix grafeas build and update build.sh script to include gerafeas.\n\nPiperOrigin-RevId: 292168753\n\n26ccb214b7bc4a716032a6266bcb0a9ca55d6dbb\nasset: v1p1beta1 add client config annotations and retry config\n\nPiperOrigin-RevId: 292154210\n\n974ee5c0b5d03e81a50dafcedf41e0efebb5b749\nasset: v1beta1 add client config annotations\n\nPiperOrigin-RevId: 292152573\n\ncf3b61102ed5f36b827bc82ec39be09525f018c8\n Fix to protos for v1p1beta1 release of Cloud Security Command Center\n\nPiperOrigin-RevId: 292034635\n\n4e1cfaa7c0fede9e65d64213ca3da1b1255816c0\nUpdate the public proto to support UTF-8 encoded id for CatalogService API, increase the ListCatalogItems deadline to 300s and some minor documentation change\n\nPiperOrigin-RevId: 292030970\n\n9c483584f8fd5a1b862ae07973f4cc7bb3e46648\nasset: add annotations to v1p1beta1\n\nPiperOrigin-RevId: 292009868\n\ne19209fac29731d0baf6d9ac23da1164f7bdca24\nAdd the google.rpc.context.AttributeContext message to the open source\ndirectories.\n\nPiperOrigin-RevId: 291999930\n\nae5662960573f279502bf98a108a35ba1175e782\noslogin API: move file level option on top of the file to avoid protobuf.js bug.\n\nPiperOrigin-RevId: 291990506\n\neba3897fff7c49ed85d3c47fc96fe96e47f6f684\nAdd cc_proto_library and cc_grpc_library targets for Spanner and IAM protos.\n\nPiperOrigin-RevId: 291988651\n\n8e981acfd9b97ea2f312f11bbaa7b6c16e412dea\nBeta launch for PersonDetection and FaceDetection features.\n\nPiperOrigin-RevId: 291821782\n\n994e067fae3b21e195f7da932b08fff806d70b5d\nasset: add annotations to v1p2beta1\n\nPiperOrigin-RevId: 291815259\n\n244e1d2c89346ca2e0701b39e65552330d68545a\nAdd Playable Locations service\n\nPiperOrigin-RevId: 291806349\n\n909f8f67963daf45dd88d020877fb9029b76788d\nasset: add annotations to v1beta2\n\nPiperOrigin-RevId: 291805301\n\n3c39a1d6e23c1ef63c7fba4019c25e76c40dfe19\nKMS: add file-level message for CryptoKeyPath, it is defined in gapic yaml but not\nin proto files.\n\nPiperOrigin-RevId: 291420695\n\nc6f3f350b8387f8d1b85ed4506f30187ebaaddc3\ncontaineranalysis: update v1beta1 and bazel build with annotations\n\nPiperOrigin-RevId: 291401900\n\n92887d74b44e4e636252b7b8477d0d2570cd82db\nfix: fix the location of grpc config file.\n\nPiperOrigin-RevId: 291396015\n\ne26cab8afd19d396b929039dac5d874cf0b5336c\nexpr: add default_host and method_signature annotations to CelService\n\nPiperOrigin-RevId: 291240093\n\n06093ae3952441c34ec176d1f7431b8765cec0be\nirm: fix v1alpha2 bazel build by adding missing proto imports\n\nPiperOrigin-RevId: 291227940\n\na8a2514af326e4673063f9a3c9d0ef1091c87e6c\nAdd proto annotation for cloud/irm API\n\nPiperOrigin-RevId: 291217859\n\n8d16f76de065f530d395a4c7eabbf766d6a120fd\nGenerate Memcache v1beta2 API protos and gRPC ServiceConfig files\n\nPiperOrigin-RevId: 291008516\n\n3af1dabd93df9a9f17bf3624d3b875c11235360b\ngrafeas: Add containeranalysis default_host to Grafeas service\n\nPiperOrigin-RevId: 290965849\n\nbe2663fa95e31cba67d0cd62611a6674db9f74b7\nfix(google/maps/roads): add missing opening bracket\n\nPiperOrigin-RevId: 290964086\n\nfacc26550a0af0696e0534bc9cae9df14275aa7c\nUpdating v2 protos with the latest inline documentation (in comments) and adding a per-service .yaml file.\n\nPiperOrigin-RevId: 290952261\n\ncda99c1f7dc5e4ca9b1caeae1dc330838cbc1461\nChange api_name to 'asset' for v1p1beta1\n\nPiperOrigin-RevId: 290800639\n\n94e9e90c303a820ce40643d9129e7f0d2054e8a1\nAdds Google Maps Road service\n\nPiperOrigin-RevId: 290795667\n\na3b23dcb2eaecce98c600c7d009451bdec52dbda\nrpc: new message ErrorInfo, other comment updates\n\nPiperOrigin-RevId: 290781668\n\n26420ef4e46c37f193c0fbe53d6ebac481de460e\nAdd proto definition for Org Policy v1.\n\nPiperOrigin-RevId: 290771923\n\n7f0dab8177cf371ae019a082e2512de7ac102888\nPublish Routes Preferred API v1 service definitions.\n\nPiperOrigin-RevId: 290326986\n\nad6e508d0728e1d1bca6e3f328cd562718cb772d\nFix: Qualify resource type references with \"jobs.googleapis.com/\"\n\nPiperOrigin-RevId: 290285762\n\n58e770d568a2b78168ddc19a874178fee8265a9d\ncts client library\n\nPiperOrigin-RevId: 290146169\n\naf9daa4c3b4c4a8b7133b81588dd9ffd37270af2\nAdd more programming language options to public proto\n\nPiperOrigin-RevId: 290144091\n\nd9f2bbf2df301ef84641d4cec7c828736a0bd907\ntalent: add missing resource.proto dep to Bazel build target\n\nPiperOrigin-RevId: 290143164\n\n3b3968237451d027b42471cd28884a5a1faed6c7\nAnnotate Talent API.\nAdd gRPC service config for retry.\nUpdate bazel file with google.api.resource dependency.\n\nPiperOrigin-RevId: 290125172\n\n0735b4b096872960568d1f366bfa75b7b0e1f1a3\nWeekly library update.\n\nPiperOrigin-RevId: 289939042\n\n8760d3d9a4543d7f9c0d1c7870aca08b116e4095\nWeekly library update.\n\nPiperOrigin-RevId: 289939020\n\n8607df842f782a901805187e02fff598145b0b0e\nChange Talent API timeout to 30s.\n\nPiperOrigin-RevId: 289912621\n\n908155991fe32570653bcb72ecfdcfc896642f41\nAdd Recommendations AI V1Beta1\n\nPiperOrigin-RevId: 289901914\n\n5c9a8c2bebd8b71aa66d1cc473edfaac837a2c78\nAdding no-arg method signatures for ListBillingAccounts and ListServices\n\nPiperOrigin-RevId: 289891136\n\n50b0e8286ac988b0593bd890eb31fef6ea2f5767\nlongrunning: add grpc service config and default_host annotation to operations.proto\n\nPiperOrigin-RevId: 289876944\n\n6cac27dabe51c54807b0401698c32d34998948a9\n Updating default deadline for Cloud Security Command Center's v1 APIs.\n\nPiperOrigin-RevId: 289875412\n\nd99df0d67057a233c711187e0689baa4f8e6333d\nFix: Correct spelling in C# namespace option\n\nPiperOrigin-RevId: 289709813\n\n2fa8d48165cc48e35b0c62e6f7bdade12229326c\nfeat: Publish Recommender v1 to GitHub.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289619243\n\n9118db63d1ab493a2e44a3b4973fde810a835c49\nfirestore: don't retry reads that fail with Aborted\n\nFor transaction reads that fail with ABORTED, we need to rollback and start a new transaction. Our current configuration makes it so that GAPIC retries ABORTED reads multiple times without making any progress. Instead, we should retry at the transaction level.\n\nPiperOrigin-RevId: 289532382\n\n1dbfd3fe4330790b1e99c0bb20beb692f1e20b8a\nFix bazel build\nAdd other langauges (Java was already there) for bigquery/storage/v1alpha2 api.\n\nPiperOrigin-RevId: 289519766\n\nc06599cdd7d11f8d3fd25f8d3249e5bb1a3d5d73\nInitial commit of google.cloud.policytroubleshooter API, The API helps in troubleshooting GCP policies. Refer https://cloud.google.com/iam/docs/troubleshooting-access for more information\n\nPiperOrigin-RevId: 289491444\n\nfce7d80fa16ea241e87f7bc33d68595422e94ecd\nDo not pass samples option for Artman config of recommender v1 API.\n\nPiperOrigin-RevId: 289477403\n\nef179e8c61436297e6bb124352e47e45c8c80cb1\nfix: Address missing Bazel dependency.\n\nBazel builds stopped working in 06ec6d5 because\nthe google/longrunning/operations.proto file took\nan import from google/api/client.proto, but that\nimport was not added to BUILD.bazel.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289446074\n\n8841655b242c84fd691d77d7bcf21b61044f01ff\nMigrate Data Labeling v1beta1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289446026\n\n06ec6d5d053fff299eaa6eaa38afdd36c5e2fc68\nAdd annotations to google.longrunning.v1\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289413169\n\n0480cf40be1d3cc231f4268a2fdb36a8dd60e641\nMigrate IAM Admin v1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289411084\n\n1017173e9adeb858587639af61889ad970c728b1\nSpecify a C# namespace for BigQuery Connection v1beta1\n\nPiperOrigin-RevId: 289396763\n\nb08714b378e8e5b0c4ecdde73f92c36d6303b4b6\nfix: Integrate latest proto-docs-plugin fix.\nFixes dialogflow v2\n\nPiperOrigin-RevId: 289189004\n\n51217a67e79255ee1f2e70a6a3919df082513327\nCreate BUILD file for recommender v1\n\nPiperOrigin-RevId: 289183234\n\nacacd87263c0a60e458561b8b8ce9f67c760552a\nGenerate recommender v1 API protos and gRPC ServiceConfig files\n\nPiperOrigin-RevId: 289177510\n\n9d2f7133b97720b1fa3601f6dcd30760ba6d8a1e\nFix kokoro build script\n\nPiperOrigin-RevId: 289166315\n\nc43a67530d2a47a0220cad20ca8de39b3fbaf2c5\ncloudtasks: replace missing RPC timeout config for v2beta2 and v2beta3\n\nPiperOrigin-RevId: 289162391\n\n4cefc229a9197236fc0adf02d69b71c0c5cf59de\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 289158456\n\n56f263fe959c50786dab42e3c61402d32d1417bd\nCatalog API: Adding config necessary to build client libraries\n\nPiperOrigin-RevId: 289149879\n\n4543762b23a57fc3c53d409efc3a9affd47b6ab3\nFix Bazel build\nbilling/v1 and dialogflow/v2 remain broken (not bazel-related issues).\nBilling has wrong configuration, dialogflow failure is caused by a bug in documentation plugin.\n\nPiperOrigin-RevId: 289140194\n\nc9dce519127b97e866ca133a01157f4ce27dcceb\nUpdate Bigtable docs\n\nPiperOrigin-RevId: 289114419\n\n802c5c5f2bf94c3facb011267d04e71942e0d09f\nMigrate DLP to proto annotations (but not GAPIC v2).\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289102579\n\n6357f30f2ec3cff1d8239d18b707ff9d438ea5da\nRemove gRPC configuration file that was in the wrong place.\n\nPiperOrigin-RevId: 289096111\n\n360a8792ed62f944109d7e22d613a04a010665b4\n Protos for v1p1beta1 release of Cloud Security Command Center\n\nPiperOrigin-RevId: 289011995\n\na79211c20c4f2807eec524d00123bf7c06ad3d6e\nRoll back containeranalysis v1 to GAPIC v1.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288999068\n\n9e60345ba603e03484a8aaa33ce5ffa19c1c652b\nPublish Routes Preferred API v1 proto definitions.\n\nPiperOrigin-RevId: 288941399\n\nd52885b642ad2aa1f42b132ee62dbf49a73e1e24\nMigrate the service management API to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288909426\n\n" } }, { @@ -35,5 +36,214 @@ "config": "grafeas/artman_grafeas_v1.yaml" } } + ], + "newFiles": [ + { + "path": ".coveragerc" + }, + { + "path": ".flake8" + }, + { + "path": ".repo-metadata.json" + }, + { + "path": "CHANGELOG.md" + }, + { + "path": "LICENSE" + }, + { + "path": "MANIFEST.in" + }, + { + "path": "README.rst" + }, + { + "path": "docs/README.rst" + }, + { + "path": "docs/_static/custom.css" + }, + { + "path": "docs/_templates/layout.html" + }, + { + "path": "docs/changelog.md" + }, + { + "path": "docs/conf.py" + }, + { + "path": "docs/gapic/v1/api.rst" + }, + { + "path": "docs/gapic/v1/types.rst" + }, + { + "path": "docs/index.rst" + }, + { + "path": "grafeas.py" + }, + { + "path": "grafeas/__init__.py" + }, + { + "path": "grafeas/grafeas.py" + }, + { + "path": "grafeas/grafeas_v1/__init__.py" + }, + { + "path": "grafeas/grafeas_v1/gapic/__init__.py" + }, + { + "path": "grafeas/grafeas_v1/gapic/enums.py" + }, + { + "path": "grafeas/grafeas_v1/gapic/grafeas_client.py" + }, + { + "path": "grafeas/grafeas_v1/gapic/grafeas_client_config.py" + }, + { + "path": "grafeas/grafeas_v1/gapic/transports/__init__.py" + }, + { + "path": "grafeas/grafeas_v1/gapic/transports/grafeas_grpc_transport.py" + }, + { + "path": "grafeas/grafeas_v1/proto/__init__.py" + }, + { + "path": "grafeas/grafeas_v1/proto/attestation.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/attestation_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/attestation_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/build.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/build_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/build_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/common.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/common_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/common_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/cvss.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/cvss_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/cvss_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/deployment.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/deployment_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/deployment_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/discovery.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/discovery_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/discovery_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/grafeas.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/grafeas_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/grafeas_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/image.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/image_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/image_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/package.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/package_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/package_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/provenance.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/provenance_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/provenance_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/upgrade.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/upgrade_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/upgrade_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/proto/vulnerability.proto" + }, + { + "path": "grafeas/grafeas_v1/proto/vulnerability_pb2.py" + }, + { + "path": "grafeas/grafeas_v1/proto/vulnerability_pb2_grpc.py" + }, + { + "path": "grafeas/grafeas_v1/types.py" + }, + { + "path": "noxfile.py" + }, + { + "path": "setup.cfg" + }, + { + "path": "setup.py" + }, + { + "path": "synth.metadata" + }, + { + "path": "synth.py" + }, + { + "path": "tests/unit/gapic/v1/test_grafeas_client_v1.py" + } ] } \ No newline at end of file diff --git a/grafeas/tests/unit/gapic/v1/test_grafeas_client_v1.py b/grafeas/tests/unit/gapic/v1/test_grafeas_client_v1.py index 74613726dc5b..5ac0efb61c95 100644 --- a/grafeas/tests/unit/gapic/v1/test_grafeas_client_v1.py +++ b/grafeas/tests/unit/gapic/v1/test_grafeas_client_v1.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.