@maxim_mazurok/gapi.client.osconfig-v2beta 0.0.20241021 → 0.0.20241103

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 +1047 -32
  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://osconfig.googleapis.com/$discovery/rest?version=v2beta
12
- // Revision: 20241021
12
+ // Revision: 20241103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -26,6 +26,12 @@ declare namespace gapi.client {
26
26
  namespace osconfig {
27
27
  interface CancelOperationRequest {}
28
28
  interface Empty {}
29
+ interface FixedOrPercent {
30
+ /** Specifies a fixed value. */
31
+ fixed?: number;
32
+ /** Specifies the relative value defined as a percentage, which will be multiplied by a reference value. */
33
+ percent?: number;
34
+ }
29
35
  interface GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata {
30
36
  /** The OS policy assignment API method. */
31
37
  apiMethod?: string;
@@ -38,6 +44,14 @@ declare namespace gapi.client {
38
44
  /** Rollout update time */
39
45
  rolloutUpdateTime?: string;
40
46
  }
47
+ interface GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse {
48
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
49
+ nextPageToken?: string;
50
+ /** The policy orchestrators for the specified parent resource. */
51
+ policyOrchestrators?: GoogleCloudOsconfigV2beta__PolicyOrchestrator[];
52
+ /** Locations that could not be reached. */
53
+ unreachable?: string[];
54
+ }
41
55
  interface GoogleCloudOsconfigV2beta__OperationMetadata {
42
56
  /** Output only. API version used to start the operation. */
43
57
  apiVersion?: string;
@@ -54,6 +68,82 @@ declare namespace gapi.client {
54
68
  /** Output only. Name of the verb executed by the operation. */
55
69
  verb?: string;
56
70
  }
71
+ interface GoogleCloudOsconfigV2beta__OrchestratedResource {
72
+ /** Optional. ID of the resource to be used while generating set of affected resources. For UPSERT action the value is auto-generated during PolicyOrchestrator creation when not set. When the value is set it should following next restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. For DELETE action, ID must be specified explicitly during PolicyOrchestrator creation. */
73
+ id?: string;
74
+ /** Optional. OSPolicyAssignment resource to be created, updated or deleted. Name field is ignored and replace with a generated value. With this field set, orchestrator will perform actions on `project/{project}/locations/{zone}/osPolicyAssignments/{resource_id}` resources, where `project` and `zone` pairs come from the expanded scope, and `resource_id` comes from the `resource_id` field of orchestrator resource. */
75
+ osPolicyAssignmentV1Payload?: OSPolicyAssignment;
76
+ }
77
+ interface GoogleCloudOsconfigV2beta__OrchestrationScope {
78
+ /** Optional. Selectors of the orchestration scope. There is a logical AND between each selector defined. When there is no explicit `ResourceHierarchySelector` selector specified, the scope is by default bounded to the parent of the policy orchestrator resource. */
79
+ selectors?: GoogleCloudOsconfigV2beta_OrchestrationScope_Selector[];
80
+ }
81
+ interface GoogleCloudOsconfigV2beta__PolicyOrchestrator {
82
+ /** Required. Action to be done by the orchestrator in `projects/{project_id}/zones/{zone_id}` locations defined by the `orchestration_scope`. Allowed values: - `UPSERT` - Orchestrator will create or update target resources. - `DELETE` - Orchestrator will delete target resources, if they exist */
83
+ action?: string;
84
+ /** Output only. Timestamp when the policy orchestrator resource was created. */
85
+ createTime?: string;
86
+ /** Optional. Freeform text describing the purpose of the resource. */
87
+ description?: string;
88
+ /** Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
89
+ etag?: string;
90
+ /** Optional. Labels as key value pairs */
91
+ labels?: {[P in string]: string};
92
+ /** Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}` */
93
+ name?: string;
94
+ /** Required. Resource to be orchestrated by the policy orchestrator. */
95
+ orchestratedResource?: GoogleCloudOsconfigV2beta__OrchestratedResource;
96
+ /** Optional. Defines scope for the orchestration, in context of the enclosing PolicyOrchestrator resource. Scope is expanded into a list of pairs, in which the rollout action will take place. Expansion starts with a Folder resource parenting the PolicyOrchestrator resource: - All the descendant projects are listed. - List of project is cross joined with a list of all available zones. - Resulting list of pairs is filtered according to the selectors. */
97
+ orchestrationScope?: GoogleCloudOsconfigV2beta__OrchestrationScope;
98
+ /** Output only. State of the orchestration. */
99
+ orchestrationState?: GoogleCloudOsconfigV2beta_PolicyOrchestrator_OrchestrationState;
100
+ /** Output only. Set to true, if the there are ongoing changes being applied by the orchestrator. */
101
+ reconciling?: boolean;
102
+ /** Optional. State of the orchestrator. Can be updated to change orchestrator behaviour. Allowed values: - `ACTIVE` - orchestrator is actively looking for actions to be taken. - `STOPPED` - orchestrator won't make any changes. Note: There might be more states added in the future. We use string here instead of an enum, to avoid the need of propagating new states to all the client code. */
103
+ state?: string;
104
+ /** Output only. Timestamp when the policy orchestrator resource was last modified. */
105
+ updateTime?: string;
106
+ }
107
+ interface GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector {
108
+ /** Optional. Names of the locations in scope. Format: `us-central1-a` */
109
+ includedLocations?: string[];
110
+ }
111
+ interface GoogleCloudOsconfigV2beta_OrchestrationScope_ResourceHierarchySelector {
112
+ /** Optional. Names of the folders in scope. Format: `folders/{folder_id}` */
113
+ includedFolders?: string[];
114
+ /** Optional. Names of the projects in scope. Format: `projects/{project_number}` */
115
+ includedProjects?: string[];
116
+ }
117
+ interface GoogleCloudOsconfigV2beta_OrchestrationScope_Selector {
118
+ /** Selector for selecting locations. */
119
+ locationSelector?: GoogleCloudOsconfigV2beta_OrchestrationScope_LocationSelector;
120
+ /** Selector for selecting resource hierarchy. */
121
+ resourceHierarchySelector?: GoogleCloudOsconfigV2beta_OrchestrationScope_ResourceHierarchySelector;
122
+ }
123
+ interface GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState {
124
+ /** Output only. Error thrown in the wave iteration. */
125
+ error?: Status;
126
+ /** Output only. Number of orchestration actions which failed so far. For more details, query the Cloud Logs. */
127
+ failedActions?: string;
128
+ /** Output only. Finish time of the wave iteration. */
129
+ finishTime?: string;
130
+ /** Output only. Overall number of actions done by the orchestrator so far. */
131
+ performedActions?: string;
132
+ /** Output only. An estimated percentage of the progress. Number between 0 and 100. */
133
+ progress?: number;
134
+ /** Output only. Handle to the Progressive Rollouts API rollout resource, which contains detailed information about a particular orchestration iteration. */
135
+ rolloutResource?: string;
136
+ /** Output only. Start time of the wave iteration. */
137
+ startTime?: string;
138
+ /** Output only. State of the iteration. */
139
+ state?: string;
140
+ }
141
+ interface GoogleCloudOsconfigV2beta_PolicyOrchestrator_OrchestrationState {
142
+ /** Output only. Current Wave iteration state. */
143
+ currentIterationState?: GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState;
144
+ /** Output only. Previous Wave iteration state. */
145
+ previousIterationState?: GoogleCloudOsconfigV2beta_PolicyOrchestrator_IterationState;
146
+ }
57
147
  interface ListOperationsResponse {
58
148
  /** The standard List next-page token. */
59
149
  nextPageToken?: string;
@@ -72,6 +162,66 @@ declare namespace gapi.client {
72
162
  /** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
73
163
  response?: {[P in string]: any};
74
164
  }
165
+ interface OSPolicy {
166
+ /** This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. */
167
+ allowNoResourceGroupMatch?: boolean;
168
+ /** Policy description. Length of the description is limited to 1024 characters. */
169
+ description?: string;
170
+ /** Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment. */
171
+ id?: string;
172
+ /** Required. Policy mode */
173
+ mode?: string;
174
+ /** Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match` */
175
+ resourceGroups?: OSPolicyResourceGroup[];
176
+ }
177
+ interface OSPolicyAssignment {
178
+ /** Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field. */
179
+ baseline?: boolean;
180
+ /** Output only. Indicates that this revision deletes the OS policy assignment. */
181
+ deleted?: boolean;
182
+ /** OS policy assignment description. Length of the description is limited to 1024 characters. */
183
+ description?: string;
184
+ /** The etag for this OS policy assignment. If this is provided on update, it must match the server's etag. */
185
+ etag?: string;
186
+ /** Required. Filter to select VMs. */
187
+ instanceFilter?: OSPolicyAssignmentInstanceFilter;
188
+ /** Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment. */
189
+ name?: string;
190
+ /** Required. List of OS policies to be applied to the VMs. */
191
+ osPolicies?: OSPolicy[];
192
+ /** Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING */
193
+ reconciling?: boolean;
194
+ /** Output only. The timestamp that the revision was created. */
195
+ revisionCreateTime?: string;
196
+ /** Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment */
197
+ revisionId?: string;
198
+ /** Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted. */
199
+ rollout?: OSPolicyAssignmentRollout;
200
+ /** Output only. OS policy assignment rollout state */
201
+ rolloutState?: string;
202
+ /** Output only. Server generated unique id for the OS policy assignment resource. */
203
+ uid?: string;
204
+ }
205
+ interface OSPolicyAssignmentInstanceFilter {
206
+ /** Target all VMs in the project. If true, no other criteria is permitted. */
207
+ all?: boolean;
208
+ /** List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. */
209
+ exclusionLabels?: OSPolicyAssignmentLabelSet[];
210
+ /** List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM. */
211
+ inclusionLabels?: OSPolicyAssignmentLabelSet[];
212
+ /** List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories. */
213
+ inventories?: OSPolicyAssignmentInstanceFilterInventory[];
214
+ }
215
+ interface OSPolicyAssignmentInstanceFilterInventory {
216
+ /** Required. The OS short name */
217
+ osShortName?: string;
218
+ /** The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions. */
219
+ osVersion?: string;
220
+ }
221
+ interface OSPolicyAssignmentLabelSet {
222
+ /** Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. */
223
+ labels?: {[P in string]: string};
224
+ }
75
225
  interface OSPolicyAssignmentOperationMetadata {
76
226
  /** The OS policy assignment API method. */
77
227
  apiMethod?: string;
@@ -84,6 +234,190 @@ declare namespace gapi.client {
84
234
  /** Rollout update time */
85
235
  rolloutUpdateTime?: string;
86
236
  }
237
+ interface OSPolicyAssignmentRollout {
238
+ /** Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment. */
239
+ disruptionBudget?: FixedOrPercent;
240
+ /** Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied. */
241
+ minWaitDuration?: string;
242
+ }
243
+ interface OSPolicyInventoryFilter {
244
+ /** Required. The OS short name */
245
+ osShortName?: string;
246
+ /** The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions. */
247
+ osVersion?: string;
248
+ }
249
+ interface OSPolicyResource {
250
+ /** Exec resource */
251
+ exec?: OSPolicyResourceExecResource;
252
+ /** File resource */
253
+ file?: OSPolicyResourceFileResource;
254
+ /** Required. The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the OS policy. */
255
+ id?: string;
256
+ /** Package resource */
257
+ pkg?: OSPolicyResourcePackageResource;
258
+ /** Package repository resource */
259
+ repository?: OSPolicyResourceRepositoryResource;
260
+ }
261
+ interface OSPolicyResourceExecResource {
262
+ /** What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. */
263
+ enforce?: OSPolicyResourceExecResourceExec;
264
+ /** Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate. */
265
+ validate?: OSPolicyResourceExecResourceExec;
266
+ }
267
+ interface OSPolicyResourceExecResourceExec {
268
+ /** Optional arguments to pass to the source during execution. */
269
+ args?: string[];
270
+ /** A remote or local file. */
271
+ file?: OSPolicyResourceFile;
272
+ /** Required. The script interpreter to use. */
273
+ interpreter?: string;
274
+ /** Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 500K bytes. */
275
+ outputFilePath?: string;
276
+ /** An inline script. The size of the script is limited to 32KiB. */
277
+ script?: string;
278
+ }
279
+ interface OSPolicyResourceFile {
280
+ /** Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. */
281
+ allowInsecure?: boolean;
282
+ /** A Cloud Storage object. */
283
+ gcs?: OSPolicyResourceFileGcs;
284
+ /** A local path within the VM to use. */
285
+ localPath?: string;
286
+ /** A generic remote file. */
287
+ remote?: OSPolicyResourceFileRemote;
288
+ }
289
+ interface OSPolicyResourceFileGcs {
290
+ /** Required. Bucket of the Cloud Storage object. */
291
+ bucket?: string;
292
+ /** Generation number of the Cloud Storage object. */
293
+ generation?: string;
294
+ /** Required. Name of the Cloud Storage object. */
295
+ object?: string;
296
+ }
297
+ interface OSPolicyResourceFileRemote {
298
+ /** SHA256 checksum of the remote file. */
299
+ sha256Checksum?: string;
300
+ /** Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`. */
301
+ uri?: string;
302
+ }
303
+ interface OSPolicyResourceFileResource {
304
+ /** A a file with this content. The size of the content is limited to 32KiB. */
305
+ content?: string;
306
+ /** A remote or local source. */
307
+ file?: OSPolicyResourceFile;
308
+ /** Required. The absolute path of the file within the VM. */
309
+ path?: string;
310
+ /** Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4 */
311
+ permissions?: string;
312
+ /** Required. Desired state of the file. */
313
+ state?: string;
314
+ }
315
+ interface OSPolicyResourceGroup {
316
+ /** List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. */
317
+ inventoryFilters?: OSPolicyInventoryFilter[];
318
+ /** Required. List of resources configured for this resource group. The resources are executed in the exact order specified here. */
319
+ resources?: OSPolicyResource[];
320
+ }
321
+ interface OSPolicyResourcePackageResource {
322
+ /** A package managed by Apt. */
323
+ apt?: OSPolicyResourcePackageResourceAPT;
324
+ /** A deb package file. */
325
+ deb?: OSPolicyResourcePackageResourceDeb;
326
+ /** Required. The desired state the agent should maintain for this package. */
327
+ desiredState?: string;
328
+ /** A package managed by GooGet. */
329
+ googet?: OSPolicyResourcePackageResourceGooGet;
330
+ /** An MSI package. */
331
+ msi?: OSPolicyResourcePackageResourceMSI;
332
+ /** An rpm package file. */
333
+ rpm?: OSPolicyResourcePackageResourceRPM;
334
+ /** A package managed by YUM. */
335
+ yum?: OSPolicyResourcePackageResourceYUM;
336
+ /** A package managed by Zypper. */
337
+ zypper?: OSPolicyResourcePackageResourceZypper;
338
+ }
339
+ interface OSPolicyResourcePackageResourceAPT {
340
+ /** Required. Package name. */
341
+ name?: string;
342
+ }
343
+ interface OSPolicyResourcePackageResourceDeb {
344
+ /** Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb` */
345
+ pullDeps?: boolean;
346
+ /** Required. A deb package. */
347
+ source?: OSPolicyResourceFile;
348
+ }
349
+ interface OSPolicyResourcePackageResourceGooGet {
350
+ /** Required. Package name. */
351
+ name?: string;
352
+ }
353
+ interface OSPolicyResourcePackageResourceMSI {
354
+ /** Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`. */
355
+ properties?: string[];
356
+ /** Required. The MSI package. */
357
+ source?: OSPolicyResourceFile;
358
+ }
359
+ interface OSPolicyResourcePackageResourceRPM {
360
+ /** Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm` */
361
+ pullDeps?: boolean;
362
+ /** Required. An rpm package. */
363
+ source?: OSPolicyResourceFile;
364
+ }
365
+ interface OSPolicyResourcePackageResourceYUM {
366
+ /** Required. Package name. */
367
+ name?: string;
368
+ }
369
+ interface OSPolicyResourcePackageResourceZypper {
370
+ /** Required. Package name. */
371
+ name?: string;
372
+ }
373
+ interface OSPolicyResourceRepositoryResource {
374
+ /** An Apt Repository. */
375
+ apt?: OSPolicyResourceRepositoryResourceAptRepository;
376
+ /** A Goo Repository. */
377
+ goo?: OSPolicyResourceRepositoryResourceGooRepository;
378
+ /** A Yum Repository. */
379
+ yum?: OSPolicyResourceRepositoryResourceYumRepository;
380
+ /** A Zypper Repository. */
381
+ zypper?: OSPolicyResourceRepositoryResourceZypperRepository;
382
+ }
383
+ interface OSPolicyResourceRepositoryResourceAptRepository {
384
+ /** Required. Type of archive files in this repository. */
385
+ archiveType?: string;
386
+ /** Required. List of components for this repository. Must contain at least one item. */
387
+ components?: string[];
388
+ /** Required. Distribution of this repository. */
389
+ distribution?: string;
390
+ /** URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`. */
391
+ gpgKey?: string;
392
+ /** Required. URI for this repository. */
393
+ uri?: string;
394
+ }
395
+ interface OSPolicyResourceRepositoryResourceGooRepository {
396
+ /** Required. The name of the repository. */
397
+ name?: string;
398
+ /** Required. The url of the repository. */
399
+ url?: string;
400
+ }
401
+ interface OSPolicyResourceRepositoryResourceYumRepository {
402
+ /** Required. The location of the repository directory. */
403
+ baseUrl?: string;
404
+ /** The display name of the repository. */
405
+ displayName?: string;
406
+ /** URIs of GPG keys. */
407
+ gpgKeys?: string[];
408
+ /** Required. A one word, unique name for this repository. This is the `repo id` in the yum config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for resource conflicts. */
409
+ id?: string;
410
+ }
411
+ interface OSPolicyResourceRepositoryResourceZypperRepository {
412
+ /** Required. The location of the repository directory. */
413
+ baseUrl?: string;
414
+ /** The display name of the repository. */
415
+ displayName?: string;
416
+ /** URIs of GPG keys. */
417
+ gpgKeys?: string[];
418
+ /** Required. A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used as the unique identifier when checking for GuestPolicy conflicts. */
419
+ id?: string;
420
+ }
87
421
  interface Status {
88
422
  /** The status code, which should be an enum value of google.rpc.Code. */
89
423
  code?: number;
@@ -92,9 +426,9 @@ declare namespace gapi.client {
92
426
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
93
427
  message?: string;
94
428
  }
95
- interface OperationsResource {
96
- /** 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`. */
97
- cancel(request: {
429
+ interface PolicyOrchestratorsResource {
430
+ /** Creates a new policy orchestrator under the given folder resource. `name` field of the given orchestrator are ignored and instead replaced by a product of `parent` and `policy_orchestrator_id`. Orchestrator state field might be only set to `ACTIVE`, `STOPPED` or omitted (in which case, the created resource will be in `ACTIVE` state anyway). */
431
+ create(request: {
98
432
  /** V1 error format. */
99
433
  '$.xgafv'?: string;
100
434
  /** OAuth access token. */
@@ -107,22 +441,26 @@ declare namespace gapi.client {
107
441
  fields?: string;
108
442
  /** 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. */
109
443
  key?: string;
110
- /** The name of the operation resource to be cancelled. */
111
- name: string;
112
444
  /** OAuth 2.0 token for the current user. */
113
445
  oauth_token?: string;
446
+ /** Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global` */
447
+ parent: string;
448
+ /** Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent. */
449
+ policyOrchestratorId?: string;
114
450
  /** Returns response with indentations and line breaks. */
115
451
  prettyPrint?: boolean;
116
452
  /** 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. */
117
453
  quotaUser?: string;
454
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
455
+ requestId?: string;
118
456
  /** Upload protocol for media (e.g. "raw", "multipart"). */
119
457
  upload_protocol?: string;
120
458
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
121
459
  uploadType?: string;
122
460
  /** Request body */
123
- resource: CancelOperationRequest;
124
- }): Request<{}>;
125
- cancel(
461
+ resource: GoogleCloudOsconfigV2beta__PolicyOrchestrator;
462
+ }): Request<Operation>;
463
+ create(
126
464
  request: {
127
465
  /** V1 error format. */
128
466
  '$.xgafv'?: string;
@@ -136,22 +474,26 @@ declare namespace gapi.client {
136
474
  fields?: string;
137
475
  /** 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. */
138
476
  key?: string;
139
- /** The name of the operation resource to be cancelled. */
140
- name: string;
141
477
  /** OAuth 2.0 token for the current user. */
142
478
  oauth_token?: string;
479
+ /** Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global` */
480
+ parent: string;
481
+ /** Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent. */
482
+ policyOrchestratorId?: string;
143
483
  /** Returns response with indentations and line breaks. */
144
484
  prettyPrint?: boolean;
145
485
  /** 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. */
146
486
  quotaUser?: string;
487
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
488
+ requestId?: string;
147
489
  /** Upload protocol for media (e.g. "raw", "multipart"). */
148
490
  upload_protocol?: string;
149
491
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
150
492
  uploadType?: string;
151
493
  },
152
- body: CancelOperationRequest
153
- ): Request<{}>;
154
- /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
494
+ body: GoogleCloudOsconfigV2beta__PolicyOrchestrator
495
+ ): Request<Operation>;
496
+ /** Deletes an existing policy orchestrator resource, parented by a folder. */
155
497
  delete(request?: {
156
498
  /** V1 error format. */
157
499
  '$.xgafv'?: string;
@@ -161,11 +503,13 @@ declare namespace gapi.client {
161
503
  alt?: string;
162
504
  /** JSONP */
163
505
  callback?: string;
506
+ /** Optional. The current etag of the policy orchestrator. If an etag is provided and does not match the current etag of the policy orchestrator, deletion will be blocked and an ABORTED error will be returned. */
507
+ etag?: string;
164
508
  /** Selector specifying which fields to include in a partial response. */
165
509
  fields?: string;
166
510
  /** 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. */
167
511
  key?: string;
168
- /** The name of the operation resource to be deleted. */
512
+ /** Required. Name of the resource to be deleted. */
169
513
  name: string;
170
514
  /** OAuth 2.0 token for the current user. */
171
515
  oauth_token?: string;
@@ -173,12 +517,14 @@ declare namespace gapi.client {
173
517
  prettyPrint?: boolean;
174
518
  /** 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. */
175
519
  quotaUser?: string;
520
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
521
+ requestId?: string;
176
522
  /** Upload protocol for media (e.g. "raw", "multipart"). */
177
523
  upload_protocol?: string;
178
524
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
179
525
  uploadType?: string;
180
- }): Request<{}>;
181
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
526
+ }): Request<Operation>;
527
+ /** Retrieves an existing policy orchestrator, parented by a folder. */
182
528
  get(request?: {
183
529
  /** V1 error format. */
184
530
  '$.xgafv'?: string;
@@ -192,7 +538,7 @@ declare namespace gapi.client {
192
538
  fields?: string;
193
539
  /** 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. */
194
540
  key?: string;
195
- /** The name of the operation resource. */
541
+ /** Required. The resource name. */
196
542
  name: string;
197
543
  /** OAuth 2.0 token for the current user. */
198
544
  oauth_token?: string;
@@ -204,8 +550,8 @@ declare namespace gapi.client {
204
550
  upload_protocol?: string;
205
551
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
206
552
  uploadType?: string;
207
- }): Request<Operation>;
208
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
553
+ }): Request<GoogleCloudOsconfigV2beta__PolicyOrchestrator>;
554
+ /** Lists the policy orchestrators under the given parent folder resource. */
209
555
  list(request?: {
210
556
  /** V1 error format. */
211
557
  '$.xgafv'?: string;
@@ -217,18 +563,20 @@ declare namespace gapi.client {
217
563
  callback?: string;
218
564
  /** Selector specifying which fields to include in a partial response. */
219
565
  fields?: string;
220
- /** The standard list filter. */
566
+ /** Optional. Filtering results */
221
567
  filter?: string;
222
568
  /** 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. */
223
569
  key?: string;
224
- /** The name of the operation's parent resource. */
225
- name: string;
226
570
  /** OAuth 2.0 token for the current user. */
227
571
  oauth_token?: string;
228
- /** The standard list page size. */
572
+ /** Optional. Hint for how to order the results */
573
+ orderBy?: string;
574
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
229
575
  pageSize?: number;
230
- /** The standard list page token. */
576
+ /** Optional. A token identifying a page of results the server should return. */
231
577
  pageToken?: string;
578
+ /** Required. The parent resource name. */
579
+ parent: string;
232
580
  /** Returns response with indentations and line breaks. */
233
581
  prettyPrint?: boolean;
234
582
  /** 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. */
@@ -237,13 +585,72 @@ declare namespace gapi.client {
237
585
  upload_protocol?: string;
238
586
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
239
587
  uploadType?: string;
240
- }): Request<ListOperationsResponse>;
241
- }
242
- interface LocationsResource {
243
- operations: OperationsResource;
588
+ }): Request<GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse>;
589
+ /** Updates an existing policy orchestrator, parented by a folder. */
590
+ patch(request: {
591
+ /** V1 error format. */
592
+ '$.xgafv'?: string;
593
+ /** OAuth access token. */
594
+ access_token?: string;
595
+ /** Data format for response. */
596
+ alt?: string;
597
+ /** JSONP */
598
+ callback?: string;
599
+ /** Selector specifying which fields to include in a partial response. */
600
+ fields?: string;
601
+ /** 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. */
602
+ key?: string;
603
+ /** Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}` */
604
+ name: string;
605
+ /** OAuth 2.0 token for the current user. */
606
+ oauth_token?: string;
607
+ /** Returns response with indentations and line breaks. */
608
+ prettyPrint?: boolean;
609
+ /** 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. */
610
+ quotaUser?: string;
611
+ /** Optional. The list of fields to update. */
612
+ updateMask?: string;
613
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
614
+ upload_protocol?: string;
615
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
616
+ uploadType?: string;
617
+ /** Request body */
618
+ resource: GoogleCloudOsconfigV2beta__PolicyOrchestrator;
619
+ }): Request<Operation>;
620
+ patch(
621
+ request: {
622
+ /** V1 error format. */
623
+ '$.xgafv'?: string;
624
+ /** OAuth access token. */
625
+ access_token?: string;
626
+ /** Data format for response. */
627
+ alt?: string;
628
+ /** JSONP */
629
+ callback?: string;
630
+ /** Selector specifying which fields to include in a partial response. */
631
+ fields?: string;
632
+ /** 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. */
633
+ key?: string;
634
+ /** Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}` */
635
+ name: string;
636
+ /** OAuth 2.0 token for the current user. */
637
+ oauth_token?: string;
638
+ /** Returns response with indentations and line breaks. */
639
+ prettyPrint?: boolean;
640
+ /** 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. */
641
+ quotaUser?: string;
642
+ /** Optional. The list of fields to update. */
643
+ updateMask?: string;
644
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
645
+ upload_protocol?: string;
646
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
647
+ uploadType?: string;
648
+ },
649
+ body: GoogleCloudOsconfigV2beta__PolicyOrchestrator
650
+ ): Request<Operation>;
244
651
  }
245
- interface FoldersResource {
246
- locations: LocationsResource;
652
+ interface GlobalResource {
653
+ policyOrchestrators: PolicyOrchestratorsResource;
247
654
  }
248
655
  interface OperationsResource {
249
656
  /** 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`. */
@@ -393,11 +800,618 @@ declare namespace gapi.client {
393
800
  }): Request<ListOperationsResponse>;
394
801
  }
395
802
  interface LocationsResource {
803
+ global: GlobalResource;
396
804
  operations: OperationsResource;
397
805
  }
398
- interface OrganizationsResource {
806
+ interface FoldersResource {
399
807
  locations: LocationsResource;
400
808
  }
809
+ interface PolicyOrchestratorsResource {
810
+ /** Creates a new policy orchestrator under the given organizations resource. `name` field of the given orchestrator are ignored and instead replaced by a product of `parent` and `policy_orchestrator_id`. Orchestrator state field might be only set to `ACTIVE`, `STOPPED` or omitted (in which case, the created resource will be in `ACTIVE` state anyway). */
811
+ create(request: {
812
+ /** V1 error format. */
813
+ '$.xgafv'?: string;
814
+ /** OAuth access token. */
815
+ access_token?: string;
816
+ /** Data format for response. */
817
+ alt?: string;
818
+ /** JSONP */
819
+ callback?: string;
820
+ /** Selector specifying which fields to include in a partial response. */
821
+ fields?: string;
822
+ /** 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. */
823
+ key?: string;
824
+ /** OAuth 2.0 token for the current user. */
825
+ oauth_token?: string;
826
+ /** Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global` */
827
+ parent: string;
828
+ /** Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent. */
829
+ policyOrchestratorId?: string;
830
+ /** Returns response with indentations and line breaks. */
831
+ prettyPrint?: boolean;
832
+ /** 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. */
833
+ quotaUser?: string;
834
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
835
+ requestId?: string;
836
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
837
+ upload_protocol?: string;
838
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
839
+ uploadType?: string;
840
+ /** Request body */
841
+ resource: GoogleCloudOsconfigV2beta__PolicyOrchestrator;
842
+ }): Request<Operation>;
843
+ create(
844
+ request: {
845
+ /** V1 error format. */
846
+ '$.xgafv'?: string;
847
+ /** OAuth access token. */
848
+ access_token?: string;
849
+ /** Data format for response. */
850
+ alt?: string;
851
+ /** JSONP */
852
+ callback?: string;
853
+ /** Selector specifying which fields to include in a partial response. */
854
+ fields?: string;
855
+ /** 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. */
856
+ key?: string;
857
+ /** OAuth 2.0 token for the current user. */
858
+ oauth_token?: string;
859
+ /** Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global` */
860
+ parent: string;
861
+ /** Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent. */
862
+ policyOrchestratorId?: string;
863
+ /** Returns response with indentations and line breaks. */
864
+ prettyPrint?: boolean;
865
+ /** 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. */
866
+ quotaUser?: string;
867
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
868
+ requestId?: string;
869
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
870
+ upload_protocol?: string;
871
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
872
+ uploadType?: string;
873
+ },
874
+ body: GoogleCloudOsconfigV2beta__PolicyOrchestrator
875
+ ): Request<Operation>;
876
+ /** Deletes an existing policy orchestrator resource, parented by an organization. */
877
+ delete(request?: {
878
+ /** V1 error format. */
879
+ '$.xgafv'?: string;
880
+ /** OAuth access token. */
881
+ access_token?: string;
882
+ /** Data format for response. */
883
+ alt?: string;
884
+ /** JSONP */
885
+ callback?: string;
886
+ /** Optional. The current etag of the policy orchestrator. If an etag is provided and does not match the current etag of the policy orchestrator, deletion will be blocked and an ABORTED error will be returned. */
887
+ etag?: string;
888
+ /** Selector specifying which fields to include in a partial response. */
889
+ fields?: string;
890
+ /** 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. */
891
+ key?: string;
892
+ /** Required. Name of the resource to be deleted. */
893
+ name: string;
894
+ /** OAuth 2.0 token for the current user. */
895
+ oauth_token?: string;
896
+ /** Returns response with indentations and line breaks. */
897
+ prettyPrint?: boolean;
898
+ /** 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. */
899
+ quotaUser?: string;
900
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
901
+ requestId?: string;
902
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
903
+ upload_protocol?: string;
904
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
905
+ uploadType?: string;
906
+ }): Request<Operation>;
907
+ /** Retrieves an existing policy orchestrator, parented by an organization. */
908
+ get(request?: {
909
+ /** V1 error format. */
910
+ '$.xgafv'?: string;
911
+ /** OAuth access token. */
912
+ access_token?: string;
913
+ /** Data format for response. */
914
+ alt?: string;
915
+ /** JSONP */
916
+ callback?: string;
917
+ /** Selector specifying which fields to include in a partial response. */
918
+ fields?: string;
919
+ /** 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. */
920
+ key?: string;
921
+ /** Required. The resource name. */
922
+ name: string;
923
+ /** OAuth 2.0 token for the current user. */
924
+ oauth_token?: string;
925
+ /** Returns response with indentations and line breaks. */
926
+ prettyPrint?: boolean;
927
+ /** 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. */
928
+ quotaUser?: string;
929
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
930
+ upload_protocol?: string;
931
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
932
+ uploadType?: string;
933
+ }): Request<GoogleCloudOsconfigV2beta__PolicyOrchestrator>;
934
+ /** Lists the policy orchestrators under the given parent organization resource. */
935
+ list(request?: {
936
+ /** V1 error format. */
937
+ '$.xgafv'?: string;
938
+ /** OAuth access token. */
939
+ access_token?: string;
940
+ /** Data format for response. */
941
+ alt?: string;
942
+ /** JSONP */
943
+ callback?: string;
944
+ /** Selector specifying which fields to include in a partial response. */
945
+ fields?: string;
946
+ /** Optional. Filtering results */
947
+ filter?: string;
948
+ /** 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. */
949
+ key?: string;
950
+ /** OAuth 2.0 token for the current user. */
951
+ oauth_token?: string;
952
+ /** Optional. Hint for how to order the results */
953
+ orderBy?: string;
954
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
955
+ pageSize?: number;
956
+ /** Optional. A token identifying a page of results the server should return. */
957
+ pageToken?: string;
958
+ /** Required. The parent resource name. */
959
+ parent: string;
960
+ /** Returns response with indentations and line breaks. */
961
+ prettyPrint?: boolean;
962
+ /** 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. */
963
+ quotaUser?: string;
964
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
965
+ upload_protocol?: string;
966
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
967
+ uploadType?: string;
968
+ }): Request<GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse>;
969
+ /** Updates an existing policy orchestrator, parented by an organization. */
970
+ patch(request: {
971
+ /** V1 error format. */
972
+ '$.xgafv'?: string;
973
+ /** OAuth access token. */
974
+ access_token?: string;
975
+ /** Data format for response. */
976
+ alt?: string;
977
+ /** JSONP */
978
+ callback?: string;
979
+ /** Selector specifying which fields to include in a partial response. */
980
+ fields?: string;
981
+ /** 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. */
982
+ key?: string;
983
+ /** Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}` */
984
+ name: string;
985
+ /** OAuth 2.0 token for the current user. */
986
+ oauth_token?: string;
987
+ /** Returns response with indentations and line breaks. */
988
+ prettyPrint?: boolean;
989
+ /** 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. */
990
+ quotaUser?: string;
991
+ /** Optional. The list of fields to update. */
992
+ updateMask?: string;
993
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
994
+ upload_protocol?: string;
995
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
996
+ uploadType?: string;
997
+ /** Request body */
998
+ resource: GoogleCloudOsconfigV2beta__PolicyOrchestrator;
999
+ }): Request<Operation>;
1000
+ patch(
1001
+ request: {
1002
+ /** V1 error format. */
1003
+ '$.xgafv'?: string;
1004
+ /** OAuth access token. */
1005
+ access_token?: string;
1006
+ /** Data format for response. */
1007
+ alt?: string;
1008
+ /** JSONP */
1009
+ callback?: string;
1010
+ /** Selector specifying which fields to include in a partial response. */
1011
+ fields?: string;
1012
+ /** 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. */
1013
+ key?: string;
1014
+ /** Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}` */
1015
+ name: string;
1016
+ /** OAuth 2.0 token for the current user. */
1017
+ oauth_token?: string;
1018
+ /** Returns response with indentations and line breaks. */
1019
+ prettyPrint?: boolean;
1020
+ /** 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. */
1021
+ quotaUser?: string;
1022
+ /** Optional. The list of fields to update. */
1023
+ updateMask?: string;
1024
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1025
+ upload_protocol?: string;
1026
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1027
+ uploadType?: string;
1028
+ },
1029
+ body: GoogleCloudOsconfigV2beta__PolicyOrchestrator
1030
+ ): Request<Operation>;
1031
+ }
1032
+ interface GlobalResource {
1033
+ policyOrchestrators: PolicyOrchestratorsResource;
1034
+ }
1035
+ interface OperationsResource {
1036
+ /** 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`. */
1037
+ cancel(request: {
1038
+ /** V1 error format. */
1039
+ '$.xgafv'?: string;
1040
+ /** OAuth access token. */
1041
+ access_token?: string;
1042
+ /** Data format for response. */
1043
+ alt?: string;
1044
+ /** JSONP */
1045
+ callback?: string;
1046
+ /** Selector specifying which fields to include in a partial response. */
1047
+ fields?: string;
1048
+ /** 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. */
1049
+ key?: string;
1050
+ /** The name of the operation resource to be cancelled. */
1051
+ name: string;
1052
+ /** OAuth 2.0 token for the current user. */
1053
+ oauth_token?: string;
1054
+ /** Returns response with indentations and line breaks. */
1055
+ prettyPrint?: boolean;
1056
+ /** 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. */
1057
+ quotaUser?: string;
1058
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1059
+ upload_protocol?: string;
1060
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1061
+ uploadType?: string;
1062
+ /** Request body */
1063
+ resource: CancelOperationRequest;
1064
+ }): Request<{}>;
1065
+ cancel(
1066
+ request: {
1067
+ /** V1 error format. */
1068
+ '$.xgafv'?: string;
1069
+ /** OAuth access token. */
1070
+ access_token?: string;
1071
+ /** Data format for response. */
1072
+ alt?: string;
1073
+ /** JSONP */
1074
+ callback?: string;
1075
+ /** Selector specifying which fields to include in a partial response. */
1076
+ fields?: string;
1077
+ /** 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. */
1078
+ key?: string;
1079
+ /** The name of the operation resource to be cancelled. */
1080
+ name: string;
1081
+ /** OAuth 2.0 token for the current user. */
1082
+ oauth_token?: string;
1083
+ /** Returns response with indentations and line breaks. */
1084
+ prettyPrint?: boolean;
1085
+ /** 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. */
1086
+ quotaUser?: string;
1087
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1088
+ upload_protocol?: string;
1089
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1090
+ uploadType?: string;
1091
+ },
1092
+ body: CancelOperationRequest
1093
+ ): Request<{}>;
1094
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
1095
+ delete(request?: {
1096
+ /** V1 error format. */
1097
+ '$.xgafv'?: string;
1098
+ /** OAuth access token. */
1099
+ access_token?: string;
1100
+ /** Data format for response. */
1101
+ alt?: string;
1102
+ /** JSONP */
1103
+ callback?: string;
1104
+ /** Selector specifying which fields to include in a partial response. */
1105
+ fields?: string;
1106
+ /** 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. */
1107
+ key?: string;
1108
+ /** The name of the operation resource to be deleted. */
1109
+ name: string;
1110
+ /** OAuth 2.0 token for the current user. */
1111
+ oauth_token?: string;
1112
+ /** Returns response with indentations and line breaks. */
1113
+ prettyPrint?: boolean;
1114
+ /** 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. */
1115
+ quotaUser?: string;
1116
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1117
+ upload_protocol?: string;
1118
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1119
+ uploadType?: string;
1120
+ }): Request<{}>;
1121
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1122
+ get(request?: {
1123
+ /** V1 error format. */
1124
+ '$.xgafv'?: string;
1125
+ /** OAuth access token. */
1126
+ access_token?: string;
1127
+ /** Data format for response. */
1128
+ alt?: string;
1129
+ /** JSONP */
1130
+ callback?: string;
1131
+ /** Selector specifying which fields to include in a partial response. */
1132
+ fields?: string;
1133
+ /** 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. */
1134
+ key?: string;
1135
+ /** The name of the operation resource. */
1136
+ name: string;
1137
+ /** OAuth 2.0 token for the current user. */
1138
+ oauth_token?: string;
1139
+ /** Returns response with indentations and line breaks. */
1140
+ prettyPrint?: boolean;
1141
+ /** 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. */
1142
+ quotaUser?: string;
1143
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1144
+ upload_protocol?: string;
1145
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1146
+ uploadType?: string;
1147
+ }): Request<Operation>;
1148
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1149
+ list(request?: {
1150
+ /** V1 error format. */
1151
+ '$.xgafv'?: string;
1152
+ /** OAuth access token. */
1153
+ access_token?: string;
1154
+ /** Data format for response. */
1155
+ alt?: string;
1156
+ /** JSONP */
1157
+ callback?: string;
1158
+ /** Selector specifying which fields to include in a partial response. */
1159
+ fields?: string;
1160
+ /** The standard list filter. */
1161
+ filter?: string;
1162
+ /** 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. */
1163
+ key?: string;
1164
+ /** The name of the operation's parent resource. */
1165
+ name: string;
1166
+ /** OAuth 2.0 token for the current user. */
1167
+ oauth_token?: string;
1168
+ /** The standard list page size. */
1169
+ pageSize?: number;
1170
+ /** The standard list page token. */
1171
+ pageToken?: string;
1172
+ /** Returns response with indentations and line breaks. */
1173
+ prettyPrint?: boolean;
1174
+ /** 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. */
1175
+ quotaUser?: string;
1176
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1177
+ upload_protocol?: string;
1178
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1179
+ uploadType?: string;
1180
+ }): Request<ListOperationsResponse>;
1181
+ }
1182
+ interface LocationsResource {
1183
+ global: GlobalResource;
1184
+ operations: OperationsResource;
1185
+ }
1186
+ interface OrganizationsResource {
1187
+ locations: LocationsResource;
1188
+ }
1189
+ interface PolicyOrchestratorsResource {
1190
+ /** Creates a new policy orchestrator under the given project resource. `name` field of the given orchestrator are ignored and instead replaced by a product of `parent` and `policy_orchestrator_id`. Orchestrator state field might be only set to `ACTIVE`, `STOPPED` or omitted (in which case, the created resource will be in `ACTIVE` state anyway). */
1191
+ create(request: {
1192
+ /** V1 error format. */
1193
+ '$.xgafv'?: string;
1194
+ /** OAuth access token. */
1195
+ access_token?: string;
1196
+ /** Data format for response. */
1197
+ alt?: string;
1198
+ /** JSONP */
1199
+ callback?: string;
1200
+ /** Selector specifying which fields to include in a partial response. */
1201
+ fields?: string;
1202
+ /** 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. */
1203
+ key?: string;
1204
+ /** OAuth 2.0 token for the current user. */
1205
+ oauth_token?: string;
1206
+ /** Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global` */
1207
+ parent: string;
1208
+ /** Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent. */
1209
+ policyOrchestratorId?: string;
1210
+ /** Returns response with indentations and line breaks. */
1211
+ prettyPrint?: boolean;
1212
+ /** 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. */
1213
+ quotaUser?: string;
1214
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
1215
+ requestId?: string;
1216
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1217
+ upload_protocol?: string;
1218
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1219
+ uploadType?: string;
1220
+ /** Request body */
1221
+ resource: GoogleCloudOsconfigV2beta__PolicyOrchestrator;
1222
+ }): Request<Operation>;
1223
+ create(
1224
+ request: {
1225
+ /** V1 error format. */
1226
+ '$.xgafv'?: string;
1227
+ /** OAuth access token. */
1228
+ access_token?: string;
1229
+ /** Data format for response. */
1230
+ alt?: string;
1231
+ /** JSONP */
1232
+ callback?: string;
1233
+ /** Selector specifying which fields to include in a partial response. */
1234
+ fields?: string;
1235
+ /** 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. */
1236
+ key?: string;
1237
+ /** OAuth 2.0 token for the current user. */
1238
+ oauth_token?: string;
1239
+ /** Required. The parent resource name in the form of: * `organizations/{organization_id}/locations/global` * `folders/{folder_id}/locations/global` * `projects/{project_id_or_number}/locations/global` */
1240
+ parent: string;
1241
+ /** Required. The logical identifier of the policy orchestrator, with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the parent. */
1242
+ policyOrchestratorId?: string;
1243
+ /** Returns response with indentations and line breaks. */
1244
+ prettyPrint?: boolean;
1245
+ /** 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. */
1246
+ quotaUser?: string;
1247
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
1248
+ requestId?: string;
1249
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1250
+ upload_protocol?: string;
1251
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1252
+ uploadType?: string;
1253
+ },
1254
+ body: GoogleCloudOsconfigV2beta__PolicyOrchestrator
1255
+ ): Request<Operation>;
1256
+ /** Deletes an existing policy orchestrator resource, parented by a project. */
1257
+ delete(request?: {
1258
+ /** V1 error format. */
1259
+ '$.xgafv'?: string;
1260
+ /** OAuth access token. */
1261
+ access_token?: string;
1262
+ /** Data format for response. */
1263
+ alt?: string;
1264
+ /** JSONP */
1265
+ callback?: string;
1266
+ /** Optional. The current etag of the policy orchestrator. If an etag is provided and does not match the current etag of the policy orchestrator, deletion will be blocked and an ABORTED error will be returned. */
1267
+ etag?: string;
1268
+ /** Selector specifying which fields to include in a partial response. */
1269
+ fields?: string;
1270
+ /** 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. */
1271
+ key?: string;
1272
+ /** Required. Name of the resource to be deleted. */
1273
+ name: string;
1274
+ /** OAuth 2.0 token for the current user. */
1275
+ oauth_token?: string;
1276
+ /** Returns response with indentations and line breaks. */
1277
+ prettyPrint?: boolean;
1278
+ /** 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. */
1279
+ quotaUser?: string;
1280
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
1281
+ requestId?: string;
1282
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1283
+ upload_protocol?: string;
1284
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1285
+ uploadType?: string;
1286
+ }): Request<Operation>;
1287
+ /** Retrieves an existing policy orchestrator, parented by a project. */
1288
+ get(request?: {
1289
+ /** V1 error format. */
1290
+ '$.xgafv'?: string;
1291
+ /** OAuth access token. */
1292
+ access_token?: string;
1293
+ /** Data format for response. */
1294
+ alt?: string;
1295
+ /** JSONP */
1296
+ callback?: string;
1297
+ /** Selector specifying which fields to include in a partial response. */
1298
+ fields?: string;
1299
+ /** 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. */
1300
+ key?: string;
1301
+ /** Required. The resource name. */
1302
+ name: string;
1303
+ /** OAuth 2.0 token for the current user. */
1304
+ oauth_token?: string;
1305
+ /** Returns response with indentations and line breaks. */
1306
+ prettyPrint?: boolean;
1307
+ /** 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. */
1308
+ quotaUser?: string;
1309
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1310
+ upload_protocol?: string;
1311
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1312
+ uploadType?: string;
1313
+ }): Request<GoogleCloudOsconfigV2beta__PolicyOrchestrator>;
1314
+ /** Lists the policy orchestrators under the given parent project resource. */
1315
+ list(request?: {
1316
+ /** V1 error format. */
1317
+ '$.xgafv'?: string;
1318
+ /** OAuth access token. */
1319
+ access_token?: string;
1320
+ /** Data format for response. */
1321
+ alt?: string;
1322
+ /** JSONP */
1323
+ callback?: string;
1324
+ /** Selector specifying which fields to include in a partial response. */
1325
+ fields?: string;
1326
+ /** Optional. Filtering results */
1327
+ filter?: string;
1328
+ /** 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. */
1329
+ key?: string;
1330
+ /** OAuth 2.0 token for the current user. */
1331
+ oauth_token?: string;
1332
+ /** Optional. Hint for how to order the results */
1333
+ orderBy?: string;
1334
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
1335
+ pageSize?: number;
1336
+ /** Optional. A token identifying a page of results the server should return. */
1337
+ pageToken?: string;
1338
+ /** Required. The parent resource name. */
1339
+ parent: string;
1340
+ /** Returns response with indentations and line breaks. */
1341
+ prettyPrint?: boolean;
1342
+ /** 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. */
1343
+ quotaUser?: string;
1344
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1345
+ upload_protocol?: string;
1346
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1347
+ uploadType?: string;
1348
+ }): Request<GoogleCloudOsconfigV2beta__ListPolicyOrchestratorsResponse>;
1349
+ /** Updates an existing policy orchestrator, parented by a project. */
1350
+ patch(request: {
1351
+ /** V1 error format. */
1352
+ '$.xgafv'?: string;
1353
+ /** OAuth access token. */
1354
+ access_token?: string;
1355
+ /** Data format for response. */
1356
+ alt?: string;
1357
+ /** JSONP */
1358
+ callback?: string;
1359
+ /** Selector specifying which fields to include in a partial response. */
1360
+ fields?: string;
1361
+ /** 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. */
1362
+ key?: string;
1363
+ /** Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}` */
1364
+ name: string;
1365
+ /** OAuth 2.0 token for the current user. */
1366
+ oauth_token?: string;
1367
+ /** Returns response with indentations and line breaks. */
1368
+ prettyPrint?: boolean;
1369
+ /** 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. */
1370
+ quotaUser?: string;
1371
+ /** Optional. The list of fields to update. */
1372
+ updateMask?: string;
1373
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1374
+ upload_protocol?: string;
1375
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1376
+ uploadType?: string;
1377
+ /** Request body */
1378
+ resource: GoogleCloudOsconfigV2beta__PolicyOrchestrator;
1379
+ }): Request<Operation>;
1380
+ patch(
1381
+ request: {
1382
+ /** V1 error format. */
1383
+ '$.xgafv'?: string;
1384
+ /** OAuth access token. */
1385
+ access_token?: string;
1386
+ /** Data format for response. */
1387
+ alt?: string;
1388
+ /** JSONP */
1389
+ callback?: string;
1390
+ /** Selector specifying which fields to include in a partial response. */
1391
+ fields?: string;
1392
+ /** 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. */
1393
+ key?: string;
1394
+ /** Immutable. Identifier. In form of * `organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}` * `projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_id}` */
1395
+ name: string;
1396
+ /** OAuth 2.0 token for the current user. */
1397
+ oauth_token?: string;
1398
+ /** Returns response with indentations and line breaks. */
1399
+ prettyPrint?: boolean;
1400
+ /** 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. */
1401
+ quotaUser?: string;
1402
+ /** Optional. The list of fields to update. */
1403
+ updateMask?: string;
1404
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1405
+ upload_protocol?: string;
1406
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1407
+ uploadType?: string;
1408
+ },
1409
+ body: GoogleCloudOsconfigV2beta__PolicyOrchestrator
1410
+ ): Request<Operation>;
1411
+ }
1412
+ interface GlobalResource {
1413
+ policyOrchestrators: PolicyOrchestratorsResource;
1414
+ }
401
1415
  interface OperationsResource {
402
1416
  /** 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`. */
403
1417
  cancel(request: {
@@ -546,6 +1560,7 @@ declare namespace gapi.client {
546
1560
  }): Request<ListOperationsResponse>;
547
1561
  }
548
1562
  interface LocationsResource {
1563
+ global: GlobalResource;
549
1564
  operations: OperationsResource;
550
1565
  }
551
1566
  interface ProjectsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.osconfig-v2beta",
3
- "version": "0.0.20241021",
3
+ "version": "0.0.20241103",
4
4
  "description": "TypeScript typings for OS Config API v2beta",
5
5
  "repository": {
6
6
  "type": "git",