package admin
import "google.golang.org/genproto/googleapis/iam/admin/v1"
Package admin aliases all exported identifiers in package "cloud.google.com/go/iam/admin/apiv1/adminpb".
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterIAMServer(s *grpc.Server, srv IAMServer)
- type AuditData
- type AuditData_PermissionDelta
- type CreateRoleRequest
- type CreateServiceAccountKeyRequest
- type CreateServiceAccountRequest
- type DeleteRoleRequest
- type DeleteServiceAccountKeyRequest
- type DeleteServiceAccountRequest
- type DisableServiceAccountKeyRequest
- type DisableServiceAccountRequest
- type EnableServiceAccountKeyRequest
- type EnableServiceAccountRequest
- type GetRoleRequest
- type GetServiceAccountKeyRequest
- type GetServiceAccountRequest
- type IAMClient
- type IAMServer
- type LintPolicyRequest
- type LintPolicyRequest_Condition
- type LintPolicyResponse
- type LintResult
- type LintResult_Level
- type LintResult_Severity
- type ListRolesRequest
- type ListRolesResponse
- type ListServiceAccountKeysRequest
- type ListServiceAccountKeysRequest_KeyType
- type ListServiceAccountKeysResponse
- type ListServiceAccountsRequest
- type ListServiceAccountsResponse
- type PatchServiceAccountRequest
- type Permission
- type Permission_CustomRolesSupportLevel
- type Permission_PermissionLaunchStage
- type QueryAuditableServicesRequest
- type QueryAuditableServicesResponse
- type QueryAuditableServicesResponse_AuditableService
- type QueryGrantableRolesRequest
- type QueryGrantableRolesResponse
- type QueryTestablePermissionsRequest
- type QueryTestablePermissionsResponse
- type Role
- type RoleView
- type Role_RoleLaunchStage
- type ServiceAccount
- type ServiceAccountKey
- type ServiceAccountKeyAlgorithm
- type ServiceAccountKeyOrigin
- type ServiceAccountPrivateKeyType
- type ServiceAccountPublicKeyType
- type SignBlobRequest
- type SignBlobResponse
- type SignJwtRequest
- type SignJwtResponse
- type UndeleteRoleRequest
- type UndeleteServiceAccountRequest
- type UndeleteServiceAccountResponse
- type UnimplementedIAMServer
- type UpdateRoleRequest
- type UploadServiceAccountKeyRequest
Constants ¶
const ( LintResult_CONDITION = src.LintResult_CONDITION LintResult_DEPRECATED = src.LintResult_DEPRECATED LintResult_ERROR = src.LintResult_ERROR LintResult_INFO = src.LintResult_INFO LintResult_LEVEL_UNSPECIFIED = src.LintResult_LEVEL_UNSPECIFIED LintResult_NOTICE = src.LintResult_NOTICE LintResult_SEVERITY_UNSPECIFIED = src.LintResult_SEVERITY_UNSPECIFIED LintResult_WARNING = src.LintResult_WARNING ListServiceAccountKeysRequest_KEY_TYPE_UNSPECIFIED = src.ListServiceAccountKeysRequest_KEY_TYPE_UNSPECIFIED ListServiceAccountKeysRequest_SYSTEM_MANAGED = src.ListServiceAccountKeysRequest_SYSTEM_MANAGED ListServiceAccountKeysRequest_USER_MANAGED = src.ListServiceAccountKeysRequest_USER_MANAGED Permission_ALPHA = src.Permission_ALPHA Permission_BETA = src.Permission_BETA Permission_DEPRECATED = src.Permission_DEPRECATED Permission_GA = src.Permission_GA Permission_NOT_SUPPORTED = src.Permission_NOT_SUPPORTED Permission_SUPPORTED = src.Permission_SUPPORTED Permission_TESTING = src.Permission_TESTING RoleView_BASIC = src.RoleView_BASIC RoleView_FULL = src.RoleView_FULL Role_ALPHA = src.Role_ALPHA Role_BETA = src.Role_BETA Role_DEPRECATED = src.Role_DEPRECATED Role_DISABLED = src.Role_DISABLED Role_EAP = src.Role_EAP Role_GA = src.Role_GA ServiceAccountKeyAlgorithm_KEY_ALG_RSA_1024 = src.ServiceAccountKeyAlgorithm_KEY_ALG_RSA_1024 ServiceAccountKeyAlgorithm_KEY_ALG_RSA_2048 = src.ServiceAccountKeyAlgorithm_KEY_ALG_RSA_2048 ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED = src.ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED ServiceAccountKeyOrigin_GOOGLE_PROVIDED = src.ServiceAccountKeyOrigin_GOOGLE_PROVIDED ServiceAccountKeyOrigin_ORIGIN_UNSPECIFIED = src.ServiceAccountKeyOrigin_ORIGIN_UNSPECIFIED ServiceAccountKeyOrigin_USER_PROVIDED = src.ServiceAccountKeyOrigin_USER_PROVIDED ServiceAccountPrivateKeyType_TYPE_GOOGLE_CREDENTIALS_FILE = src.ServiceAccountPrivateKeyType_TYPE_GOOGLE_CREDENTIALS_FILE ServiceAccountPrivateKeyType_TYPE_PKCS12_FILE = src.ServiceAccountPrivateKeyType_TYPE_PKCS12_FILE ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED = src.ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED ServiceAccountPublicKeyType_TYPE_NONE = src.ServiceAccountPublicKeyType_TYPE_NONE ServiceAccountPublicKeyType_TYPE_RAW_PUBLIC_KEY = src.ServiceAccountPublicKeyType_TYPE_RAW_PUBLIC_KEY ServiceAccountPublicKeyType_TYPE_X509_PEM_FILE = src.ServiceAccountPublicKeyType_TYPE_X509_PEM_FILE )
Deprecated: Please use consts in: cloud.google.com/go/iam/admin/apiv1/adminpb
Variables ¶
var ( File_google_iam_admin_v1_audit_data_proto = src.File_google_iam_admin_v1_audit_data_proto File_google_iam_admin_v1_iam_proto = src.File_google_iam_admin_v1_iam_proto LintResult_Level_name = src.LintResult_Level_name LintResult_Level_value = src.LintResult_Level_value LintResult_Severity_name = src.LintResult_Severity_name LintResult_Severity_value = src.LintResult_Severity_value ListServiceAccountKeysRequest_KeyType_name = src.ListServiceAccountKeysRequest_KeyType_name ListServiceAccountKeysRequest_KeyType_value = src.ListServiceAccountKeysRequest_KeyType_value Permission_CustomRolesSupportLevel_name = src.Permission_CustomRolesSupportLevel_name Permission_CustomRolesSupportLevel_value = src.Permission_CustomRolesSupportLevel_value Permission_PermissionLaunchStage_name = src.Permission_PermissionLaunchStage_name Permission_PermissionLaunchStage_value = src.Permission_PermissionLaunchStage_value RoleView_name = src.RoleView_name RoleView_value = src.RoleView_value Role_RoleLaunchStage_name = src.Role_RoleLaunchStage_name Role_RoleLaunchStage_value = src.Role_RoleLaunchStage_value ServiceAccountKeyAlgorithm_name = src.ServiceAccountKeyAlgorithm_name ServiceAccountKeyAlgorithm_value = src.ServiceAccountKeyAlgorithm_value ServiceAccountKeyOrigin_name = src.ServiceAccountKeyOrigin_name ServiceAccountKeyOrigin_value = src.ServiceAccountKeyOrigin_value ServiceAccountPrivateKeyType_name = src.ServiceAccountPrivateKeyType_name ServiceAccountPrivateKeyType_value = src.ServiceAccountPrivateKeyType_value ServiceAccountPublicKeyType_name = src.ServiceAccountPublicKeyType_name ServiceAccountPublicKeyType_value = src.ServiceAccountPublicKeyType_value )
Deprecated: Please use vars in: cloud.google.com/go/iam/admin/apiv1/adminpb
Functions ¶
func RegisterIAMServer ¶
Deprecated: Please use funcs in: cloud.google.com/go/iam/admin/apiv1/adminpb
Types ¶
type AuditData ¶
Audit log information specific to Cloud IAM admin APIs. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type AuditData_PermissionDelta ¶
type AuditData_PermissionDelta = src.AuditData_PermissionDelta
A PermissionDelta message to record the added_permissions and removed_permissions inside a role.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type CreateRoleRequest ¶
type CreateRoleRequest = src.CreateRoleRequest
The request to create a new role.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type CreateServiceAccountKeyRequest ¶
type CreateServiceAccountKeyRequest = src.CreateServiceAccountKeyRequest
The service account key create request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type CreateServiceAccountRequest ¶
type CreateServiceAccountRequest = src.CreateServiceAccountRequest
The service account create request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type DeleteRoleRequest ¶
type DeleteRoleRequest = src.DeleteRoleRequest
The request to delete an existing role.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type DeleteServiceAccountKeyRequest ¶
type DeleteServiceAccountKeyRequest = src.DeleteServiceAccountKeyRequest
The service account key delete request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type DeleteServiceAccountRequest ¶
type DeleteServiceAccountRequest = src.DeleteServiceAccountRequest
The service account delete request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type DisableServiceAccountKeyRequest ¶
type DisableServiceAccountKeyRequest = src.DisableServiceAccountKeyRequest
The service account key disable request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type DisableServiceAccountRequest ¶
type DisableServiceAccountRequest = src.DisableServiceAccountRequest
The service account disable request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type EnableServiceAccountKeyRequest ¶
type EnableServiceAccountKeyRequest = src.EnableServiceAccountKeyRequest
The service account key enable request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type EnableServiceAccountRequest ¶
type EnableServiceAccountRequest = src.EnableServiceAccountRequest
The service account enable request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type GetRoleRequest ¶
type GetRoleRequest = src.GetRoleRequest
The request to get the definition of an existing role.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type GetServiceAccountKeyRequest ¶
type GetServiceAccountKeyRequest = src.GetServiceAccountKeyRequest
The service account key get by id request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type GetServiceAccountRequest ¶
type GetServiceAccountRequest = src.GetServiceAccountRequest
The service account get request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type IAMClient ¶
IAMClient is the client API for IAM service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
func NewIAMClient ¶
func NewIAMClient(cc grpc.ClientConnInterface) IAMClient
Deprecated: Please use funcs in: cloud.google.com/go/iam/admin/apiv1/adminpb
type IAMServer ¶
IAMServer is the server API for IAM service.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type LintPolicyRequest ¶
type LintPolicyRequest = src.LintPolicyRequest
The request to lint a Cloud IAM policy object.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type LintPolicyRequest_Condition ¶
type LintPolicyRequest_Condition = src.LintPolicyRequest_Condition
type LintPolicyResponse ¶
type LintPolicyResponse = src.LintPolicyResponse
The response of a lint operation. An empty response indicates the operation was able to fully execute and no lint issue was found.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type LintResult ¶
type LintResult = src.LintResult
Structured response of a single validation unit.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type LintResult_Level ¶
type LintResult_Level = src.LintResult_Level
Possible Level values of a validation unit corresponding to its domain of discourse.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type LintResult_Severity ¶
type LintResult_Severity = src.LintResult_Severity
Possible Severity values of an issued result.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ListRolesRequest ¶
type ListRolesRequest = src.ListRolesRequest
The request to get all roles defined under a resource.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ListRolesResponse ¶
type ListRolesResponse = src.ListRolesResponse
The response containing the roles defined under a resource.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ListServiceAccountKeysRequest ¶
type ListServiceAccountKeysRequest = src.ListServiceAccountKeysRequest
The service account keys list request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ListServiceAccountKeysRequest_KeyType ¶
type ListServiceAccountKeysRequest_KeyType = src.ListServiceAccountKeysRequest_KeyType
`KeyType` filters to selectively retrieve certain varieties of keys.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ListServiceAccountKeysResponse ¶
type ListServiceAccountKeysResponse = src.ListServiceAccountKeysResponse
The service account keys list response.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ListServiceAccountsRequest ¶
type ListServiceAccountsRequest = src.ListServiceAccountsRequest
The service account list request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ListServiceAccountsResponse ¶
type ListServiceAccountsResponse = src.ListServiceAccountsResponse
The service account list response.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type PatchServiceAccountRequest ¶
type PatchServiceAccountRequest = src.PatchServiceAccountRequest
The service account patch request. 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.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type Permission ¶
type Permission = src.Permission
A permission which can be included by a role.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type Permission_CustomRolesSupportLevel ¶
type Permission_CustomRolesSupportLevel = src.Permission_CustomRolesSupportLevel
The state of the permission with regards to custom roles.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type Permission_PermissionLaunchStage ¶
type Permission_PermissionLaunchStage = src.Permission_PermissionLaunchStage
A stage representing a permission's lifecycle phase.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type QueryAuditableServicesRequest ¶
type QueryAuditableServicesRequest = src.QueryAuditableServicesRequest
A request to get the list of auditable services for a resource.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type QueryAuditableServicesResponse ¶
type QueryAuditableServicesResponse = src.QueryAuditableServicesResponse
A response containing a list of auditable services for a resource.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type QueryAuditableServicesResponse_AuditableService ¶
type QueryAuditableServicesResponse_AuditableService = src.QueryAuditableServicesResponse_AuditableService
Contains information about an auditable service.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type QueryGrantableRolesRequest ¶
type QueryGrantableRolesRequest = src.QueryGrantableRolesRequest
The grantable role query request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type QueryGrantableRolesResponse ¶
type QueryGrantableRolesResponse = src.QueryGrantableRolesResponse
The grantable role query response.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type QueryTestablePermissionsRequest ¶
type QueryTestablePermissionsRequest = src.QueryTestablePermissionsRequest
A request to get permissions which can be tested on a resource.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type QueryTestablePermissionsResponse ¶
type QueryTestablePermissionsResponse = src.QueryTestablePermissionsResponse
The response containing permissions which can be tested on a resource.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type Role ¶
A role in the Identity and Access Management API.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type RoleView ¶
A view for Role objects.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type Role_RoleLaunchStage ¶
type Role_RoleLaunchStage = src.Role_RoleLaunchStage
A stage representing a role's lifecycle phase.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ServiceAccount ¶
type ServiceAccount = src.ServiceAccount
An IAM service account. A service account is an account for an application or a virtual machine (VM) instance, not a person. You can use a service account to call Google APIs. To learn more, read the [overview of service accounts](https://cloud.google.com/iam/help/service-accounts/overview). When you create a service account, you specify the project ID that owns the service account, as well as a name that must be unique within the project. IAM uses these values to create an email address that identifies the service account.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ServiceAccountKey ¶
type ServiceAccountKey = src.ServiceAccountKey
Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed keys are automatically rotated by Google, and are used for signing for a maximum of two weeks. The rotation process is probabilistic, and usage of the new key will gradually ramp up and down over the key's lifetime. If you cache the public key set for a service account, we recommend that you update the cache every 15 minutes. User-managed keys can be added and removed at any time, so it is important to update the cache frequently. For Google-managed keys, Google will publish a key at least 6 hours before it is first used for signing and will keep publishing it for at least 6 hours after it was last used for signing. Public keys for all service accounts are also published at the OAuth2 Service Account API.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ServiceAccountKeyAlgorithm ¶
type ServiceAccountKeyAlgorithm = src.ServiceAccountKeyAlgorithm
Supported key algorithms.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ServiceAccountKeyOrigin ¶
type ServiceAccountKeyOrigin = src.ServiceAccountKeyOrigin
Service Account Key Origin.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ServiceAccountPrivateKeyType ¶
type ServiceAccountPrivateKeyType = src.ServiceAccountPrivateKeyType
Supported private key output formats.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type ServiceAccountPublicKeyType ¶
type ServiceAccountPublicKeyType = src.ServiceAccountPublicKeyType
Supported public key output formats.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type SignBlobRequest ¶
type SignBlobRequest = src.SignBlobRequest
Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The service account sign blob request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type SignBlobResponse ¶
type SignBlobResponse = src.SignBlobResponse
Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The service account sign blob response.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type SignJwtRequest ¶
type SignJwtRequest = src.SignJwtRequest
Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The service account sign JWT request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type SignJwtResponse ¶
type SignJwtResponse = src.SignJwtResponse
Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The service account sign JWT response.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type UndeleteRoleRequest ¶
type UndeleteRoleRequest = src.UndeleteRoleRequest
The request to undelete an existing role.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type UndeleteServiceAccountRequest ¶
type UndeleteServiceAccountRequest = src.UndeleteServiceAccountRequest
The service account undelete request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type UndeleteServiceAccountResponse ¶
type UndeleteServiceAccountResponse = src.UndeleteServiceAccountResponse
type UnimplementedIAMServer ¶
type UnimplementedIAMServer = src.UnimplementedIAMServer
UnimplementedIAMServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type UpdateRoleRequest ¶
type UpdateRoleRequest = src.UpdateRoleRequest
The request to update a role.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
type UploadServiceAccountKeyRequest ¶
type UploadServiceAccountKeyRequest = src.UploadServiceAccountKeyRequest
The service account key upload request.
Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb
Source Files ¶
alias.go
- Version
- v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.