Skip to content

Commit

Permalink
feat(networkconnectivity)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### networkconnectivity:v1alpha1

The following keys were deleted:
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.description
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.flatPath
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.httpMethod
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.id
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameterOrder
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.description
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.location
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.pattern
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.required
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.type
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.path
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.response.$ref
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.getIamPolicy.scopes
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.description
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.flatPath
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.httpMethod
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.id
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.parameterOrder
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.description
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.location
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.pattern
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.required
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.type
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.path
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.request.$ref
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.response.$ref
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.setIamPolicy.scopes
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.description
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.flatPath
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.httpMethod
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.id
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.parameterOrder
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.description
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.location
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.pattern
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.required
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.type
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.path
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.request.$ref
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.response.$ref
- resources.projects.resources.locations.resources.policyBasedRoutes.methods.testIamPermissions.scopes

The following keys were added:
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.description
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.flatPath
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.httpMethod
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.id
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameterOrder
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.description
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.format
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.location
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.options.requestedPolicyVersion.type
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.description
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.location
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.pattern
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.required
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.parameters.resource.type
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.path
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.response.$ref
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.getIamPolicy.scopes
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.description
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.flatPath
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.httpMethod
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.id
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.parameterOrder
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.description
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.location
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.pattern
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.required
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.parameters.resource.type
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.path
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.request.$ref
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.response.$ref
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.setIamPolicy.scopes
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.description
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.flatPath
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.httpMethod
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.id
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.parameterOrder
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.description
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.location
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.pattern
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.required
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.parameters.resource.type
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.path
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.request.$ref
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.response.$ref
- resources.projects.resources.locations.resources.global.resources.policyBasedRoutes.methods.testIamPermissions.scopes

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description
- resources.projects.resources.locations.methods.list.parameters.filter.description
- resources.projects.resources.locations.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.methods.list.parameters.pageToken.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent b48400f commit 6a7f47b
Show file tree
Hide file tree
Showing 2 changed files with 526 additions and 526 deletions.
192 changes: 96 additions & 96 deletions discovery/networkconnectivity-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
}
}
}
Expand Down Expand Up @@ -144,7 +144,7 @@
],
"parameters": {
"filter": {
"description": "The standard list filter.",
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
"location": "query",
"type": "string"
},
Expand All @@ -156,13 +156,13 @@
"type": "string"
},
"pageSize": {
"description": "The standard list page size.",
"description": "The maximum number of results to return. If not set, the service will select a default.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The standard list page token.",
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -447,6 +447,97 @@
]
}
}
},
"policyBasedRoutes": {
"methods": {
"getIamPolicy": {
"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
"flatPath": "v1alpha1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:getIamPolicy",
"httpMethod": "GET",
"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.getIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"options.requestedPolicyVersion": {
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value 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).",
"format": "int32",
"location": "query",
"type": "integer"
},
"resource": {
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha1/{+resource}:getIamPolicy",
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1alpha1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:setIamPolicy",
"httpMethod": "POST",
"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.setIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha1/{+resource}:setIamPolicy",
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"description": "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.",
"flatPath": "v1alpha1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:testIamPermissions",
"httpMethod": "POST",
"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.testIamPermissions",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha1/{+resource}:testIamPermissions",
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
Expand Down Expand Up @@ -664,97 +755,6 @@
}
}
},
"policyBasedRoutes": {
"methods": {
"getIamPolicy": {
"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/policyBasedRoutes/{policyBasedRoutesId}:getIamPolicy",
"httpMethod": "GET",
"id": "networkconnectivity.projects.locations.policyBasedRoutes.getIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"options.requestedPolicyVersion": {
"description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value 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).",
"format": "int32",
"location": "query",
"type": "integer"
},
"resource": {
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/policyBasedRoutes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha1/{+resource}:getIamPolicy",
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/policyBasedRoutes/{policyBasedRoutesId}:setIamPolicy",
"httpMethod": "POST",
"id": "networkconnectivity.projects.locations.policyBasedRoutes.setIamPolicy",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/policyBasedRoutes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha1/{+resource}:setIamPolicy",
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"description": "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.",
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/policyBasedRoutes/{policyBasedRoutesId}:testIamPermissions",
"httpMethod": "POST",
"id": "networkconnectivity.projects.locations.policyBasedRoutes.testIamPermissions",
"parameterOrder": [
"resource"
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/policyBasedRoutes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1alpha1/{+resource}:testIamPermissions",
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"spokes": {
"methods": {
"create": {
Expand Down Expand Up @@ -1029,7 +1029,7 @@
}
}
},
"revision": "20210303",
"revision": "20210331",
"rootUrl": "https://networkconnectivity.googleapis.com/",
"schemas": {
"AttributeValue": {
Expand Down

0 comments on commit 6a7f47b

Please sign in to comment.