@maxim_mazurok/gapi.client.pubsub-v1beta2 0.1.20260908 → 0.1.20261002

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +11 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://pubsub.googleapis.com/$discovery/rest?version=v1beta2
12
- // Revision: 20260908
12
+ // Revision: 20261002
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -91,6 +91,12 @@ declare namespace gapi.client {
91
91
  /** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
92
92
  version?: number;
93
93
  }
94
+ interface PublishOperation {
95
+ /** Optional. If the publisher client is using publish hedging, provides the attempt count for the hedge (starting at 1). A value of 0 indicates that the request was not hedged. */
96
+ hedgedAttemptCount?: number;
97
+ /** Optional. Time at which the `publish()` call was initiated in the client library, meaning across all RPC retry attempts, see [grpc retries](https://grpc.io/docs/guides/retry/). Provides a sense of the end-to-end publish duration from the client perspective, across retries. */
98
+ publishStartTime?: string;
99
+ }
94
100
  interface PublishRequest {
95
101
  /** The messages to publish. */
96
102
  messages?: PubsubMessage[];
@@ -99,6 +105,10 @@ declare namespace gapi.client {
99
105
  /** The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic. */
100
106
  messageIds?: string[];
101
107
  }
108
+ interface PubsubClientTelemetry {
109
+ /** Optional. Telemetry about a `Publish` operation. */
110
+ publishOperation?: PublishOperation;
111
+ }
102
112
  interface PubsubMessage {
103
113
  /** Optional attributes for this message. */
104
114
  attributes?: {[P in string]: string};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.pubsub-v1beta2",
3
- "version": "0.1.20260908",
3
+ "version": "0.1.20261002",
4
4
  "description": "TypeScript typings for Cloud Pub/Sub API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",