diff --git a/.repo-metadata.json b/.repo-metadata.json index bfab417..38e2560 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -4,7 +4,7 @@ "product_documentation": "https://cloud.google.com/binary-authorization/", "client_documentation": "https://googleapis.dev/nodejs/binaryauthorization/latest/", "issue_tracker": "https://github.com/googleapis/nodejs-binary-authorization/issues", - "release_level": "GA", + "release_level": "beta", "language": "nodejs", "repo": "googleapis/nodejs-binary-authorization", "distribution_name": "@google-cloud/binary-authorization", diff --git a/README.md b/README.md index ba71a47..8d001d7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # [Binary Authorization: Node.js Client](https://github.com/googleapis/nodejs-binary-authorization) -[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) +[![release level](https://img.shields.io/badge/release%20level-beta-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages) [![npm version](https://img.shields.io/npm/v/@google-cloud/binary-authorization.svg)](https://www.npmjs.org/package/@google-cloud/binary-authorization) [![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-binary-authorization/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-binary-authorization) @@ -121,6 +121,11 @@ This library follows [Semantic Versioning](http://semver.org/). +This library is considered to be in **beta**. This means it is expected to be +mostly stable while we work toward a general availability release; however, +complete stability is not guaranteed. We will address issues and requests +against beta libraries with a high priority. + diff --git a/protos/protos.d.ts b/protos/protos.d.ts index a96b325..c0ebd55 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -2084,8 +2084,7 @@ export namespace google { REQUIRED = 2, OUTPUT_ONLY = 3, INPUT_ONLY = 4, - IMMUTABLE = 5, - UNORDERED_LIST = 6 + IMMUTABLE = 5 } /** Properties of a ResourceDescriptor. */ @@ -2108,9 +2107,6 @@ export namespace google { /** ResourceDescriptor singular */ singular?: (string|null); - - /** ResourceDescriptor style */ - style?: (google.api.ResourceDescriptor.Style[]|null); } /** Represents a ResourceDescriptor. */ @@ -2140,9 +2136,6 @@ export namespace google { /** ResourceDescriptor singular. */ public singular: string; - /** ResourceDescriptor style. */ - public style: google.api.ResourceDescriptor.Style[]; - /** * Creates a new ResourceDescriptor instance using the specified properties. * @param [properties] Properties to set @@ -2222,12 +2215,6 @@ export namespace google { ORIGINALLY_SINGLE_PATTERN = 1, FUTURE_MULTI_PATTERN = 2 } - - /** Style enum. */ - enum Style { - STYLE_UNSPECIFIED = 0, - DECLARATIVE_FRIENDLY = 1 - } } /** Properties of a ResourceReference. */ diff --git a/protos/protos.js b/protos/protos.js index 82e7d59..a19c82f 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -4979,7 +4979,6 @@ * @property {number} OUTPUT_ONLY=3 OUTPUT_ONLY value * @property {number} INPUT_ONLY=4 INPUT_ONLY value * @property {number} IMMUTABLE=5 IMMUTABLE value - * @property {number} UNORDERED_LIST=6 UNORDERED_LIST value */ api.FieldBehavior = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -4989,7 +4988,6 @@ values[valuesById[3] = "OUTPUT_ONLY"] = 3; values[valuesById[4] = "INPUT_ONLY"] = 4; values[valuesById[5] = "IMMUTABLE"] = 5; - values[valuesById[6] = "UNORDERED_LIST"] = 6; return values; })(); @@ -5005,7 +5003,6 @@ * @property {google.api.ResourceDescriptor.History|null} [history] ResourceDescriptor history * @property {string|null} [plural] ResourceDescriptor plural * @property {string|null} [singular] ResourceDescriptor singular - * @property {Array.|null} [style] ResourceDescriptor style */ /** @@ -5018,7 +5015,6 @@ */ function ResourceDescriptor(properties) { this.pattern = []; - this.style = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5073,14 +5069,6 @@ */ ResourceDescriptor.prototype.singular = ""; - /** - * ResourceDescriptor style. - * @member {Array.} style - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.style = $util.emptyArray; - /** * Creates a new ResourceDescriptor instance using the specified properties. * @function create @@ -5118,12 +5106,6 @@ writer.uint32(/* id 5, wireType 2 =*/42).string(message.plural); if (message.singular != null && Object.hasOwnProperty.call(message, "singular")) writer.uint32(/* id 6, wireType 2 =*/50).string(message.singular); - if (message.style != null && message.style.length) { - writer.uint32(/* id 10, wireType 2 =*/82).fork(); - for (var i = 0; i < message.style.length; ++i) - writer.int32(message.style[i]); - writer.ldelim(); - } return writer; }; @@ -5178,16 +5160,6 @@ case 6: message.singular = reader.string(); break; - case 10: - if (!(message.style && message.style.length)) - message.style = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.style.push(reader.int32()); - } else - message.style.push(reader.int32()); - break; default: reader.skipType(tag & 7); break; @@ -5251,18 +5223,6 @@ if (message.singular != null && message.hasOwnProperty("singular")) if (!$util.isString(message.singular)) return "singular: string expected"; - if (message.style != null && message.hasOwnProperty("style")) { - if (!Array.isArray(message.style)) - return "style: array expected"; - for (var i = 0; i < message.style.length; ++i) - switch (message.style[i]) { - default: - return "style: enum value[] expected"; - case 0: - case 1: - break; - } - } return null; }; @@ -5307,23 +5267,6 @@ message.plural = String(object.plural); if (object.singular != null) message.singular = String(object.singular); - if (object.style) { - if (!Array.isArray(object.style)) - throw TypeError(".google.api.ResourceDescriptor.style: array expected"); - message.style = []; - for (var i = 0; i < object.style.length; ++i) - switch (object.style[i]) { - default: - case "STYLE_UNSPECIFIED": - case 0: - message.style[i] = 0; - break; - case "DECLARATIVE_FRIENDLY": - case 1: - message.style[i] = 1; - break; - } - } return message; }; @@ -5340,10 +5283,8 @@ if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) { + if (options.arrays || options.defaults) object.pattern = []; - object.style = []; - } if (options.defaults) { object.type = ""; object.nameField = ""; @@ -5366,11 +5307,6 @@ object.plural = message.plural; if (message.singular != null && message.hasOwnProperty("singular")) object.singular = message.singular; - if (message.style && message.style.length) { - object.style = []; - for (var j = 0; j < message.style.length; ++j) - object.style[j] = options.enums === String ? $root.google.api.ResourceDescriptor.Style[message.style[j]] : message.style[j]; - } return object; }; @@ -5401,20 +5337,6 @@ return values; })(); - /** - * Style enum. - * @name google.api.ResourceDescriptor.Style - * @enum {number} - * @property {number} STYLE_UNSPECIFIED=0 STYLE_UNSPECIFIED value - * @property {number} DECLARATIVE_FRIENDLY=1 DECLARATIVE_FRIENDLY value - */ - ResourceDescriptor.Style = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "STYLE_UNSPECIFIED"] = 0; - values[valuesById[1] = "DECLARATIVE_FRIENDLY"] = 1; - return values; - })(); - return ResourceDescriptor; })(); @@ -11157,7 +11079,6 @@ case 3: case 4: case 5: - case 6: break; } } @@ -11258,10 +11179,6 @@ case 5: message[".google.api.fieldBehavior"][i] = 5; break; - case "UNORDERED_LIST": - case 6: - message[".google.api.fieldBehavior"][i] = 6; - break; } } if (object[".google.api.resourceReference"] != null) { diff --git a/protos/protos.json b/protos/protos.json index e87dd0a..cb251f6 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -634,8 +634,7 @@ "REQUIRED": 2, "OUTPUT_ONLY": 3, "INPUT_ONLY": 4, - "IMMUTABLE": 5, - "UNORDERED_LIST": 6 + "IMMUTABLE": 5 } }, "resourceReference": { @@ -680,11 +679,6 @@ "singular": { "type": "string", "id": 6 - }, - "style": { - "rule": "repeated", - "type": "Style", - "id": 10 } }, "nested": { @@ -694,12 +688,6 @@ "ORIGINALLY_SINGLE_PATTERN": 1, "FUTURE_MULTI_PATTERN": 2 } - }, - "Style": { - "values": { - "STYLE_UNSPECIFIED": 0, - "DECLARATIVE_FRIENDLY": 1 - } } } }, @@ -735,7 +723,7 @@ }, "protobuf": { "options": { - "go_package": "google.golang.org/protobuf/types/descriptorpb", + "go_package": "github.com/golang/protobuf/protoc-gen-go/descriptor;descriptor", "java_package": "com.google.protobuf", "java_outer_classname": "DescriptorProtos", "csharp_namespace": "Google.Protobuf.Reflection", diff --git a/synth.metadata b/synth.metadata index a8a031e..4bdc5e2 100644 --- a/synth.metadata +++ b/synth.metadata @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "57c23fa5705499a4181095ced81f0ee0933b64f6" + "sha": "8c5628b86cfa8386de7b8fc1675e6b528b552d57" } } ],