Skip to content

Commit

Permalink
feat(logging): update the API
Browse files Browse the repository at this point in the history
#### logging:v2
The following keys were added:
- schemas.LogBucket.properties.name.readOnly

The following keys were changed:
- schemas.LogBucket.properties.name.description
- schemas.SuppressionInfo.properties.reason.enumDescriptions
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent 7bb5e2c commit 94d1c14
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
7 changes: 4 additions & 3 deletions discovery/logging-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4934,7 +4934,7 @@
}
}
},
"revision": "20201105",
"revision": "20201114",
"rootUrl": "https://logging.googleapis.com/",
"schemas": {
"BigQueryOptions": {
Expand Down Expand Up @@ -5427,7 +5427,8 @@
"type": "boolean"
},
"name": {
"description": "The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: \"global\"For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.",
"description": "Output only. The resource name of the bucket. For example: \"projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: \"global\"For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.",
"readOnly": true,
"type": "string"
},
"retentionDays": {
Expand Down Expand Up @@ -6290,7 +6291,7 @@
],
"enumDescriptions": [
"Unexpected default.",
"Indicates suppression occurred due to relevant entries being received in excess of rate limits.",
"Indicates suppression occurred due to relevant entries being received in excess of rate limits. For quotas and limits, see Logging API quotas and limits (https://cloud.google.com/logging/quotas#api-limits).",
"Indicates suppression occurred due to the client not consuming responses quickly enough."
],
"type": "string"
Expand Down
20 changes: 7 additions & 13 deletions src/apis/logging/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ export namespace logging_v2 {
*/
locked?: boolean | null;
/**
* The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: "global"For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
* Output only. The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: "global"For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -13016,20 +13016,14 @@ export namespace logging_v2 {
options:
| MethodOptions
| BodyResponseCallback<Schema$ListMonitoredResourceDescriptorsResponse>,
callback: BodyResponseCallback<
Schema$ListMonitoredResourceDescriptorsResponse
>
callback: BodyResponseCallback<Schema$ListMonitoredResourceDescriptorsResponse>
): void;
list(
params: Params$Resource$Monitoredresourcedescriptors$List,
callback: BodyResponseCallback<
Schema$ListMonitoredResourceDescriptorsResponse
>
callback: BodyResponseCallback<Schema$ListMonitoredResourceDescriptorsResponse>
): void;
list(
callback: BodyResponseCallback<
Schema$ListMonitoredResourceDescriptorsResponse
>
callback: BodyResponseCallback<Schema$ListMonitoredResourceDescriptorsResponse>
): void;
list(
paramsOrCallback?:
Expand Down Expand Up @@ -13086,9 +13080,9 @@ export namespace logging_v2 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$ListMonitoredResourceDescriptorsResponse
>(parameters);
return createAPIRequest<Schema$ListMonitoredResourceDescriptorsResponse>(
parameters
);
}
}
}
Expand Down

0 comments on commit 94d1c14

Please sign in to comment.