genproto: google.golang.org/genproto/googleapis/devtools/containeranalysis/v1 Index | Files

package containeranalysis

import "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1"

Index

Package Files

containeranalysis.pb.go

func RegisterContainerAnalysisServer Uses

func RegisterContainerAnalysisServer(s *grpc.Server, srv ContainerAnalysisServer)

type ContainerAnalysisClient Uses

type ContainerAnalysisClient interface {
    // Sets the access control policy on the specified note or occurrence.
    // Requires `containeranalysis.notes.setIamPolicy` or
    // `containeranalysis.occurrences.setIamPolicy` permission if the resource is
    // a note or an occurrence, respectively.
    //
    // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
    // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
    // occurrences.
    SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Gets the access control policy for a note or an occurrence resource.
    // Requires `containeranalysis.notes.setIamPolicy` or
    // `containeranalysis.occurrences.setIamPolicy` permission if the resource is
    // a note or occurrence, respectively.
    //
    // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
    // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
    // occurrences.
    GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Returns the permissions that a caller has on the specified note or
    // occurrence. Requires list permission on the project (for example,
    // `containeranalysis.notes.list`).
    //
    // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
    // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
    // occurrences.
    TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

ContainerAnalysisClient is the client API for ContainerAnalysis service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewContainerAnalysisClient Uses

func NewContainerAnalysisClient(cc grpc.ClientConnInterface) ContainerAnalysisClient

type ContainerAnalysisServer Uses

type ContainerAnalysisServer interface {
    // Sets the access control policy on the specified note or occurrence.
    // Requires `containeranalysis.notes.setIamPolicy` or
    // `containeranalysis.occurrences.setIamPolicy` permission if the resource is
    // a note or an occurrence, respectively.
    //
    // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
    // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
    // occurrences.
    SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
    // Gets the access control policy for a note or an occurrence resource.
    // Requires `containeranalysis.notes.setIamPolicy` or
    // `containeranalysis.occurrences.setIamPolicy` permission if the resource is
    // a note or occurrence, respectively.
    //
    // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
    // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
    // occurrences.
    GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
    // Returns the permissions that a caller has on the specified note or
    // occurrence. Requires list permission on the project (for example,
    // `containeranalysis.notes.list`).
    //
    // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
    // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
    // occurrences.
    TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

ContainerAnalysisServer is the server API for ContainerAnalysis service.

type UnimplementedContainerAnalysisServer Uses

type UnimplementedContainerAnalysisServer struct {
}

UnimplementedContainerAnalysisServer can be embedded to have forward compatible implementations.

func (*UnimplementedContainerAnalysisServer) GetIamPolicy Uses

func (*UnimplementedContainerAnalysisServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedContainerAnalysisServer) SetIamPolicy Uses

func (*UnimplementedContainerAnalysisServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedContainerAnalysisServer) TestIamPermissions Uses

func (*UnimplementedContainerAnalysisServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

Package containeranalysis imports 10 packages (graph) and is imported by 1 packages. Updated 2020-07-26. Refresh now. Tools for package owners.