Skip to content

Commit

Permalink
fix(iap): update the API
Browse files Browse the repository at this point in the history
#### iap:v1

The following keys were changed:
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.create.parameters.parent.description
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.create.parameters.tunnelDestGroupId.description
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.delete.parameters.name.description
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.get.parameters.name.description
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.list.description
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.list.parameters.pageSize.description
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.list.parameters.parent.description
- resources.projects.resources.iap_tunnel.resources.locations.resources.destGroups.methods.patch.parameters.updateMask.description
- schemas.ListTunnelDestGroupsResponse.properties.nextPageToken.description
- schemas.ReauthSettings.properties.method.enumDescriptions
- schemas.ReauthSettings.properties.policyType.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed May 6, 2022
1 parent 4d232ad commit 2e591a1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
24 changes: 12 additions & 12 deletions discovery/iap-v1.json
Expand Up @@ -353,14 +353,14 @@
],
"parameters": {
"parent": {
"description": "Required. GCP Project number/id and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}.",
"description": "Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`.",
"location": "path",
"pattern": "^projects/[^/]+/iap_tunnel/locations/[^/]+$",
"required": true,
"type": "string"
},
"tunnelDestGroupId": {
"description": "Required. The ID to use for the TunnelDestGroup, which will become the final component of the resource name. This value should be 4-63 characters, and valid characters are /a-z-/.",
"description": "Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are `a-z-`.",
"location": "query",
"type": "string"
}
Expand All @@ -386,7 +386,7 @@
],
"parameters": {
"name": {
"description": "Required. Name of the TunnelDestGroup to be deleted. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}.",
"description": "Required. Name of the TunnelDestGroup to delete. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.",
"location": "path",
"pattern": "^projects/[^/]+/iap_tunnel/locations/[^/]+/destGroups/[^/]+$",
"required": true,
Expand All @@ -411,7 +411,7 @@
],
"parameters": {
"name": {
"description": "Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}.",
"description": "Required. Name of the TunnelDestGroup to be fetched. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.",
"location": "path",
"pattern": "^projects/[^/]+/iap_tunnel/locations/[^/]+/destGroups/[^/]+$",
"required": true,
Expand All @@ -427,7 +427,7 @@
]
},
"list": {
"description": "Lists the existing TunnelDestGroups. To group across all locations, use a `-` as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups",
"description": "Lists the existing TunnelDestGroups. To group across all locations, use a `-` as the location ID. For example: `/v1/projects/123/iap_tunnel/locations/-/destGroups`",
"flatPath": "v1/projects/{projectsId}/iap_tunnel/locations/{locationsId}/destGroups",
"httpMethod": "GET",
"id": "iap.projects.iap_tunnel.locations.destGroups.list",
Expand All @@ -436,7 +436,7 @@
],
"parameters": {
"pageSize": {
"description": "The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 100 groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
"description": "The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
Expand All @@ -447,7 +447,7 @@
"type": "string"
},
"parent": {
"description": "Required. GCP Project number/id and location. In the following format: projects/{project_number/id}/iap_tunnel/locations/{location}. A `-` can be used for the location to group across all locations.",
"description": "Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`. A `-` can be used for the location to group across all locations.",
"location": "path",
"pattern": "^projects/[^/]+/iap_tunnel/locations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -479,7 +479,7 @@
"type": "string"
},
"updateMask": {
"description": "The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
"description": "A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask",
"format": "google-fieldmask",
"location": "query",
"type": "string"
Expand Down Expand Up @@ -652,7 +652,7 @@
}
}
},
"revision": "20220408",
"revision": "20220429",
"rootUrl": "https://iap.googleapis.com/",
"schemas": {
"AccessDeniedPageSettings": {
Expand Down Expand Up @@ -932,7 +932,7 @@
"id": "ListTunnelDestGroupsResponse",
"properties": {
"nextPageToken": {
"description": "A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"description": "A token that you can send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
"type": "string"
},
"tunnelDestGroups": {
Expand Down Expand Up @@ -1041,7 +1041,7 @@
],
"enumDescriptions": [
"Reauthentication disabled.",
"Mimicks the behavior as if the user had logged out and tried to log in again. Users with 2SV (step verification) enabled will see their 2SV challenges if they did not opt to have their second factor responses saved. Apps Core (GSuites) admins can configure settings to disable 2SV cookies and require 2-step verification for all Apps Core users in their domains.",
"Mimics the behavior as if the user had logged out and tried to log in again. Users with 2SV (2-step verification) enabled see their 2SV challenges if they did not opt to have their second factor responses saved. Apps Core (GSuites) admins can configure settings to disable 2SV cookies and require 2SV for all Apps Core users in their domains.",
"User must type their password.",
"User must use their secure key 2nd factor device."
],
Expand All @@ -1055,7 +1055,7 @@
"DEFAULT"
],
"enumDescriptions": [
"Default value. This value is unused/invalid.",
"Default value. This value is unused.",
"This policy acts as a minimum to other policies, lower in the hierarchy. Effective policy may only be the same or stricter.",
"This policy acts as a default if no other reauth policy is set."
],
Expand Down
32 changes: 16 additions & 16 deletions src/apis/iap/v1.ts
Expand Up @@ -355,7 +355,7 @@ export namespace iap_v1 {
*/
export interface Schema$ListTunnelDestGroupsResponse {
/**
* A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
* A token that you can send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
*/
nextPageToken?: string | null;
/**
Expand Down Expand Up @@ -1774,9 +1774,9 @@ export namespace iap_v1 {
*
* // Do the magic
* const res = await iap.projects.iap_tunnel.locations.destGroups.create({
* // Required. GCP Project number/id and location. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}.
* // Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}`.
* parent: 'projects/my-project/iap_tunnel/locations/my-location',
* // Required. The ID to use for the TunnelDestGroup, which will become the final component of the resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
* // Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are `a-z-`.
* tunnelDestGroupId: 'placeholder-value',
*
* // Request body metadata
Expand Down Expand Up @@ -1918,7 +1918,7 @@ export namespace iap_v1 {
*
* // Do the magic
* const res = await iap.projects.iap_tunnel.locations.destGroups.delete({
* // Required. Name of the TunnelDestGroup to be deleted. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}.
* // Required. Name of the TunnelDestGroup to delete. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}`.
* name: 'projects/my-project/iap_tunnel/locations/my-location/destGroups/my-destGroup',
* });
* console.log(res.data);
Expand Down Expand Up @@ -2043,7 +2043,7 @@ export namespace iap_v1 {
*
* // Do the magic
* const res = await iap.projects.iap_tunnel.locations.destGroups.get({
* // Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}.
* // Required. Name of the TunnelDestGroup to be fetched. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}`.
* name: 'projects/my-project/iap_tunnel/locations/my-location/destGroups/my-destGroup',
* });
* console.log(res.data);
Expand Down Expand Up @@ -2146,7 +2146,7 @@ export namespace iap_v1 {
}

/**
* Lists the existing TunnelDestGroups. To group across all locations, use a `-` as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups
* Lists the existing TunnelDestGroups. To group across all locations, use a `-` as the location ID. For example: `/v1/projects/123/iap_tunnel/locations/-/destGroups`
* @example
* ```js
* // Before running the sample:
Expand All @@ -2172,11 +2172,11 @@ export namespace iap_v1 {
*
* // Do the magic
* const res = await iap.projects.iap_tunnel.locations.destGroups.list({
* // The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 100 groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
* // The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
* pageSize: 'placeholder-value',
* // A page token, received from a previous `ListTunnelDestGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTunnelDestGroups` must match the call that provided the page token.
* pageToken: 'placeholder-value',
* // Required. GCP Project number/id and location. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}. A `-` can be used for the location to group across all locations.
* // Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}`. A `-` can be used for the location to group across all locations.
* parent: 'projects/my-project/iap_tunnel/locations/my-location',
* });
* console.log(res.data);
Expand Down Expand Up @@ -2318,7 +2318,7 @@ export namespace iap_v1 {
* const res = await iap.projects.iap_tunnel.locations.destGroups.patch({
* // Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project.
* name: 'projects/my-project/iap_tunnel/locations/my-location/destGroups/my-destGroup',
* // The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* // A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* updateMask: 'placeholder-value',
*
* // Request body metadata
Expand Down Expand Up @@ -2434,11 +2434,11 @@ export namespace iap_v1 {
export interface Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Create
extends StandardParameters {
/**
* Required. GCP Project number/id and location. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}.
* Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}`.
*/
parent?: string;
/**
* Required. The ID to use for the TunnelDestGroup, which will become the final component of the resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
* Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are `a-z-`.
*/
tunnelDestGroupId?: string;

Expand All @@ -2450,29 +2450,29 @@ export namespace iap_v1 {
export interface Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Delete
extends StandardParameters {
/**
* Required. Name of the TunnelDestGroup to be deleted. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}.
* Required. Name of the TunnelDestGroup to delete. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}`.
*/
name?: string;
}
export interface Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$Get
extends StandardParameters {
/**
* Required. Name of the TunnelDestGroup to be fetched. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}.
* Required. Name of the TunnelDestGroup to be fetched. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}/destGroups/{dest_group\}`.
*/
name?: string;
}
export interface Params$Resource$Projects$Iap_tunnel$Locations$Destgroups$List
extends StandardParameters {
/**
* The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 100 groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
* The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
*/
pageSize?: number;
/**
* A page token, received from a previous `ListTunnelDestGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTunnelDestGroups` must match the call that provided the page token.
*/
pageToken?: string;
/**
* Required. GCP Project number/id and location. In the following format: projects/{project_number/id\}/iap_tunnel/locations/{location\}. A `-` can be used for the location to group across all locations.
* Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id\}/iap_tunnel/locations/{location\}`. A `-` can be used for the location to group across all locations.
*/
parent?: string;
}
Expand All @@ -2483,7 +2483,7 @@ export namespace iap_v1 {
*/
name?: string;
/**
* The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
*/
updateMask?: string;

Expand Down

0 comments on commit 2e591a1

Please sign in to comment.