@maxim_mazurok/gapi.client.developerconnect-v1 0.1.20251201 → 0.1.20260123

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 +233 -4
  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://developerconnect.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20251201
12
+ // Revision: 20260123
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -41,7 +41,7 @@ declare namespace gapi.client {
41
41
  name?: string;
42
42
  /** Output only. Start OAuth flow by clicking on this URL. */
43
43
  oauthStartUri?: string;
44
- /** Provider OAuth config. */
44
+ /** Optional. Provider OAuth config. */
45
45
  providerOauthConfig?: ProviderOAuthConfig;
46
46
  /** Output only. The timestamp when the accountConnector was updated. */
47
47
  updateTime?: string;
@@ -70,6 +70,32 @@ declare namespace gapi.client {
70
70
  /** Required. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest because it captures a lineage of artifacts. */
71
71
  uri?: string;
72
72
  }
73
+ interface ArtifactDeployment {
74
+ /** Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0 */
75
+ artifactAlias?: string;
76
+ /** Output only. The artifact that is deployed. */
77
+ artifactReference?: string;
78
+ /** Output only. The summary of container status of the artifact deployment. Format as `ContainerStatusState-Reason : restartCount` e.g. "Waiting-ImagePullBackOff : 3" */
79
+ containerStatusSummary?: string;
80
+ /** Output only. The time at which the deployment was deployed. */
81
+ deployTime?: string;
82
+ /** Output only. Unique identifier of `ArtifactDeployment`. */
83
+ id?: string;
84
+ /** Output only. The source commits at which this artifact was built. Extracted from provenance. */
85
+ sourceCommitUris?: string[];
86
+ /** Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set. */
87
+ undeployTime?: string;
88
+ }
89
+ interface BasicAuthentication {
90
+ /** The password SecretManager secret version to authenticate as. */
91
+ passwordSecretVersion?: string;
92
+ /** Required. The username to authenticate as. */
93
+ username?: string;
94
+ }
95
+ interface BearerTokenAuthentication {
96
+ /** Optional. The token SecretManager secret version to authenticate as. */
97
+ tokenSecretVersion?: string;
98
+ }
73
99
  interface BitbucketCloudConfig {
74
100
  /** Required. An access token with the minimum `repository`, `pullrequest` and `webhook` scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials. */
75
101
  authorizerCredential?: UserCredential;
@@ -124,6 +150,8 @@ declare namespace gapi.client {
124
150
  gitlabEnterpriseConfig?: GitLabEnterpriseConfig;
125
151
  /** Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection. */
126
152
  gitProxyConfig?: GitProxyConfig;
153
+ /** Optional. Configuration for connections to an HTTP service provider. */
154
+ httpConfig?: GenericHTTPEndpointConfig;
127
155
  /** Output only. Installation state of the Connection. */
128
156
  installationState?: InstallationState;
129
157
  /** Optional. Labels as key value pairs */
@@ -132,6 +160,8 @@ declare namespace gapi.client {
132
160
  name?: string;
133
161
  /** Output only. Set to true when the connection is being set up or updated in the background. */
134
162
  reconciling?: boolean;
163
+ /** Configuration for connections to an instance of Secure Source Manager. */
164
+ secureSourceManagerInstanceConfig?: SecureSourceManagerInstanceConfig;
135
165
  /** Output only. A system-assigned unique identifier for the Connection. */
136
166
  uid?: string;
137
167
  /** Output only. [Output only] Update timestamp */
@@ -141,6 +171,26 @@ declare namespace gapi.client {
141
171
  /** Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*`. */
142
172
  keyReference?: string;
143
173
  }
174
+ interface DeploymentEvent {
175
+ /** Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod. */
176
+ artifactDeployments?: ArtifactDeployment[];
177
+ /** Output only. The create time of the DeploymentEvent. */
178
+ createTime?: string;
179
+ /** Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times. */
180
+ deployTime?: string;
181
+ /** Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid} */
182
+ name?: string;
183
+ /** Output only. The runtime configurations where the DeploymentEvent happened. */
184
+ runtimeConfig?: RuntimeConfig;
185
+ /** Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name. */
186
+ runtimeDeploymentUri?: string;
187
+ /** Output only. The state of the DeploymentEvent. */
188
+ state?: string;
189
+ /** Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty. */
190
+ undeployTime?: string;
191
+ /** Output only. The update time of the DeploymentEvent. */
192
+ updateTime?: string;
193
+ }
144
194
  interface Empty {}
145
195
  interface ExchangeError {
146
196
  /** https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error */
@@ -193,6 +243,22 @@ declare namespace gapi.client {
193
243
  /** The token content. */
194
244
  token?: string;
195
245
  }
246
+ interface FinishOAuthResponse {
247
+ /** The error resulted from exchanging OAuth tokens from the service provider. */
248
+ exchangeError?: ExchangeError;
249
+ }
250
+ interface GenericHTTPEndpointConfig {
251
+ /** Optional. Basic authentication with username and password. */
252
+ basicAuthentication?: BasicAuthentication;
253
+ /** Optional. Bearer token authentication with a token. */
254
+ bearerTokenAuthentication?: BearerTokenAuthentication;
255
+ /** Required. Immutable. The service provider's https endpoint. */
256
+ hostUri?: string;
257
+ /** Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet. */
258
+ serviceDirectoryConfig?: ServiceDirectoryConfig;
259
+ /** Optional. The SSL certificate to use for requests to the HTTP service provider. */
260
+ sslCaCertificate?: string;
261
+ }
196
262
  interface GitHubConfig {
197
263
  /** Optional. GitHub App installation id. */
198
264
  appInstallationId?: string;
@@ -214,6 +280,8 @@ declare namespace gapi.client {
214
280
  hostUri?: string;
215
281
  /** Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig. */
216
282
  installationUri?: string;
283
+ /** Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created. */
284
+ organization?: string;
217
285
  /** Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*‍/secrets/*‍/versions/*` or `projects/*‍/locations/*‍/secrets/*‍/versions/*` (if regional secrets are supported in that location). */
218
286
  privateKeySecretVersion?: string;
219
287
  /** Output only. GitHub Enterprise version installed at the host_uri. */
@@ -252,6 +320,8 @@ declare namespace gapi.client {
252
320
  interface GitProxyConfig {
253
321
  /** Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection. */
254
322
  enabled?: boolean;
323
+ /** Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-c-h-{shortRegion}.developerconnect.dev` Populated only when enabled is set to true. This endpoint is used by other Google services that integrate with Developer Connect. */
324
+ httpProxyBaseUri?: string;
255
325
  }
256
326
  interface GitRepositoryLink {
257
327
  /** Optional. Allows clients to store small amounts of arbitrary data. */
@@ -322,6 +392,8 @@ declare namespace gapi.client {
322
392
  labels?: {[P in string]: string};
323
393
  /** Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig} */
324
394
  name?: string;
395
+ /** Optional. The projects to track with the InsightsConfig. */
396
+ projects?: Projects;
325
397
  /** Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance. */
326
398
  reconciling?: boolean;
327
399
  /** Output only. The runtime configurations where the application is deployed. */
@@ -367,6 +439,12 @@ declare namespace gapi.client {
367
439
  /** Locations that could not be reached. */
368
440
  unreachable?: string[];
369
441
  }
442
+ interface ListDeploymentEventsResponse {
443
+ /** The list of DeploymentEvents. */
444
+ deploymentEvents?: DeploymentEvent[];
445
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
446
+ nextPageToken?: string;
447
+ }
370
448
  interface ListGitRepositoryLinksResponse {
371
449
  /** The list of GitRepositoryLinks */
372
450
  gitRepositoryLinks?: GitRepositoryLink[];
@@ -471,10 +549,14 @@ declare namespace gapi.client {
471
549
  /** Required. HTTP request body. */
472
550
  body?: HttpBody;
473
551
  }
552
+ interface Projects {
553
+ /** Optional. The project IDs. Format: {project} */
554
+ projectIds?: string[];
555
+ }
474
556
  interface ProviderOAuthConfig {
475
557
  /** Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again. */
476
558
  scopes?: string[];
477
- /** Immutable. Developer Connect provided OAuth. */
559
+ /** Optional. Immutable. Developer Connect provided OAuth. */
478
560
  systemProviderId?: string;
479
561
  }
480
562
  interface RuntimeConfig {
@@ -491,10 +573,30 @@ declare namespace gapi.client {
491
573
  /** Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name. */
492
574
  uri?: string;
493
575
  }
576
+ interface SecureSourceManagerInstanceConfig {
577
+ /** Required. Immutable. SSM instance resource, formatted as `projects/*‍/locations/*‍/instances/*` */
578
+ instance?: string;
579
+ }
494
580
  interface ServiceDirectoryConfig {
495
581
  /** Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. */
496
582
  service?: string;
497
583
  }
584
+ interface StartOAuthResponse {
585
+ /** The authorization server URL to the OAuth flow of the service provider. */
586
+ authUri?: string;
587
+ /** The client ID to the OAuth App of the service provider. */
588
+ clientId?: string;
589
+ /** Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.1 */
590
+ codeChallenge?: string;
591
+ /** Please refer to https://datatracker.ietf.org/doc/html/rfc7636#section-4.2 */
592
+ codeChallengeMethod?: string;
593
+ /** The list of scopes requested by the application. */
594
+ scopes?: string[];
595
+ /** The ID of the system provider. */
596
+ systemProviderId?: string;
597
+ /** The ticket to be used for post processing the callback from the service provider. */
598
+ ticket?: string;
599
+ }
498
600
  interface Status {
499
601
  /** The status code, which should be an enum value of google.rpc.Code. */
500
602
  code?: number;
@@ -665,6 +767,43 @@ declare namespace gapi.client {
665
767
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
666
768
  uploadType?: string;
667
769
  }): Request<User>;
770
+ /** Finishes OAuth flow for an account connector. */
771
+ finishOAuthFlow(request?: {
772
+ /** V1 error format. */
773
+ '$.xgafv'?: string;
774
+ /** OAuth access token. */
775
+ access_token?: string;
776
+ /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
777
+ accountConnector: string;
778
+ /** Data format for response. */
779
+ alt?: string;
780
+ /** JSONP */
781
+ callback?: string;
782
+ /** Selector specifying which fields to include in a partial response. */
783
+ fields?: string;
784
+ /** Required. The scopes returned by Google OAuth flow. */
785
+ 'googleOauthParams.scopes'?: string | string[];
786
+ /** Required. The ticket to be used for post processing the callback from Google OAuth flow. */
787
+ 'googleOauthParams.ticket'?: string;
788
+ /** Optional. The version info returned by Google OAuth flow. */
789
+ 'googleOauthParams.versionInfo'?: string;
790
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
791
+ key?: string;
792
+ /** OAuth 2.0 token for the current user. */
793
+ oauth_token?: string;
794
+ /** Required. The code to be used for getting the token from SCM provider. */
795
+ 'oauthParams.code'?: string;
796
+ /** Required. The ticket to be used for post processing the callback from SCM provider. */
797
+ 'oauthParams.ticket'?: string;
798
+ /** Returns response with indentations and line breaks. */
799
+ prettyPrint?: boolean;
800
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
801
+ quotaUser?: string;
802
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
803
+ upload_protocol?: string;
804
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
805
+ uploadType?: string;
806
+ }): Request<FinishOAuthResponse>;
668
807
  /** Lists Users in a given project, location, and account_connector. */
669
808
  list(request?: {
670
809
  /** V1 error format. */
@@ -700,6 +839,33 @@ declare namespace gapi.client {
700
839
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
701
840
  uploadType?: string;
702
841
  }): Request<ListUsersResponse>;
842
+ /** Starts OAuth flow for an account connector. */
843
+ startOAuthFlow(request?: {
844
+ /** V1 error format. */
845
+ '$.xgafv'?: string;
846
+ /** OAuth access token. */
847
+ access_token?: string;
848
+ /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
849
+ accountConnector: string;
850
+ /** Data format for response. */
851
+ alt?: string;
852
+ /** JSONP */
853
+ callback?: string;
854
+ /** Selector specifying which fields to include in a partial response. */
855
+ fields?: string;
856
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
857
+ key?: string;
858
+ /** OAuth 2.0 token for the current user. */
859
+ oauth_token?: string;
860
+ /** Returns response with indentations and line breaks. */
861
+ prettyPrint?: boolean;
862
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
863
+ quotaUser?: string;
864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
865
+ upload_protocol?: string;
866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
867
+ uploadType?: string;
868
+ }): Request<StartOAuthResponse>;
703
869
  }
704
870
  interface AccountConnectorsResource {
705
871
  /** Creates a new AccountConnector in a given project and location. */
@@ -1851,6 +2017,68 @@ declare namespace gapi.client {
1851
2017
  ): Request<{}>;
1852
2018
  gitRepositoryLinks: GitRepositoryLinksResource;
1853
2019
  }
2020
+ interface DeploymentEventsResource {
2021
+ /** Gets a single Deployment Event. */
2022
+ get(request?: {
2023
+ /** V1 error format. */
2024
+ '$.xgafv'?: string;
2025
+ /** OAuth access token. */
2026
+ access_token?: string;
2027
+ /** Data format for response. */
2028
+ alt?: string;
2029
+ /** JSONP */
2030
+ callback?: string;
2031
+ /** Selector specifying which fields to include in a partial response. */
2032
+ fields?: string;
2033
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2034
+ key?: string;
2035
+ /** Required. The name of the deployment event to retrieve. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid} */
2036
+ name: string;
2037
+ /** OAuth 2.0 token for the current user. */
2038
+ oauth_token?: string;
2039
+ /** Returns response with indentations and line breaks. */
2040
+ prettyPrint?: boolean;
2041
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2042
+ quotaUser?: string;
2043
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2044
+ upload_protocol?: string;
2045
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2046
+ uploadType?: string;
2047
+ }): Request<DeploymentEvent>;
2048
+ /** Lists Deployment Events in a given insights config. */
2049
+ list(request?: {
2050
+ /** V1 error format. */
2051
+ '$.xgafv'?: string;
2052
+ /** OAuth access token. */
2053
+ access_token?: string;
2054
+ /** Data format for response. */
2055
+ alt?: string;
2056
+ /** JSONP */
2057
+ callback?: string;
2058
+ /** Selector specifying which fields to include in a partial response. */
2059
+ fields?: string;
2060
+ /** Optional. Filter expression that matches a subset of the DeploymentEvents. https://google.aip.dev/160. */
2061
+ filter?: string;
2062
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2063
+ key?: string;
2064
+ /** OAuth 2.0 token for the current user. */
2065
+ oauth_token?: string;
2066
+ /** Optional. The maximum number of deployment events to return. The service may return fewer than this value. If unspecified, at most 50 deployment events will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
2067
+ pageSize?: number;
2068
+ /** Optional. A page token, received from a previous `ListDeploymentEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDeploymentEvents` must match the call that provided the page token. */
2069
+ pageToken?: string;
2070
+ /** Required. The parent insights config that owns this collection of deployment events. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config} */
2071
+ parent: string;
2072
+ /** Returns response with indentations and line breaks. */
2073
+ prettyPrint?: boolean;
2074
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2075
+ quotaUser?: string;
2076
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2077
+ upload_protocol?: string;
2078
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2079
+ uploadType?: string;
2080
+ }): Request<ListDeploymentEventsResponse>;
2081
+ }
1854
2082
  interface InsightsConfigsResource {
1855
2083
  /** Creates a new InsightsConfig in a given project and location. */
1856
2084
  create(request: {
@@ -2083,6 +2311,7 @@ declare namespace gapi.client {
2083
2311
  },
2084
2312
  body: InsightsConfig,
2085
2313
  ): Request<Operation>;
2314
+ deploymentEvents: DeploymentEventsResource;
2086
2315
  }
2087
2316
  interface OperationsResource {
2088
2317
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
@@ -2261,7 +2490,7 @@ declare namespace gapi.client {
2261
2490
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2262
2491
  uploadType?: string;
2263
2492
  }): Request<Location>;
2264
- /** Lists information about the supported locations for this service. */
2493
+ /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
2265
2494
  list(request?: {
2266
2495
  /** V1 error format. */
2267
2496
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.developerconnect-v1",
3
- "version": "0.1.20251201",
3
+ "version": "0.1.20260123",
4
4
  "description": "TypeScript typings for Developer Connect API v1",
5
5
  "repository": {
6
6
  "type": "git",