@maxim_mazurok/gapi.client.logging-v2 0.0.20240412 → 0.0.20240419
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.
- package/index.d.ts +423 -1
- 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://logging.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240419
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,6 +24,18 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(name: 'logging', version: 'v2', callback: () => any): void;
|
|
25
25
|
|
|
26
26
|
namespace logging {
|
|
27
|
+
interface AuditConfig {
|
|
28
|
+
/** The configuration for logging of each type of permission. */
|
|
29
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
30
|
+
/** Specifies a service that will be enabled for audit logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. */
|
|
31
|
+
service?: string;
|
|
32
|
+
}
|
|
33
|
+
interface AuditLogConfig {
|
|
34
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
35
|
+
exemptedMembers?: string[];
|
|
36
|
+
/** The log type that this config enables. */
|
|
37
|
+
logType?: string;
|
|
38
|
+
}
|
|
27
39
|
interface BigQueryDataset {
|
|
28
40
|
/** Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).The dataset will have a resource path of "bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID" */
|
|
29
41
|
datasetId?: string;
|
|
@@ -34,6 +46,14 @@ declare namespace gapi.client {
|
|
|
34
46
|
/** Output only. True if new timestamp column based partitioning is in use, false if legacy ingress-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false. */
|
|
35
47
|
usesTimestampColumnPartitioning?: boolean;
|
|
36
48
|
}
|
|
49
|
+
interface Binding {
|
|
50
|
+
/** The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
51
|
+
condition?: Expr;
|
|
52
|
+
/** Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com. principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workforce identity pool. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: All workforce identities in a group. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All workforce identities with a specific attribute value. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*: All identities in a workforce identity pool. principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workload identity pool. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool group. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All identities in a workload identity pool with a certain attribute. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*: All identities in a workload identity pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: Deleted single identity in a workforce identity pool. For example, deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value. */
|
|
53
|
+
members?: string[];
|
|
54
|
+
/** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see here (https://cloud.google.com/iam/docs/understanding-roles). */
|
|
55
|
+
role?: string;
|
|
56
|
+
}
|
|
37
57
|
interface BucketMetadata {
|
|
38
58
|
/** LongRunningCreateBucket RPC request. */
|
|
39
59
|
createBucketRequest?: CreateBucketRequest;
|
|
@@ -140,6 +160,24 @@ declare namespace gapi.client {
|
|
|
140
160
|
/** Must be greater than 0. */
|
|
141
161
|
scale?: number;
|
|
142
162
|
}
|
|
163
|
+
interface Expr {
|
|
164
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
165
|
+
description?: string;
|
|
166
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
167
|
+
expression?: string;
|
|
168
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
169
|
+
location?: string;
|
|
170
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
171
|
+
title?: string;
|
|
172
|
+
}
|
|
173
|
+
interface GetIamPolicyRequest {
|
|
174
|
+
/** OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. */
|
|
175
|
+
options?: GetPolicyOptions;
|
|
176
|
+
}
|
|
177
|
+
interface GetPolicyOptions {
|
|
178
|
+
/** Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
179
|
+
requestedPolicyVersion?: number;
|
|
180
|
+
}
|
|
143
181
|
interface HttpRequest {
|
|
144
182
|
/** The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted. */
|
|
145
183
|
cacheFillBytes?: string;
|
|
@@ -602,6 +640,16 @@ declare namespace gapi.client {
|
|
|
602
640
|
/** Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI's query editor. */
|
|
603
641
|
sqlQueryText?: string;
|
|
604
642
|
}
|
|
643
|
+
interface Policy {
|
|
644
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
645
|
+
auditConfigs?: AuditConfig[];
|
|
646
|
+
/** Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. */
|
|
647
|
+
bindings?: Binding[];
|
|
648
|
+
/** etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost. */
|
|
649
|
+
etag?: string;
|
|
650
|
+
/** Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
651
|
+
version?: number;
|
|
652
|
+
}
|
|
605
653
|
interface RecentQuery {
|
|
606
654
|
/** Output only. The timestamp when this query was last run. */
|
|
607
655
|
lastRunTime?: string;
|
|
@@ -700,6 +748,12 @@ declare namespace gapi.client {
|
|
|
700
748
|
/** Required. The visibility status of this query, which determines its ownership. */
|
|
701
749
|
visibility?: string;
|
|
702
750
|
}
|
|
751
|
+
interface SetIamPolicyRequest {
|
|
752
|
+
/** REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
753
|
+
policy?: Policy;
|
|
754
|
+
/** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:paths: "bindings, etag" */
|
|
755
|
+
updateMask?: string;
|
|
756
|
+
}
|
|
703
757
|
interface Settings {
|
|
704
758
|
/** Optional. Overrides the built-in configuration for _Default sink. */
|
|
705
759
|
defaultSinkConfig?: DefaultSinkConfig;
|
|
@@ -762,6 +816,14 @@ declare namespace gapi.client {
|
|
|
762
816
|
/** If entries that otherwise would have been included in the session were not sent back to the client, counts of relevant entries omitted from the session with the reason that they were not included. There will be at most one of each reason per response. The counts represent the number of suppressed entries since the last streamed response. */
|
|
763
817
|
suppressionInfo?: SuppressionInfo[];
|
|
764
818
|
}
|
|
819
|
+
interface TestIamPermissionsRequest {
|
|
820
|
+
/** The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions). */
|
|
821
|
+
permissions?: string[];
|
|
822
|
+
}
|
|
823
|
+
interface TestIamPermissionsResponse {
|
|
824
|
+
/** A subset of TestPermissionsRequest.permissions that the caller is allowed. */
|
|
825
|
+
permissions?: string[];
|
|
826
|
+
}
|
|
765
827
|
interface UndeleteBucketRequest {}
|
|
766
828
|
interface UpdateBucketRequest {
|
|
767
829
|
/** Required. The updated bucket. */
|
|
@@ -3475,6 +3537,36 @@ declare namespace gapi.client {
|
|
|
3475
3537
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3476
3538
|
uploadType?: string;
|
|
3477
3539
|
}): Request<LogView>;
|
|
3540
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
3541
|
+
getIamPolicy(
|
|
3542
|
+
request: {
|
|
3543
|
+
/** V1 error format. */
|
|
3544
|
+
'$.xgafv'?: string;
|
|
3545
|
+
/** OAuth access token. */
|
|
3546
|
+
access_token?: string;
|
|
3547
|
+
/** Data format for response. */
|
|
3548
|
+
alt?: string;
|
|
3549
|
+
/** JSONP */
|
|
3550
|
+
callback?: string;
|
|
3551
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3552
|
+
fields?: string;
|
|
3553
|
+
/** 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. */
|
|
3554
|
+
key?: string;
|
|
3555
|
+
/** OAuth 2.0 token for the current user. */
|
|
3556
|
+
oauth_token?: string;
|
|
3557
|
+
/** Returns response with indentations and line breaks. */
|
|
3558
|
+
prettyPrint?: boolean;
|
|
3559
|
+
/** 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. */
|
|
3560
|
+
quotaUser?: string;
|
|
3561
|
+
/** REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3562
|
+
resource: string;
|
|
3563
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3564
|
+
upload_protocol?: string;
|
|
3565
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3566
|
+
uploadType?: string;
|
|
3567
|
+
},
|
|
3568
|
+
body: GetIamPolicyRequest
|
|
3569
|
+
): Request<Policy>;
|
|
3478
3570
|
/** Lists views on a log bucket. */
|
|
3479
3571
|
list(request?: {
|
|
3480
3572
|
/** V1 error format. */
|
|
@@ -3568,6 +3660,66 @@ declare namespace gapi.client {
|
|
|
3568
3660
|
},
|
|
3569
3661
|
body: LogView
|
|
3570
3662
|
): Request<LogView>;
|
|
3663
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
3664
|
+
setIamPolicy(
|
|
3665
|
+
request: {
|
|
3666
|
+
/** V1 error format. */
|
|
3667
|
+
'$.xgafv'?: string;
|
|
3668
|
+
/** OAuth access token. */
|
|
3669
|
+
access_token?: string;
|
|
3670
|
+
/** Data format for response. */
|
|
3671
|
+
alt?: string;
|
|
3672
|
+
/** JSONP */
|
|
3673
|
+
callback?: string;
|
|
3674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3675
|
+
fields?: string;
|
|
3676
|
+
/** 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. */
|
|
3677
|
+
key?: string;
|
|
3678
|
+
/** OAuth 2.0 token for the current user. */
|
|
3679
|
+
oauth_token?: string;
|
|
3680
|
+
/** Returns response with indentations and line breaks. */
|
|
3681
|
+
prettyPrint?: boolean;
|
|
3682
|
+
/** 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. */
|
|
3683
|
+
quotaUser?: string;
|
|
3684
|
+
/** REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3685
|
+
resource: string;
|
|
3686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3687
|
+
upload_protocol?: string;
|
|
3688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3689
|
+
uploadType?: string;
|
|
3690
|
+
},
|
|
3691
|
+
body: SetIamPolicyRequest
|
|
3692
|
+
): Request<Policy>;
|
|
3693
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
3694
|
+
testIamPermissions(
|
|
3695
|
+
request: {
|
|
3696
|
+
/** V1 error format. */
|
|
3697
|
+
'$.xgafv'?: string;
|
|
3698
|
+
/** OAuth access token. */
|
|
3699
|
+
access_token?: string;
|
|
3700
|
+
/** Data format for response. */
|
|
3701
|
+
alt?: string;
|
|
3702
|
+
/** JSONP */
|
|
3703
|
+
callback?: string;
|
|
3704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3705
|
+
fields?: string;
|
|
3706
|
+
/** 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. */
|
|
3707
|
+
key?: string;
|
|
3708
|
+
/** OAuth 2.0 token for the current user. */
|
|
3709
|
+
oauth_token?: string;
|
|
3710
|
+
/** Returns response with indentations and line breaks. */
|
|
3711
|
+
prettyPrint?: boolean;
|
|
3712
|
+
/** 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. */
|
|
3713
|
+
quotaUser?: string;
|
|
3714
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3715
|
+
resource: string;
|
|
3716
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3717
|
+
upload_protocol?: string;
|
|
3718
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3719
|
+
uploadType?: string;
|
|
3720
|
+
},
|
|
3721
|
+
body: TestIamPermissionsRequest
|
|
3722
|
+
): Request<TestIamPermissionsResponse>;
|
|
3571
3723
|
logs: LogsResource;
|
|
3572
3724
|
}
|
|
3573
3725
|
interface BucketsResource {
|
|
@@ -5051,6 +5203,36 @@ declare namespace gapi.client {
|
|
|
5051
5203
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5052
5204
|
uploadType?: string;
|
|
5053
5205
|
}): Request<LogView>;
|
|
5206
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
5207
|
+
getIamPolicy(
|
|
5208
|
+
request: {
|
|
5209
|
+
/** V1 error format. */
|
|
5210
|
+
'$.xgafv'?: string;
|
|
5211
|
+
/** OAuth access token. */
|
|
5212
|
+
access_token?: string;
|
|
5213
|
+
/** Data format for response. */
|
|
5214
|
+
alt?: string;
|
|
5215
|
+
/** JSONP */
|
|
5216
|
+
callback?: string;
|
|
5217
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5218
|
+
fields?: string;
|
|
5219
|
+
/** 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. */
|
|
5220
|
+
key?: string;
|
|
5221
|
+
/** OAuth 2.0 token for the current user. */
|
|
5222
|
+
oauth_token?: string;
|
|
5223
|
+
/** Returns response with indentations and line breaks. */
|
|
5224
|
+
prettyPrint?: boolean;
|
|
5225
|
+
/** 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. */
|
|
5226
|
+
quotaUser?: string;
|
|
5227
|
+
/** REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
5228
|
+
resource: string;
|
|
5229
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5230
|
+
upload_protocol?: string;
|
|
5231
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5232
|
+
uploadType?: string;
|
|
5233
|
+
},
|
|
5234
|
+
body: GetIamPolicyRequest
|
|
5235
|
+
): Request<Policy>;
|
|
5054
5236
|
/** Lists views on a log bucket. */
|
|
5055
5237
|
list(request?: {
|
|
5056
5238
|
/** V1 error format. */
|
|
@@ -5144,6 +5326,66 @@ declare namespace gapi.client {
|
|
|
5144
5326
|
},
|
|
5145
5327
|
body: LogView
|
|
5146
5328
|
): Request<LogView>;
|
|
5329
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
5330
|
+
setIamPolicy(
|
|
5331
|
+
request: {
|
|
5332
|
+
/** V1 error format. */
|
|
5333
|
+
'$.xgafv'?: string;
|
|
5334
|
+
/** OAuth access token. */
|
|
5335
|
+
access_token?: string;
|
|
5336
|
+
/** Data format for response. */
|
|
5337
|
+
alt?: string;
|
|
5338
|
+
/** JSONP */
|
|
5339
|
+
callback?: string;
|
|
5340
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5341
|
+
fields?: string;
|
|
5342
|
+
/** 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. */
|
|
5343
|
+
key?: string;
|
|
5344
|
+
/** OAuth 2.0 token for the current user. */
|
|
5345
|
+
oauth_token?: string;
|
|
5346
|
+
/** Returns response with indentations and line breaks. */
|
|
5347
|
+
prettyPrint?: boolean;
|
|
5348
|
+
/** 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. */
|
|
5349
|
+
quotaUser?: string;
|
|
5350
|
+
/** REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
5351
|
+
resource: string;
|
|
5352
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5353
|
+
upload_protocol?: string;
|
|
5354
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5355
|
+
uploadType?: string;
|
|
5356
|
+
},
|
|
5357
|
+
body: SetIamPolicyRequest
|
|
5358
|
+
): Request<Policy>;
|
|
5359
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
5360
|
+
testIamPermissions(
|
|
5361
|
+
request: {
|
|
5362
|
+
/** V1 error format. */
|
|
5363
|
+
'$.xgafv'?: string;
|
|
5364
|
+
/** OAuth access token. */
|
|
5365
|
+
access_token?: string;
|
|
5366
|
+
/** Data format for response. */
|
|
5367
|
+
alt?: string;
|
|
5368
|
+
/** JSONP */
|
|
5369
|
+
callback?: string;
|
|
5370
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5371
|
+
fields?: string;
|
|
5372
|
+
/** 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. */
|
|
5373
|
+
key?: string;
|
|
5374
|
+
/** OAuth 2.0 token for the current user. */
|
|
5375
|
+
oauth_token?: string;
|
|
5376
|
+
/** Returns response with indentations and line breaks. */
|
|
5377
|
+
prettyPrint?: boolean;
|
|
5378
|
+
/** 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. */
|
|
5379
|
+
quotaUser?: string;
|
|
5380
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
5381
|
+
resource: string;
|
|
5382
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5383
|
+
upload_protocol?: string;
|
|
5384
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5385
|
+
uploadType?: string;
|
|
5386
|
+
},
|
|
5387
|
+
body: TestIamPermissionsRequest
|
|
5388
|
+
): Request<TestIamPermissionsResponse>;
|
|
5147
5389
|
}
|
|
5148
5390
|
interface BucketsResource {
|
|
5149
5391
|
/** Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. */
|
|
@@ -6325,6 +6567,36 @@ declare namespace gapi.client {
|
|
|
6325
6567
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6326
6568
|
uploadType?: string;
|
|
6327
6569
|
}): Request<LogView>;
|
|
6570
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
6571
|
+
getIamPolicy(
|
|
6572
|
+
request: {
|
|
6573
|
+
/** V1 error format. */
|
|
6574
|
+
'$.xgafv'?: string;
|
|
6575
|
+
/** OAuth access token. */
|
|
6576
|
+
access_token?: string;
|
|
6577
|
+
/** Data format for response. */
|
|
6578
|
+
alt?: string;
|
|
6579
|
+
/** JSONP */
|
|
6580
|
+
callback?: string;
|
|
6581
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6582
|
+
fields?: string;
|
|
6583
|
+
/** 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. */
|
|
6584
|
+
key?: string;
|
|
6585
|
+
/** OAuth 2.0 token for the current user. */
|
|
6586
|
+
oauth_token?: string;
|
|
6587
|
+
/** Returns response with indentations and line breaks. */
|
|
6588
|
+
prettyPrint?: boolean;
|
|
6589
|
+
/** 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. */
|
|
6590
|
+
quotaUser?: string;
|
|
6591
|
+
/** REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
6592
|
+
resource: string;
|
|
6593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6594
|
+
upload_protocol?: string;
|
|
6595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6596
|
+
uploadType?: string;
|
|
6597
|
+
},
|
|
6598
|
+
body: GetIamPolicyRequest
|
|
6599
|
+
): Request<Policy>;
|
|
6328
6600
|
/** Lists views on a log bucket. */
|
|
6329
6601
|
list(request?: {
|
|
6330
6602
|
/** V1 error format. */
|
|
@@ -6418,6 +6690,66 @@ declare namespace gapi.client {
|
|
|
6418
6690
|
},
|
|
6419
6691
|
body: LogView
|
|
6420
6692
|
): Request<LogView>;
|
|
6693
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
6694
|
+
setIamPolicy(
|
|
6695
|
+
request: {
|
|
6696
|
+
/** V1 error format. */
|
|
6697
|
+
'$.xgafv'?: string;
|
|
6698
|
+
/** OAuth access token. */
|
|
6699
|
+
access_token?: string;
|
|
6700
|
+
/** Data format for response. */
|
|
6701
|
+
alt?: string;
|
|
6702
|
+
/** JSONP */
|
|
6703
|
+
callback?: string;
|
|
6704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6705
|
+
fields?: string;
|
|
6706
|
+
/** 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. */
|
|
6707
|
+
key?: string;
|
|
6708
|
+
/** OAuth 2.0 token for the current user. */
|
|
6709
|
+
oauth_token?: string;
|
|
6710
|
+
/** Returns response with indentations and line breaks. */
|
|
6711
|
+
prettyPrint?: boolean;
|
|
6712
|
+
/** 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. */
|
|
6713
|
+
quotaUser?: string;
|
|
6714
|
+
/** REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
6715
|
+
resource: string;
|
|
6716
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6717
|
+
upload_protocol?: string;
|
|
6718
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6719
|
+
uploadType?: string;
|
|
6720
|
+
},
|
|
6721
|
+
body: SetIamPolicyRequest
|
|
6722
|
+
): Request<Policy>;
|
|
6723
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
6724
|
+
testIamPermissions(
|
|
6725
|
+
request: {
|
|
6726
|
+
/** V1 error format. */
|
|
6727
|
+
'$.xgafv'?: string;
|
|
6728
|
+
/** OAuth access token. */
|
|
6729
|
+
access_token?: string;
|
|
6730
|
+
/** Data format for response. */
|
|
6731
|
+
alt?: string;
|
|
6732
|
+
/** JSONP */
|
|
6733
|
+
callback?: string;
|
|
6734
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6735
|
+
fields?: string;
|
|
6736
|
+
/** 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. */
|
|
6737
|
+
key?: string;
|
|
6738
|
+
/** OAuth 2.0 token for the current user. */
|
|
6739
|
+
oauth_token?: string;
|
|
6740
|
+
/** Returns response with indentations and line breaks. */
|
|
6741
|
+
prettyPrint?: boolean;
|
|
6742
|
+
/** 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. */
|
|
6743
|
+
quotaUser?: string;
|
|
6744
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
6745
|
+
resource: string;
|
|
6746
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6747
|
+
upload_protocol?: string;
|
|
6748
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6749
|
+
uploadType?: string;
|
|
6750
|
+
},
|
|
6751
|
+
body: TestIamPermissionsRequest
|
|
6752
|
+
): Request<TestIamPermissionsResponse>;
|
|
6421
6753
|
logs: LogsResource;
|
|
6422
6754
|
}
|
|
6423
6755
|
interface BucketsResource {
|
|
@@ -8205,6 +8537,36 @@ declare namespace gapi.client {
|
|
|
8205
8537
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8206
8538
|
uploadType?: string;
|
|
8207
8539
|
}): Request<LogView>;
|
|
8540
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
8541
|
+
getIamPolicy(
|
|
8542
|
+
request: {
|
|
8543
|
+
/** V1 error format. */
|
|
8544
|
+
'$.xgafv'?: string;
|
|
8545
|
+
/** OAuth access token. */
|
|
8546
|
+
access_token?: string;
|
|
8547
|
+
/** Data format for response. */
|
|
8548
|
+
alt?: string;
|
|
8549
|
+
/** JSONP */
|
|
8550
|
+
callback?: string;
|
|
8551
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8552
|
+
fields?: string;
|
|
8553
|
+
/** 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. */
|
|
8554
|
+
key?: string;
|
|
8555
|
+
/** OAuth 2.0 token for the current user. */
|
|
8556
|
+
oauth_token?: string;
|
|
8557
|
+
/** Returns response with indentations and line breaks. */
|
|
8558
|
+
prettyPrint?: boolean;
|
|
8559
|
+
/** 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. */
|
|
8560
|
+
quotaUser?: string;
|
|
8561
|
+
/** REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
8562
|
+
resource: string;
|
|
8563
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8564
|
+
upload_protocol?: string;
|
|
8565
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8566
|
+
uploadType?: string;
|
|
8567
|
+
},
|
|
8568
|
+
body: GetIamPolicyRequest
|
|
8569
|
+
): Request<Policy>;
|
|
8208
8570
|
/** Lists views on a log bucket. */
|
|
8209
8571
|
list(request?: {
|
|
8210
8572
|
/** V1 error format. */
|
|
@@ -8298,6 +8660,66 @@ declare namespace gapi.client {
|
|
|
8298
8660
|
},
|
|
8299
8661
|
body: LogView
|
|
8300
8662
|
): Request<LogView>;
|
|
8663
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
|
|
8664
|
+
setIamPolicy(
|
|
8665
|
+
request: {
|
|
8666
|
+
/** V1 error format. */
|
|
8667
|
+
'$.xgafv'?: string;
|
|
8668
|
+
/** OAuth access token. */
|
|
8669
|
+
access_token?: string;
|
|
8670
|
+
/** Data format for response. */
|
|
8671
|
+
alt?: string;
|
|
8672
|
+
/** JSONP */
|
|
8673
|
+
callback?: string;
|
|
8674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8675
|
+
fields?: string;
|
|
8676
|
+
/** 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. */
|
|
8677
|
+
key?: string;
|
|
8678
|
+
/** OAuth 2.0 token for the current user. */
|
|
8679
|
+
oauth_token?: string;
|
|
8680
|
+
/** Returns response with indentations and line breaks. */
|
|
8681
|
+
prettyPrint?: boolean;
|
|
8682
|
+
/** 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. */
|
|
8683
|
+
quotaUser?: string;
|
|
8684
|
+
/** REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
8685
|
+
resource: string;
|
|
8686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8687
|
+
upload_protocol?: string;
|
|
8688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8689
|
+
uploadType?: string;
|
|
8690
|
+
},
|
|
8691
|
+
body: SetIamPolicyRequest
|
|
8692
|
+
): Request<Policy>;
|
|
8693
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
8694
|
+
testIamPermissions(
|
|
8695
|
+
request: {
|
|
8696
|
+
/** V1 error format. */
|
|
8697
|
+
'$.xgafv'?: string;
|
|
8698
|
+
/** OAuth access token. */
|
|
8699
|
+
access_token?: string;
|
|
8700
|
+
/** Data format for response. */
|
|
8701
|
+
alt?: string;
|
|
8702
|
+
/** JSONP */
|
|
8703
|
+
callback?: string;
|
|
8704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8705
|
+
fields?: string;
|
|
8706
|
+
/** 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. */
|
|
8707
|
+
key?: string;
|
|
8708
|
+
/** OAuth 2.0 token for the current user. */
|
|
8709
|
+
oauth_token?: string;
|
|
8710
|
+
/** Returns response with indentations and line breaks. */
|
|
8711
|
+
prettyPrint?: boolean;
|
|
8712
|
+
/** 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. */
|
|
8713
|
+
quotaUser?: string;
|
|
8714
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
8715
|
+
resource: string;
|
|
8716
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8717
|
+
upload_protocol?: string;
|
|
8718
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8719
|
+
uploadType?: string;
|
|
8720
|
+
},
|
|
8721
|
+
body: TestIamPermissionsRequest
|
|
8722
|
+
): Request<TestIamPermissionsResponse>;
|
|
8301
8723
|
logs: LogsResource;
|
|
8302
8724
|
}
|
|
8303
8725
|
interface BucketsResource {
|