genproto: google.golang.org/genproto/googleapis/iam/admin/v1 Index | Files

package admin

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

Index

Package Files

audit_data.pb.go iam.pb.go

Variables

var (
    ServiceAccountKeyAlgorithm_name = map[int32]string{
        0:  "KEY_ALG_UNSPECIFIED",
        1:  "KEY_ALG_RSA_1024",
        2:  "KEY_ALG_RSA_2048",
    }
    ServiceAccountKeyAlgorithm_value = map[string]int32{
        "KEY_ALG_UNSPECIFIED": 0,
        "KEY_ALG_RSA_1024":    1,
        "KEY_ALG_RSA_2048":    2,
    }
)

Enum value maps for ServiceAccountKeyAlgorithm.

var (
    ServiceAccountPrivateKeyType_name = map[int32]string{
        0:  "TYPE_UNSPECIFIED",
        1:  "TYPE_PKCS12_FILE",
        2:  "TYPE_GOOGLE_CREDENTIALS_FILE",
    }
    ServiceAccountPrivateKeyType_value = map[string]int32{
        "TYPE_UNSPECIFIED":             0,
        "TYPE_PKCS12_FILE":             1,
        "TYPE_GOOGLE_CREDENTIALS_FILE": 2,
    }
)

Enum value maps for ServiceAccountPrivateKeyType.

var (
    ServiceAccountPublicKeyType_name = map[int32]string{
        0:  "TYPE_NONE",
        1:  "TYPE_X509_PEM_FILE",
        2:  "TYPE_RAW_PUBLIC_KEY",
    }
    ServiceAccountPublicKeyType_value = map[string]int32{
        "TYPE_NONE":           0,
        "TYPE_X509_PEM_FILE":  1,
        "TYPE_RAW_PUBLIC_KEY": 2,
    }
)

Enum value maps for ServiceAccountPublicKeyType.

var (
    RoleView_name = map[int32]string{
        0:  "BASIC",
        1:  "FULL",
    }
    RoleView_value = map[string]int32{
        "BASIC": 0,
        "FULL":  1,
    }
)

Enum value maps for RoleView.

var (
    ListServiceAccountKeysRequest_KeyType_name = map[int32]string{
        0:  "KEY_TYPE_UNSPECIFIED",
        1:  "USER_MANAGED",
        2:  "SYSTEM_MANAGED",
    }
    ListServiceAccountKeysRequest_KeyType_value = map[string]int32{
        "KEY_TYPE_UNSPECIFIED": 0,
        "USER_MANAGED":         1,
        "SYSTEM_MANAGED":       2,
    }
)

Enum value maps for ListServiceAccountKeysRequest_KeyType.

var (
    Role_RoleLaunchStage_name = map[int32]string{
        0:  "ALPHA",
        1:  "BETA",
        2:  "GA",
        4:  "DEPRECATED",
        5:  "DISABLED",
        6:  "EAP",
    }
    Role_RoleLaunchStage_value = map[string]int32{
        "ALPHA":      0,
        "BETA":       1,
        "GA":         2,
        "DEPRECATED": 4,
        "DISABLED":   5,
        "EAP":        6,
    }
)

Enum value maps for Role_RoleLaunchStage.

var (
    Permission_PermissionLaunchStage_name = map[int32]string{
        0:  "ALPHA",
        1:  "BETA",
        2:  "GA",
        3:  "DEPRECATED",
    }
    Permission_PermissionLaunchStage_value = map[string]int32{
        "ALPHA":      0,
        "BETA":       1,
        "GA":         2,
        "DEPRECATED": 3,
    }
)

Enum value maps for Permission_PermissionLaunchStage.

var (
    Permission_CustomRolesSupportLevel_name = map[int32]string{
        0:  "SUPPORTED",
        1:  "TESTING",
        2:  "NOT_SUPPORTED",
    }
    Permission_CustomRolesSupportLevel_value = map[string]int32{
        "SUPPORTED":     0,
        "TESTING":       1,
        "NOT_SUPPORTED": 2,
    }
)

Enum value maps for Permission_CustomRolesSupportLevel.

var File_google_iam_admin_v1_audit_data_proto protoreflect.FileDescriptor
var File_google_iam_admin_v1_iam_proto protoreflect.FileDescriptor

func RegisterIAMServer Uses

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

type AuditData Uses

type AuditData struct {

    // The permission_delta when when creating or updating a Role.
    PermissionDelta *AuditData_PermissionDelta `protobuf:"bytes,1,opt,name=permission_delta,json=permissionDelta,proto3" json:"permission_delta,omitempty"`
    // contains filtered or unexported fields
}

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.

func (*AuditData) Descriptor Uses

func (*AuditData) Descriptor() ([]byte, []int)

Deprecated: Use AuditData.ProtoReflect.Descriptor instead.

func (*AuditData) GetPermissionDelta Uses

func (x *AuditData) GetPermissionDelta() *AuditData_PermissionDelta

func (*AuditData) ProtoMessage Uses

func (*AuditData) ProtoMessage()

func (*AuditData) ProtoReflect Uses

func (x *AuditData) ProtoReflect() protoreflect.Message

func (*AuditData) Reset Uses

func (x *AuditData) Reset()

func (*AuditData) String Uses

func (x *AuditData) String() string

type AuditData_PermissionDelta Uses

type AuditData_PermissionDelta struct {

    // Added permissions.
    AddedPermissions []string `protobuf:"bytes,1,rep,name=added_permissions,json=addedPermissions,proto3" json:"added_permissions,omitempty"`
    // Removed permissions.
    RemovedPermissions []string `protobuf:"bytes,2,rep,name=removed_permissions,json=removedPermissions,proto3" json:"removed_permissions,omitempty"`
    // contains filtered or unexported fields
}

A PermissionDelta message to record the added_permissions and removed_permissions inside a role.

func (*AuditData_PermissionDelta) Descriptor Uses

func (*AuditData_PermissionDelta) Descriptor() ([]byte, []int)

Deprecated: Use AuditData_PermissionDelta.ProtoReflect.Descriptor instead.

func (*AuditData_PermissionDelta) GetAddedPermissions Uses

func (x *AuditData_PermissionDelta) GetAddedPermissions() []string

func (*AuditData_PermissionDelta) GetRemovedPermissions Uses

func (x *AuditData_PermissionDelta) GetRemovedPermissions() []string

func (*AuditData_PermissionDelta) ProtoMessage Uses

func (*AuditData_PermissionDelta) ProtoMessage()

func (*AuditData_PermissionDelta) ProtoReflect Uses

func (x *AuditData_PermissionDelta) ProtoReflect() protoreflect.Message

func (*AuditData_PermissionDelta) Reset Uses

func (x *AuditData_PermissionDelta) Reset()

func (*AuditData_PermissionDelta) String Uses

func (x *AuditData_PermissionDelta) String() string

type CreateRoleRequest Uses

type CreateRoleRequest struct {

    // The `parent` parameter's value depends on the target resource for the
    // request, namely
    // [`projects`](/iam/reference/rest/v1/projects.roles) or
    // [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
    // resource type's `parent` value format is described below:
    //
    // * [`projects.roles.create()`](/iam/reference/rest/v1/projects.roles/create):
    //   `projects/{PROJECT_ID}`. This method creates project-level
    //   [custom roles](/iam/docs/understanding-custom-roles).
    //   Example request URL:
    //   `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles`
    //
    // * [`organizations.roles.create()`](/iam/reference/rest/v1/organizations.roles/create):
    //   `organizations/{ORGANIZATION_ID}`. This method creates organization-level
    //   [custom roles](/iam/docs/understanding-custom-roles). Example request
    //   URL:
    //   `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles`
    //
    // Note: Wildcard (*) values are invalid; you must specify a complete project
    // ID or organization ID.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The role ID to use for this role.
    RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
    // The Role resource to create.
    Role *Role `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
    // contains filtered or unexported fields
}

The request to create a new role.

func (*CreateRoleRequest) Descriptor Uses

func (*CreateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetParent Uses

func (x *CreateRoleRequest) GetParent() string

func (*CreateRoleRequest) GetRole Uses

func (x *CreateRoleRequest) GetRole() *Role

func (*CreateRoleRequest) GetRoleId Uses

func (x *CreateRoleRequest) GetRoleId() string

func (*CreateRoleRequest) ProtoMessage Uses

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect Uses

func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message

func (*CreateRoleRequest) Reset Uses

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String Uses

func (x *CreateRoleRequest) String() string

type CreateServiceAccountKeyRequest Uses

type CreateServiceAccountKeyRequest struct {

    // Required. The resource name of the service account in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    // Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The output format of the private key. The default value is
    // `TYPE_GOOGLE_CREDENTIALS_FILE`, which is the Google Credentials File
    // format.
    PrivateKeyType ServiceAccountPrivateKeyType `protobuf:"varint,2,opt,name=private_key_type,json=privateKeyType,proto3,enum=google.iam.admin.v1.ServiceAccountPrivateKeyType" json:"private_key_type,omitempty"`
    // Which type of key and algorithm to use for the key.
    // The default is currently a 2K RSA key.  However this may change in the
    // future.
    KeyAlgorithm ServiceAccountKeyAlgorithm `protobuf:"varint,3,opt,name=key_algorithm,json=keyAlgorithm,proto3,enum=google.iam.admin.v1.ServiceAccountKeyAlgorithm" json:"key_algorithm,omitempty"`
    // contains filtered or unexported fields
}

The service account key create request.

func (*CreateServiceAccountKeyRequest) Descriptor Uses

func (*CreateServiceAccountKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateServiceAccountKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceAccountKeyRequest) GetKeyAlgorithm Uses

func (x *CreateServiceAccountKeyRequest) GetKeyAlgorithm() ServiceAccountKeyAlgorithm

func (*CreateServiceAccountKeyRequest) GetName Uses

func (x *CreateServiceAccountKeyRequest) GetName() string

func (*CreateServiceAccountKeyRequest) GetPrivateKeyType Uses

func (x *CreateServiceAccountKeyRequest) GetPrivateKeyType() ServiceAccountPrivateKeyType

func (*CreateServiceAccountKeyRequest) ProtoMessage Uses

func (*CreateServiceAccountKeyRequest) ProtoMessage()

func (*CreateServiceAccountKeyRequest) ProtoReflect Uses

func (x *CreateServiceAccountKeyRequest) ProtoReflect() protoreflect.Message

func (*CreateServiceAccountKeyRequest) Reset Uses

func (x *CreateServiceAccountKeyRequest) Reset()

func (*CreateServiceAccountKeyRequest) String Uses

func (x *CreateServiceAccountKeyRequest) String() string

type CreateServiceAccountRequest Uses

type CreateServiceAccountRequest struct {

    // Required. The resource name of the project associated with the service
    // accounts, such as `projects/my-project-123`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The account id that is used to generate the service account
    // email address and a stable unique id. It is unique within a project,
    // must be 6-30 characters long, and match the regular expression
    // `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
    AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
    // The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to
    // create. Currently, only the following values are user assignable:
    // `display_name` and `description`.
    ServiceAccount *ServiceAccount `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
    // contains filtered or unexported fields
}

The service account create request.

func (*CreateServiceAccountRequest) Descriptor Uses

func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceAccountRequest) GetAccountId Uses

func (x *CreateServiceAccountRequest) GetAccountId() string

func (*CreateServiceAccountRequest) GetName Uses

func (x *CreateServiceAccountRequest) GetName() string

func (*CreateServiceAccountRequest) GetServiceAccount Uses

func (x *CreateServiceAccountRequest) GetServiceAccount() *ServiceAccount

func (*CreateServiceAccountRequest) ProtoMessage Uses

func (*CreateServiceAccountRequest) ProtoMessage()

func (*CreateServiceAccountRequest) ProtoReflect Uses

func (x *CreateServiceAccountRequest) ProtoReflect() protoreflect.Message

func (*CreateServiceAccountRequest) Reset Uses

func (x *CreateServiceAccountRequest) Reset()

func (*CreateServiceAccountRequest) String Uses

func (x *CreateServiceAccountRequest) String() string

type DeleteRoleRequest Uses

type DeleteRoleRequest struct {

    // The `name` parameter's value depends on the target resource for the
    // request, namely
    // [`projects`](/iam/reference/rest/v1/projects.roles) or
    // [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
    // resource type's `name` value format is described below:
    //
    // * [`projects.roles.delete()`](/iam/reference/rest/v1/projects.roles/delete):
    //   `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only
    //   [custom roles](/iam/docs/understanding-custom-roles) that have been
    //   created at the project level. Example request URL:
    //   `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // * [`organizations.roles.delete()`](/iam/reference/rest/v1/organizations.roles/delete):
    //   `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
    //   deletes only [custom roles](/iam/docs/understanding-custom-roles) that
    //   have been created at the organization level. Example request URL:
    //   `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // Note: Wildcard (*) values are invalid; you must specify a complete project
    // ID or organization ID.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Used to perform a consistent read-modify-write.
    Etag []byte `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // contains filtered or unexported fields
}

The request to delete an existing role.

func (*DeleteRoleRequest) Descriptor Uses

func (*DeleteRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetEtag Uses

func (x *DeleteRoleRequest) GetEtag() []byte

func (*DeleteRoleRequest) GetName Uses

func (x *DeleteRoleRequest) GetName() string

func (*DeleteRoleRequest) ProtoMessage Uses

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect Uses

func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message

func (*DeleteRoleRequest) Reset Uses

func (x *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String Uses

func (x *DeleteRoleRequest) String() string

type DeleteServiceAccountKeyRequest Uses

type DeleteServiceAccountKeyRequest struct {

    // Required. The resource name of the service account key in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
    // Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The service account key delete request.

func (*DeleteServiceAccountKeyRequest) Descriptor Uses

func (*DeleteServiceAccountKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServiceAccountKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceAccountKeyRequest) GetName Uses

func (x *DeleteServiceAccountKeyRequest) GetName() string

func (*DeleteServiceAccountKeyRequest) ProtoMessage Uses

func (*DeleteServiceAccountKeyRequest) ProtoMessage()

func (*DeleteServiceAccountKeyRequest) ProtoReflect Uses

func (x *DeleteServiceAccountKeyRequest) ProtoReflect() protoreflect.Message

func (*DeleteServiceAccountKeyRequest) Reset Uses

func (x *DeleteServiceAccountKeyRequest) Reset()

func (*DeleteServiceAccountKeyRequest) String Uses

func (x *DeleteServiceAccountKeyRequest) String() string

type DeleteServiceAccountRequest Uses

type DeleteServiceAccountRequest struct {

    // Required. The resource name of the service account in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    // Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The service account delete request.

func (*DeleteServiceAccountRequest) Descriptor Uses

func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceAccountRequest) GetName Uses

func (x *DeleteServiceAccountRequest) GetName() string

func (*DeleteServiceAccountRequest) ProtoMessage Uses

func (*DeleteServiceAccountRequest) ProtoMessage()

func (*DeleteServiceAccountRequest) ProtoReflect Uses

func (x *DeleteServiceAccountRequest) ProtoReflect() protoreflect.Message

func (*DeleteServiceAccountRequest) Reset Uses

func (x *DeleteServiceAccountRequest) Reset()

func (*DeleteServiceAccountRequest) String Uses

func (x *DeleteServiceAccountRequest) String() string

type GetRoleRequest Uses

type GetRoleRequest struct {

    // The `name` parameter's value depends on the target resource for the
    // request, namely
    // [`roles`](/iam/reference/rest/v1/roles),
    // [`projects`](/iam/reference/rest/v1/projects.roles), or
    // [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
    // resource type's `name` value format is described below:
    //
    // * [`roles.get()`](/iam/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`.
    //   This method returns results from all
    //   [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
    //   Cloud IAM. Example request URL:
    //   `https://iam.googleapis.com/v1/roles/{ROLE_NAME}`
    //
    // * [`projects.roles.get()`](/iam/reference/rest/v1/projects.roles/get):
    //   `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only
    //   [custom roles](/iam/docs/understanding-custom-roles) that have been
    //   created at the project level. Example request URL:
    //   `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // * [`organizations.roles.get()`](/iam/reference/rest/v1/organizations.roles/get):
    //   `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
    //   returns only [custom roles](/iam/docs/understanding-custom-roles) that
    //   have been created at the organization level. Example request URL:
    //   `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // Note: Wildcard (*) values are invalid; you must specify a complete project
    // ID or organization ID.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request to get the definition of an existing role.

func (*GetRoleRequest) Descriptor Uses

func (*GetRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.

func (*GetRoleRequest) GetName Uses

func (x *GetRoleRequest) GetName() string

func (*GetRoleRequest) ProtoMessage Uses

func (*GetRoleRequest) ProtoMessage()

func (*GetRoleRequest) ProtoReflect Uses

func (x *GetRoleRequest) ProtoReflect() protoreflect.Message

func (*GetRoleRequest) Reset Uses

func (x *GetRoleRequest) Reset()

func (*GetRoleRequest) String Uses

func (x *GetRoleRequest) String() string

type GetServiceAccountKeyRequest Uses

type GetServiceAccountKeyRequest struct {

    // Required. The resource name of the service account key in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
    //
    // Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The output format of the public key requested.
    // X509_PEM is the default output format.
    PublicKeyType ServiceAccountPublicKeyType `protobuf:"varint,2,opt,name=public_key_type,json=publicKeyType,proto3,enum=google.iam.admin.v1.ServiceAccountPublicKeyType" json:"public_key_type,omitempty"`
    // contains filtered or unexported fields
}

The service account key get by id request.

func (*GetServiceAccountKeyRequest) Descriptor Uses

func (*GetServiceAccountKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceAccountKeyRequest.ProtoReflect.Descriptor instead.

func (*GetServiceAccountKeyRequest) GetName Uses

func (x *GetServiceAccountKeyRequest) GetName() string

func (*GetServiceAccountKeyRequest) GetPublicKeyType Uses

func (x *GetServiceAccountKeyRequest) GetPublicKeyType() ServiceAccountPublicKeyType

func (*GetServiceAccountKeyRequest) ProtoMessage Uses

func (*GetServiceAccountKeyRequest) ProtoMessage()

func (*GetServiceAccountKeyRequest) ProtoReflect Uses

func (x *GetServiceAccountKeyRequest) ProtoReflect() protoreflect.Message

func (*GetServiceAccountKeyRequest) Reset Uses

func (x *GetServiceAccountKeyRequest) Reset()

func (*GetServiceAccountKeyRequest) String Uses

func (x *GetServiceAccountKeyRequest) String() string

type GetServiceAccountRequest Uses

type GetServiceAccountRequest struct {

    // Required. The resource name of the service account in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    // Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The service account get request.

func (*GetServiceAccountRequest) Descriptor Uses

func (*GetServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*GetServiceAccountRequest) GetName Uses

func (x *GetServiceAccountRequest) GetName() string

func (*GetServiceAccountRequest) ProtoMessage Uses

func (*GetServiceAccountRequest) ProtoMessage()

func (*GetServiceAccountRequest) ProtoReflect Uses

func (x *GetServiceAccountRequest) ProtoReflect() protoreflect.Message

func (*GetServiceAccountRequest) Reset Uses

func (x *GetServiceAccountRequest) Reset()

func (*GetServiceAccountRequest) String Uses

func (x *GetServiceAccountRequest) String() string

type IAMClient Uses

type IAMClient interface {
    // Lists [ServiceAccounts][google.iam.admin.v1.ServiceAccount] for a project.
    ListServiceAccounts(ctx context.Context, in *ListServiceAccountsRequest, opts ...grpc.CallOption) (*ListServiceAccountsResponse, error)
    // Gets a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error)
    // Creates a [ServiceAccount][google.iam.admin.v1.ServiceAccount]
    // and returns it.
    CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error)
    // Updates a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    //
    // Currently, only the following fields are updatable:
    // `display_name` and `description`.
    UpdateServiceAccount(ctx context.Context, in *ServiceAccount, opts ...grpc.CallOption) (*ServiceAccount, error)
    // Deletes a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Lists [ServiceAccountKeys][google.iam.admin.v1.ServiceAccountKey].
    ListServiceAccountKeys(ctx context.Context, in *ListServiceAccountKeysRequest, opts ...grpc.CallOption) (*ListServiceAccountKeysResponse, error)
    // Gets the [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]
    // by key id.
    GetServiceAccountKey(ctx context.Context, in *GetServiceAccountKeyRequest, opts ...grpc.CallOption) (*ServiceAccountKey, error)
    // Creates a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]
    // and returns it.
    CreateServiceAccountKey(ctx context.Context, in *CreateServiceAccountKeyRequest, opts ...grpc.CallOption) (*ServiceAccountKey, error)
    // Deletes a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
    DeleteServiceAccountKey(ctx context.Context, in *DeleteServiceAccountKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Signs a blob using a service account's system-managed private key.
    SignBlob(ctx context.Context, in *SignBlobRequest, opts ...grpc.CallOption) (*SignBlobResponse, error)
    // Signs a JWT using a service account's system-managed private key.
    //
    // If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an
    // an expiry time of one hour by default. If you request an expiry time of
    // more than one hour, the request will fail.
    SignJwt(ctx context.Context, in *SignJwtRequest, opts ...grpc.CallOption) (*SignJwtResponse, error)
    // Returns the Cloud IAM access control policy for a
    // [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    //
    // Note: Service accounts are both
    // [resources and
    // identities](/iam/docs/service-accounts#service_account_permissions). This
    // method treats the service account as a resource. It returns the Cloud IAM
    // policy that reflects what members have access to the service account.
    //
    // This method does not return what resources the service account has access
    // to. To see if a service account has access to a resource, call the
    // `getIamPolicy` method on the target resource. For example, to view grants
    // for a project, call the
    // [projects.getIamPolicy](/resource-manager/reference/rest/v1/projects/getIamPolicy)
    // method.
    GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Sets the Cloud IAM access control policy for a
    // [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    //
    // Note: Service accounts are both
    // [resources and
    // identities](/iam/docs/service-accounts#service_account_permissions). This
    // method treats the service account as a resource. Use it to grant members
    // access to the service account, such as when they need to impersonate it.
    //
    // This method does not grant the service account access to other resources,
    // such as projects. To grant a service account access to resources, include
    // the service account in the Cloud IAM policy for the desired resource, then
    // call the appropriate `setIamPolicy` method on the target resource. For
    // example, to grant a service account access to a project, call the
    // [projects.setIamPolicy](/resource-manager/reference/rest/v1/projects/setIamPolicy)
    // method.
    SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Tests the specified permissions against the IAM access control policy
    // for a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
    // Queries roles that can be granted on a particular resource.
    // A role is grantable if it can be used as the role in a binding for a policy
    // for that resource.
    QueryGrantableRoles(ctx context.Context, in *QueryGrantableRolesRequest, opts ...grpc.CallOption) (*QueryGrantableRolesResponse, error)
    // Lists the Roles defined on a resource.
    ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
    // Gets a Role definition.
    GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*Role, error)
    // Creates a new Role.
    CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*Role, error)
    // Updates a Role definition.
    UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*Role, error)
    // Soft deletes a role. The role is suspended and cannot be used to create new
    // IAM Policy Bindings.
    // The Role will not be included in `ListRoles()` unless `show_deleted` is set
    // in the `ListRolesRequest`. The Role contains the deleted boolean set.
    // Existing Bindings remains, but are inactive. The Role can be undeleted
    // within 7 days. After 7 days the Role is deleted and all Bindings associated
    // with the role are removed.
    DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*Role, error)
    // Undelete a Role, bringing it back in its previous state.
    UndeleteRole(ctx context.Context, in *UndeleteRoleRequest, opts ...grpc.CallOption) (*Role, error)
    // Lists the permissions testable on a resource.
    // A permission is testable if it can be tested for an identity on a resource.
    QueryTestablePermissions(ctx context.Context, in *QueryTestablePermissionsRequest, opts ...grpc.CallOption) (*QueryTestablePermissionsResponse, error)
}

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.

func NewIAMClient Uses

func NewIAMClient(cc grpc.ClientConnInterface) IAMClient

type IAMServer Uses

type IAMServer interface {
    // Lists [ServiceAccounts][google.iam.admin.v1.ServiceAccount] for a project.
    ListServiceAccounts(context.Context, *ListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
    // Gets a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    GetServiceAccount(context.Context, *GetServiceAccountRequest) (*ServiceAccount, error)
    // Creates a [ServiceAccount][google.iam.admin.v1.ServiceAccount]
    // and returns it.
    CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*ServiceAccount, error)
    // Updates a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    //
    // Currently, only the following fields are updatable:
    // `display_name` and `description`.
    UpdateServiceAccount(context.Context, *ServiceAccount) (*ServiceAccount, error)
    // Deletes a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*emptypb.Empty, error)
    // Lists [ServiceAccountKeys][google.iam.admin.v1.ServiceAccountKey].
    ListServiceAccountKeys(context.Context, *ListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
    // Gets the [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]
    // by key id.
    GetServiceAccountKey(context.Context, *GetServiceAccountKeyRequest) (*ServiceAccountKey, error)
    // Creates a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey]
    // and returns it.
    CreateServiceAccountKey(context.Context, *CreateServiceAccountKeyRequest) (*ServiceAccountKey, error)
    // Deletes a [ServiceAccountKey][google.iam.admin.v1.ServiceAccountKey].
    DeleteServiceAccountKey(context.Context, *DeleteServiceAccountKeyRequest) (*emptypb.Empty, error)
    // Signs a blob using a service account's system-managed private key.
    SignBlob(context.Context, *SignBlobRequest) (*SignBlobResponse, error)
    // Signs a JWT using a service account's system-managed private key.
    //
    // If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an
    // an expiry time of one hour by default. If you request an expiry time of
    // more than one hour, the request will fail.
    SignJwt(context.Context, *SignJwtRequest) (*SignJwtResponse, error)
    // Returns the Cloud IAM access control policy for a
    // [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    //
    // Note: Service accounts are both
    // [resources and
    // identities](/iam/docs/service-accounts#service_account_permissions). This
    // method treats the service account as a resource. It returns the Cloud IAM
    // policy that reflects what members have access to the service account.
    //
    // This method does not return what resources the service account has access
    // to. To see if a service account has access to a resource, call the
    // `getIamPolicy` method on the target resource. For example, to view grants
    // for a project, call the
    // [projects.getIamPolicy](/resource-manager/reference/rest/v1/projects/getIamPolicy)
    // method.
    GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
    // Sets the Cloud IAM access control policy for a
    // [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    //
    // Note: Service accounts are both
    // [resources and
    // identities](/iam/docs/service-accounts#service_account_permissions). This
    // method treats the service account as a resource. Use it to grant members
    // access to the service account, such as when they need to impersonate it.
    //
    // This method does not grant the service account access to other resources,
    // such as projects. To grant a service account access to resources, include
    // the service account in the Cloud IAM policy for the desired resource, then
    // call the appropriate `setIamPolicy` method on the target resource. For
    // example, to grant a service account access to a project, call the
    // [projects.setIamPolicy](/resource-manager/reference/rest/v1/projects/setIamPolicy)
    // method.
    SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
    // Tests the specified permissions against the IAM access control policy
    // for a [ServiceAccount][google.iam.admin.v1.ServiceAccount].
    TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
    // Queries roles that can be granted on a particular resource.
    // A role is grantable if it can be used as the role in a binding for a policy
    // for that resource.
    QueryGrantableRoles(context.Context, *QueryGrantableRolesRequest) (*QueryGrantableRolesResponse, error)
    // Lists the Roles defined on a resource.
    ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
    // Gets a Role definition.
    GetRole(context.Context, *GetRoleRequest) (*Role, error)
    // Creates a new Role.
    CreateRole(context.Context, *CreateRoleRequest) (*Role, error)
    // Updates a Role definition.
    UpdateRole(context.Context, *UpdateRoleRequest) (*Role, error)
    // Soft deletes a role. The role is suspended and cannot be used to create new
    // IAM Policy Bindings.
    // The Role will not be included in `ListRoles()` unless `show_deleted` is set
    // in the `ListRolesRequest`. The Role contains the deleted boolean set.
    // Existing Bindings remains, but are inactive. The Role can be undeleted
    // within 7 days. After 7 days the Role is deleted and all Bindings associated
    // with the role are removed.
    DeleteRole(context.Context, *DeleteRoleRequest) (*Role, error)
    // Undelete a Role, bringing it back in its previous state.
    UndeleteRole(context.Context, *UndeleteRoleRequest) (*Role, error)
    // Lists the permissions testable on a resource.
    // A permission is testable if it can be tested for an identity on a resource.
    QueryTestablePermissions(context.Context, *QueryTestablePermissionsRequest) (*QueryTestablePermissionsResponse, error)
}

IAMServer is the server API for IAM service.

type ListRolesRequest Uses

type ListRolesRequest struct {

    // The `parent` parameter's value depends on the target resource for the
    // request, namely
    // [`roles`](/iam/reference/rest/v1/roles),
    // [`projects`](/iam/reference/rest/v1/projects.roles), or
    // [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
    // resource type's `parent` value format is described below:
    //
    // * [`roles.list()`](/iam/reference/rest/v1/roles/list): An empty string.
    //   This method doesn't require a resource; it simply returns all
    //   [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
    //   Cloud IAM. Example request URL:
    //   `https://iam.googleapis.com/v1/roles`
    //
    // * [`projects.roles.list()`](/iam/reference/rest/v1/projects.roles/list):
    //   `projects/{PROJECT_ID}`. This method lists all project-level
    //   [custom roles](/iam/docs/understanding-custom-roles).
    //   Example request URL:
    //   `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles`
    //
    // * [`organizations.roles.list()`](/iam/reference/rest/v1/organizations.roles/list):
    //   `organizations/{ORGANIZATION_ID}`. This method lists all
    //   organization-level [custom roles](/iam/docs/understanding-custom-roles).
    //   Example request URL:
    //   `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles`
    //
    // Note: Wildcard (*) values are invalid; you must specify a complete project
    // ID or organization ID.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional limit on the number of roles to include in the response.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional pagination token returned in an earlier ListRolesResponse.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Optional view for the returned Role objects. When `FULL` is specified,
    // the `includedPermissions` field is returned, which includes a list of all
    // permissions in the role. The default value is `BASIC`, which does not
    // return the `includedPermissions` field.
    View RoleView `protobuf:"varint,4,opt,name=view,proto3,enum=google.iam.admin.v1.RoleView" json:"view,omitempty"`
    // Include Roles that have been deleted.
    ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
    // contains filtered or unexported fields
}

The request to get all roles defined under a resource.

func (*ListRolesRequest) Descriptor Uses

func (*ListRolesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetPageSize Uses

func (x *ListRolesRequest) GetPageSize() int32

func (*ListRolesRequest) GetPageToken Uses

func (x *ListRolesRequest) GetPageToken() string

func (*ListRolesRequest) GetParent Uses

func (x *ListRolesRequest) GetParent() string

func (*ListRolesRequest) GetShowDeleted Uses

func (x *ListRolesRequest) GetShowDeleted() bool

func (*ListRolesRequest) GetView Uses

func (x *ListRolesRequest) GetView() RoleView

func (*ListRolesRequest) ProtoMessage Uses

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect Uses

func (x *ListRolesRequest) ProtoReflect() protoreflect.Message

func (*ListRolesRequest) Reset Uses

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String Uses

func (x *ListRolesRequest) String() string

type ListRolesResponse Uses

type ListRolesResponse struct {

    // The Roles defined on this resource.
    Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
    // To retrieve the next page of results, set
    // `ListRolesRequest.page_token` to this value.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

The response containing the roles defined under a resource.

func (*ListRolesResponse) Descriptor Uses

func (*ListRolesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetNextPageToken Uses

func (x *ListRolesResponse) GetNextPageToken() string

func (*ListRolesResponse) GetRoles Uses

func (x *ListRolesResponse) GetRoles() []*Role

func (*ListRolesResponse) ProtoMessage Uses

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect Uses

func (x *ListRolesResponse) ProtoReflect() protoreflect.Message

func (*ListRolesResponse) Reset Uses

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) String Uses

func (x *ListRolesResponse) String() string

type ListServiceAccountKeysRequest Uses

type ListServiceAccountKeysRequest struct {

    // Required. The resource name of the service account in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    //
    // Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Filters the types of keys the user wants to include in the list
    // response. Duplicate key types are not allowed. If no key type
    // is provided, all keys are returned.
    KeyTypes []ListServiceAccountKeysRequest_KeyType `protobuf:"varint,2,rep,packed,name=key_types,json=keyTypes,proto3,enum=google.iam.admin.v1.ListServiceAccountKeysRequest_KeyType" json:"key_types,omitempty"`
    // contains filtered or unexported fields
}

The service account keys list request.

func (*ListServiceAccountKeysRequest) Descriptor Uses

func (*ListServiceAccountKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountKeysRequest.ProtoReflect.Descriptor instead.

func (*ListServiceAccountKeysRequest) GetKeyTypes Uses

func (x *ListServiceAccountKeysRequest) GetKeyTypes() []ListServiceAccountKeysRequest_KeyType

func (*ListServiceAccountKeysRequest) GetName Uses

func (x *ListServiceAccountKeysRequest) GetName() string

func (*ListServiceAccountKeysRequest) ProtoMessage Uses

func (*ListServiceAccountKeysRequest) ProtoMessage()

func (*ListServiceAccountKeysRequest) ProtoReflect Uses

func (x *ListServiceAccountKeysRequest) ProtoReflect() protoreflect.Message

func (*ListServiceAccountKeysRequest) Reset Uses

func (x *ListServiceAccountKeysRequest) Reset()

func (*ListServiceAccountKeysRequest) String Uses

func (x *ListServiceAccountKeysRequest) String() string

type ListServiceAccountKeysRequest_KeyType Uses

type ListServiceAccountKeysRequest_KeyType int32

`KeyType` filters to selectively retrieve certain varieties of keys.

const (
    // Unspecified key type. The presence of this in the
    // message will immediately result in an error.
    ListServiceAccountKeysRequest_KEY_TYPE_UNSPECIFIED ListServiceAccountKeysRequest_KeyType = 0
    // User-managed keys (managed and rotated by the user).
    ListServiceAccountKeysRequest_USER_MANAGED ListServiceAccountKeysRequest_KeyType = 1
    // System-managed keys (managed and rotated by Google).
    ListServiceAccountKeysRequest_SYSTEM_MANAGED ListServiceAccountKeysRequest_KeyType = 2
)

func (ListServiceAccountKeysRequest_KeyType) Descriptor Uses

func (ListServiceAccountKeysRequest_KeyType) Descriptor() protoreflect.EnumDescriptor

func (ListServiceAccountKeysRequest_KeyType) Enum Uses

func (x ListServiceAccountKeysRequest_KeyType) Enum() *ListServiceAccountKeysRequest_KeyType

func (ListServiceAccountKeysRequest_KeyType) EnumDescriptor Uses

func (ListServiceAccountKeysRequest_KeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountKeysRequest_KeyType.Descriptor instead.

func (ListServiceAccountKeysRequest_KeyType) Number Uses

func (x ListServiceAccountKeysRequest_KeyType) Number() protoreflect.EnumNumber

func (ListServiceAccountKeysRequest_KeyType) String Uses

func (x ListServiceAccountKeysRequest_KeyType) String() string

func (ListServiceAccountKeysRequest_KeyType) Type Uses

func (ListServiceAccountKeysRequest_KeyType) Type() protoreflect.EnumType

type ListServiceAccountKeysResponse Uses

type ListServiceAccountKeysResponse struct {

    // The public keys for the service account.
    Keys []*ServiceAccountKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
    // contains filtered or unexported fields
}

The service account keys list response.

func (*ListServiceAccountKeysResponse) Descriptor Uses

func (*ListServiceAccountKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountKeysResponse.ProtoReflect.Descriptor instead.

func (*ListServiceAccountKeysResponse) GetKeys Uses

func (x *ListServiceAccountKeysResponse) GetKeys() []*ServiceAccountKey

func (*ListServiceAccountKeysResponse) ProtoMessage Uses

func (*ListServiceAccountKeysResponse) ProtoMessage()

func (*ListServiceAccountKeysResponse) ProtoReflect Uses

func (x *ListServiceAccountKeysResponse) ProtoReflect() protoreflect.Message

func (*ListServiceAccountKeysResponse) Reset Uses

func (x *ListServiceAccountKeysResponse) Reset()

func (*ListServiceAccountKeysResponse) String Uses

func (x *ListServiceAccountKeysResponse) String() string

type ListServiceAccountsRequest Uses

type ListServiceAccountsRequest struct {

    // Required. The resource name of the project associated with the service
    // accounts, such as `projects/my-project-123`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional limit on the number of service accounts to include in the
    // response. Further accounts can subsequently be obtained by including the
    // [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token]
    // in a subsequent request.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional pagination token returned in an earlier
    // [ListServiceAccountsResponse.next_page_token][google.iam.admin.v1.ListServiceAccountsResponse.next_page_token].
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

The service account list request.

func (*ListServiceAccountsRequest) Descriptor Uses

func (*ListServiceAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListServiceAccountsRequest) GetName Uses

func (x *ListServiceAccountsRequest) GetName() string

func (*ListServiceAccountsRequest) GetPageSize Uses

func (x *ListServiceAccountsRequest) GetPageSize() int32

func (*ListServiceAccountsRequest) GetPageToken Uses

func (x *ListServiceAccountsRequest) GetPageToken() string

func (*ListServiceAccountsRequest) ProtoMessage Uses

func (*ListServiceAccountsRequest) ProtoMessage()

func (*ListServiceAccountsRequest) ProtoReflect Uses

func (x *ListServiceAccountsRequest) ProtoReflect() protoreflect.Message

func (*ListServiceAccountsRequest) Reset Uses

func (x *ListServiceAccountsRequest) Reset()

func (*ListServiceAccountsRequest) String Uses

func (x *ListServiceAccountsRequest) String() string

type ListServiceAccountsResponse Uses

type ListServiceAccountsResponse struct {

    // The list of matching service accounts.
    Accounts []*ServiceAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
    // To retrieve the next page of results, set
    // [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token]
    // to this value.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

The service account list response.

func (*ListServiceAccountsResponse) Descriptor Uses

func (*ListServiceAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServiceAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListServiceAccountsResponse) GetAccounts Uses

func (x *ListServiceAccountsResponse) GetAccounts() []*ServiceAccount

func (*ListServiceAccountsResponse) GetNextPageToken Uses

func (x *ListServiceAccountsResponse) GetNextPageToken() string

func (*ListServiceAccountsResponse) ProtoMessage Uses

func (*ListServiceAccountsResponse) ProtoMessage()

func (*ListServiceAccountsResponse) ProtoReflect Uses

func (x *ListServiceAccountsResponse) ProtoReflect() protoreflect.Message

func (*ListServiceAccountsResponse) Reset Uses

func (x *ListServiceAccountsResponse) Reset()

func (*ListServiceAccountsResponse) String Uses

func (x *ListServiceAccountsResponse) String() string

type Permission Uses

type Permission struct {

    // The name of this Permission.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The title of this Permission.
    Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
    // A brief description of what this Permission is used for.
    // This permission can ONLY be used in predefined roles.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // This permission can ONLY be used in predefined roles.
    OnlyInPredefinedRoles bool `protobuf:"varint,4,opt,name=only_in_predefined_roles,json=onlyInPredefinedRoles,proto3" json:"only_in_predefined_roles,omitempty"`
    // The current launch stage of the permission.
    Stage Permission_PermissionLaunchStage `protobuf:"varint,5,opt,name=stage,proto3,enum=google.iam.admin.v1.Permission_PermissionLaunchStage" json:"stage,omitempty"`
    // The current custom role support level.
    CustomRolesSupportLevel Permission_CustomRolesSupportLevel `protobuf:"varint,6,opt,name=custom_roles_support_level,json=customRolesSupportLevel,proto3,enum=google.iam.admin.v1.Permission_CustomRolesSupportLevel" json:"custom_roles_support_level,omitempty"`
    // contains filtered or unexported fields
}

A permission which can be included by a role.

func (*Permission) Descriptor Uses

func (*Permission) Descriptor() ([]byte, []int)

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetCustomRolesSupportLevel Uses

func (x *Permission) GetCustomRolesSupportLevel() Permission_CustomRolesSupportLevel

func (*Permission) GetDescription Uses

func (x *Permission) GetDescription() string

func (*Permission) GetName Uses

func (x *Permission) GetName() string

func (*Permission) GetOnlyInPredefinedRoles Uses

func (x *Permission) GetOnlyInPredefinedRoles() bool

func (*Permission) GetStage Uses

func (x *Permission) GetStage() Permission_PermissionLaunchStage

func (*Permission) GetTitle Uses

func (x *Permission) GetTitle() string

func (*Permission) ProtoMessage Uses

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect Uses

func (x *Permission) ProtoReflect() protoreflect.Message

func (*Permission) Reset Uses

func (x *Permission) Reset()

func (*Permission) String Uses

func (x *Permission) String() string

type Permission_CustomRolesSupportLevel Uses

type Permission_CustomRolesSupportLevel int32

The state of the permission with regards to custom roles.

const (
    // Permission is fully supported for custom role use.
    Permission_SUPPORTED Permission_CustomRolesSupportLevel = 0
    // Permission is being tested to check custom role compatibility.
    Permission_TESTING Permission_CustomRolesSupportLevel = 1
    // Permission is not supported for custom role use.
    Permission_NOT_SUPPORTED Permission_CustomRolesSupportLevel = 2
)

func (Permission_CustomRolesSupportLevel) Descriptor Uses

func (Permission_CustomRolesSupportLevel) Descriptor() protoreflect.EnumDescriptor

func (Permission_CustomRolesSupportLevel) Enum Uses

func (x Permission_CustomRolesSupportLevel) Enum() *Permission_CustomRolesSupportLevel

func (Permission_CustomRolesSupportLevel) EnumDescriptor Uses

func (Permission_CustomRolesSupportLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use Permission_CustomRolesSupportLevel.Descriptor instead.

func (Permission_CustomRolesSupportLevel) Number Uses

func (x Permission_CustomRolesSupportLevel) Number() protoreflect.EnumNumber

func (Permission_CustomRolesSupportLevel) String Uses

func (x Permission_CustomRolesSupportLevel) String() string

func (Permission_CustomRolesSupportLevel) Type Uses

func (Permission_CustomRolesSupportLevel) Type() protoreflect.EnumType

type Permission_PermissionLaunchStage Uses

type Permission_PermissionLaunchStage int32

A stage representing a permission's lifecycle phase.

const (
    // The permission is currently in an alpha phase.
    Permission_ALPHA Permission_PermissionLaunchStage = 0
    // The permission is currently in a beta phase.
    Permission_BETA Permission_PermissionLaunchStage = 1
    // The permission is generally available.
    Permission_GA Permission_PermissionLaunchStage = 2
    // The permission is being deprecated.
    Permission_DEPRECATED Permission_PermissionLaunchStage = 3
)

func (Permission_PermissionLaunchStage) Descriptor Uses

func (Permission_PermissionLaunchStage) Descriptor() protoreflect.EnumDescriptor

func (Permission_PermissionLaunchStage) Enum Uses

func (x Permission_PermissionLaunchStage) Enum() *Permission_PermissionLaunchStage

func (Permission_PermissionLaunchStage) EnumDescriptor Uses

func (Permission_PermissionLaunchStage) EnumDescriptor() ([]byte, []int)

Deprecated: Use Permission_PermissionLaunchStage.Descriptor instead.

func (Permission_PermissionLaunchStage) Number Uses

func (x Permission_PermissionLaunchStage) Number() protoreflect.EnumNumber

func (Permission_PermissionLaunchStage) String Uses

func (x Permission_PermissionLaunchStage) String() string

func (Permission_PermissionLaunchStage) Type Uses

func (Permission_PermissionLaunchStage) Type() protoreflect.EnumType

type QueryGrantableRolesRequest Uses

type QueryGrantableRolesRequest struct {

    // Required. The full resource name to query from the list of grantable roles.
    //
    // The name follows the Google Cloud Platform resource format.
    // For example, a Cloud Platform project with id `my-project` will be named
    // `//cloudresourcemanager.googleapis.com/projects/my-project`.
    FullResourceName string   `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"`
    View             RoleView `protobuf:"varint,2,opt,name=view,proto3,enum=google.iam.admin.v1.RoleView" json:"view,omitempty"`
    // Optional limit on the number of roles to include in the response.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional pagination token returned in an earlier
    // QueryGrantableRolesResponse.
    PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

The grantable role query request.

func (*QueryGrantableRolesRequest) Descriptor Uses

func (*QueryGrantableRolesRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryGrantableRolesRequest.ProtoReflect.Descriptor instead.

func (*QueryGrantableRolesRequest) GetFullResourceName Uses

func (x *QueryGrantableRolesRequest) GetFullResourceName() string

func (*QueryGrantableRolesRequest) GetPageSize Uses

func (x *QueryGrantableRolesRequest) GetPageSize() int32

func (*QueryGrantableRolesRequest) GetPageToken Uses

func (x *QueryGrantableRolesRequest) GetPageToken() string

func (*QueryGrantableRolesRequest) GetView Uses

func (x *QueryGrantableRolesRequest) GetView() RoleView

func (*QueryGrantableRolesRequest) ProtoMessage Uses

func (*QueryGrantableRolesRequest) ProtoMessage()

func (*QueryGrantableRolesRequest) ProtoReflect Uses

func (x *QueryGrantableRolesRequest) ProtoReflect() protoreflect.Message

func (*QueryGrantableRolesRequest) Reset Uses

func (x *QueryGrantableRolesRequest) Reset()

func (*QueryGrantableRolesRequest) String Uses

func (x *QueryGrantableRolesRequest) String() string

type QueryGrantableRolesResponse Uses

type QueryGrantableRolesResponse struct {

    // The list of matching roles.
    Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
    // To retrieve the next page of results, set
    // `QueryGrantableRolesRequest.page_token` to this value.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

The grantable role query response.

func (*QueryGrantableRolesResponse) Descriptor Uses

func (*QueryGrantableRolesResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryGrantableRolesResponse.ProtoReflect.Descriptor instead.

func (*QueryGrantableRolesResponse) GetNextPageToken Uses

func (x *QueryGrantableRolesResponse) GetNextPageToken() string

func (*QueryGrantableRolesResponse) GetRoles Uses

func (x *QueryGrantableRolesResponse) GetRoles() []*Role

func (*QueryGrantableRolesResponse) ProtoMessage Uses

func (*QueryGrantableRolesResponse) ProtoMessage()

func (*QueryGrantableRolesResponse) ProtoReflect Uses

func (x *QueryGrantableRolesResponse) ProtoReflect() protoreflect.Message

func (*QueryGrantableRolesResponse) Reset Uses

func (x *QueryGrantableRolesResponse) Reset()

func (*QueryGrantableRolesResponse) String Uses

func (x *QueryGrantableRolesResponse) String() string

type QueryTestablePermissionsRequest Uses

type QueryTestablePermissionsRequest struct {

    // Required. The full resource name to query from the list of testable
    // permissions.
    //
    // The name follows the Google Cloud Platform resource format.
    // For example, a Cloud Platform project with id `my-project` will be named
    // `//cloudresourcemanager.googleapis.com/projects/my-project`.
    FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"`
    // Optional limit on the number of permissions to include in the response.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Optional pagination token returned in an earlier
    // QueryTestablePermissionsRequest.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

A request to get permissions which can be tested on a resource.

func (*QueryTestablePermissionsRequest) Descriptor Uses

func (*QueryTestablePermissionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestablePermissionsRequest.ProtoReflect.Descriptor instead.

func (*QueryTestablePermissionsRequest) GetFullResourceName Uses

func (x *QueryTestablePermissionsRequest) GetFullResourceName() string

func (*QueryTestablePermissionsRequest) GetPageSize Uses

func (x *QueryTestablePermissionsRequest) GetPageSize() int32

func (*QueryTestablePermissionsRequest) GetPageToken Uses

func (x *QueryTestablePermissionsRequest) GetPageToken() string

func (*QueryTestablePermissionsRequest) ProtoMessage Uses

func (*QueryTestablePermissionsRequest) ProtoMessage()

func (*QueryTestablePermissionsRequest) ProtoReflect Uses

func (x *QueryTestablePermissionsRequest) ProtoReflect() protoreflect.Message

func (*QueryTestablePermissionsRequest) Reset Uses

func (x *QueryTestablePermissionsRequest) Reset()

func (*QueryTestablePermissionsRequest) String Uses

func (x *QueryTestablePermissionsRequest) String() string

type QueryTestablePermissionsResponse Uses

type QueryTestablePermissionsResponse struct {

    // The Permissions testable on the requested resource.
    Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
    // To retrieve the next page of results, set
    // `QueryTestableRolesRequest.page_token` to this value.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

The response containing permissions which can be tested on a resource.

func (*QueryTestablePermissionsResponse) Descriptor Uses

func (*QueryTestablePermissionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTestablePermissionsResponse.ProtoReflect.Descriptor instead.

func (*QueryTestablePermissionsResponse) GetNextPageToken Uses

func (x *QueryTestablePermissionsResponse) GetNextPageToken() string

func (*QueryTestablePermissionsResponse) GetPermissions Uses

func (x *QueryTestablePermissionsResponse) GetPermissions() []*Permission

func (*QueryTestablePermissionsResponse) ProtoMessage Uses

func (*QueryTestablePermissionsResponse) ProtoMessage()

func (*QueryTestablePermissionsResponse) ProtoReflect Uses

func (x *QueryTestablePermissionsResponse) ProtoReflect() protoreflect.Message

func (*QueryTestablePermissionsResponse) Reset Uses

func (x *QueryTestablePermissionsResponse) Reset()

func (*QueryTestablePermissionsResponse) String Uses

func (x *QueryTestablePermissionsResponse) String() string

type Role Uses

type Role struct {

    // The name of the role.
    //
    // When Role is used in CreateRole, the role name must not be set.
    //
    // When Role is used in output and other input such as UpdateRole, the role
    // name is the complete path, e.g., roles/logging.viewer for predefined roles
    // and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. A human-readable title for the role.  Typically this
    // is limited to 100 UTF-8 bytes.
    Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
    // Optional. A human-readable description for the role.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // The names of the permissions this role grants when bound in an IAM policy.
    IncludedPermissions []string `protobuf:"bytes,7,rep,name=included_permissions,json=includedPermissions,proto3" json:"included_permissions,omitempty"`
    // The current launch stage of the role. If the `ALPHA` launch stage has been
    // selected for a role, the `stage` field will not be included in the
    // returned definition for the role.
    Stage Role_RoleLaunchStage `protobuf:"varint,8,opt,name=stage,proto3,enum=google.iam.admin.v1.Role_RoleLaunchStage" json:"stage,omitempty"`
    // Used to perform a consistent read-modify-write.
    Etag []byte `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
    // The current deleted state of the role. This field is read only.
    // It will be ignored in calls to CreateRole and UpdateRole.
    Deleted bool `protobuf:"varint,11,opt,name=deleted,proto3" json:"deleted,omitempty"`
    // contains filtered or unexported fields
}

A role in the Identity and Access Management API.

func (*Role) Descriptor Uses

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetDeleted Uses

func (x *Role) GetDeleted() bool

func (*Role) GetDescription Uses

func (x *Role) GetDescription() string

func (*Role) GetEtag Uses

func (x *Role) GetEtag() []byte

func (*Role) GetIncludedPermissions Uses

func (x *Role) GetIncludedPermissions() []string

func (*Role) GetName Uses

func (x *Role) GetName() string

func (*Role) GetStage Uses

func (x *Role) GetStage() Role_RoleLaunchStage

func (*Role) GetTitle Uses

func (x *Role) GetTitle() string

func (*Role) ProtoMessage Uses

func (*Role) ProtoMessage()

func (*Role) ProtoReflect Uses

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset Uses

func (x *Role) Reset()

func (*Role) String Uses

func (x *Role) String() string

type RoleView Uses

type RoleView int32

A view for Role objects.

const (
    // Omits the `included_permissions` field.
    // This is the default value.
    RoleView_BASIC RoleView = 0
    // Returns all fields.
    RoleView_FULL RoleView = 1
)

func (RoleView) Descriptor Uses

func (RoleView) Descriptor() protoreflect.EnumDescriptor

func (RoleView) Enum Uses

func (x RoleView) Enum() *RoleView

func (RoleView) EnumDescriptor Uses

func (RoleView) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoleView.Descriptor instead.

func (RoleView) Number Uses

func (x RoleView) Number() protoreflect.EnumNumber

func (RoleView) String Uses

func (x RoleView) String() string

func (RoleView) Type Uses

func (RoleView) Type() protoreflect.EnumType

type Role_RoleLaunchStage Uses

type Role_RoleLaunchStage int32

A stage representing a role's lifecycle phase.

const (
    // The user has indicated this role is currently in an Alpha phase. If this
    // launch stage is selected, the `stage` field will not be included when
    // requesting the definition for a given role.
    Role_ALPHA Role_RoleLaunchStage = 0
    // The user has indicated this role is currently in a Beta phase.
    Role_BETA Role_RoleLaunchStage = 1
    // The user has indicated this role is generally available.
    Role_GA Role_RoleLaunchStage = 2
    // The user has indicated this role is being deprecated.
    Role_DEPRECATED Role_RoleLaunchStage = 4
    // This role is disabled and will not contribute permissions to any members
    // it is granted to in policies.
    Role_DISABLED Role_RoleLaunchStage = 5
    // The user has indicated this role is currently in an EAP phase.
    Role_EAP Role_RoleLaunchStage = 6
)

func (Role_RoleLaunchStage) Descriptor Uses

func (Role_RoleLaunchStage) Descriptor() protoreflect.EnumDescriptor

func (Role_RoleLaunchStage) Enum Uses

func (x Role_RoleLaunchStage) Enum() *Role_RoleLaunchStage

func (Role_RoleLaunchStage) EnumDescriptor Uses

func (Role_RoleLaunchStage) EnumDescriptor() ([]byte, []int)

Deprecated: Use Role_RoleLaunchStage.Descriptor instead.

func (Role_RoleLaunchStage) Number Uses

func (x Role_RoleLaunchStage) Number() protoreflect.EnumNumber

func (Role_RoleLaunchStage) String Uses

func (x Role_RoleLaunchStage) String() string

func (Role_RoleLaunchStage) Type Uses

func (Role_RoleLaunchStage) Type() protoreflect.EnumType

type ServiceAccount Uses

type ServiceAccount struct {

    // The resource name of the service account in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    //
    // Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
    // project from the `account` and the `ACCOUNT` value can be the `email`
    // address or the `unique_id` of the service account.
    //
    // In responses the resource name will always be in the format
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // @OutputOnly The id of the project that owns the service account.
    ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    // @OutputOnly The unique and stable id of the service account.
    UniqueId string `protobuf:"bytes,4,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
    // @OutputOnly The email address of the service account.
    Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
    // Optional. A user-specified name for the service account.
    // Must be less than or equal to 100 UTF-8 bytes.
    DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Optional. Note: `etag` is an inoperable legacy field that is only returned
    // for backwards compatibility.
    Etag []byte `protobuf:"bytes,7,opt,name=etag,proto3" json:"etag,omitempty"`
    // @OutputOnly. The OAuth2 client id for the service account.
    // This is used in conjunction with the OAuth2 clientconfig API to make
    // three legged OAuth2 (3LO) flows to access the data of Google users.
    Oauth2ClientId string `protobuf:"bytes,9,opt,name=oauth2_client_id,json=oauth2ClientId,proto3" json:"oauth2_client_id,omitempty"`
    // contains filtered or unexported fields
}

A service account in the Identity and Access Management API.

To create a service account, specify the `project_id` and the `account_id` for the account. The `account_id` is unique within the project, and is used to generate the service account email address and a stable `unique_id`.

If the account already exists, the account's resource name is returned in the format of projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. The caller can use the name in other methods to access the account.

All other methods can identify the service account using the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.

func (*ServiceAccount) Descriptor Uses

func (*ServiceAccount) Descriptor() ([]byte, []int)

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetDisplayName Uses

func (x *ServiceAccount) GetDisplayName() string

func (*ServiceAccount) GetEmail Uses

func (x *ServiceAccount) GetEmail() string

func (*ServiceAccount) GetEtag Uses

func (x *ServiceAccount) GetEtag() []byte

func (*ServiceAccount) GetName Uses

func (x *ServiceAccount) GetName() string

func (*ServiceAccount) GetOauth2ClientId Uses

func (x *ServiceAccount) GetOauth2ClientId() string

func (*ServiceAccount) GetProjectId Uses

func (x *ServiceAccount) GetProjectId() string

func (*ServiceAccount) GetUniqueId Uses

func (x *ServiceAccount) GetUniqueId() string

func (*ServiceAccount) ProtoMessage Uses

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect Uses

func (x *ServiceAccount) ProtoReflect() protoreflect.Message

func (*ServiceAccount) Reset Uses

func (x *ServiceAccount) Reset()

func (*ServiceAccount) String Uses

func (x *ServiceAccount) String() string

type ServiceAccountKey Uses

type ServiceAccountKey struct {

    // The resource name of the service account key in the following format
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The output format for the private key.
    // Only provided in `CreateServiceAccountKey` responses, not
    // in `GetServiceAccountKey` or `ListServiceAccountKey` responses.
    //
    // Google never exposes system-managed private keys, and never retains
    // user-managed private keys.
    PrivateKeyType ServiceAccountPrivateKeyType `protobuf:"varint,2,opt,name=private_key_type,json=privateKeyType,proto3,enum=google.iam.admin.v1.ServiceAccountPrivateKeyType" json:"private_key_type,omitempty"`
    // Specifies the algorithm (and possibly key size) for the key.
    KeyAlgorithm ServiceAccountKeyAlgorithm `protobuf:"varint,8,opt,name=key_algorithm,json=keyAlgorithm,proto3,enum=google.iam.admin.v1.ServiceAccountKeyAlgorithm" json:"key_algorithm,omitempty"`
    // The private key data. Only provided in `CreateServiceAccountKey`
    // responses. Make sure to keep the private key data secure because it
    // allows for the assertion of the service account identity.
    // When base64 decoded, the private key data can be used to authenticate with
    // Google API client libraries and with
    // <a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud
    // auth activate-service-account</a>.
    PrivateKeyData []byte `protobuf:"bytes,3,opt,name=private_key_data,json=privateKeyData,proto3" json:"private_key_data,omitempty"`
    // The public key data. Only provided in `GetServiceAccountKey` responses.
    PublicKeyData []byte `protobuf:"bytes,7,opt,name=public_key_data,json=publicKeyData,proto3" json:"public_key_data,omitempty"`
    // The key can be used after this timestamp.
    ValidAfterTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=valid_after_time,json=validAfterTime,proto3" json:"valid_after_time,omitempty"`
    // The key can be used before this timestamp.
    // For system-managed key pairs, this timestamp is the end time for the
    // private key signing operation. The public key could still be used
    // for verification for a few hours after this time.
    ValidBeforeTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=valid_before_time,json=validBeforeTime,proto3" json:"valid_before_time,omitempty"`
    // contains filtered or unexported fields
}

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. We recommend caching the public key set for a service account for no more than 24 hours to ensure you have access to the latest keys.

Public keys for all service accounts are also published at the OAuth2 Service Account API.

func (*ServiceAccountKey) Descriptor Uses

func (*ServiceAccountKey) Descriptor() ([]byte, []int)

Deprecated: Use ServiceAccountKey.ProtoReflect.Descriptor instead.

func (*ServiceAccountKey) GetKeyAlgorithm Uses

func (x *ServiceAccountKey) GetKeyAlgorithm() ServiceAccountKeyAlgorithm

func (*ServiceAccountKey) GetName Uses

func (x *ServiceAccountKey) GetName() string

func (*ServiceAccountKey) GetPrivateKeyData Uses

func (x *ServiceAccountKey) GetPrivateKeyData() []byte

func (*ServiceAccountKey) GetPrivateKeyType Uses

func (x *ServiceAccountKey) GetPrivateKeyType() ServiceAccountPrivateKeyType

func (*ServiceAccountKey) GetPublicKeyData Uses

func (x *ServiceAccountKey) GetPublicKeyData() []byte

func (*ServiceAccountKey) GetValidAfterTime Uses

func (x *ServiceAccountKey) GetValidAfterTime() *timestamppb.Timestamp

func (*ServiceAccountKey) GetValidBeforeTime Uses

func (x *ServiceAccountKey) GetValidBeforeTime() *timestamppb.Timestamp

func (*ServiceAccountKey) ProtoMessage Uses

func (*ServiceAccountKey) ProtoMessage()

func (*ServiceAccountKey) ProtoReflect Uses

func (x *ServiceAccountKey) ProtoReflect() protoreflect.Message

func (*ServiceAccountKey) Reset Uses

func (x *ServiceAccountKey) Reset()

func (*ServiceAccountKey) String Uses

func (x *ServiceAccountKey) String() string

type ServiceAccountKeyAlgorithm Uses

type ServiceAccountKeyAlgorithm int32

Supported key algorithms.

const (
    // An unspecified key algorithm.
    ServiceAccountKeyAlgorithm_KEY_ALG_UNSPECIFIED ServiceAccountKeyAlgorithm = 0
    // 1k RSA Key.
    ServiceAccountKeyAlgorithm_KEY_ALG_RSA_1024 ServiceAccountKeyAlgorithm = 1
    // 2k RSA Key.
    ServiceAccountKeyAlgorithm_KEY_ALG_RSA_2048 ServiceAccountKeyAlgorithm = 2
)

func (ServiceAccountKeyAlgorithm) Descriptor Uses

func (ServiceAccountKeyAlgorithm) Descriptor() protoreflect.EnumDescriptor

func (ServiceAccountKeyAlgorithm) Enum Uses

func (x ServiceAccountKeyAlgorithm) Enum() *ServiceAccountKeyAlgorithm

func (ServiceAccountKeyAlgorithm) EnumDescriptor Uses

func (ServiceAccountKeyAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServiceAccountKeyAlgorithm.Descriptor instead.

func (ServiceAccountKeyAlgorithm) Number Uses

func (x ServiceAccountKeyAlgorithm) Number() protoreflect.EnumNumber

func (ServiceAccountKeyAlgorithm) String Uses

func (x ServiceAccountKeyAlgorithm) String() string

func (ServiceAccountKeyAlgorithm) Type Uses

func (ServiceAccountKeyAlgorithm) Type() protoreflect.EnumType

type ServiceAccountPrivateKeyType Uses

type ServiceAccountPrivateKeyType int32

Supported private key output formats.

const (
    // Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FILE`.
    ServiceAccountPrivateKeyType_TYPE_UNSPECIFIED ServiceAccountPrivateKeyType = 0
    // PKCS12 format.
    // The password for the PKCS12 file is `notasecret`.
    // For more information, see https://tools.ietf.org/html/rfc7292.
    ServiceAccountPrivateKeyType_TYPE_PKCS12_FILE ServiceAccountPrivateKeyType = 1
    // Google Credentials File format.
    ServiceAccountPrivateKeyType_TYPE_GOOGLE_CREDENTIALS_FILE ServiceAccountPrivateKeyType = 2
)

func (ServiceAccountPrivateKeyType) Descriptor Uses

func (ServiceAccountPrivateKeyType) Descriptor() protoreflect.EnumDescriptor

func (ServiceAccountPrivateKeyType) Enum Uses

func (x ServiceAccountPrivateKeyType) Enum() *ServiceAccountPrivateKeyType

func (ServiceAccountPrivateKeyType) EnumDescriptor Uses

func (ServiceAccountPrivateKeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServiceAccountPrivateKeyType.Descriptor instead.

func (ServiceAccountPrivateKeyType) Number Uses

func (x ServiceAccountPrivateKeyType) Number() protoreflect.EnumNumber

func (ServiceAccountPrivateKeyType) String Uses

func (x ServiceAccountPrivateKeyType) String() string

func (ServiceAccountPrivateKeyType) Type Uses

func (ServiceAccountPrivateKeyType) Type() protoreflect.EnumType

type ServiceAccountPublicKeyType Uses

type ServiceAccountPublicKeyType int32

Supported public key output formats.

const (
    // Unspecified. Returns nothing here.
    ServiceAccountPublicKeyType_TYPE_NONE ServiceAccountPublicKeyType = 0
    // X509 PEM format.
    ServiceAccountPublicKeyType_TYPE_X509_PEM_FILE ServiceAccountPublicKeyType = 1
    // Raw public key.
    ServiceAccountPublicKeyType_TYPE_RAW_PUBLIC_KEY ServiceAccountPublicKeyType = 2
)

func (ServiceAccountPublicKeyType) Descriptor Uses

func (ServiceAccountPublicKeyType) Descriptor() protoreflect.EnumDescriptor

func (ServiceAccountPublicKeyType) Enum Uses

func (x ServiceAccountPublicKeyType) Enum() *ServiceAccountPublicKeyType

func (ServiceAccountPublicKeyType) EnumDescriptor Uses

func (ServiceAccountPublicKeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServiceAccountPublicKeyType.Descriptor instead.

func (ServiceAccountPublicKeyType) Number Uses

func (x ServiceAccountPublicKeyType) Number() protoreflect.EnumNumber

func (ServiceAccountPublicKeyType) String Uses

func (x ServiceAccountPublicKeyType) String() string

func (ServiceAccountPublicKeyType) Type Uses

func (ServiceAccountPublicKeyType) Type() protoreflect.EnumType

type SignBlobRequest Uses

type SignBlobRequest struct {

    // Required. The resource name of the service account in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    // Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The bytes to sign.
    BytesToSign []byte `protobuf:"bytes,2,opt,name=bytes_to_sign,json=bytesToSign,proto3" json:"bytes_to_sign,omitempty"`
    // contains filtered or unexported fields
}

The service account sign blob request.

func (*SignBlobRequest) Descriptor Uses

func (*SignBlobRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignBlobRequest.ProtoReflect.Descriptor instead.

func (*SignBlobRequest) GetBytesToSign Uses

func (x *SignBlobRequest) GetBytesToSign() []byte

func (*SignBlobRequest) GetName Uses

func (x *SignBlobRequest) GetName() string

func (*SignBlobRequest) ProtoMessage Uses

func (*SignBlobRequest) ProtoMessage()

func (*SignBlobRequest) ProtoReflect Uses

func (x *SignBlobRequest) ProtoReflect() protoreflect.Message

func (*SignBlobRequest) Reset Uses

func (x *SignBlobRequest) Reset()

func (*SignBlobRequest) String Uses

func (x *SignBlobRequest) String() string

type SignBlobResponse Uses

type SignBlobResponse struct {

    // The id of the key used to sign the blob.
    KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
    // The signed blob.
    Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
    // contains filtered or unexported fields
}

The service account sign blob response.

func (*SignBlobResponse) Descriptor Uses

func (*SignBlobResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignBlobResponse.ProtoReflect.Descriptor instead.

func (*SignBlobResponse) GetKeyId Uses

func (x *SignBlobResponse) GetKeyId() string

func (*SignBlobResponse) GetSignature Uses

func (x *SignBlobResponse) GetSignature() []byte

func (*SignBlobResponse) ProtoMessage Uses

func (*SignBlobResponse) ProtoMessage()

func (*SignBlobResponse) ProtoReflect Uses

func (x *SignBlobResponse) ProtoReflect() protoreflect.Message

func (*SignBlobResponse) Reset Uses

func (x *SignBlobResponse) Reset()

func (*SignBlobResponse) String Uses

func (x *SignBlobResponse) String() string

type SignJwtRequest Uses

type SignJwtRequest struct {

    // Required. The resource name of the service account in the following format:
    // `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
    // Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
    // the account. The `ACCOUNT` value can be the `email` address or the
    // `unique_id` of the service account.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The JWT payload to sign, a JSON JWT Claim set.
    Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
    // contains filtered or unexported fields
}

The service account sign JWT request.

func (*SignJwtRequest) Descriptor Uses

func (*SignJwtRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignJwtRequest.ProtoReflect.Descriptor instead.

func (*SignJwtRequest) GetName Uses

func (x *SignJwtRequest) GetName() string

func (*SignJwtRequest) GetPayload Uses

func (x *SignJwtRequest) GetPayload() string

func (*SignJwtRequest) ProtoMessage Uses

func (*SignJwtRequest) ProtoMessage()

func (*SignJwtRequest) ProtoReflect Uses

func (x *SignJwtRequest) ProtoReflect() protoreflect.Message

func (*SignJwtRequest) Reset Uses

func (x *SignJwtRequest) Reset()

func (*SignJwtRequest) String Uses

func (x *SignJwtRequest) String() string

type SignJwtResponse Uses

type SignJwtResponse struct {

    // The id of the key used to sign the JWT.
    KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
    // The signed JWT.
    SignedJwt string `protobuf:"bytes,2,opt,name=signed_jwt,json=signedJwt,proto3" json:"signed_jwt,omitempty"`
    // contains filtered or unexported fields
}

The service account sign JWT response.

func (*SignJwtResponse) Descriptor Uses

func (*SignJwtResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignJwtResponse.ProtoReflect.Descriptor instead.

func (*SignJwtResponse) GetKeyId Uses

func (x *SignJwtResponse) GetKeyId() string

func (*SignJwtResponse) GetSignedJwt Uses

func (x *SignJwtResponse) GetSignedJwt() string

func (*SignJwtResponse) ProtoMessage Uses

func (*SignJwtResponse) ProtoMessage()

func (*SignJwtResponse) ProtoReflect Uses

func (x *SignJwtResponse) ProtoReflect() protoreflect.Message

func (*SignJwtResponse) Reset Uses

func (x *SignJwtResponse) Reset()

func (*SignJwtResponse) String Uses

func (x *SignJwtResponse) String() string

type UndeleteRoleRequest Uses

type UndeleteRoleRequest struct {

    // The `name` parameter's value depends on the target resource for the
    // request, namely
    // [`projects`](/iam/reference/rest/v1/projects.roles) or
    // [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
    // resource type's `name` value format is described below:
    //
    // * [`projects.roles.undelete()`](/iam/reference/rest/v1/projects.roles/undelete):
    //   `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes
    //   only [custom roles](/iam/docs/understanding-custom-roles) that have been
    //   created at the project level. Example request URL:
    //   `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // * [`organizations.roles.undelete()`](/iam/reference/rest/v1/organizations.roles/undelete):
    //   `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
    //   undeletes only [custom roles](/iam/docs/understanding-custom-roles) that
    //   have been created at the organization level. Example request URL:
    //   `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // Note: Wildcard (*) values are invalid; you must specify a complete project
    // ID or organization ID.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Used to perform a consistent read-modify-write.
    Etag []byte `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // contains filtered or unexported fields
}

The request to undelete an existing role.

func (*UndeleteRoleRequest) Descriptor Uses

func (*UndeleteRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UndeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*UndeleteRoleRequest) GetEtag Uses

func (x *UndeleteRoleRequest) GetEtag() []byte

func (*UndeleteRoleRequest) GetName Uses

func (x *UndeleteRoleRequest) GetName() string

func (*UndeleteRoleRequest) ProtoMessage Uses

func (*UndeleteRoleRequest) ProtoMessage()

func (*UndeleteRoleRequest) ProtoReflect Uses

func (x *UndeleteRoleRequest) ProtoReflect() protoreflect.Message

func (*UndeleteRoleRequest) Reset Uses

func (x *UndeleteRoleRequest) Reset()

func (*UndeleteRoleRequest) String Uses

func (x *UndeleteRoleRequest) String() string

type UnimplementedIAMServer Uses

type UnimplementedIAMServer struct {
}

UnimplementedIAMServer can be embedded to have forward compatible implementations.

func (*UnimplementedIAMServer) CreateRole Uses

func (*UnimplementedIAMServer) CreateRole(context.Context, *CreateRoleRequest) (*Role, error)

func (*UnimplementedIAMServer) CreateServiceAccount Uses

func (*UnimplementedIAMServer) CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*ServiceAccount, error)

func (*UnimplementedIAMServer) CreateServiceAccountKey Uses

func (*UnimplementedIAMServer) CreateServiceAccountKey(context.Context, *CreateServiceAccountKeyRequest) (*ServiceAccountKey, error)

func (*UnimplementedIAMServer) DeleteRole Uses

func (*UnimplementedIAMServer) DeleteRole(context.Context, *DeleteRoleRequest) (*Role, error)

func (*UnimplementedIAMServer) DeleteServiceAccount Uses

func (*UnimplementedIAMServer) DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*emptypb.Empty, error)

func (*UnimplementedIAMServer) DeleteServiceAccountKey Uses

func (*UnimplementedIAMServer) DeleteServiceAccountKey(context.Context, *DeleteServiceAccountKeyRequest) (*emptypb.Empty, error)

func (*UnimplementedIAMServer) GetIamPolicy Uses

func (*UnimplementedIAMServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedIAMServer) GetRole Uses

func (*UnimplementedIAMServer) GetRole(context.Context, *GetRoleRequest) (*Role, error)

func (*UnimplementedIAMServer) GetServiceAccount Uses

func (*UnimplementedIAMServer) GetServiceAccount(context.Context, *GetServiceAccountRequest) (*ServiceAccount, error)

func (*UnimplementedIAMServer) GetServiceAccountKey Uses

func (*UnimplementedIAMServer) GetServiceAccountKey(context.Context, *GetServiceAccountKeyRequest) (*ServiceAccountKey, error)

func (*UnimplementedIAMServer) ListRoles Uses

func (*UnimplementedIAMServer) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)

func (*UnimplementedIAMServer) ListServiceAccountKeys Uses

func (*UnimplementedIAMServer) ListServiceAccountKeys(context.Context, *ListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)

func (*UnimplementedIAMServer) ListServiceAccounts Uses

func (*UnimplementedIAMServer) ListServiceAccounts(context.Context, *ListServiceAccountsRequest) (*ListServiceAccountsResponse, error)

func (*UnimplementedIAMServer) QueryGrantableRoles Uses

func (*UnimplementedIAMServer) QueryGrantableRoles(context.Context, *QueryGrantableRolesRequest) (*QueryGrantableRolesResponse, error)

func (*UnimplementedIAMServer) QueryTestablePermissions Uses

func (*UnimplementedIAMServer) QueryTestablePermissions(context.Context, *QueryTestablePermissionsRequest) (*QueryTestablePermissionsResponse, error)

func (*UnimplementedIAMServer) SetIamPolicy Uses

func (*UnimplementedIAMServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedIAMServer) SignBlob Uses

func (*UnimplementedIAMServer) SignBlob(context.Context, *SignBlobRequest) (*SignBlobResponse, error)

func (*UnimplementedIAMServer) SignJwt Uses

func (*UnimplementedIAMServer) SignJwt(context.Context, *SignJwtRequest) (*SignJwtResponse, error)

func (*UnimplementedIAMServer) TestIamPermissions Uses

func (*UnimplementedIAMServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

func (*UnimplementedIAMServer) UndeleteRole Uses

func (*UnimplementedIAMServer) UndeleteRole(context.Context, *UndeleteRoleRequest) (*Role, error)

func (*UnimplementedIAMServer) UpdateRole Uses

func (*UnimplementedIAMServer) UpdateRole(context.Context, *UpdateRoleRequest) (*Role, error)

func (*UnimplementedIAMServer) UpdateServiceAccount Uses

func (*UnimplementedIAMServer) UpdateServiceAccount(context.Context, *ServiceAccount) (*ServiceAccount, error)

type UpdateRoleRequest Uses

type UpdateRoleRequest struct {

    // The `name` parameter's value depends on the target resource for the
    // request, namely
    // [`projects`](/iam/reference/rest/v1/projects.roles) or
    // [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
    // resource type's `name` value format is described below:
    //
    // * [`projects.roles.patch()`](/iam/reference/rest/v1/projects.roles/patch):
    //   `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only
    //   [custom roles](/iam/docs/understanding-custom-roles) that have been
    //   created at the project level. Example request URL:
    //   `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // * [`organizations.roles.patch()`](/iam/reference/rest/v1/organizations.roles/patch):
    //   `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method
    //   updates only [custom roles](/iam/docs/understanding-custom-roles) that
    //   have been created at the organization level. Example request URL:
    //   `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`
    //
    // Note: Wildcard (*) values are invalid; you must specify a complete project
    // ID or organization ID.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The updated role.
    Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
    // A mask describing which fields in the Role have changed.
    UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

The request to update a role.

func (*UpdateRoleRequest) Descriptor Uses

func (*UpdateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetName Uses

func (x *UpdateRoleRequest) GetName() string

func (*UpdateRoleRequest) GetRole Uses

func (x *UpdateRoleRequest) GetRole() *Role

func (*UpdateRoleRequest) GetUpdateMask Uses

func (x *UpdateRoleRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateRoleRequest) ProtoMessage Uses

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect Uses

func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message

func (*UpdateRoleRequest) Reset Uses

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String Uses

func (x *UpdateRoleRequest) String() string

Package admin imports 14 packages (graph) and is imported by 10 packages. Updated 2020-09-04. Refresh now. Tools for package owners.