API for managing organizations, projects, and listing resources within projects.
GetIamPolicy
https:/ / api.cloud.hashicorp.com/ 2019-12-10/ resource-manager/ resources/ iam-policy
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
SetIamPolicy
https:/ / api.cloud.hashicorp.com/ 2019-12-10/ resource-manager/ resources/ iam-policy
ResourceName is the resource name of the resource. Either this or the ResourceId needs to be provided.
ResourceId is the resource name of the resource. Either this or the ResourceName needs to be provided.
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetResource
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ resource
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListRoles
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ resource/ roles
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Role binds a name to a set of permissions.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
List
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ resources
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListAccessibleResources
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ resources/ accessible
ScopeResourceName is resource name of the parent object to list resources under. Either this or the ResourceId needs to be provided.
ScopeResourceId is resource ID of the parent object to list resources under. Either this or the ResourceName needs to be provided.
LeafNameFilter optionally allows for filtering results based on a substring match of the final/leaf name within the resource's resource name.
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
ResourceV2 is a container for resource v2 identifiers.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
TestIamPermissions
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ resources/ test-iam-permissions
Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
BatchTestIamPermissions
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ authorization/ batch-test-iam-permissions
AuthorizationTestIamPermissionsRequest is a request to test a set of permissions.
ResourceName holds the Resource Name in the Resource Identifier v2 format. This parameter is expected to be provided only for external calls.
Example formats include:
In case of organization or project level authorization the ResourceName is expected to be provided in the following format:
Request: [ { Permissions: [...], ResourceId: "abc123", ResourceName: "", }, { Permissions: [...], ResourceId: "", ResourceName: "iam/group/456" }, { Permissions: [...], ResourceId: "def789", ResourceName: "iam/group/789", }, ]
Response: { "abc123": { AllowedPermissions: [...] }, "iam/group/456": { AllowedPermissions: [...] }, "def789": { AllowedPermissions: [...] }, "iam/group/789": { AllowedPermissions: [...] }, }
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
TestIamPermissions
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ authorization/ test-iam-permissions
ResourceId holds the unique, immutable and non-reusable ID of the resource.
Example formats include:
ResourceName holds the Resource Name in the Resource Identifier v2 format. This parameter is expected to be provided only for external calls.
Example formats include:
In case of organization or project level authorization the ResourceName is expected to be provided in the following format:
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
List
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Organization is the root node in the resource hierarchy. All resources for an entity reside under the organization.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
Get
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations/ {id}
Organization is the root node in the resource hierarchy. All resources for an entity reside under the organization.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetIamPolicy
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations/ {id}/ iam-policy
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
SetIamPolicy
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations/ {id}/ iam-policy
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
SetName
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations/ {id}/ name
Organization is the root node in the resource hierarchy. All resources for an entity reside under the organization.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
ListRoles
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations/ {id}/ roles
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Role binds a name to a set of permissions.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
TestIamPermissions
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations/ {id}/ test-iam-permissions
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetRole
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ organizations/ {id}/ {role_id}
Role binds a name to a set of permissions.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
List
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects
The max number of results per page that should be returned. If the number
of available results is larger than page_size
, a next_page_token
is
returned which can be used to get the next page of results in subsequent
requests. A value of zero will cause page_size
to be defaulted.
Specifies a page token to use to retrieve the next page. Set this to the
next_page_token
returned by previous list requests to get the next page of
results. If set, previous_page_token
must not be set.
Project is a container for resources.
PaginationResponse is the response holding the page tokens for a paginated list response.
This token allows you to get the previous page of results for list
requests. If the number of results is larger than page_size
, use the
previous_page_token
as a value for the query parameter
previous_page_token
in the next request. The value will become empty when
there are no more pages.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetProjectsCount
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects/ count
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
Get
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects/ {id}
Project is a container for resources.
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
SetDescription
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects/ {id}/ 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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
GetIamPolicy
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects/ {id}/ iam-policy
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
SetIamPolicy
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects/ {id}/ iam-policy
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
SetName
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects/ {id}/ name
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.
TestIamPermissions
https:/ / api.cloud.hashicorp.com/ resource-manager/ 2019-12-10/ projects/ {id}/ test-iam-permissions
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][google.rpc.Status.details] field, or localized by the client.
An arbitrary serialized message. Visit the protobufAny documentation for more information.