diff --git a/modules/sync/googleapis/googleapis/cas/30840693e3b5edac0f461e7168da1057b36a5df75d2d0c6fd920f8442a2f51afb22c955ad5afc25a1394f6e2de65d623844594a37d9f9ce093c48d6afe6a3e55 b/modules/sync/googleapis/googleapis/cas/30840693e3b5edac0f461e7168da1057b36a5df75d2d0c6fd920f8442a2f51afb22c955ad5afc25a1394f6e2de65d623844594a37d9f9ce093c48d6afe6a3e55 new file mode 100644 index 00000000..da268d83 --- /dev/null +++ b/modules/sync/googleapis/googleapis/cas/30840693e3b5edac0f461e7168da1057b36a5df75d2d0c6fd920f8442a2f51afb22c955ad5afc25a1394f6e2de65d623844594a37d9f9ce093c48d6afe6a3e55 @@ -0,0 +1,50 @@ +shake256:faedd41bb62749fa9e3e87f183fe58065f0d4ccf60e4d347727c04544ccdd08a43f1703d8f2cd31613fe1a767d63c33b280f34df99eda6ad2b25dfec4c4ead81 LICENSE +shake256:a03f3e3db996f1a04bfb5e37501893082ab5a58fd9cf84975409e402a50c4b3b29be074c83afa0dfbd378e3b4b4566ec3002171a95c7355a8e74e789887e91a8 buf.md +shake256:b5c1d200e09f9de6dd66a0ab1c03cb0935d347d64bd9c73a3d44b10c1de9b396a30780cb623af34c96681e54a931be5903ad1e20c662cc02017f312db2cd55cf buf.yaml +shake256:787fb3dd972f71d2e6c8efa4491ab950d0fc951e4e53360684e36e54cc8825289b56115f2aa2d39e86374364997be90a1b5569a22befaf61ed01a68a2c479b31 google/api/annotations.proto +shake256:fca96bb8953c26140e865d83087a5379d91a7f3a442a95312d230f30fef740e4b2bf04cc581c0fb11c93238594317eb453a8129ac5bbef7206d6ab681657ee34 google/api/client.proto +shake256:54394c1b59899cbf6ecee3a23c4d55861ff36e61f52b6e54e25d12c901bc9cec719a718a552aeda520d4cb9886e25a8c9fd62a0bacdcfae31aedb2ca3319d54a google/api/expr/v1alpha1/checked.proto +shake256:82459cd88b16c1cb2bbaae6d3bef2ef1416add589ef204155de6ec0d00eaeb53bc219fae1645b8ee56ff2f14dd8c8c2974bdfc3cb037c55715349554ae6ae6ba google/api/expr/v1alpha1/eval.proto +shake256:0d501640d39656f494ec6c6783c4062128f8733600b41be8650d783ac151daa9cd17d42c30bb8e8592859fac1690700062f709d12ee21cdb2a768eef220597f9 google/api/expr/v1alpha1/explain.proto +shake256:19e9a802acf52feeb84d9fc117d6f7a9bba4b740726f244bb79d6636a05acb67a67985187f2633c7a5270c70e546b88b10445e02ea15d5e7665d7ecb8f595b62 google/api/expr/v1alpha1/syntax.proto +shake256:95c1fe140310e9be08fe1f0086bd05c7f0c356d0c5331bae2486b45064d9230c985e18e92546326f933c585e64ffea4c58559c74044a489f1c7ec0dc300968d1 google/api/expr/v1alpha1/value.proto +shake256:122f61655f22a652ba9b21b958aa2ab9f0271dc5643ac9fd56aba35bc242401434774dcab17d1959731a2a8cea4e5cf5733db85e7ff00fb2c06b376b328a1abb google/api/expr/v1beta1/decl.proto +shake256:104865cd0455f290a67e205a7ff6dc31813149e04ccb8c53628d4af3e27d5f3996c6fcc014370d85e04baa15abee4a58ac62c9b75d018c5d8ee7133b2b642adc google/api/expr/v1beta1/eval.proto +shake256:11074bddc428e42e2ff38c450d8f4c3c79d2da3eba92f0cc824101f518b647be9a3805600303d2776f9fbd47a0c7e4e9687983f7f7422e4c437653e9ca49147d google/api/expr/v1beta1/expr.proto +shake256:7d4d476c25793cb3933057ce4c919940e945c505d9e631a7a7e26f7e065883f65649299928d8128a1dbd5524fd5cf0ae1ddcbb70826428ca91703f0160e8a646 google/api/expr/v1beta1/source.proto +shake256:10e42edbba83eed94ba590703bbd5455ac9fe7316c3b1543d9d8098871a3f5889b73473af8e7b09e891ee98253df588da31b42ac99ecd82a9bdf95eacbad77a3 google/api/expr/v1beta1/value.proto +shake256:b2a493cb87ee861fcc5caf912ee18007ad389883534a078cd74be1596c8771420053b1b8cf558d8a2f2071bfb4aaf21b8135bd91c665f245a45175e3be5aaa91 google/api/field_behavior.proto +shake256:bfc3192c758dc3705e911e34feb1c003316d8b80f594c2d1da9f9edc3364bc532006142d47f421ddb0ae3e668842d3a12557c5c5c92362af82373b28dd34c728 google/api/field_info.proto +shake256:205bce199154138e5df4992be6602a0d4c522b81a9bb6787fd4ceadffe9082ff246d620fa487ea925afd26b2d339439de257dc57a1345f5ffb7cae671f5c1b28 google/api/http.proto +shake256:9a455062258a46576d13ee4740e2b444574e66ac481618c3ba91fba7250836ce137498fbf99eaad95b12aff5d90f97e2a6fb15c76f2f11fdd791372137235428 google/api/httpbody.proto +shake256:6d8a6378e80c3cc5a2a35648ae43c28d7f3d9ccfe8774069c06d536ff1ea8997e119deeaa03b3761dc7c96620e83847d3fa673b00eb9fa15ce16c9dfbb9048a5 google/api/launch_stage.proto +shake256:e8212ecdc0909bdfe85f9f5cebc8a8a50df8c5f52a241af58b617ac3a93b2d58f89cbf9d64fef6dbec2c5223ff9a6761180deabbe8fc0ea2584e1799f77df9e6 google/api/resource.proto +shake256:14d988b534e4e84168c4a49f29d5d8544a85ff72e7210137b9bdb9e7a96168f813a884c58100c95b88714fc7d1428cac9853e3f885487c29a4cfdc6e58fde614 google/api/routing.proto +shake256:8c5510fb2d7ff359380fe8844cf2928be8a123964a572ceea182ace03e91a2cd0f47fc07bc8af1228f0c6b8a3b7ca68dbb04b29a5a22d4d1a90704519fb0cd3f google/api/visibility.proto +shake256:783e49a0b711efa5b0327edabaaaf3720eb2c9f16b7544f3073c368ab8dfe93c4d20973ce9b125728e8d58a994777d372d05ea2880215285c38f176e6f63494f google/bytestream/bytestream.proto +shake256:fa78a9954d3747c0150d19673e5a58023982572222230e4f90bc0a246e278c6b56e0adc10d83e7cdf526160078c21306c98fa728485882da421af6e496776d3e google/geo/type/viewport.proto +shake256:74763f2e6966616192db178399ffd46586d4e143dbd1c3c968ddfdecbfe731270990443bc671e2c4d8eb318a2dcad5982f683517a9a06d9a34a07a0ed3bed1ef google/iam/v1/iam_policy.proto +shake256:d6de46ab21620d5b0c1366a78325fbb60995234b72f2dfb9296b9420142d962098d424c49ae7f3bb6b20d5ad059b4e8506633c4c5c8e4aff609ddab2406e52fc google/iam/v1/options.proto +shake256:9bf96d8edcfcc5772652d88035ff8b7d6c15563a64a6deea0c59b84ab69f553545ba8a34962414609a202cad35831ac017245b5f0b9b718732dcc34d47055525 google/iam/v1/policy.proto +shake256:075087745ce43e41f9c43d2c9131958f8e8a05722fcfe0e2701b5dcef0aa5a32040c2f9feae97a3377004ed88b02551358f5324432af0e8290f5d19e0a7a6e7f google/longrunning/operations.proto +shake256:405596c6864a12166a263adef00f1840b9557b4de02f4a67a5ff05d65b3381877b555f8173c52d679b0e963c0199fb1fc4e9f7ade9789672a61e7f58be32afef google/rpc/code.proto +shake256:8baddca5282a87d9cdab75136d2d674e89e7515a93b57b25e69e7dc095e18df691a7ea11217be33e9cb3c5d41f815c391344a6f06fe02c8635b6b31375e762c9 google/rpc/context/attribute_context.proto +shake256:998e15a53fa54103c471b607e4b80597f473b4c6c99d1f56bd88d8455853e5dbeabd2e0b2f65c91f5ab5f94327584e6ba3e20d5115c3df30e4f4a4c696ba0c2f google/rpc/error_details.proto +shake256:16aeecb4b265614d82da46336d24268e2acba91d7d76140cdfa545a17d59c35bae74af17237496a505bc5742862b5aae641beb33dba4c878af3a28d1206b237d google/rpc/status.proto +shake256:128d37470765dab5fc26bf57c151d6c4bf5ea752a5af02452c64895596d2a2631b3368369a9d8258dcd20cdf2d10288e8e8a29350282114856e8e2dbe22c3f6c google/type/calendar_period.proto +shake256:aa0c1dab8fcf0b21391d2a18de2f1ec9357d4674108543c6961d769a256e83be9e32d7efeaf1195e3dd364c8491007a630dc41186a44dd7be7ce6a52a16378fa google/type/color.proto +shake256:de8f44efafeb135c513daf4e4637812ac73e955f193fb39a4cce97c9c038f6ba2e2e0af6a6dfdfad283fba319ed91a8356b4717067068725c1f48b2b07a9984e google/type/date.proto +shake256:278812ecc9dedc26681df44bb528eeb75b8e20e374493ec9bf6c2ec2954558bc30057b0826df692fadd0764274fda7044a1e7aa51a5a8caefd17dfab8b31eaa3 google/type/datetime.proto +shake256:6042fe90cc38a16dfe26de4cfa4c14f0d98136f55fbab8c293140afe4dfb35174e8f9ccadb1671bac72860a6b8293842de3aa39fe8f07c1effc9088a1b41f64a google/type/dayofweek.proto +shake256:55ff3b900338573d1e70472308caa795dd24a4ec6c6d96119ad352cad1257627e12ad937a0f81d18d667ad362779d8b4f8cd08cbb0b21fbf95c6ef36966a6425 google/type/decimal.proto +shake256:1b39d7573ec87f46b6807e73ce7819fc98ea0841bbe05f8d01dc53da9ae2210e522cd21e1d84ba3e5cde89ad2fa3ecab67666dbd59045824fc81bd68833712bc google/type/expr.proto +shake256:f1f010eeb2059793a6f0f51c049f2277b3bc225d3db87384c3adf10954fead96ce09fd2217be3cf69bf87c835010211476f8db77b15b9deb2939d2bf646fe735 google/type/fraction.proto +shake256:c63630d1536d770eee96e63af5a3c00c99321a6826799ac09bcbf70b6f7e68c720f322ad8922d782a4e5d11ff2fdbe52575c8b70c73f82f765c05b067351de8e google/type/interval.proto +shake256:5b81ad5a08f9f73d3d5b497d94e0c6c79f4ec6d8cd3a4b5764caf141d49e3ec80215798d6157ea71bd991f45d53ade1b1034b73c60682e335733c951df37beb7 google/type/latlng.proto +shake256:b0725f95892d8d8affa4767b114f0ab81fb087f88af06d42d79c30c1b49a88cba631deeea47223a9ce3df4824c10331e7fdb5935b84184dc472cb62576c5d4df google/type/localized_text.proto +shake256:ca21403594960fd6dadfcff2bbcfc7957fecd28949f0a8999ad8ccbc154c9b8eb3ffe7f1b36985c046593cac78329d089257cd31d9973a707b4b785452ce72b5 google/type/money.proto +shake256:1d0d55fda72473493457187e72dae7573f78b272a1653b554e02931ad6fa0bfcb4853583637eeda07c08fb697c8584c9d9d5248f84f970b84e9739a86f09026f google/type/month.proto +shake256:169404adb1af66122741f6905e79fd1e4725d796201ca97585d54f06d2d5fa2f72cbbe772081008da559d373e85d27c7ad8b2cbc26be80f04641bef6e8008571 google/type/phone_number.proto +shake256:7c04d2689e3d0e5d527c2c94301d8847181e4d17c2193df82b1c083e5822be56c7686148d277f64ffac7f28311a10a516698e22dd8c1f6969c025a50981a7b72 google/type/postal_address.proto +shake256:31cd639b53b8b2d8b7925861ffdd0e9cc0b89b6a82f52b6e452959fd2f22f70afaebd1948e828e1eeab3cb1c4a82c6836384db0ec309138ed2e61dc625711fee google/type/quaternion.proto +shake256:d78652766750b4bc59893901632a663f5df452614ea1f971af75035d26ec85f07e9dda2cbb708c8fda800460bb597ed4f6f053ef479b68939aa83a309ff93719 google/type/timeofday.proto diff --git a/modules/sync/googleapis/googleapis/cas/b2a493cb87ee861fcc5caf912ee18007ad389883534a078cd74be1596c8771420053b1b8cf558d8a2f2071bfb4aaf21b8135bd91c665f245a45175e3be5aaa91 b/modules/sync/googleapis/googleapis/cas/b2a493cb87ee861fcc5caf912ee18007ad389883534a078cd74be1596c8771420053b1b8cf558d8a2f2071bfb4aaf21b8135bd91c665f245a45175e3be5aaa91 new file mode 100644 index 00000000..51f4c7d4 --- /dev/null +++ b/modules/sync/googleapis/googleapis/cas/b2a493cb87ee861fcc5caf912ee18007ad389883534a078cd74be1596c8771420053b1b8cf558d8a2f2071bfb4aaf21b8135bd91c665f245a45175e3be5aaa91 @@ -0,0 +1,104 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.api; + +import "google/protobuf/descriptor.proto"; + +option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; +option java_multiple_files = true; +option java_outer_classname = "FieldBehaviorProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +extend google.protobuf.FieldOptions { + // A designation of a specific field behavior (required, output only, etc.) + // in protobuf messages. + // + // Examples: + // + // string name = 1 [(google.api.field_behavior) = REQUIRED]; + // State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // google.protobuf.Duration ttl = 1 + // [(google.api.field_behavior) = INPUT_ONLY]; + // google.protobuf.Timestamp expire_time = 1 + // [(google.api.field_behavior) = OUTPUT_ONLY, + // (google.api.field_behavior) = IMMUTABLE]; + repeated google.api.FieldBehavior field_behavior = 1052; +} + +// An indicator of the behavior of a given field (for example, that a field +// is required in requests, or given as output but ignored as input). +// This **does not** change the behavior in protocol buffers itself; it only +// denotes the behavior and may affect how API tooling handles the field. +// +// Note: This enum **may** receive new values in the future. +enum FieldBehavior { + // Conventional default for enums. Do not use this. + FIELD_BEHAVIOR_UNSPECIFIED = 0; + + // Specifically denotes a field as optional. + // While all fields in protocol buffers are optional, this may be specified + // for emphasis if appropriate. + OPTIONAL = 1; + + // Denotes a field as required. + // This indicates that the field **must** be provided as part of the request, + // and failure to do so will cause an error (usually `INVALID_ARGUMENT`). + REQUIRED = 2; + + // Denotes a field as output only. + // This indicates that the field is provided in responses, but including the + // field in a request does nothing (the server *must* ignore it and + // *must not* throw an error as a result of the field's presence). + OUTPUT_ONLY = 3; + + // Denotes a field as input only. + // This indicates that the field is provided in requests, and the + // corresponding field is not included in output. + INPUT_ONLY = 4; + + // Denotes a field as immutable. + // This indicates that the field may be set once in a request to create a + // resource, but may not be changed thereafter. + IMMUTABLE = 5; + + // Denotes that a (repeated) field is an unordered list. + // This indicates that the service may provide the elements of the list + // in any arbitrary order, rather than the order the user originally + // provided. Additionally, the list's order may or may not be stable. + UNORDERED_LIST = 6; + + // Denotes that this field returns a non-empty default value if not set. + // This indicates that if the user provides the empty value in a request, + // a non-empty value will be returned. The user will not be aware of what + // non-empty value to expect. + NON_EMPTY_DEFAULT = 7; + + // Denotes that the field in a resource (a message annotated with + // google.api.resource) is used in the resource name to uniquely identify the + // resource. For AIP-compliant APIs, this should only be applied to the + // `name` field on the resource. + // + // This behavior should not be applied to references to other resources within + // the message. + // + // The identifier field of resources often have different field behavior + // depending on the request it is embedded in (e.g. for Create methods name + // is optional and unused, while for Update methods it is required). Instead + // of method-specific annotations, only `IDENTIFIER` is required. + IDENTIFIER = 8; +} diff --git a/modules/sync/googleapis/googleapis/state.json b/modules/sync/googleapis/googleapis/state.json index 3b644d29..1da08ad5 100644 --- a/modules/sync/googleapis/googleapis/state.json +++ b/modules/sync/googleapis/googleapis/state.json @@ -23895,6 +23895,10 @@ { "name": "19cec069f0c68367097c25c2c95f8bed4d21c6ab", "digest": "c62ecead9b13485a02893cd678a6c81e40879bf00ea509bbc6fd8f1b2cc33eccf6a85c259b08d1e0f052f693cbfc7dfda236e9665b1d6869b8e1132a794a61e2" + }, + { + "name": "a6f4580d494b12461aa1b9190cac8eefe8a3fd22", + "digest": "30840693e3b5edac0f461e7168da1057b36a5df75d2d0c6fd920f8442a2f51afb22c955ad5afc25a1394f6e2de65d623844594a37d9f9ce093c48d6afe6a3e55" } ] } \ No newline at end of file diff --git a/modules/sync/grpc-ecosystem/grpc-gateway/cas/51a76bfec6650e85ce8f67fc8df09bd179bf74c48aaa235d7234a1c312c65dc19ad402e0db5ffab0799c26b473683d5bedb662a2483fed2a8050c29f1ca2ab77 b/modules/sync/grpc-ecosystem/grpc-gateway/cas/51a76bfec6650e85ce8f67fc8df09bd179bf74c48aaa235d7234a1c312c65dc19ad402e0db5ffab0799c26b473683d5bedb662a2483fed2a8050c29f1ca2ab77 new file mode 100644 index 00000000..d525db23 --- /dev/null +++ b/modules/sync/grpc-ecosystem/grpc-gateway/cas/51a76bfec6650e85ce8f67fc8df09bd179bf74c48aaa235d7234a1c312c65dc19ad402e0db5ffab0799c26b473683d5bedb662a2483fed2a8050c29f1ca2ab77 @@ -0,0 +1,385 @@ +syntax = "proto3"; + +// Package grpc.gateway.protoc_gen_openapiv3.options defines the minimal set of +// OpenAPI 3.1.0 override messages consumed by protoc-gen-openapiv3. +package grpc.gateway.protoc_gen_openapiv3.options; + +import "google/protobuf/struct.proto"; + +option go_package = "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv3/options"; + +// Document is a file-level override applied to the top of the generated +// OpenAPI document. Only non-empty sub-fields replace the defaults the +// generator would otherwise synthesize from the proto file name. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#openapi-object +message Document { + // Provides metadata about the API. The metadata MAY be used by tooling as + // required. + Info info = 1; + // An array of Server Objects, which provide connectivity information to a + // target server. If the servers property is not provided, or is an empty + // array, the default value would be a Server Object with a url value of /. + repeated Server servers = 2; + // Additional external documentation. + ExternalDocs external_docs = 3; + // A list of tags used by the document with additional metadata. Tags + // declared here are merged with the tags derived from proto services: an + // entry here whose name matches a service's tag replaces the default, + // and entries with new names are appended. This is the only way to + // attach a description (or external docs) to a tag referenced by a + // method-level `openapiv3_operation.tags` override, since those tags + // would otherwise appear in the document with no metadata. + repeated Tag tags = 4; + // Custom specification extensions rendered at the root of the OpenAPI + // document. Keys MUST start with "x-". + // + // See: https://spec.openapis.org/oas/v3.1.0#specification-extensions + map extensions = 5; + // Reusable objects rendered under the document's `components` section. + // + // See: https://spec.openapis.org/oas/v3.1.0#oasComponents + Components components = 6; + // A declaration of which security mechanisms can be used across the API. + // The list of values includes alternative security requirement objects + // that can be used. Only one of the security requirement objects needs to + // be satisfied to authorize a request. Individual operations can override + // this definition with `openapiv3_operation.security`. + // + // See: https://spec.openapis.org/oas/v3.1.0#oasSecurity + repeated SecurityRequirement security = 7; +} + +// Components holds reusable objects for the document. Entries declared here +// are added to the `components` section the generator builds from the proto +// types. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#components-object +message Components { + // Security schemes that can be referenced by name from security + // requirements, keyed by scheme name. + // + // See: https://spec.openapis.org/oas/v3.1.0#componentsSecuritySchemes + map security_schemes = 1; +} + +// Info mirrors the fields of the OpenAPI 3.1.0 Info object that users most +// often want to set from proto. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#info-object +message Info { + // The title of the API. + string title = 1; + // A short summary of the API. + string summary = 2; + // A description of the API. CommonMark syntax MAY be used for rich text + // representation. + string description = 3; + // A URL to the Terms of Service for the API. This MUST be in the form of a + // URL. + string terms_of_service = 4; + // The contact information for the exposed API. + Contact contact = 5; + // The license information for the exposed API. + License license = 6; + // The version of the OpenAPI document (which is distinct from the OpenAPI + // Specification version or the API implementation version). + string version = 7; + // Custom specification extensions rendered on the Info object. Keys MUST + // start with "x-". + // + // See: https://spec.openapis.org/oas/v3.1.0#specification-extensions + map extensions = 8; +} + +// Contact information for the exposed API. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#contact-object +message Contact { + // The identifying name of the contact person/organization. + string name = 1; + // The URL pointing to the contact information. This MUST be in the form of + // a URL. + string url = 2; + // The email address of the contact person/organization. This MUST be in the + // form of an email address. + string email = 3; +} + +// License information for the exposed API. `identifier` and `url` are +// mutually exclusive in the OpenAPI 3.1.0 spec, so they are modeled as a +// oneof: setting one clears the other. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#license-object +message License { + // The license name used for the API. + string name = 1; + // Source identifying the license. Either an SPDX expression or a URL, + // mutually exclusive per the OpenAPI 3.1.0 spec. + oneof source { + // An SPDX expression for the API. + string identifier = 2; + // A URL to the license used for the API. This MUST be in the form of a + // URL. + string url = 3; + } +} + +// Server represents an API server. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#server-object +message Server { + // A URL to the target host. This URL supports Server Variables and MAY be + // relative, to indicate that the host location is relative to the location + // where the OpenAPI document is being served. + string url = 1; + // An optional string describing the host designated by the URL. CommonMark + // syntax MAY be used for rich text representation. + string description = 2; +} + +// Operation is a method-level override applied to the generated Operation +// object. Non-empty fields replace values the generator would otherwise +// derive from proto comments or defaults. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#operation-object +message Operation { + // A list of tags for API documentation control. Tags can be used for + // logical grouping of operations by resources or any other qualifier. + repeated string tags = 1; + // A short summary of what the operation does. + string summary = 2; + // A verbose explanation of the operation behavior. CommonMark syntax MAY + // be used for rich text representation. + string description = 3; + // Additional external documentation for this operation. + ExternalDocs external_docs = 4; + // Unique string used to identify the operation. The id MUST be unique among + // all operations described in the API. + string operation_id = 5; + // Declares this operation to be deprecated. Consumers SHOULD refrain from + // usage of the declared operation. Default value is false. Setting this to + // false does not un-deprecate a method that is marked deprecated in proto + // (`option deprecated = true` on the method, service, or file). + bool deprecated = 6; + // An alternative `servers` array to service this operation. If a `servers` + // array is specified at the Path Item Object or OpenAPI Object level, it + // will be overridden by this value. + repeated Server servers = 7; + // Custom specification extensions rendered on the Operation object. Keys + // MUST start with "x-". + // + // See: https://spec.openapis.org/oas/v3.1.0#specification-extensions + map extensions = 8; + // A declaration of which security mechanisms can be used for this + // operation. The list of values includes alternative security requirement + // objects that can be used. When set, this replaces the document-level + // `security` for this operation. To make security optional for this + // operation, add an empty security requirement (`security: {}`). + // + // See: https://spec.openapis.org/oas/v3.1.0#operationSecurity + repeated SecurityRequirement security = 9; +} + +// Schema is a message- or field-level override applied to the generated +// JSON Schema. Non-empty fields replace values the generator would +// otherwise derive from proto comments or the proto type. +// +// Both `openapiv3_schema` (on MessageOptions) and `openapiv3_field` (on +// FieldOptions) use this message. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#schema-object +// Underlying dialect: https://json-schema.org/draft/2020-12/json-schema-core +message Schema { + // A preferably short string describing the purpose of the instance + // described by the schema. + string title = 1; + // A string providing explanation about the purpose of the instance + // described by the schema. + string description = 2; + // Declares this schema to be deprecated. Consumers SHOULD refrain from + // usage of the declared schema. Default value is false. Setting this to + // false does not un-deprecate a schema that is marked deprecated in proto + // (`option deprecated = true` on the message, field, or file). + bool deprecated = 3; + // Custom specification extensions rendered on the Schema object. Keys + // MUST start with "x-". Setting this on a field-level annotation forces + // a schema body (like `title`), so a $ref-typed field carrying extensions + // is wrapped in `allOf`. + // + // See: https://spec.openapis.org/oas/v3.1.0#specification-extensions + map extensions = 4; +} + +// ExternalDocs is a link to external documentation. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#external-documentation-object +message ExternalDocs { + // A description of the target documentation. CommonMark syntax MAY be used + // for rich text representation. + string description = 1; + // The URL for the target documentation. This MUST be in the form of a URL. + string url = 2; +} + +// Tag adds metadata to a single tag that is used by the Operation Object. It +// is not mandatory to have a Tag Object per tag defined in the Operation +// Object instances. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#tag-object +message Tag { + // The name of the tag. + string name = 1; + // A description for the tag. CommonMark syntax MAY be used for rich text + // representation. + string description = 2; + // Additional external documentation for this tag. + ExternalDocs external_docs = 3; + // Custom specification extensions rendered on the Tag object. Keys MUST + // start with "x-". + // + // See: https://spec.openapis.org/oas/v3.1.0#specification-extensions + map extensions = 4; +} + +// SecurityScheme defines a security scheme that can be used by the +// operations. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#security-scheme-object +message SecurityScheme { + // The type of the security scheme. + enum Type { + // Not a valid security scheme type. Setting `type` is required. + TYPE_UNSPECIFIED = 0; + // An API key sent in a header, query parameter or cookie. + TYPE_API_KEY = 1; + // HTTP authentication, for example basic or bearer. + TYPE_HTTP = 2; + // Mutual TLS. + TYPE_MUTUAL_TLS = 3; + // OAuth2. + TYPE_OAUTH2 = 4; + // OpenID Connect Discovery. + TYPE_OPEN_ID_CONNECT = 5; + } + + // The location of an API key. + enum In { + // Not set. Required when `type` is `TYPE_API_KEY`. + IN_UNSPECIFIED = 0; + // The API key is sent as a query parameter. + IN_QUERY = 1; + // The API key is sent as a header. + IN_HEADER = 2; + // The API key is sent as a cookie. + IN_COOKIE = 3; + } + + // The type of the security scheme. Required. + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeType + Type type = 1; + // A description for the security scheme. CommonMark syntax MAY be used for + // rich text representation. + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeDescription + string description = 2; + // The name of the header, query or cookie parameter to be used. Required + // when `type` is `TYPE_API_KEY`. + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeName + string name = 3; + // The location of the API key. Required when `type` is `TYPE_API_KEY`. + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeIn + In in = 4; + // The name of the HTTP Authorization scheme to be used in the + // Authorization header as defined in RFC 7235, for example "basic" or + // "bearer". Required when `type` is `TYPE_HTTP`. + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeScheme + string scheme = 5; + // A hint to the client to identify how the bearer token is formatted. + // Only used when `type` is `TYPE_HTTP` and `scheme` is "bearer". + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeBearerFormat + string bearer_format = 6; + // Configuration information for the flow types supported. Required when + // `type` is `TYPE_OAUTH2`. + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeFlows + OAuthFlows flows = 7; + // OpenID Connect URL to discover OAuth2 configuration values. This MUST be + // in the form of a URL. Required when `type` is `TYPE_OPEN_ID_CONNECT`. + // + // See: https://spec.openapis.org/oas/v3.1.0#securitySchemeOpenIdConnectUrl + string open_id_connect_url = 8; +} + +// OAuthFlows allows configuration of the supported OAuth flows. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#oauth-flows-object +message OAuthFlows { + // Configuration for the OAuth Implicit flow. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowsImplicit + OAuthFlow implicit = 1; + // Configuration for the OAuth Resource Owner Password flow. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowsPassword + OAuthFlow password = 2; + // Configuration for the OAuth Client Credentials flow. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowsClientCredentials + OAuthFlow client_credentials = 3; + // Configuration for the OAuth Authorization Code flow. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowsAuthorizationCode + OAuthFlow authorization_code = 4; +} + +// OAuthFlow is the configuration details for a supported OAuth flow. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#oauth-flow-object +message OAuthFlow { + // The authorization URL to be used for this flow. Required for the + // implicit and authorization code flows. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowAuthorizationUrl + string authorization_url = 1; + // The token URL to be used for this flow. Required for the password, + // client credentials and authorization code flows. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowTokenUrl + string token_url = 2; + // The URL to be used for obtaining refresh tokens. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowRefreshUrl + string refresh_url = 3; + // The available scopes for the OAuth2 security scheme. A map between the + // scope name and a short description for it. The map MAY be empty. + // + // See: https://spec.openapis.org/oas/v3.1.0#oauthFlowScopes + map scopes = 4; +} + +// SecurityRequirement lists the security schemes required to execute an +// operation. When multiple schemes are listed, all of them must be +// satisfied. An empty security requirement allows anonymous access. +// +// Spec: https://spec.openapis.org/oas/v3.1.0#security-requirement-object +message SecurityRequirement { + // Scopes lists the scopes required by a single security scheme. + message Scopes { + // For `TYPE_OAUTH2` and `TYPE_OPEN_ID_CONNECT` schemes, the scope names + // required for the execution. For other scheme types, a list of role + // names, which MAY be empty. + repeated string scopes = 1; + } + + // Maps the name of a security scheme declared in + // `Document.components.security_schemes` to the scopes it requires. + // + // See: https://spec.openapis.org/oas/v3.1.0#securityRequirementsName + map schemes = 1; +} diff --git a/modules/sync/grpc-ecosystem/grpc-gateway/cas/670ff2c9973d62cb942c70d95610cf39f819a120ea013cfbd716a2751f40bbc39db0b5ce2aebb19e75ef06ce2dd08c6dac15095aaa85e3d232a3c8fa4e69a542 b/modules/sync/grpc-ecosystem/grpc-gateway/cas/670ff2c9973d62cb942c70d95610cf39f819a120ea013cfbd716a2751f40bbc39db0b5ce2aebb19e75ef06ce2dd08c6dac15095aaa85e3d232a3c8fa4e69a542 new file mode 100644 index 00000000..6bac15a5 --- /dev/null +++ b/modules/sync/grpc-ecosystem/grpc-gateway/cas/670ff2c9973d62cb942c70d95610cf39f819a120ea013cfbd716a2751f40bbc39db0b5ce2aebb19e75ef06ce2dd08c6dac15095aaa85e3d232a3c8fa4e69a542 @@ -0,0 +1,48 @@ +syntax = "proto3"; + +package grpc.gateway.protoc_gen_openapiv3.options; + +import "google/protobuf/descriptor.proto"; +import "protoc-gen-openapiv3/options/openapiv3.proto"; + +option go_package = "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv3/options"; + +extend google.protobuf.FileOptions { + // ID 1295 assigned by protobuf-global-extension-registry@google.com for the + // gRPC-Gateway OpenAPI v3 generator. All extensions in this file share the + // same ID because they each extend a different descriptor message. + // Ref: https://github.com/protocolbuffers/protobuf/commit/5e0f68530ae6ad47b78714e60861321e1d1c04ae + Document openapiv3_document = 1295; +} + +extend google.protobuf.ServiceOptions { + // ID 1295 assigned by protobuf-global-extension-registry@google.com for the + // gRPC-Gateway OpenAPI v3 generator. All extensions in this file share the + // same ID because they each extend a different descriptor message. + // Ref: https://github.com/protocolbuffers/protobuf/commit/5e0f68530ae6ad47b78714e60861321e1d1c04ae + Tag openapiv3_tag = 1295; +} + +extend google.protobuf.MethodOptions { + // ID 1295 assigned by protobuf-global-extension-registry@google.com for the + // gRPC-Gateway OpenAPI v3 generator. All extensions in this file share the + // same ID because they each extend a different descriptor message. + // Ref: https://github.com/protocolbuffers/protobuf/commit/5e0f68530ae6ad47b78714e60861321e1d1c04ae + Operation openapiv3_operation = 1295; +} + +extend google.protobuf.MessageOptions { + // ID 1295 assigned by protobuf-global-extension-registry@google.com for the + // gRPC-Gateway OpenAPI v3 generator. All extensions in this file share the + // same ID because they each extend a different descriptor message. + // Ref: https://github.com/protocolbuffers/protobuf/commit/5e0f68530ae6ad47b78714e60861321e1d1c04ae + Schema openapiv3_schema = 1295; +} + +extend google.protobuf.FieldOptions { + // ID 1295 assigned by protobuf-global-extension-registry@google.com for the + // gRPC-Gateway OpenAPI v3 generator. All extensions in this file share the + // same ID because they each extend a different descriptor message. + // Ref: https://github.com/protocolbuffers/protobuf/commit/5e0f68530ae6ad47b78714e60861321e1d1c04ae + Schema openapiv3_field = 1295; +} diff --git a/modules/sync/grpc-ecosystem/grpc-gateway/cas/9a8f06611420658dcfffdd7fd00b25827ae31198361781693b858e208e90f44e50362253fb65fb9aa38fd1a539888060ba6b286fb4259f8c1eb74c46f2a72a1b b/modules/sync/grpc-ecosystem/grpc-gateway/cas/9a8f06611420658dcfffdd7fd00b25827ae31198361781693b858e208e90f44e50362253fb65fb9aa38fd1a539888060ba6b286fb4259f8c1eb74c46f2a72a1b new file mode 100644 index 00000000..2befc728 --- /dev/null +++ b/modules/sync/grpc-ecosystem/grpc-gateway/cas/9a8f06611420658dcfffdd7fd00b25827ae31198361781693b858e208e90f44e50362253fb65fb9aa38fd1a539888060ba6b286fb4259f8c1eb74c46f2a72a1b @@ -0,0 +1,7 @@ +shake256:6f316af8b5cbc293f0692d32087af288a1bd79d2a6ba6428d83924c85952ecbcddeadc207759e55c28e19e47655debdce88cdf34677f66639535158c621921e0 LICENSE +shake256:803607f7d06e081b31e1a2d6f2c26110185283f1412c6de93a322a3cbb6395e3e011315bf38c619854085e57e884faff802ef0dd5866690eeea46f101013c83b buf.md +shake256:51d2661684a6ad693c8cdf0c83f912f1d6cd29423cdad13b40f5bcebd1e0ad57a86cce6a95248feaa82acf72d396a9ddf7dae93bb0b1558f10157277f8d8496c buf.yaml +shake256:146919391b0b3d025f3b9df8341238ff0f97905fe1b029369dd64d8517ae31f265ce7010263e4fb61e487a8637adb92f7d1e69ffcae9f02e7e34cb1573c5a6bc protoc-gen-openapiv2/options/annotations.proto +shake256:78fbed23bb3840dae4eb56b32a6a97d9dac51094ecd025f43bff80fc88a7e81efb9fdec7207477b6c1043c5c1de04c65ac59f7f373bff72d2997b507940b01c8 protoc-gen-openapiv2/options/openapiv2.proto +shake256:670ff2c9973d62cb942c70d95610cf39f819a120ea013cfbd716a2751f40bbc39db0b5ce2aebb19e75ef06ce2dd08c6dac15095aaa85e3d232a3c8fa4e69a542 protoc-gen-openapiv3/options/annotations.proto +shake256:51a76bfec6650e85ce8f67fc8df09bd179bf74c48aaa235d7234a1c312c65dc19ad402e0db5ffab0799c26b473683d5bedb662a2483fed2a8050c29f1ca2ab77 protoc-gen-openapiv3/options/openapiv3.proto diff --git a/modules/sync/grpc-ecosystem/grpc-gateway/state.json b/modules/sync/grpc-ecosystem/grpc-gateway/state.json index 34a7ce44..02d5a6cc 100644 --- a/modules/sync/grpc-ecosystem/grpc-gateway/state.json +++ b/modules/sync/grpc-ecosystem/grpc-gateway/state.json @@ -95,6 +95,10 @@ { "name": "v2.31.0", "digest": "52cf6d1a3569dfbe28d579e585a34274dc6cbea4bb244554017963db978134fc6734f620865f9655ae9a71a7462e6b3c7ec6f4a9859f3a40733a6a3dc39303e2" + }, + { + "name": "v2.32.0", + "digest": "9a8f06611420658dcfffdd7fd00b25827ae31198361781693b858e208e90f44e50362253fb65fb9aa38fd1a539888060ba6b286fb4259f8c1eb74c46f2a72a1b" } ] } \ No newline at end of file diff --git a/modules/sync/state.json b/modules/sync/state.json index 90e8dc6a..2d905b9c 100644 --- a/modules/sync/state.json +++ b/modules/sync/state.json @@ -46,7 +46,7 @@ }, { "module_name": "googleapis/googleapis", - "latest_reference": "19cec069f0c68367097c25c2c95f8bed4d21c6ab" + "latest_reference": "a6f4580d494b12461aa1b9190cac8eefe8a3fd22" }, { "module_name": "googlechrome/lighthouse", @@ -58,7 +58,7 @@ }, { "module_name": "grpc-ecosystem/grpc-gateway", - "latest_reference": "v2.31.0" + "latest_reference": "v2.32.0" }, { "module_name": "grpc/grpc",