Skip to content

Commit

Permalink
feat(iam): update the API
Browse files Browse the repository at this point in the history
#### iam:v1
The following keys were added:
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.description
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.flatPath
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.httpMethod
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.id
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.parameterOrder
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.parameters.name.description
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.parameters.name.location
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.parameters.name.pattern
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.parameters.name.required
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.parameters.name.type
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.path
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.response.$ref
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.operations.methods.get.scopes
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.description
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.flatPath
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.httpMethod
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.id
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.parameterOrder
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.parameters.name.description
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.parameters.name.location
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.parameters.name.pattern
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.parameters.name.required
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.parameters.name.type
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.path
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.response.$ref
- resources.projects.resources.locations.resources.workloadIdentityPools.resources.providers.resources.operations.methods.get.scopes
- schemas.Operation.description
- schemas.Operation.id
- schemas.Operation.properties.done.description
- schemas.Operation.properties.done.type
- schemas.Operation.properties.error.$ref
- schemas.Operation.properties.error.description
- schemas.Operation.properties.metadata.additionalProperties.description
- schemas.Operation.properties.metadata.additionalProperties.type
- schemas.Operation.properties.metadata.description
- schemas.Operation.properties.metadata.type
- schemas.Operation.properties.name.description
- schemas.Operation.properties.name.type
- schemas.Operation.properties.response.additionalProperties.description
- schemas.Operation.properties.response.additionalProperties.type
- schemas.Operation.properties.response.description
- schemas.Operation.properties.response.type
- schemas.Operation.type
- schemas.Status.description
- schemas.Status.id
- schemas.Status.properties.code.description
- schemas.Status.properties.code.format
- schemas.Status.properties.code.type
- schemas.Status.properties.details.description
- schemas.Status.properties.details.items.additionalProperties.description
- schemas.Status.properties.details.items.additionalProperties.type
- schemas.Status.properties.details.items.type
- schemas.Status.properties.details.type
- schemas.Status.properties.message.description
- schemas.Status.properties.message.type
- schemas.Status.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent cc7103f commit 564bb66
Show file tree
Hide file tree
Showing 2 changed files with 510 additions and 1 deletion.
134 changes: 133 additions & 1 deletion discovery/iam-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,76 @@
},
"projects": {
"resources": {
"locations": {
"resources": {
"workloadIdentityPools": {
"resources": {
"operations": {
"methods": {
"get": {
"description": "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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}/operations/{operationsId}",
"httpMethod": "GET",
"id": "iam.projects.locations.workloadIdentityPools.operations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"providers": {
"resources": {
"operations": {
"methods": {
"get": {
"description": "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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}/providers/{providersId}/operations/{operationsId}",
"httpMethod": "GET",
"id": "iam.projects.locations.workloadIdentityPools.providers.operations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+/providers/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
}
},
"roles": {
"methods": {
"create": {
Expand Down Expand Up @@ -1250,7 +1320,7 @@
}
}
},
"revision": "20201029",
"revision": "20201112",
"rootUrl": "https://iam.googleapis.com/",
"schemas": {
"AdminAuditData": {
Expand Down Expand Up @@ -1630,6 +1700,41 @@
},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
"properties": {
"done": {
"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
"type": "boolean"
},
"error": {
"$ref": "Status",
"description": "The error result of the operation in case of failure or cancellation."
},
"metadata": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
"type": "object"
},
"name": {
"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
"type": "string"
},
"response": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal response of the operation in case of success. 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`.",
"type": "object"
}
},
"type": "object"
},
"PatchServiceAccountRequest": {
"description": "The request for PatchServiceAccount. You can patch only the `display_name` and `description` fields. You must use the `update_mask` field to specify which of these fields you want to patch. Only the fields specified in the request are guaranteed to be returned in the response. Other fields may be empty in the response.",
"id": "PatchServiceAccountRequest",
Expand Down Expand Up @@ -2143,6 +2248,33 @@
},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "Status",
"properties": {
"code": {
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32",
"type": "integer"
},
"details": {
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"message": {
"description": "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.",
"type": "string"
}
},
"type": "object"
},
"TestIamPermissionsRequest": {
"description": "Request message for `TestIamPermissions` method.",
"id": "TestIamPermissionsRequest",
Expand Down

0 comments on commit 564bb66

Please sign in to comment.