iap

package
v0.0.0-...-9d59e20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_iap_v1beta1_service_proto protoreflect.FileDescriptor

Functions

func RegisterIdentityAwareProxyAdminV1Beta1Server

func RegisterIdentityAwareProxyAdminV1Beta1Server(s *grpc.Server, srv IdentityAwareProxyAdminV1Beta1Server)

Types

type IdentityAwareProxyAdminV1Beta1Client

type IdentityAwareProxyAdminV1Beta1Client interface {
	// Sets the access control policy for an Identity-Aware Proxy protected
	// resource. Replaces any existing policy.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Gets the access control policy for an Identity-Aware Proxy protected
	// resource.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Returns permissions that a caller has on the Identity-Aware Proxy protected
	// resource. If the resource does not exist or the caller does not have
	// Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
	// will be returned.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

IdentityAwareProxyAdminV1Beta1Client is the client API for IdentityAwareProxyAdminV1Beta1 service.

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

type IdentityAwareProxyAdminV1Beta1Server

type IdentityAwareProxyAdminV1Beta1Server interface {
	// Sets the access control policy for an Identity-Aware Proxy protected
	// resource. Replaces any existing policy.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
	// Gets the access control policy for an Identity-Aware Proxy protected
	// resource.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
	// Returns permissions that a caller has on the Identity-Aware Proxy protected
	// resource. If the resource does not exist or the caller does not have
	// Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
	// will be returned.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

IdentityAwareProxyAdminV1Beta1Server is the server API for IdentityAwareProxyAdminV1Beta1 service.

type UnimplementedIdentityAwareProxyAdminV1Beta1Server

type UnimplementedIdentityAwareProxyAdminV1Beta1Server struct {
}

UnimplementedIdentityAwareProxyAdminV1Beta1Server can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityAwareProxyAdminV1Beta1Server) GetIamPolicy

func (*UnimplementedIdentityAwareProxyAdminV1Beta1Server) SetIamPolicy

func (*UnimplementedIdentityAwareProxyAdminV1Beta1Server) TestIamPermissions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL