Skip to content

Commit c2b82c9

Browse files
IvanLHcopybara-github
authored andcommitted
chore: Add Operations to the index.ts files
PiperOrigin-RevId: 741288895
1 parent 0fa1f05 commit c2b82c9

File tree

6 files changed

+21
-6
lines changed

6 files changed

+21
-6
lines changed

api-report/genai-node.api.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,6 @@ export class GoogleGenAI {
734734
readonly live: Live;
735735
// (undocumented)
736736
readonly models: Models;
737-
// Warning: (ae-forgotten-export) The symbol "Operations" needs to be exported by the entry point index.d.ts
738-
//
739737
// (undocumented)
740738
readonly operations: Operations;
741739
// (undocumented)
@@ -1195,6 +1193,12 @@ export interface OperationGetParameters {
11951193
operation: GenerateVideosOperation;
11961194
}
11971195

1196+
// @public (undocumented)
1197+
export class Operations extends BaseModule {
1198+
constructor(apiClient: ApiClient);
1199+
get(parameters: types.OperationGetParameters): Promise<types.GenerateVideosOperation>;
1200+
}
1201+
11981202
// @public
11991203
export enum Outcome {
12001204
// (undocumented)

api-report/genai-web.api.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,6 @@ export class GoogleGenAI {
734734
readonly live: Live;
735735
// (undocumented)
736736
readonly models: Models;
737-
// Warning: (ae-forgotten-export) The symbol "Operations" needs to be exported by the entry point index.d.ts
738-
//
739737
// (undocumented)
740738
readonly operations: Operations;
741739
// (undocumented)
@@ -1195,6 +1193,12 @@ export interface OperationGetParameters {
11951193
operation: GenerateVideosOperation;
11961194
}
11971195

1196+
// @public (undocumented)
1197+
export class Operations extends BaseModule {
1198+
constructor(apiClient: ApiClient);
1199+
get(parameters: types.OperationGetParameters): Promise<types.GenerateVideosOperation>;
1200+
}
1201+
11981202
// @public
11991203
export enum Outcome {
12001204
// (undocumented)

api-report/genai.api.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,6 @@ export class GoogleGenAI {
734734
readonly live: Live;
735735
// (undocumented)
736736
readonly models: Models;
737-
// Warning: (ae-forgotten-export) The symbol "Operations" needs to be exported by the entry point index.d.ts
738-
//
739737
// (undocumented)
740738
readonly operations: Operations;
741739
// (undocumented)
@@ -1195,6 +1193,12 @@ export interface OperationGetParameters {
11951193
operation: GenerateVideosOperation;
11961194
}
11971195

1196+
// @public (undocumented)
1197+
export class Operations extends BaseModule {
1198+
constructor(apiClient: ApiClient);
1199+
get(parameters: types.OperationGetParameters): Promise<types.GenerateVideosOperation>;
1200+
}
1201+
11981202
// @public
11991203
export enum Outcome {
12001204
// (undocumented)

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ export {GoogleGenAI, GoogleGenAIOptions} from './client';
1010
export {Files} from './files';
1111
export * from './live';
1212
export {Models} from './models';
13+
export {Operations} from './operations';
1314
export {PagedItem, Pager} from './pagers';
1415
export * from './types';

src/node/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export {GoogleGenAIOptions} from '../client';
1010
export {Files} from '../files';
1111
export * from '../live';
1212
export {Models} from '../models';
13+
export {Operations} from '../operations';
1314
export {PagedItem, Pager} from '../pagers';
1415
export * from '../types';
1516
export * from './node_client';

src/web/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export {GoogleGenAIOptions} from '../client';
1010
export {Files} from '../files';
1111
export * from '../live';
1212
export {Models} from '../models';
13+
export {Operations} from '../operations';
1314
export {PagedItem, Pager} from '../pagers';
1415
export * from '../types';
1516
export * from './web_client';

0 commit comments

Comments
 (0)