Versions in this module Expand all Collapse all v1 v1.42.0 Jun 28, 2021 Changes in this version + func DefaultAuthScopes() []string + type CallOptions struct + CreateWorkload []gax.CallOption + DeleteWorkload []gax.CallOption + GetWorkload []gax.CallOption + ListWorkloads []gax.CallOption + UpdateWorkload []gax.CallOption + type Client struct + CallOptions *CallOptions + LROClient *lroauto.OperationsClient + func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error) + func (c *Client) Close() error + func (c *Client) Connection() *grpc.ClientConn + func (c *Client) CreateWorkload(ctx context.Context, req *assuredworkloadspb.CreateWorkloadRequest, ...) (*CreateWorkloadOperation, error) + func (c *Client) CreateWorkloadOperation(name string) *CreateWorkloadOperation + func (c *Client) DeleteWorkload(ctx context.Context, req *assuredworkloadspb.DeleteWorkloadRequest, ...) error + func (c *Client) GetWorkload(ctx context.Context, req *assuredworkloadspb.GetWorkloadRequest, ...) (*assuredworkloadspb.Workload, error) + func (c *Client) ListWorkloads(ctx context.Context, req *assuredworkloadspb.ListWorkloadsRequest, ...) *WorkloadIterator + func (c *Client) UpdateWorkload(ctx context.Context, req *assuredworkloadspb.UpdateWorkloadRequest, ...) (*assuredworkloadspb.Workload, error) + type CreateWorkloadOperation struct + func (op *CreateWorkloadOperation) Done() bool + func (op *CreateWorkloadOperation) Metadata() (*assuredworkloadspb.CreateWorkloadOperationMetadata, error) + func (op *CreateWorkloadOperation) Name() string + func (op *CreateWorkloadOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*assuredworkloadspb.Workload, error) + func (op *CreateWorkloadOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*assuredworkloadspb.Workload, error) + type WorkloadIterator struct + InternalFetch func(pageSize int, pageToken string) (results []*assuredworkloadspb.Workload, nextPageToken string, err error) + Response interface{} + func (it *WorkloadIterator) Next() (*assuredworkloadspb.Workload, error) + func (it *WorkloadIterator) PageInfo() *iterator.PageInfo