Versions in this module Expand all Collapse all v0 v0.59.3 Jun 29, 2020 Changes in this version + func DefaultAuthScopes() []string + type CallOptions struct + AccessSecretVersion []gax.CallOption + AddSecretVersion []gax.CallOption + CreateSecret []gax.CallOption + DeleteSecret []gax.CallOption + DestroySecretVersion []gax.CallOption + DisableSecretVersion []gax.CallOption + EnableSecretVersion []gax.CallOption + GetIamPolicy []gax.CallOption + GetSecret []gax.CallOption + GetSecretVersion []gax.CallOption + ListSecretVersions []gax.CallOption + ListSecrets []gax.CallOption + SetIamPolicy []gax.CallOption + TestIamPermissions []gax.CallOption + UpdateSecret []gax.CallOption + type Client struct + CallOptions *CallOptions + func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) + func (c *Client) AccessSecretVersion(ctx context.Context, req *secretmanagerpb.AccessSecretVersionRequest, ...) (*secretmanagerpb.AccessSecretVersionResponse, error) + func (c *Client) AddSecretVersion(ctx context.Context, req *secretmanagerpb.AddSecretVersionRequest, ...) (*secretmanagerpb.SecretVersion, error) + func (c *Client) Close() error + func (c *Client) Connection() *grpc.ClientConn + func (c *Client) CreateSecret(ctx context.Context, req *secretmanagerpb.CreateSecretRequest, ...) (*secretmanagerpb.Secret, error) + func (c *Client) DeleteSecret(ctx context.Context, req *secretmanagerpb.DeleteSecretRequest, ...) error + func (c *Client) DestroySecretVersion(ctx context.Context, req *secretmanagerpb.DestroySecretVersionRequest, ...) (*secretmanagerpb.SecretVersion, error) + func (c *Client) DisableSecretVersion(ctx context.Context, req *secretmanagerpb.DisableSecretVersionRequest, ...) (*secretmanagerpb.SecretVersion, error) + func (c *Client) EnableSecretVersion(ctx context.Context, req *secretmanagerpb.EnableSecretVersionRequest, ...) (*secretmanagerpb.SecretVersion, error) + func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) + func (c *Client) GetSecret(ctx context.Context, req *secretmanagerpb.GetSecretRequest, ...) (*secretmanagerpb.Secret, error) + func (c *Client) GetSecretVersion(ctx context.Context, req *secretmanagerpb.GetSecretVersionRequest, ...) (*secretmanagerpb.SecretVersion, error) + func (c *Client) IAM(name string) *iam.Handle + func (c *Client) ListSecretVersions(ctx context.Context, req *secretmanagerpb.ListSecretVersionsRequest, ...) *SecretVersionIterator + func (c *Client) ListSecrets(ctx context.Context, req *secretmanagerpb.ListSecretsRequest, ...) *SecretIterator + func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error) + func (c *Client) TestIamPermissions(ctx context.Context, req *iampb.TestIamPermissionsRequest, ...) (*iampb.TestIamPermissionsResponse, error) + func (c *Client) UpdateSecret(ctx context.Context, req *secretmanagerpb.UpdateSecretRequest, ...) (*secretmanagerpb.Secret, error) + type SecretIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*secretmanagerpb.Secret, nextPageToken string, err error) + Response interface{} + func (it *SecretIterator) Next() (*secretmanagerpb.Secret, error) + func (it *SecretIterator) PageInfo() *iterator.PageInfo + type SecretVersionIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*secretmanagerpb.SecretVersion, nextPageToken string, err error) + Response interface{} + func (it *SecretVersionIterator) Next() (*secretmanagerpb.SecretVersion, error) + func (it *SecretVersionIterator) PageInfo() *iterator.PageInfo