...

Package admin

import "google.golang.org/genproto/googleapis/iam/admin/v1"
Overview
Index

Overview ▾

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
    func NewIAMClient(cc grpc.ClientConnInterface) 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

Package files

alias.go

Constants

Deprecated: Please use consts in: cloud.google.com/go/iam/admin/apiv1/adminpb

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
)

Variables

Deprecated: Please use vars in: cloud.google.com/go/iam/admin/apiv1/adminpb

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
)

func RegisterIAMServer

func RegisterIAMServer(s *grpc.Server, srv IAMServer)

Deprecated: Please use funcs in: cloud.google.com/go/iam/admin/apiv1/adminpb

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 = src.AuditData

type 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 AuditData_PermissionDelta = src.AuditData_PermissionDelta

type CreateRoleRequest

The request to create a new role.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type CreateRoleRequest = src.CreateRoleRequest

type CreateServiceAccountKeyRequest

The service account key create request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type CreateServiceAccountKeyRequest = src.CreateServiceAccountKeyRequest

type CreateServiceAccountRequest

The service account create request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type CreateServiceAccountRequest = src.CreateServiceAccountRequest

type DeleteRoleRequest

The request to delete an existing role.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type DeleteRoleRequest = src.DeleteRoleRequest

type DeleteServiceAccountKeyRequest

The service account key delete request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type DeleteServiceAccountKeyRequest = src.DeleteServiceAccountKeyRequest

type DeleteServiceAccountRequest

The service account delete request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type DeleteServiceAccountRequest = src.DeleteServiceAccountRequest

type DisableServiceAccountKeyRequest

The service account key disable request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type DisableServiceAccountKeyRequest = src.DisableServiceAccountKeyRequest

type DisableServiceAccountRequest

The service account disable request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type DisableServiceAccountRequest = src.DisableServiceAccountRequest

type EnableServiceAccountKeyRequest

The service account key enable request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type EnableServiceAccountKeyRequest = src.EnableServiceAccountKeyRequest

type EnableServiceAccountRequest

The service account enable request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type EnableServiceAccountRequest = src.EnableServiceAccountRequest

type 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 GetRoleRequest = src.GetRoleRequest

type GetServiceAccountKeyRequest

The service account key get by id request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type GetServiceAccountKeyRequest = src.GetServiceAccountKeyRequest

type GetServiceAccountRequest

The service account get request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type GetServiceAccountRequest = src.GetServiceAccountRequest

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

type IAMClient = src.IAMClient

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 IAMServer = src.IAMServer

type 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 = src.LintPolicyRequest

type LintPolicyRequest_Condition

type LintPolicyRequest_Condition = src.LintPolicyRequest_Condition

type 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 LintPolicyResponse = src.LintPolicyResponse

type LintResult

Structured response of a single validation unit.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type LintResult = src.LintResult

type 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_Level = src.LintResult_Level

type LintResult_Severity

Possible Severity values of an issued result.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type LintResult_Severity = src.LintResult_Severity

type 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 ListRolesRequest = src.ListRolesRequest

type ListRolesResponse

The response containing the roles defined under a resource.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ListRolesResponse = src.ListRolesResponse

type ListServiceAccountKeysRequest

The service account keys list request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ListServiceAccountKeysRequest = src.ListServiceAccountKeysRequest

type 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 ListServiceAccountKeysRequest_KeyType = src.ListServiceAccountKeysRequest_KeyType

type ListServiceAccountKeysResponse

The service account keys list response.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ListServiceAccountKeysResponse = src.ListServiceAccountKeysResponse

type ListServiceAccountsRequest

The service account list request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ListServiceAccountsRequest = src.ListServiceAccountsRequest

type ListServiceAccountsResponse

The service account list response.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ListServiceAccountsResponse = src.ListServiceAccountsResponse

type 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 PatchServiceAccountRequest = src.PatchServiceAccountRequest

type 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 = src.Permission

type 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_CustomRolesSupportLevel = src.Permission_CustomRolesSupportLevel

type Permission_PermissionLaunchStage

A stage representing a permission's lifecycle phase.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type Permission_PermissionLaunchStage = src.Permission_PermissionLaunchStage

type 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 QueryAuditableServicesRequest = src.QueryAuditableServicesRequest

type 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 = src.QueryAuditableServicesResponse

type QueryAuditableServicesResponse_AuditableService

Contains information about an auditable service.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type QueryAuditableServicesResponse_AuditableService = src.QueryAuditableServicesResponse_AuditableService

type QueryGrantableRolesRequest

The grantable role query request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type QueryGrantableRolesRequest = src.QueryGrantableRolesRequest

type QueryGrantableRolesResponse

The grantable role query response.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type QueryGrantableRolesResponse = src.QueryGrantableRolesResponse

type 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 QueryTestablePermissionsRequest = src.QueryTestablePermissionsRequest

type 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 QueryTestablePermissionsResponse = src.QueryTestablePermissionsResponse

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 Role = src.Role

type RoleView

A view for Role objects.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type RoleView = src.RoleView

type Role_RoleLaunchStage

A stage representing a role's lifecycle phase.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type Role_RoleLaunchStage = src.Role_RoleLaunchStage

type 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 ServiceAccount = src.ServiceAccount

type 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 ServiceAccountKey = src.ServiceAccountKey

type ServiceAccountKeyAlgorithm

Supported key algorithms.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ServiceAccountKeyAlgorithm = src.ServiceAccountKeyAlgorithm

type ServiceAccountKeyOrigin

Service Account Key Origin.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ServiceAccountKeyOrigin = src.ServiceAccountKeyOrigin

type ServiceAccountPrivateKeyType

Supported private key output formats.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ServiceAccountPrivateKeyType = src.ServiceAccountPrivateKeyType

type ServiceAccountPublicKeyType

Supported public key output formats.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type ServiceAccountPublicKeyType = src.ServiceAccountPublicKeyType

type 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 SignBlobRequest = src.SignBlobRequest

type 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 SignBlobResponse = src.SignBlobResponse

type 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 SignJwtRequest = src.SignJwtRequest

type 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 SignJwtResponse = src.SignJwtResponse

type UndeleteRoleRequest

The request to undelete an existing role.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type UndeleteRoleRequest = src.UndeleteRoleRequest

type UndeleteServiceAccountRequest

The service account undelete request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type UndeleteServiceAccountRequest = src.UndeleteServiceAccountRequest

type UndeleteServiceAccountResponse

type UndeleteServiceAccountResponse = src.UndeleteServiceAccountResponse

type UnimplementedIAMServer

UnimplementedIAMServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type UnimplementedIAMServer = src.UnimplementedIAMServer

type UpdateRoleRequest

The request to update a role.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type UpdateRoleRequest = src.UpdateRoleRequest

type UploadServiceAccountKeyRequest

The service account key upload request.

Deprecated: Please use types in: cloud.google.com/go/iam/admin/apiv1/adminpb

type UploadServiceAccountKeyRequest = src.UploadServiceAccountKeyRequest