Variables
LevelFormat_name, LevelFormat_value
var (
LevelFormat_name = map[int32]string{
0: "LEVEL_FORMAT_UNSPECIFIED",
1: "AS_DEFINED",
2: "CEL",
}
LevelFormat_value = map[string]int32{
"LEVEL_FORMAT_UNSPECIFIED": 0,
"AS_DEFINED": 1,
"CEL": 2,
}
)
Enum value maps for LevelFormat.
BasicLevel_ConditionCombiningFunction_name, BasicLevel_ConditionCombiningFunction_value
var (
BasicLevel_ConditionCombiningFunction_name = map[int32]string{
0: "AND",
1: "OR",
}
BasicLevel_ConditionCombiningFunction_value = map[string]int32{
"AND": 0,
"OR": 1,
}
)
Enum value maps for BasicLevel_ConditionCombiningFunction.
ServicePerimeter_PerimeterType_name, ServicePerimeter_PerimeterType_value
var (
ServicePerimeter_PerimeterType_name = map[int32]string{
0: "PERIMETER_TYPE_REGULAR",
1: "PERIMETER_TYPE_BRIDGE",
}
ServicePerimeter_PerimeterType_value = map[string]int32{
"PERIMETER_TYPE_REGULAR": 0,
"PERIMETER_TYPE_BRIDGE": 1,
}
)
Enum value maps for ServicePerimeter_PerimeterType.
ServicePerimeterConfig_IdentityType_name, ServicePerimeterConfig_IdentityType_value
var (
ServicePerimeterConfig_IdentityType_name = map[int32]string{
0: "IDENTITY_TYPE_UNSPECIFIED",
1: "ANY_IDENTITY",
2: "ANY_USER_ACCOUNT",
3: "ANY_SERVICE_ACCOUNT",
}
ServicePerimeterConfig_IdentityType_value = map[string]int32{
"IDENTITY_TYPE_UNSPECIFIED": 0,
"ANY_IDENTITY": 1,
"ANY_USER_ACCOUNT": 2,
"ANY_SERVICE_ACCOUNT": 3,
}
)
Enum value maps for ServicePerimeterConfig_IdentityType.
File_google_identity_accesscontextmanager_v1_access_context_manager_proto
var File_google_identity_accesscontextmanager_v1_access_context_manager_proto protoreflect.FileDescriptor
File_google_identity_accesscontextmanager_v1_access_level_proto
var File_google_identity_accesscontextmanager_v1_access_level_proto protoreflect.FileDescriptor
File_google_identity_accesscontextmanager_v1_access_policy_proto
var File_google_identity_accesscontextmanager_v1_access_policy_proto protoreflect.FileDescriptor
File_google_identity_accesscontextmanager_v1_gcp_user_access_binding_proto
var File_google_identity_accesscontextmanager_v1_gcp_user_access_binding_proto protoreflect.FileDescriptor
File_google_identity_accesscontextmanager_v1_service_perimeter_proto
var File_google_identity_accesscontextmanager_v1_service_perimeter_proto protoreflect.FileDescriptor
Functions
func RegisterAccessContextManagerServer
func RegisterAccessContextManagerServer(s *grpc.Server, srv AccessContextManagerServer)
AccessContextManagerClient
type AccessContextManagerClient interface {
// List all [AccessPolicies]
// [google.identity.accesscontextmanager.v1.AccessPolicy] under a
// container.
ListAccessPolicies(ctx context.Context, in *ListAccessPoliciesRequest, opts ...grpc.CallOption) (*ListAccessPoliciesResponse, error)
// Get an [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] by name.
GetAccessPolicy(ctx context.Context, in *GetAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
// Create an `AccessPolicy`. Fails if this organization already has a
// `AccessPolicy`. The longrunning Operation will have a successful status
// once the `AccessPolicy` has propagated to long-lasting storage.
// Syntactic and basic semantic errors will be returned in `metadata` as a
// BadRequest proto.
CreateAccessPolicy(ctx context.Context, in *AccessPolicy, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Update an [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy]. The
// longrunning Operation from this RPC will have a successful status once the
// changes to the [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] have propagated
// to long-lasting storage. Syntactic and basic semantic errors will be
// returned in `metadata` as a BadRequest proto.
UpdateAccessPolicy(ctx context.Context, in *UpdateAccessPolicyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Delete an [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] by resource
// name. The longrunning Operation will have a successful status once the
// [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy]
// has been removed from long-lasting storage.
DeleteAccessPolicy(ctx context.Context, in *DeleteAccessPolicyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// List all [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] for an access
// policy.
ListAccessLevels(ctx context.Context, in *ListAccessLevelsRequest, opts ...grpc.CallOption) (*ListAccessLevelsResponse, error)
// Get an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] by resource
// name.
GetAccessLevel(ctx context.Context, in *GetAccessLevelRequest, opts ...grpc.CallOption) (*AccessLevel, error)
// Create an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning
// operation from this RPC will have a successful status once the [Access
// Level] [google.identity.accesscontextmanager.v1.AccessLevel] has
// propagated to long-lasting storage. [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] containing
// errors will result in an error response for the first error encountered.
CreateAccessLevel(ctx context.Context, in *CreateAccessLevelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Update an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning
// operation from this RPC will have a successful status once the changes to
// the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] have propagated
// to long-lasting storage. [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] containing
// errors will result in an error response for the first error encountered.
UpdateAccessLevel(ctx context.Context, in *UpdateAccessLevelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Delete an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] by resource
// name. The longrunning operation from this RPC will have a successful status
// once the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] has been removed
// from long-lasting storage.
DeleteAccessLevel(ctx context.Context, in *DeleteAccessLevelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Replace all existing [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] in an [Access
// Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with
// the [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] provided. This
// is done atomically. The longrunning operation from this RPC will have a
// successful status once all replacements have propagated to long-lasting
// storage. Replacements containing errors will result in an error response
// for the first error encountered. Replacement will be cancelled on error,
// existing [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] will not be
// affected. Operation.response field will contain
// ReplaceAccessLevelsResponse. Removing [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing
// [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] will result in
// error.
ReplaceAccessLevels(ctx context.Context, in *ReplaceAccessLevelsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// List all [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] for an
// access policy.
ListServicePerimeters(ctx context.Context, in *ListServicePerimetersRequest, opts ...grpc.CallOption) (*ListServicePerimetersResponse, error)
// Get a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource
// name.
GetServicePerimeter(ctx context.Context, in *GetServicePerimeterRequest, opts ...grpc.CallOption) (*ServicePerimeter, error)
// Create a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter]. The
// longrunning operation from this RPC will have a successful status once the
// [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] has
// propagated to long-lasting storage. [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] containing
// errors will result in an error response for the first error encountered.
CreateServicePerimeter(ctx context.Context, in *CreateServicePerimeterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Update a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter]. The
// longrunning operation from this RPC will have a successful status once the
// changes to the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] have
// propagated to long-lasting storage. [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] containing
// errors will result in an error response for the first error encountered.
UpdateServicePerimeter(ctx context.Context, in *UpdateServicePerimeterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Delete a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource
// name. The longrunning operation from this RPC will have a successful status
// once the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] has been
// removed from long-lasting storage.
DeleteServicePerimeter(ctx context.Context, in *DeleteServicePerimeterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Replace all existing [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] in an
// [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy]
// with the [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] provided.
// This is done atomically. The longrunning operation from this
// RPC will have a successful status once all replacements have propagated to
// long-lasting storage. Replacements containing errors will result in an
// error response for the first error encountered. Replacement will be
// cancelled on error, existing [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] will not be
// affected. Operation.response field will contain
// ReplaceServicePerimetersResponse.
ReplaceServicePerimeters(ctx context.Context, in *ReplaceServicePerimetersRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Commit the dry-run spec for all the [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] in an
// [Access Policy][google.identity.accesscontextmanager.v1.AccessPolicy].
// A commit operation on a Service Perimeter involves copying its `spec` field
// to that Service Perimeter's `status` field. Only [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] with
// `use_explicit_dry_run_spec` field set to true are affected by a commit
// operation. The longrunning operation from this RPC will have a successful
// status once the dry-run specs for all the [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] have been
// committed. If a commit fails, it will cause the longrunning operation to
// return an error response and the entire commit operation will be cancelled.
// When successful, Operation.response field will contain
// CommitServicePerimetersResponse. The `dry_run` and the `spec` fields will
// be cleared after a successful commit operation.
CommitServicePerimeters(ctx context.Context, in *CommitServicePerimetersRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Lists all [GcpUserAccessBindings]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a
// Google Cloud organization.
ListGcpUserAccessBindings(ctx context.Context, in *ListGcpUserAccessBindingsRequest, opts ...grpc.CallOption) (*ListGcpUserAccessBindingsResponse, error)
// Gets the [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with
// the given name.
GetGcpUserAccessBinding(ctx context.Context, in *GetGcpUserAccessBindingRequest, opts ...grpc.CallOption) (*GcpUserAccessBinding, error)
// Creates a [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the
// client specifies a [name]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name],
// the server will ignore it. Fails if a resource already exists with the same
// [group_key]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key].
// Completion of this long-running operation does not necessarily signify that
// the new binding is deployed onto all affected users, which may take more
// time.
CreateGcpUserAccessBinding(ctx context.Context, in *CreateGcpUserAccessBindingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Updates a [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding].
// Completion of this long-running operation does not necessarily signify that
// the changed binding is deployed onto all affected users, which may take
// more time.
UpdateGcpUserAccessBinding(ctx context.Context, in *UpdateGcpUserAccessBindingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
// Deletes a [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding].
// Completion of this long-running operation does not necessarily signify that
// the binding deletion is deployed onto all affected users, which may take
// more time.
DeleteGcpUserAccessBinding(ctx context.Context, in *DeleteGcpUserAccessBindingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}
AccessContextManagerClient is the client API for AccessContextManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccessContextManagerClient
func NewAccessContextManagerClient(cc grpc.ClientConnInterface) AccessContextManagerClient
AccessContextManagerOperationMetadata
type AccessContextManagerOperationMetadata struct {
// contains filtered or unexported fields
}
Metadata of Access Context Manager's Long Running Operations.
func (*AccessContextManagerOperationMetadata) Descriptor
func (*AccessContextManagerOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AccessContextManagerOperationMetadata.ProtoReflect.Descriptor instead.
func (*AccessContextManagerOperationMetadata) ProtoMessage
func (*AccessContextManagerOperationMetadata) ProtoMessage()
func (*AccessContextManagerOperationMetadata) ProtoReflect
func (x *AccessContextManagerOperationMetadata) ProtoReflect() protoreflect.Message
func (*AccessContextManagerOperationMetadata) Reset
func (x *AccessContextManagerOperationMetadata) Reset()
func (*AccessContextManagerOperationMetadata) String
func (x *AccessContextManagerOperationMetadata) String() string
AccessContextManagerServer
type AccessContextManagerServer interface {
// List all [AccessPolicies]
// [google.identity.accesscontextmanager.v1.AccessPolicy] under a
// container.
ListAccessPolicies(context.Context, *ListAccessPoliciesRequest) (*ListAccessPoliciesResponse, error)
// Get an [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] by name.
GetAccessPolicy(context.Context, *GetAccessPolicyRequest) (*AccessPolicy, error)
// Create an `AccessPolicy`. Fails if this organization already has a
// `AccessPolicy`. The longrunning Operation will have a successful status
// once the `AccessPolicy` has propagated to long-lasting storage.
// Syntactic and basic semantic errors will be returned in `metadata` as a
// BadRequest proto.
CreateAccessPolicy(context.Context, *AccessPolicy) (*longrunning.Operation, error)
// Update an [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy]. The
// longrunning Operation from this RPC will have a successful status once the
// changes to the [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] have propagated
// to long-lasting storage. Syntactic and basic semantic errors will be
// returned in `metadata` as a BadRequest proto.
UpdateAccessPolicy(context.Context, *UpdateAccessPolicyRequest) (*longrunning.Operation, error)
// Delete an [AccessPolicy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] by resource
// name. The longrunning Operation will have a successful status once the
// [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy]
// has been removed from long-lasting storage.
DeleteAccessPolicy(context.Context, *DeleteAccessPolicyRequest) (*longrunning.Operation, error)
// List all [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] for an access
// policy.
ListAccessLevels(context.Context, *ListAccessLevelsRequest) (*ListAccessLevelsResponse, error)
// Get an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] by resource
// name.
GetAccessLevel(context.Context, *GetAccessLevelRequest) (*AccessLevel, error)
// Create an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning
// operation from this RPC will have a successful status once the [Access
// Level] [google.identity.accesscontextmanager.v1.AccessLevel] has
// propagated to long-lasting storage. [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] containing
// errors will result in an error response for the first error encountered.
CreateAccessLevel(context.Context, *CreateAccessLevelRequest) (*longrunning.Operation, error)
// Update an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning
// operation from this RPC will have a successful status once the changes to
// the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] have propagated
// to long-lasting storage. [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] containing
// errors will result in an error response for the first error encountered.
UpdateAccessLevel(context.Context, *UpdateAccessLevelRequest) (*longrunning.Operation, error)
// Delete an [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] by resource
// name. The longrunning operation from this RPC will have a successful status
// once the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] has been removed
// from long-lasting storage.
DeleteAccessLevel(context.Context, *DeleteAccessLevelRequest) (*longrunning.Operation, error)
// Replace all existing [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] in an [Access
// Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with
// the [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] provided. This
// is done atomically. The longrunning operation from this RPC will have a
// successful status once all replacements have propagated to long-lasting
// storage. Replacements containing errors will result in an error response
// for the first error encountered. Replacement will be cancelled on error,
// existing [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] will not be
// affected. Operation.response field will contain
// ReplaceAccessLevelsResponse. Removing [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing
// [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] will result in
// error.
ReplaceAccessLevels(context.Context, *ReplaceAccessLevelsRequest) (*longrunning.Operation, error)
// List all [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] for an
// access policy.
ListServicePerimeters(context.Context, *ListServicePerimetersRequest) (*ListServicePerimetersResponse, error)
// Get a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource
// name.
GetServicePerimeter(context.Context, *GetServicePerimeterRequest) (*ServicePerimeter, error)
// Create a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter]. The
// longrunning operation from this RPC will have a successful status once the
// [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] has
// propagated to long-lasting storage. [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] containing
// errors will result in an error response for the first error encountered.
CreateServicePerimeter(context.Context, *CreateServicePerimeterRequest) (*longrunning.Operation, error)
// Update a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter]. The
// longrunning operation from this RPC will have a successful status once the
// changes to the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] have
// propagated to long-lasting storage. [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] containing
// errors will result in an error response for the first error encountered.
UpdateServicePerimeter(context.Context, *UpdateServicePerimeterRequest) (*longrunning.Operation, error)
// Delete a [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource
// name. The longrunning operation from this RPC will have a successful status
// once the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] has been
// removed from long-lasting storage.
DeleteServicePerimeter(context.Context, *DeleteServicePerimeterRequest) (*longrunning.Operation, error)
// Replace all existing [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] in an
// [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy]
// with the [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] provided.
// This is done atomically. The longrunning operation from this
// RPC will have a successful status once all replacements have propagated to
// long-lasting storage. Replacements containing errors will result in an
// error response for the first error encountered. Replacement will be
// cancelled on error, existing [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] will not be
// affected. Operation.response field will contain
// ReplaceServicePerimetersResponse.
ReplaceServicePerimeters(context.Context, *ReplaceServicePerimetersRequest) (*longrunning.Operation, error)
// Commit the dry-run spec for all the [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] in an
// [Access Policy][google.identity.accesscontextmanager.v1.AccessPolicy].
// A commit operation on a Service Perimeter involves copying its `spec` field
// to that Service Perimeter's `status` field. Only [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] with
// `use_explicit_dry_run_spec` field set to true are affected by a commit
// operation. The longrunning operation from this RPC will have a successful
// status once the dry-run specs for all the [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] have been
// committed. If a commit fails, it will cause the longrunning operation to
// return an error response and the entire commit operation will be cancelled.
// When successful, Operation.response field will contain
// CommitServicePerimetersResponse. The `dry_run` and the `spec` fields will
// be cleared after a successful commit operation.
CommitServicePerimeters(context.Context, *CommitServicePerimetersRequest) (*longrunning.Operation, error)
// Lists all [GcpUserAccessBindings]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a
// Google Cloud organization.
ListGcpUserAccessBindings(context.Context, *ListGcpUserAccessBindingsRequest) (*ListGcpUserAccessBindingsResponse, error)
// Gets the [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with
// the given name.
GetGcpUserAccessBinding(context.Context, *GetGcpUserAccessBindingRequest) (*GcpUserAccessBinding, error)
// Creates a [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the
// client specifies a [name]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name],
// the server will ignore it. Fails if a resource already exists with the same
// [group_key]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key].
// Completion of this long-running operation does not necessarily signify that
// the new binding is deployed onto all affected users, which may take more
// time.
CreateGcpUserAccessBinding(context.Context, *CreateGcpUserAccessBindingRequest) (*longrunning.Operation, error)
// Updates a [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding].
// Completion of this long-running operation does not necessarily signify that
// the changed binding is deployed onto all affected users, which may take
// more time.
UpdateGcpUserAccessBinding(context.Context, *UpdateGcpUserAccessBindingRequest) (*longrunning.Operation, error)
// Deletes a [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding].
// Completion of this long-running operation does not necessarily signify that
// the binding deletion is deployed onto all affected users, which may take
// more time.
DeleteGcpUserAccessBinding(context.Context, *DeleteGcpUserAccessBindingRequest) (*longrunning.Operation, error)
}
AccessContextManagerServer is the server API for AccessContextManager service.
AccessLevel
type AccessLevel struct {
// Required. Resource name for the Access Level. The `short_name` component
// must begin with a letter and only include alphanumeric and '_'. Format:
// `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum
// length of the `access_level` component is 50 characters.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Human readable title. Must be unique within the Policy.
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// Description of the `AccessLevel` and its use. Does not affect behavior.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Required. Describes the necessary conditions for the level to apply.
//
// Types that are assignable to Level:
//
// *AccessLevel_Basic
// *AccessLevel_Custom
Level isAccessLevel_Level `protobuf_oneof:"level"`
// Output only. Time the `AccessLevel` was created in UTC.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time the `AccessLevel` was updated in UTC.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
An AccessLevel
is a label that can be applied to requests to Google Cloud
services, along with a list of requirements necessary for the label to be
applied.
func (*AccessLevel) Descriptor
func (*AccessLevel) Descriptor() ([]byte, []int)
Deprecated: Use AccessLevel.ProtoReflect.Descriptor instead.
func (*AccessLevel) GetBasic
func (x *AccessLevel) GetBasic() *BasicLevel
func (*AccessLevel) GetCreateTime
func (x *AccessLevel) GetCreateTime() *timestamppb.Timestamp
func (*AccessLevel) GetCustom
func (x *AccessLevel) GetCustom() *CustomLevel
func (*AccessLevel) GetDescription
func (x *AccessLevel) GetDescription() string
func (*AccessLevel) GetLevel
func (m *AccessLevel) GetLevel() isAccessLevel_Level
func (*AccessLevel) GetName
func (x *AccessLevel) GetName() string
func (*AccessLevel) GetTitle
func (x *AccessLevel) GetTitle() string
func (*AccessLevel) GetUpdateTime
func (x *AccessLevel) GetUpdateTime() *timestamppb.Timestamp
func (*AccessLevel) ProtoMessage
func (*AccessLevel) ProtoMessage()
func (*AccessLevel) ProtoReflect
func (x *AccessLevel) ProtoReflect() protoreflect.Message
func (*AccessLevel) Reset
func (x *AccessLevel) Reset()
func (*AccessLevel) String
func (x *AccessLevel) String() string
AccessLevel_Basic
type AccessLevel_Basic struct {
// A `BasicLevel` composed of `Conditions`.
Basic *BasicLevel `protobuf:"bytes,4,opt,name=basic,proto3,oneof"`
}
AccessLevel_Custom
type AccessLevel_Custom struct {
// A `CustomLevel` written in the Common Expression Language.
Custom *CustomLevel `protobuf:"bytes,5,opt,name=custom,proto3,oneof"`
}
AccessPolicy
type AccessPolicy struct {
// Output only. Resource name of the `AccessPolicy`. Format:
// `accessPolicies/{access_policy}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The parent of this `AccessPolicy` in the Cloud Resource
// Hierarchy. Currently immutable once created. Format:
// `organizations/{organization_id}`
Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Human readable title. Does not affect behavior.
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
// Output only. Time the `AccessPolicy` was created in UTC.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time the `AccessPolicy` was updated in UTC.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. An opaque identifier for the current version of the
// `AccessPolicy`. This will always be a strongly validated etag, meaning that
// two Access Polices will be identical if and only if their etags are
// identical. Clients should not expect this to be in any specific format.
Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
AccessPolicy
is a container for AccessLevels
(which define the necessary
attributes to use Google Cloud services) and ServicePerimeters
(which
define regions of services able to freely pass data within a perimeter). An
access policy is globally visible within an organization, and the
restrictions it specifies apply to all projects within an organization.
func (*AccessPolicy) Descriptor
func (*AccessPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AccessPolicy.ProtoReflect.Descriptor instead.
func (*AccessPolicy) GetCreateTime
func (x *AccessPolicy) GetCreateTime() *timestamppb.Timestamp
func (*AccessPolicy) GetEtag
func (x *AccessPolicy) GetEtag() string
func (*AccessPolicy) GetName
func (x *AccessPolicy) GetName() string
func (*AccessPolicy) GetParent
func (x *AccessPolicy) GetParent() string
func (*AccessPolicy) GetTitle
func (x *AccessPolicy) GetTitle() string
func (*AccessPolicy) GetUpdateTime
func (x *AccessPolicy) GetUpdateTime() *timestamppb.Timestamp
func (*AccessPolicy) ProtoMessage
func (*AccessPolicy) ProtoMessage()
func (*AccessPolicy) ProtoReflect
func (x *AccessPolicy) ProtoReflect() protoreflect.Message
func (*AccessPolicy) Reset
func (x *AccessPolicy) Reset()
func (*AccessPolicy) String
func (x *AccessPolicy) String() string
BasicLevel
type BasicLevel struct {
Conditions []*Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
CombiningFunction BasicLevel_ConditionCombiningFunction "" /* 196 byte string literal not displayed */
}
BasicLevel
is an AccessLevel
using a set of recommended features.
func (*BasicLevel) Descriptor
func (*BasicLevel) Descriptor() ([]byte, []int)
Deprecated: Use BasicLevel.ProtoReflect.Descriptor instead.
func (*BasicLevel) GetCombiningFunction
func (x *BasicLevel) GetCombiningFunction() BasicLevel_ConditionCombiningFunction
func (*BasicLevel) GetConditions
func (x *BasicLevel) GetConditions() []*Condition
func (*BasicLevel) ProtoMessage
func (*BasicLevel) ProtoMessage()
func (*BasicLevel) ProtoReflect
func (x *BasicLevel) ProtoReflect() protoreflect.Message
func (*BasicLevel) Reset
func (x *BasicLevel) Reset()
func (*BasicLevel) String
func (x *BasicLevel) String() string
BasicLevel_ConditionCombiningFunction
type BasicLevel_ConditionCombiningFunction int32
Options for how the conditions
list should be combined to determine if
this AccessLevel
is applied. Default is AND.
BasicLevel_AND, BasicLevel_OR
const (
// All `Conditions` must be true for the `BasicLevel` to be true.
BasicLevel_AND BasicLevel_ConditionCombiningFunction = 0
// If at least one `Condition` is true, then the `BasicLevel` is true.
BasicLevel_OR BasicLevel_ConditionCombiningFunction = 1
)
func (BasicLevel_ConditionCombiningFunction) Descriptor
func (BasicLevel_ConditionCombiningFunction) Descriptor() protoreflect.EnumDescriptor
func (BasicLevel_ConditionCombiningFunction) Enum
func (BasicLevel_ConditionCombiningFunction) EnumDescriptor
func (BasicLevel_ConditionCombiningFunction) EnumDescriptor() ([]byte, []int)
Deprecated: Use BasicLevel_ConditionCombiningFunction.Descriptor instead.
func (BasicLevel_ConditionCombiningFunction) Number
func (x BasicLevel_ConditionCombiningFunction) Number() protoreflect.EnumNumber
func (BasicLevel_ConditionCombiningFunction) String
func (x BasicLevel_ConditionCombiningFunction) String() string
func (BasicLevel_ConditionCombiningFunction) Type
func (BasicLevel_ConditionCombiningFunction) Type() protoreflect.EnumType
CommitServicePerimetersRequest
type CommitServicePerimetersRequest struct {
// Required. Resource name for the parent [Access Policy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] which owns all
// [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] in scope for
// the commit operation.
//
// Format: `accessPolicies/{policy_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The etag for the version of the [Access Policy]
// [google.identity.accesscontextmanager.v1alpha.AccessPolicy] that this
// commit operation is to be performed on. If, at the time of commit, the
// etag for the Access Policy stored in Access Context Manager is different
// from the specified etag, then the commit operation will not be performed
// and the call will fail. This field is not required. If etag is not
// provided, the operation will be performed as if a valid etag is provided.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
A request to commit dry-run specs in all [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] belonging to an [Access Policy][google.identity.accesscontextmanager.v1.AccessPolicy].
func (*CommitServicePerimetersRequest) Descriptor
func (*CommitServicePerimetersRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitServicePerimetersRequest.ProtoReflect.Descriptor instead.
func (*CommitServicePerimetersRequest) GetEtag
func (x *CommitServicePerimetersRequest) GetEtag() string
func (*CommitServicePerimetersRequest) GetParent
func (x *CommitServicePerimetersRequest) GetParent() string
func (*CommitServicePerimetersRequest) ProtoMessage
func (*CommitServicePerimetersRequest) ProtoMessage()
func (*CommitServicePerimetersRequest) ProtoReflect
func (x *CommitServicePerimetersRequest) ProtoReflect() protoreflect.Message
func (*CommitServicePerimetersRequest) Reset
func (x *CommitServicePerimetersRequest) Reset()
func (*CommitServicePerimetersRequest) String
func (x *CommitServicePerimetersRequest) String() string
CommitServicePerimetersResponse
type CommitServicePerimetersResponse struct {
// List of all the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] instances in
// the [Access Policy]
// [google.identity.accesscontextmanager.v1.AccessPolicy].
ServicePerimeters []*ServicePerimeter `protobuf:"bytes,1,rep,name=service_perimeters,json=servicePerimeters,proto3" json:"service_perimeters,omitempty"`
// contains filtered or unexported fields
}
A response to CommitServicePerimetersRequest. This will be put inside of Operation.response field.
func (*CommitServicePerimetersResponse) Descriptor
func (*CommitServicePerimetersResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitServicePerimetersResponse.ProtoReflect.Descriptor instead.
func (*CommitServicePerimetersResponse) GetServicePerimeters
func (x *CommitServicePerimetersResponse) GetServicePerimeters() []*ServicePerimeter
func (*CommitServicePerimetersResponse) ProtoMessage
func (*CommitServicePerimetersResponse) ProtoMessage()
func (*CommitServicePerimetersResponse) ProtoReflect
func (x *CommitServicePerimetersResponse) ProtoReflect() protoreflect.Message
func (*CommitServicePerimetersResponse) Reset
func (x *CommitServicePerimetersResponse) Reset()
func (*CommitServicePerimetersResponse) String
func (x *CommitServicePerimetersResponse) String() string
Condition
type Condition struct {
// CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
// a CIDR IP address block, the specified IP address portion must be properly
// truncated (i.e. all the host bits must be zero) or the input is considered
// malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
// not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
// "2001:db8::1/32" is not. The originating IP of a request must be in one of
// the listed subnets in order for this Condition to be true. If empty, all IP
// addresses are allowed.
IpSubnetworks []string `protobuf:"bytes,1,rep,name=ip_subnetworks,json=ipSubnetworks,proto3" json:"ip_subnetworks,omitempty"`
// Device specific restrictions, all restrictions must hold for the
// Condition to be true. If not specified, all devices are allowed.
DevicePolicy *DevicePolicy `protobuf:"bytes,2,opt,name=device_policy,json=devicePolicy,proto3" json:"device_policy,omitempty"`
// A list of other access levels defined in the same `Policy`, referenced by
// resource name. Referencing an `AccessLevel` which does not exist is an
// error. All access levels listed must be granted for the Condition
// to be true. Example:
// "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
RequiredAccessLevels []string `protobuf:"bytes,3,rep,name=required_access_levels,json=requiredAccessLevels,proto3" json:"required_access_levels,omitempty"`
// Whether to negate the Condition. If true, the Condition becomes a NAND over
// its non-empty fields, each field must be false for the Condition overall to
// be satisfied. Defaults to false.
Negate bool `protobuf:"varint,5,opt,name=negate,proto3" json:"negate,omitempty"`
// The request must be made by one of the provided user or service
// accounts. Groups are not supported.
// Syntax:
// `user:{emailid}`
// `serviceAccount:{emailid}`
// If not specified, a request may come from any user.
Members []string `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`
// The request must originate from one of the provided countries/regions.
// Must be valid ISO 3166-1 alpha-2 codes.
Regions []string `protobuf:"bytes,7,rep,name=regions,proto3" json:"regions,omitempty"`
// contains filtered or unexported fields
}
A condition necessary for an AccessLevel
to be granted. The Condition is an
AND over its fields. So a Condition is true if: 1) the request IP is from one
of the listed subnetworks AND 2) the originating device complies with the
listed device policy AND 3) all listed access levels are granted AND 4) the
request was sent at a time allowed by the DateTimeRestriction.
func (*Condition) Descriptor
Deprecated: Use Condition.ProtoReflect.Descriptor instead.
func (*Condition) GetDevicePolicy
func (x *Condition) GetDevicePolicy() *DevicePolicy
func (*Condition) GetIpSubnetworks
func (*Condition) GetMembers
func (*Condition) GetNegate
func (*Condition) GetRegions
func (*Condition) GetRequiredAccessLevels
func (*Condition) ProtoMessage
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect
func (x *Condition) ProtoReflect() protoreflect.Message
func (*Condition) Reset
func (x *Condition) Reset()
func (*Condition) String
CreateAccessLevelRequest
type CreateAccessLevelRequest struct {
// Required. Resource name for the access policy which owns this [Access
// Level] [google.identity.accesscontextmanager.v1.AccessLevel].
//
// Format: `accessPolicies/{policy_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] to create.
// Syntactic correctness of the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] is a
// precondition for creation.
AccessLevel *AccessLevel `protobuf:"bytes,2,opt,name=access_level,json=accessLevel,proto3" json:"access_level,omitempty"`
// contains filtered or unexported fields
}
A request to create an AccessLevel
.
func (*CreateAccessLevelRequest) Descriptor
func (*CreateAccessLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessLevelRequest.ProtoReflect.Descriptor instead.
func (*CreateAccessLevelRequest) GetAccessLevel
func (x *CreateAccessLevelRequest) GetAccessLevel() *AccessLevel
func (*CreateAccessLevelRequest) GetParent
func (x *CreateAccessLevelRequest) GetParent() string
func (*CreateAccessLevelRequest) ProtoMessage
func (*CreateAccessLevelRequest) ProtoMessage()
func (*CreateAccessLevelRequest) ProtoReflect
func (x *CreateAccessLevelRequest) ProtoReflect() protoreflect.Message
func (*CreateAccessLevelRequest) Reset
func (x *CreateAccessLevelRequest) Reset()
func (*CreateAccessLevelRequest) String
func (x *CreateAccessLevelRequest) String() string
CreateGcpUserAccessBindingRequest
type CreateGcpUserAccessBindingRequest struct {
// Required. Example: "organizations/256"
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]
GcpUserAccessBinding *GcpUserAccessBinding `protobuf:"bytes,2,opt,name=gcp_user_access_binding,json=gcpUserAccessBinding,proto3" json:"gcp_user_access_binding,omitempty"`
// contains filtered or unexported fields
}
Request of [CreateGcpUserAccessBinding] [google.identity.accesscontextmanager.v1.AccessContextManager.CreateGcpUserAccessBinding].
func (*CreateGcpUserAccessBindingRequest) Descriptor
func (*CreateGcpUserAccessBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGcpUserAccessBindingRequest.ProtoReflect.Descriptor instead.
func (*CreateGcpUserAccessBindingRequest) GetGcpUserAccessBinding
func (x *CreateGcpUserAccessBindingRequest) GetGcpUserAccessBinding() *GcpUserAccessBinding
func (*CreateGcpUserAccessBindingRequest) GetParent
func (x *CreateGcpUserAccessBindingRequest) GetParent() string
func (*CreateGcpUserAccessBindingRequest) ProtoMessage
func (*CreateGcpUserAccessBindingRequest) ProtoMessage()
func (*CreateGcpUserAccessBindingRequest) ProtoReflect
func (x *CreateGcpUserAccessBindingRequest) ProtoReflect() protoreflect.Message
func (*CreateGcpUserAccessBindingRequest) Reset
func (x *CreateGcpUserAccessBindingRequest) Reset()
func (*CreateGcpUserAccessBindingRequest) String
func (x *CreateGcpUserAccessBindingRequest) String() string
CreateServicePerimeterRequest
type CreateServicePerimeterRequest struct {
// Required. Resource name for the access policy which owns this [Service
// Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter].
//
// Format: `accessPolicies/{policy_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] to create.
// Syntactic correctness of the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] is a
// precondition for creation.
ServicePerimeter *ServicePerimeter `protobuf:"bytes,2,opt,name=service_perimeter,json=servicePerimeter,proto3" json:"service_perimeter,omitempty"`
// contains filtered or unexported fields
}
A request to create a ServicePerimeter
.
func (*CreateServicePerimeterRequest) Descriptor
func (*CreateServicePerimeterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServicePerimeterRequest.ProtoReflect.Descriptor instead.
func (*CreateServicePerimeterRequest) GetParent
func (x *CreateServicePerimeterRequest) GetParent() string
func (*CreateServicePerimeterRequest) GetServicePerimeter
func (x *CreateServicePerimeterRequest) GetServicePerimeter() *ServicePerimeter
func (*CreateServicePerimeterRequest) ProtoMessage
func (*CreateServicePerimeterRequest) ProtoMessage()
func (*CreateServicePerimeterRequest) ProtoReflect
func (x *CreateServicePerimeterRequest) ProtoReflect() protoreflect.Message
func (*CreateServicePerimeterRequest) Reset
func (x *CreateServicePerimeterRequest) Reset()
func (*CreateServicePerimeterRequest) String
func (x *CreateServicePerimeterRequest) String() string
CustomLevel
type CustomLevel struct {
// Required. A Cloud CEL expression evaluating to a boolean.
Expr *expr.Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
// contains filtered or unexported fields
}
CustomLevel
is an AccessLevel
using the Cloud Common Expression Language
to represent the necessary conditions for the level to apply to a request.
See CEL spec at: https://github.com/google/cel-spec
func (*CustomLevel) Descriptor
func (*CustomLevel) Descriptor() ([]byte, []int)
Deprecated: Use CustomLevel.ProtoReflect.Descriptor instead.
func (*CustomLevel) GetExpr
func (x *CustomLevel) GetExpr() *expr.Expr
func (*CustomLevel) ProtoMessage
func (*CustomLevel) ProtoMessage()
func (*CustomLevel) ProtoReflect
func (x *CustomLevel) ProtoReflect() protoreflect.Message
func (*CustomLevel) Reset
func (x *CustomLevel) Reset()
func (*CustomLevel) String
func (x *CustomLevel) String() string
DeleteAccessLevelRequest
type DeleteAccessLevelRequest struct {
// Required. Resource name for the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel].
//
// Format:
// `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to delete an AccessLevel
.
func (*DeleteAccessLevelRequest) Descriptor
func (*DeleteAccessLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessLevelRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccessLevelRequest) GetName
func (x *DeleteAccessLevelRequest) GetName() string
func (*DeleteAccessLevelRequest) ProtoMessage
func (*DeleteAccessLevelRequest) ProtoMessage()
func (*DeleteAccessLevelRequest) ProtoReflect
func (x *DeleteAccessLevelRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccessLevelRequest) Reset
func (x *DeleteAccessLevelRequest) Reset()
func (*DeleteAccessLevelRequest) String
func (x *DeleteAccessLevelRequest) String() string
DeleteAccessPolicyRequest
type DeleteAccessPolicyRequest struct {
// Required. Resource name for the access policy to delete.
//
// Format `accessPolicies/{policy_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to delete an AccessPolicy
.
func (*DeleteAccessPolicyRequest) Descriptor
func (*DeleteAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccessPolicyRequest) GetName
func (x *DeleteAccessPolicyRequest) GetName() string
func (*DeleteAccessPolicyRequest) ProtoMessage
func (*DeleteAccessPolicyRequest) ProtoMessage()
func (*DeleteAccessPolicyRequest) ProtoReflect
func (x *DeleteAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccessPolicyRequest) Reset
func (x *DeleteAccessPolicyRequest) Reset()
func (*DeleteAccessPolicyRequest) String
func (x *DeleteAccessPolicyRequest) String() string
DeleteGcpUserAccessBindingRequest
type DeleteGcpUserAccessBindingRequest struct {
// Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request of [DeleteGcpUserAccessBinding] [google.identity.accesscontextmanager.v1.AccessContextManager.DeleteGcpUserAccessBinding].
func (*DeleteGcpUserAccessBindingRequest) Descriptor
func (*DeleteGcpUserAccessBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGcpUserAccessBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteGcpUserAccessBindingRequest) GetName
func (x *DeleteGcpUserAccessBindingRequest) GetName() string
func (*DeleteGcpUserAccessBindingRequest) ProtoMessage
func (*DeleteGcpUserAccessBindingRequest) ProtoMessage()
func (*DeleteGcpUserAccessBindingRequest) ProtoReflect
func (x *DeleteGcpUserAccessBindingRequest) ProtoReflect() protoreflect.Message
func (*DeleteGcpUserAccessBindingRequest) Reset
func (x *DeleteGcpUserAccessBindingRequest) Reset()
func (*DeleteGcpUserAccessBindingRequest) String
func (x *DeleteGcpUserAccessBindingRequest) String() string
DeleteServicePerimeterRequest
type DeleteServicePerimeterRequest struct {
// Required. Resource name for the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter].
//
// Format:
// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to delete a ServicePerimeter
.
func (*DeleteServicePerimeterRequest) Descriptor
func (*DeleteServicePerimeterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServicePerimeterRequest.ProtoReflect.Descriptor instead.
func (*DeleteServicePerimeterRequest) GetName
func (x *DeleteServicePerimeterRequest) GetName() string
func (*DeleteServicePerimeterRequest) ProtoMessage
func (*DeleteServicePerimeterRequest) ProtoMessage()
func (*DeleteServicePerimeterRequest) ProtoReflect
func (x *DeleteServicePerimeterRequest) ProtoReflect() protoreflect.Message
func (*DeleteServicePerimeterRequest) Reset
func (x *DeleteServicePerimeterRequest) Reset()
func (*DeleteServicePerimeterRequest) String
func (x *DeleteServicePerimeterRequest) String() string
DevicePolicy
type DevicePolicy struct {
RequireScreenlock bool `protobuf:"varint,1,opt,name=require_screenlock,json=requireScreenlock,proto3" json:"require_screenlock,omitempty"`
AllowedEncryptionStatuses []_type.DeviceEncryptionStatus "" /* 216 byte string literal not displayed */
OsConstraints []*OsConstraint `protobuf:"bytes,3,rep,name=os_constraints,json=osConstraints,proto3" json:"os_constraints,omitempty"`
AllowedDeviceManagementLevels []_type.DeviceManagementLevel "" /* 229 byte string literal not displayed */
RequireAdminApproval bool `protobuf:"varint,7,opt,name=require_admin_approval,json=requireAdminApproval,proto3" json:"require_admin_approval,omitempty"`
RequireCorpOwned bool `protobuf:"varint,8,opt,name=require_corp_owned,json=requireCorpOwned,proto3" json:"require_corp_owned,omitempty"`
}
DevicePolicy
specifies device specific restrictions necessary to acquire a
given access level. A DevicePolicy
specifies requirements for requests from
devices to be granted access levels, it does not do any enforcement on the
device. DevicePolicy
acts as an AND over all specified fields, and each
repeated field is an OR over its elements. Any unset fields are ignored. For
example, if the proto is { os_type : DESKTOP_WINDOWS, os_type :
DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be
true for requests originating from encrypted Linux desktops and encrypted
Windows desktops.
func (*DevicePolicy) Descriptor
func (*DevicePolicy) Descriptor() ([]byte, []int)
Deprecated: Use DevicePolicy.ProtoReflect.Descriptor instead.
func (*DevicePolicy) GetAllowedDeviceManagementLevels
func (x *DevicePolicy) GetAllowedDeviceManagementLevels() []_type.DeviceManagementLevel
func (*DevicePolicy) GetAllowedEncryptionStatuses
func (x *DevicePolicy) GetAllowedEncryptionStatuses() []_type.DeviceEncryptionStatus
func (*DevicePolicy) GetOsConstraints
func (x *DevicePolicy) GetOsConstraints() []*OsConstraint
func (*DevicePolicy) GetRequireAdminApproval
func (x *DevicePolicy) GetRequireAdminApproval() bool
func (*DevicePolicy) GetRequireCorpOwned
func (x *DevicePolicy) GetRequireCorpOwned() bool
func (*DevicePolicy) GetRequireScreenlock
func (x *DevicePolicy) GetRequireScreenlock() bool
func (*DevicePolicy) ProtoMessage
func (*DevicePolicy) ProtoMessage()
func (*DevicePolicy) ProtoReflect
func (x *DevicePolicy) ProtoReflect() protoreflect.Message
func (*DevicePolicy) Reset
func (x *DevicePolicy) Reset()
func (*DevicePolicy) String
func (x *DevicePolicy) String() string
GcpUserAccessBinding
type GcpUserAccessBinding struct {
// Immutable. Assigned by the server during creation. The last segment has an arbitrary
// length and has only URI unreserved characters (as defined by
// [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)).
// Should not be specified by the client during creation.
// Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Immutable. Google Group id whose members are subject to this binding's restrictions.
// See "id" in the [G Suite Directory API's Groups resource]
// (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource).
// If a group's email address/alias is changed, this resource will continue
// to point at the changed group. This field does not accept group email
// addresses or aliases.
// Example: "01d520gv4vjcrht"
GroupKey string `protobuf:"bytes,2,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
// Required. Access level that a user must have to be granted access. Only one access
// level is supported, not multiple. This repeated field must have exactly
// one element.
// Example: "accessPolicies/9522/accessLevels/device_trusted"
AccessLevels []string `protobuf:"bytes,3,rep,name=access_levels,json=accessLevels,proto3" json:"access_levels,omitempty"`
// contains filtered or unexported fields
}
Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
func (*GcpUserAccessBinding) Descriptor
func (*GcpUserAccessBinding) Descriptor() ([]byte, []int)
Deprecated: Use GcpUserAccessBinding.ProtoReflect.Descriptor instead.
func (*GcpUserAccessBinding) GetAccessLevels
func (x *GcpUserAccessBinding) GetAccessLevels() []string
func (*GcpUserAccessBinding) GetGroupKey
func (x *GcpUserAccessBinding) GetGroupKey() string
func (*GcpUserAccessBinding) GetName
func (x *GcpUserAccessBinding) GetName() string
func (*GcpUserAccessBinding) ProtoMessage
func (*GcpUserAccessBinding) ProtoMessage()
func (*GcpUserAccessBinding) ProtoReflect
func (x *GcpUserAccessBinding) ProtoReflect() protoreflect.Message
func (*GcpUserAccessBinding) Reset
func (x *GcpUserAccessBinding) Reset()
func (*GcpUserAccessBinding) String
func (x *GcpUserAccessBinding) String() string
GcpUserAccessBindingOperationMetadata
type GcpUserAccessBindingOperationMetadata struct {
// contains filtered or unexported fields
}
Currently, a completed operation means nothing. In the future, this metadata and a completed operation may indicate that the binding has taken effect and is affecting access decisions for all users.
func (*GcpUserAccessBindingOperationMetadata) Descriptor
func (*GcpUserAccessBindingOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GcpUserAccessBindingOperationMetadata.ProtoReflect.Descriptor instead.
func (*GcpUserAccessBindingOperationMetadata) ProtoMessage
func (*GcpUserAccessBindingOperationMetadata) ProtoMessage()
func (*GcpUserAccessBindingOperationMetadata) ProtoReflect
func (x *GcpUserAccessBindingOperationMetadata) ProtoReflect() protoreflect.Message
func (*GcpUserAccessBindingOperationMetadata) Reset
func (x *GcpUserAccessBindingOperationMetadata) Reset()
func (*GcpUserAccessBindingOperationMetadata) String
func (x *GcpUserAccessBindingOperationMetadata) String() string
GetAccessLevelRequest
type GetAccessLevelRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
AccessLevelFormat LevelFormat "" /* 172 byte string literal not displayed */
}
A request to get a particular AccessLevel
.
func (*GetAccessLevelRequest) Descriptor
func (*GetAccessLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessLevelRequest.ProtoReflect.Descriptor instead.
func (*GetAccessLevelRequest) GetAccessLevelFormat
func (x *GetAccessLevelRequest) GetAccessLevelFormat() LevelFormat
func (*GetAccessLevelRequest) GetName
func (x *GetAccessLevelRequest) GetName() string
func (*GetAccessLevelRequest) ProtoMessage
func (*GetAccessLevelRequest) ProtoMessage()
func (*GetAccessLevelRequest) ProtoReflect
func (x *GetAccessLevelRequest) ProtoReflect() protoreflect.Message
func (*GetAccessLevelRequest) Reset
func (x *GetAccessLevelRequest) Reset()
func (*GetAccessLevelRequest) String
func (x *GetAccessLevelRequest) String() string
GetAccessPolicyRequest
type GetAccessPolicyRequest struct {
// Required. Resource name for the access policy to get.
//
// Format `accessPolicies/{policy_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to get a particular AccessPolicy
.
func (*GetAccessPolicyRequest) Descriptor
func (*GetAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetAccessPolicyRequest) GetName
func (x *GetAccessPolicyRequest) GetName() string
func (*GetAccessPolicyRequest) ProtoMessage
func (*GetAccessPolicyRequest) ProtoMessage()
func (*GetAccessPolicyRequest) ProtoReflect
func (x *GetAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetAccessPolicyRequest) Reset
func (x *GetAccessPolicyRequest) Reset()
func (*GetAccessPolicyRequest) String
func (x *GetAccessPolicyRequest) String() string
GetGcpUserAccessBindingRequest
type GetGcpUserAccessBindingRequest struct {
// Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request of [GetGcpUserAccessBinding] [google.identity.accesscontextmanager.v1.AccessContextManager.GetGcpUserAccessBinding].
func (*GetGcpUserAccessBindingRequest) Descriptor
func (*GetGcpUserAccessBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGcpUserAccessBindingRequest.ProtoReflect.Descriptor instead.
func (*GetGcpUserAccessBindingRequest) GetName
func (x *GetGcpUserAccessBindingRequest) GetName() string
func (*GetGcpUserAccessBindingRequest) ProtoMessage
func (*GetGcpUserAccessBindingRequest) ProtoMessage()
func (*GetGcpUserAccessBindingRequest) ProtoReflect
func (x *GetGcpUserAccessBindingRequest) ProtoReflect() protoreflect.Message
func (*GetGcpUserAccessBindingRequest) Reset
func (x *GetGcpUserAccessBindingRequest) Reset()
func (*GetGcpUserAccessBindingRequest) String
func (x *GetGcpUserAccessBindingRequest) String() string
GetServicePerimeterRequest
type GetServicePerimeterRequest struct {
// Required. Resource name for the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter].
//
// Format:
// `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to get a particular ServicePerimeter
.
func (*GetServicePerimeterRequest) Descriptor
func (*GetServicePerimeterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServicePerimeterRequest.ProtoReflect.Descriptor instead.
func (*GetServicePerimeterRequest) GetName
func (x *GetServicePerimeterRequest) GetName() string
func (*GetServicePerimeterRequest) ProtoMessage
func (*GetServicePerimeterRequest) ProtoMessage()
func (*GetServicePerimeterRequest) ProtoReflect
func (x *GetServicePerimeterRequest) ProtoReflect() protoreflect.Message
func (*GetServicePerimeterRequest) Reset
func (x *GetServicePerimeterRequest) Reset()
func (*GetServicePerimeterRequest) String
func (x *GetServicePerimeterRequest) String() string
LevelFormat
type LevelFormat int32
The format used in an AccessLevel
.
LevelFormat_LEVEL_FORMAT_UNSPECIFIED, LevelFormat_AS_DEFINED, LevelFormat_CEL
const (
// The format was not specified.
LevelFormat_LEVEL_FORMAT_UNSPECIFIED LevelFormat = 0
// Uses the format the resource was defined in. BasicLevels are returned as
// BasicLevels, CustomLevels are returned as CustomLevels.
LevelFormat_AS_DEFINED LevelFormat = 1
// Use Cloud Common Expression Language when returning the resource. Both
// BasicLevels and CustomLevels are returned as CustomLevels.
LevelFormat_CEL LevelFormat = 2
)
func (LevelFormat) Descriptor
func (LevelFormat) Descriptor() protoreflect.EnumDescriptor
func (LevelFormat) Enum
func (x LevelFormat) Enum() *LevelFormat
func (LevelFormat) EnumDescriptor
func (LevelFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use LevelFormat.Descriptor instead.
func (LevelFormat) Number
func (x LevelFormat) Number() protoreflect.EnumNumber
func (LevelFormat) String
func (x LevelFormat) String() string
func (LevelFormat) Type
func (LevelFormat) Type() protoreflect.EnumType
ListAccessLevelsRequest
type ListAccessLevelsRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
AccessLevelFormat LevelFormat "" /* 172 byte string literal not displayed */
}
A request to list all AccessLevels
in an AccessPolicy
.
func (*ListAccessLevelsRequest) Descriptor
func (*ListAccessLevelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessLevelsRequest.ProtoReflect.Descriptor instead.
func (*ListAccessLevelsRequest) GetAccessLevelFormat
func (x *ListAccessLevelsRequest) GetAccessLevelFormat() LevelFormat
func (*ListAccessLevelsRequest) GetPageSize
func (x *ListAccessLevelsRequest) GetPageSize() int32
func (*ListAccessLevelsRequest) GetPageToken
func (x *ListAccessLevelsRequest) GetPageToken() string
func (*ListAccessLevelsRequest) GetParent
func (x *ListAccessLevelsRequest) GetParent() string
func (*ListAccessLevelsRequest) ProtoMessage
func (*ListAccessLevelsRequest) ProtoMessage()
func (*ListAccessLevelsRequest) ProtoReflect
func (x *ListAccessLevelsRequest) ProtoReflect() protoreflect.Message
func (*ListAccessLevelsRequest) Reset
func (x *ListAccessLevelsRequest) Reset()
func (*ListAccessLevelsRequest) String
func (x *ListAccessLevelsRequest) String() string
ListAccessLevelsResponse
type ListAccessLevelsResponse struct {
// List of the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] instances.
AccessLevels []*AccessLevel `protobuf:"bytes,1,rep,name=access_levels,json=accessLevels,proto3" json:"access_levels,omitempty"`
// The pagination token to retrieve the next page of results. If the value is
// empty, no further results remain.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
A response to ListAccessLevelsRequest
.
func (*ListAccessLevelsResponse) Descriptor
func (*ListAccessLevelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessLevelsResponse.ProtoReflect.Descriptor instead.
func (*ListAccessLevelsResponse) GetAccessLevels
func (x *ListAccessLevelsResponse) GetAccessLevels() []*AccessLevel
func (*ListAccessLevelsResponse) GetNextPageToken
func (x *ListAccessLevelsResponse) GetNextPageToken() string
func (*ListAccessLevelsResponse) ProtoMessage
func (*ListAccessLevelsResponse) ProtoMessage()
func (*ListAccessLevelsResponse) ProtoReflect
func (x *ListAccessLevelsResponse) ProtoReflect() protoreflect.Message
func (*ListAccessLevelsResponse) Reset
func (x *ListAccessLevelsResponse) Reset()
func (*ListAccessLevelsResponse) String
func (x *ListAccessLevelsResponse) String() string
ListAccessPoliciesRequest
type ListAccessPoliciesRequest struct {
// Required. Resource name for the container to list AccessPolicy instances
// from.
//
// Format:
// `organizations/{org_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Number of AccessPolicy instances to include in the list. Default 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Next page token for the next batch of AccessPolicy instances. Defaults to
// the first page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
A request to list all AccessPolicies
for a container.
func (*ListAccessPoliciesRequest) Descriptor
func (*ListAccessPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListAccessPoliciesRequest) GetPageSize
func (x *ListAccessPoliciesRequest) GetPageSize() int32
func (*ListAccessPoliciesRequest) GetPageToken
func (x *ListAccessPoliciesRequest) GetPageToken() string
func (*ListAccessPoliciesRequest) GetParent
func (x *ListAccessPoliciesRequest) GetParent() string
func (*ListAccessPoliciesRequest) ProtoMessage
func (*ListAccessPoliciesRequest) ProtoMessage()
func (*ListAccessPoliciesRequest) ProtoReflect
func (x *ListAccessPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListAccessPoliciesRequest) Reset
func (x *ListAccessPoliciesRequest) Reset()
func (*ListAccessPoliciesRequest) String
func (x *ListAccessPoliciesRequest) String() string
ListAccessPoliciesResponse
type ListAccessPoliciesResponse struct {
// List of the AccessPolicy instances.
AccessPolicies []*AccessPolicy `protobuf:"bytes,1,rep,name=access_policies,json=accessPolicies,proto3" json:"access_policies,omitempty"`
// The pagination token to retrieve the next page of results. If the value is
// empty, no further results remain.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
A response to ListAccessPoliciesRequest
.
func (*ListAccessPoliciesResponse) Descriptor
func (*ListAccessPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListAccessPoliciesResponse) GetAccessPolicies
func (x *ListAccessPoliciesResponse) GetAccessPolicies() []*AccessPolicy
func (*ListAccessPoliciesResponse) GetNextPageToken
func (x *ListAccessPoliciesResponse) GetNextPageToken() string
func (*ListAccessPoliciesResponse) ProtoMessage
func (*ListAccessPoliciesResponse) ProtoMessage()
func (*ListAccessPoliciesResponse) ProtoReflect
func (x *ListAccessPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListAccessPoliciesResponse) Reset
func (x *ListAccessPoliciesResponse) Reset()
func (*ListAccessPoliciesResponse) String
func (x *ListAccessPoliciesResponse) String() string
ListGcpUserAccessBindingsRequest
type ListGcpUserAccessBindingsRequest struct {
// Required. Example: "organizations/256"
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of items to return. The server may return fewer items.
// If left blank, the server may return any number of items.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. If left blank, returns the first page. To enumerate all items, use the
// [next_page_token]
// [google.identity.accesscontextmanager.v1.ListGcpUserAccessBindingsResponse.next_page_token]
// from your previous list operation.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request of [ListGcpUserAccessBindings] [google.identity.accesscontextmanager.v1.AccessContextManager.ListGcpUserAccessBindings].
func (*ListGcpUserAccessBindingsRequest) Descriptor
func (*ListGcpUserAccessBindingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGcpUserAccessBindingsRequest.ProtoReflect.Descriptor instead.
func (*ListGcpUserAccessBindingsRequest) GetPageSize
func (x *ListGcpUserAccessBindingsRequest) GetPageSize() int32
func (*ListGcpUserAccessBindingsRequest) GetPageToken
func (x *ListGcpUserAccessBindingsRequest) GetPageToken() string
func (*ListGcpUserAccessBindingsRequest) GetParent
func (x *ListGcpUserAccessBindingsRequest) GetParent() string
func (*ListGcpUserAccessBindingsRequest) ProtoMessage
func (*ListGcpUserAccessBindingsRequest) ProtoMessage()
func (*ListGcpUserAccessBindingsRequest) ProtoReflect
func (x *ListGcpUserAccessBindingsRequest) ProtoReflect() protoreflect.Message
func (*ListGcpUserAccessBindingsRequest) Reset
func (x *ListGcpUserAccessBindingsRequest) Reset()
func (*ListGcpUserAccessBindingsRequest) String
func (x *ListGcpUserAccessBindingsRequest) String() string
ListGcpUserAccessBindingsResponse
type ListGcpUserAccessBindingsResponse struct {
GcpUserAccessBindings []*GcpUserAccessBinding "" /* 128 byte string literal not displayed */
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
}
Response of [ListGcpUserAccessBindings] [google.identity.accesscontextmanager.v1.AccessContextManager.ListGcpUserAccessBindings].
func (*ListGcpUserAccessBindingsResponse) Descriptor
func (*ListGcpUserAccessBindingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGcpUserAccessBindingsResponse.ProtoReflect.Descriptor instead.
func (*ListGcpUserAccessBindingsResponse) GetGcpUserAccessBindings
func (x *ListGcpUserAccessBindingsResponse) GetGcpUserAccessBindings() []*GcpUserAccessBinding
func (*ListGcpUserAccessBindingsResponse) GetNextPageToken
func (x *ListGcpUserAccessBindingsResponse) GetNextPageToken() string
func (*ListGcpUserAccessBindingsResponse) ProtoMessage
func (*ListGcpUserAccessBindingsResponse) ProtoMessage()
func (*ListGcpUserAccessBindingsResponse) ProtoReflect
func (x *ListGcpUserAccessBindingsResponse) ProtoReflect() protoreflect.Message
func (*ListGcpUserAccessBindingsResponse) Reset
func (x *ListGcpUserAccessBindingsResponse) Reset()
func (*ListGcpUserAccessBindingsResponse) String
func (x *ListGcpUserAccessBindingsResponse) String() string
ListServicePerimetersRequest
type ListServicePerimetersRequest struct {
// Required. Resource name for the access policy to list [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] from.
//
// Format:
// `accessPolicies/{policy_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Number of [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] to include
// in the list. Default 100.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Next page token for the next batch of [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.
// Defaults to the first page of results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
A request to list all ServicePerimeters
in an AccessPolicy
.
func (*ListServicePerimetersRequest) Descriptor
func (*ListServicePerimetersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicePerimetersRequest.ProtoReflect.Descriptor instead.
func (*ListServicePerimetersRequest) GetPageSize
func (x *ListServicePerimetersRequest) GetPageSize() int32
func (*ListServicePerimetersRequest) GetPageToken
func (x *ListServicePerimetersRequest) GetPageToken() string
func (*ListServicePerimetersRequest) GetParent
func (x *ListServicePerimetersRequest) GetParent() string
func (*ListServicePerimetersRequest) ProtoMessage
func (*ListServicePerimetersRequest) ProtoMessage()
func (*ListServicePerimetersRequest) ProtoReflect
func (x *ListServicePerimetersRequest) ProtoReflect() protoreflect.Message
func (*ListServicePerimetersRequest) Reset
func (x *ListServicePerimetersRequest) Reset()
func (*ListServicePerimetersRequest) String
func (x *ListServicePerimetersRequest) String() string
ListServicePerimetersResponse
type ListServicePerimetersResponse struct {
// List of the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.
ServicePerimeters []*ServicePerimeter `protobuf:"bytes,1,rep,name=service_perimeters,json=servicePerimeters,proto3" json:"service_perimeters,omitempty"`
// The pagination token to retrieve the next page of results. If the value is
// empty, no further results remain.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
A response to ListServicePerimetersRequest
.
func (*ListServicePerimetersResponse) Descriptor
func (*ListServicePerimetersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicePerimetersResponse.ProtoReflect.Descriptor instead.
func (*ListServicePerimetersResponse) GetNextPageToken
func (x *ListServicePerimetersResponse) GetNextPageToken() string
func (*ListServicePerimetersResponse) GetServicePerimeters
func (x *ListServicePerimetersResponse) GetServicePerimeters() []*ServicePerimeter
func (*ListServicePerimetersResponse) ProtoMessage
func (*ListServicePerimetersResponse) ProtoMessage()
func (*ListServicePerimetersResponse) ProtoReflect
func (x *ListServicePerimetersResponse) ProtoReflect() protoreflect.Message
func (*ListServicePerimetersResponse) Reset
func (x *ListServicePerimetersResponse) Reset()
func (*ListServicePerimetersResponse) String
func (x *ListServicePerimetersResponse) String() string
OsConstraint
type OsConstraint struct {
OsType _type.OsType "" /* 134 byte string literal not displayed */
MinimumVersion string `protobuf:"bytes,2,opt,name=minimum_version,json=minimumVersion,proto3" json:"minimum_version,omitempty"`
RequireVerifiedChromeOs bool "" /* 135 byte string literal not displayed */
}
A restriction on the OS type and version of devices making requests.
func (*OsConstraint) Descriptor
func (*OsConstraint) Descriptor() ([]byte, []int)
Deprecated: Use OsConstraint.ProtoReflect.Descriptor instead.
func (*OsConstraint) GetMinimumVersion
func (x *OsConstraint) GetMinimumVersion() string
func (*OsConstraint) GetOsType
func (x *OsConstraint) GetOsType() _type.OsType
func (*OsConstraint) GetRequireVerifiedChromeOs
func (x *OsConstraint) GetRequireVerifiedChromeOs() bool
func (*OsConstraint) ProtoMessage
func (*OsConstraint) ProtoMessage()
func (*OsConstraint) ProtoReflect
func (x *OsConstraint) ProtoReflect() protoreflect.Message
func (*OsConstraint) Reset
func (x *OsConstraint) Reset()
func (*OsConstraint) String
func (x *OsConstraint) String() string
ReplaceAccessLevelsRequest
type ReplaceAccessLevelsRequest struct {
// Required. Resource name for the access policy which owns these
// [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel].
//
// Format: `accessPolicies/{policy_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The desired [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] that should
// replace all existing [Access Levels]
// [google.identity.accesscontextmanager.v1.AccessLevel] in the
// [Access Policy]
// [google.identity.accesscontextmanager.v1.AccessPolicy].
AccessLevels []*AccessLevel `protobuf:"bytes,2,rep,name=access_levels,json=accessLevels,proto3" json:"access_levels,omitempty"`
// Optional. The etag for the version of the [Access Policy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] that this
// replace operation is to be performed on. If, at the time of replace, the
// etag for the Access Policy stored in Access Context Manager is different
// from the specified etag, then the replace operation will not be performed
// and the call will fail. This field is not required. If etag is not
// provided, the operation will be performed as if a valid etag is provided.
Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically.
func (*ReplaceAccessLevelsRequest) Descriptor
func (*ReplaceAccessLevelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceAccessLevelsRequest.ProtoReflect.Descriptor instead.
func (*ReplaceAccessLevelsRequest) GetAccessLevels
func (x *ReplaceAccessLevelsRequest) GetAccessLevels() []*AccessLevel
func (*ReplaceAccessLevelsRequest) GetEtag
func (x *ReplaceAccessLevelsRequest) GetEtag() string
func (*ReplaceAccessLevelsRequest) GetParent
func (x *ReplaceAccessLevelsRequest) GetParent() string
func (*ReplaceAccessLevelsRequest) ProtoMessage
func (*ReplaceAccessLevelsRequest) ProtoMessage()
func (*ReplaceAccessLevelsRequest) ProtoReflect
func (x *ReplaceAccessLevelsRequest) ProtoReflect() protoreflect.Message
func (*ReplaceAccessLevelsRequest) Reset
func (x *ReplaceAccessLevelsRequest) Reset()
func (*ReplaceAccessLevelsRequest) String
func (x *ReplaceAccessLevelsRequest) String() string
ReplaceAccessLevelsResponse
type ReplaceAccessLevelsResponse struct {
// List of the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] instances.
AccessLevels []*AccessLevel `protobuf:"bytes,1,rep,name=access_levels,json=accessLevels,proto3" json:"access_levels,omitempty"`
// contains filtered or unexported fields
}
A response to ReplaceAccessLevelsRequest. This will be put inside of Operation.response field.
func (*ReplaceAccessLevelsResponse) Descriptor
func (*ReplaceAccessLevelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceAccessLevelsResponse.ProtoReflect.Descriptor instead.
func (*ReplaceAccessLevelsResponse) GetAccessLevels
func (x *ReplaceAccessLevelsResponse) GetAccessLevels() []*AccessLevel
func (*ReplaceAccessLevelsResponse) ProtoMessage
func (*ReplaceAccessLevelsResponse) ProtoMessage()
func (*ReplaceAccessLevelsResponse) ProtoReflect
func (x *ReplaceAccessLevelsResponse) ProtoReflect() protoreflect.Message
func (*ReplaceAccessLevelsResponse) Reset
func (x *ReplaceAccessLevelsResponse) Reset()
func (*ReplaceAccessLevelsResponse) String
func (x *ReplaceAccessLevelsResponse) String() string
ReplaceServicePerimetersRequest
type ReplaceServicePerimetersRequest struct {
// Required. Resource name for the access policy which owns these
// [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter].
//
// Format: `accessPolicies/{policy_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The desired [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] that should
// replace all existing [Service Perimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] in the
// [Access Policy]
// [google.identity.accesscontextmanager.v1.AccessPolicy].
ServicePerimeters []*ServicePerimeter `protobuf:"bytes,2,rep,name=service_perimeters,json=servicePerimeters,proto3" json:"service_perimeters,omitempty"`
// Optional. The etag for the version of the [Access Policy]
// [google.identity.accesscontextmanager.v1.AccessPolicy] that this
// replace operation is to be performed on. If, at the time of replace, the
// etag for the Access Policy stored in Access Context Manager is different
// from the specified etag, then the replace operation will not be performed
// and the call will fail. This field is not required. If etag is not
// provided, the operation will be performed as if a valid etag is provided.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}
A request to replace all existing Service Perimeters in an Access Policy with the Service Perimeters provided. This is done atomically.
func (*ReplaceServicePerimetersRequest) Descriptor
func (*ReplaceServicePerimetersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceServicePerimetersRequest.ProtoReflect.Descriptor instead.
func (*ReplaceServicePerimetersRequest) GetEtag
func (x *ReplaceServicePerimetersRequest) GetEtag() string
func (*ReplaceServicePerimetersRequest) GetParent
func (x *ReplaceServicePerimetersRequest) GetParent() string
func (*ReplaceServicePerimetersRequest) GetServicePerimeters
func (x *ReplaceServicePerimetersRequest) GetServicePerimeters() []*ServicePerimeter
func (*ReplaceServicePerimetersRequest) ProtoMessage
func (*ReplaceServicePerimetersRequest) ProtoMessage()
func (*ReplaceServicePerimetersRequest) ProtoReflect
func (x *ReplaceServicePerimetersRequest) ProtoReflect() protoreflect.Message
func (*ReplaceServicePerimetersRequest) Reset
func (x *ReplaceServicePerimetersRequest) Reset()
func (*ReplaceServicePerimetersRequest) String
func (x *ReplaceServicePerimetersRequest) String() string
ReplaceServicePerimetersResponse
type ReplaceServicePerimetersResponse struct {
// List of the [Service Perimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.
ServicePerimeters []*ServicePerimeter `protobuf:"bytes,1,rep,name=service_perimeters,json=servicePerimeters,proto3" json:"service_perimeters,omitempty"`
// contains filtered or unexported fields
}
A response to ReplaceServicePerimetersRequest. This will be put inside of Operation.response field.
func (*ReplaceServicePerimetersResponse) Descriptor
func (*ReplaceServicePerimetersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceServicePerimetersResponse.ProtoReflect.Descriptor instead.
func (*ReplaceServicePerimetersResponse) GetServicePerimeters
func (x *ReplaceServicePerimetersResponse) GetServicePerimeters() []*ServicePerimeter
func (*ReplaceServicePerimetersResponse) ProtoMessage
func (*ReplaceServicePerimetersResponse) ProtoMessage()
func (*ReplaceServicePerimetersResponse) ProtoReflect
func (x *ReplaceServicePerimetersResponse) ProtoReflect() protoreflect.Message
func (*ReplaceServicePerimetersResponse) Reset
func (x *ReplaceServicePerimetersResponse) Reset()
func (*ReplaceServicePerimetersResponse) String
func (x *ReplaceServicePerimetersResponse) String() string
ServicePerimeter
type ServicePerimeter struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
PerimeterType ServicePerimeter_PerimeterType "" /* 177 byte string literal not displayed */
Status *ServicePerimeterConfig `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
Spec *ServicePerimeterConfig `protobuf:"bytes,8,opt,name=spec,proto3" json:"spec,omitempty"`
UseExplicitDryRunSpec bool "" /* 131 byte string literal not displayed */
}
ServicePerimeter
describes a set of Google Cloud resources which can freely
import and export data amongst themselves, but not export outside of the
ServicePerimeter
. If a request with a source within this ServicePerimeter
has a target outside of the ServicePerimeter
, the request will be blocked.
Otherwise the request is allowed. There are two types of Service Perimeter -
Regular and Bridge. Regular Service Perimeters cannot overlap, a single
Google Cloud project can only belong to a single regular Service Perimeter.
Service Perimeter Bridges can contain only Google Cloud projects as members,
a single Google Cloud project may belong to multiple Service Perimeter
Bridges.
func (*ServicePerimeter) Descriptor
func (*ServicePerimeter) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeter.ProtoReflect.Descriptor instead.
func (*ServicePerimeter) GetCreateTime
func (x *ServicePerimeter) GetCreateTime() *timestamppb.Timestamp
func (*ServicePerimeter) GetDescription
func (x *ServicePerimeter) GetDescription() string
func (*ServicePerimeter) GetName
func (x *ServicePerimeter) GetName() string
func (*ServicePerimeter) GetPerimeterType
func (x *ServicePerimeter) GetPerimeterType() ServicePerimeter_PerimeterType
func (*ServicePerimeter) GetSpec
func (x *ServicePerimeter) GetSpec() *ServicePerimeterConfig
func (*ServicePerimeter) GetStatus
func (x *ServicePerimeter) GetStatus() *ServicePerimeterConfig
func (*ServicePerimeter) GetTitle
func (x *ServicePerimeter) GetTitle() string
func (*ServicePerimeter) GetUpdateTime
func (x *ServicePerimeter) GetUpdateTime() *timestamppb.Timestamp
func (*ServicePerimeter) GetUseExplicitDryRunSpec
func (x *ServicePerimeter) GetUseExplicitDryRunSpec() bool
func (*ServicePerimeter) ProtoMessage
func (*ServicePerimeter) ProtoMessage()
func (*ServicePerimeter) ProtoReflect
func (x *ServicePerimeter) ProtoReflect() protoreflect.Message
func (*ServicePerimeter) Reset
func (x *ServicePerimeter) Reset()
func (*ServicePerimeter) String
func (x *ServicePerimeter) String() string
ServicePerimeterConfig
type ServicePerimeterConfig struct {
Resources []string `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
AccessLevels []string `protobuf:"bytes,2,rep,name=access_levels,json=accessLevels,proto3" json:"access_levels,omitempty"`
RestrictedServices []string `protobuf:"bytes,4,rep,name=restricted_services,json=restrictedServices,proto3" json:"restricted_services,omitempty"`
VpcAccessibleServices *ServicePerimeterConfig_VpcAccessibleServices "" /* 127 byte string literal not displayed */
IngressPolicies []*ServicePerimeterConfig_IngressPolicy `protobuf:"bytes,8,rep,name=ingress_policies,json=ingressPolicies,proto3" json:"ingress_policies,omitempty"`
EgressPolicies []*ServicePerimeterConfig_EgressPolicy `protobuf:"bytes,9,rep,name=egress_policies,json=egressPolicies,proto3" json:"egress_policies,omitempty"`
}
ServicePerimeterConfig
specifies a set of Google Cloud resources that
describe specific Service Perimeter configuration.
func (*ServicePerimeterConfig) Descriptor
func (*ServicePerimeterConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig) GetAccessLevels
func (x *ServicePerimeterConfig) GetAccessLevels() []string
func (*ServicePerimeterConfig) GetEgressPolicies
func (x *ServicePerimeterConfig) GetEgressPolicies() []*ServicePerimeterConfig_EgressPolicy
func (*ServicePerimeterConfig) GetIngressPolicies
func (x *ServicePerimeterConfig) GetIngressPolicies() []*ServicePerimeterConfig_IngressPolicy
func (*ServicePerimeterConfig) GetResources
func (x *ServicePerimeterConfig) GetResources() []string
func (*ServicePerimeterConfig) GetRestrictedServices
func (x *ServicePerimeterConfig) GetRestrictedServices() []string
func (*ServicePerimeterConfig) GetVpcAccessibleServices
func (x *ServicePerimeterConfig) GetVpcAccessibleServices() *ServicePerimeterConfig_VpcAccessibleServices
func (*ServicePerimeterConfig) ProtoMessage
func (*ServicePerimeterConfig) ProtoMessage()
func (*ServicePerimeterConfig) ProtoReflect
func (x *ServicePerimeterConfig) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig) Reset
func (x *ServicePerimeterConfig) Reset()
func (*ServicePerimeterConfig) String
func (x *ServicePerimeterConfig) String() string
ServicePerimeterConfig_ApiOperation
type ServicePerimeterConfig_ApiOperation struct {
// The name of the API whose methods or permissions the [IngressPolicy]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
// or [EgressPolicy]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
// want to allow. A single [ApiOperation]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
// with `service_name` field set to `*` will allow all methods AND
// permissions for all services.
ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
// API methods or permissions to allow. Method or permission must belong to
// the service specified by `service_name` field. A single [MethodSelector]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector]
// entry with `*` specified for the `method` field will allow all methods
// AND permissions for the service specified in `service_name`.
MethodSelectors []*ServicePerimeterConfig_MethodSelector `protobuf:"bytes,2,rep,name=method_selectors,json=methodSelectors,proto3" json:"method_selectors,omitempty"`
// contains filtered or unexported fields
}
Identification for an API Operation.
func (*ServicePerimeterConfig_ApiOperation) Descriptor
func (*ServicePerimeterConfig_ApiOperation) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_ApiOperation.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_ApiOperation) GetMethodSelectors
func (x *ServicePerimeterConfig_ApiOperation) GetMethodSelectors() []*ServicePerimeterConfig_MethodSelector
func (*ServicePerimeterConfig_ApiOperation) GetServiceName
func (x *ServicePerimeterConfig_ApiOperation) GetServiceName() string
func (*ServicePerimeterConfig_ApiOperation) ProtoMessage
func (*ServicePerimeterConfig_ApiOperation) ProtoMessage()
func (*ServicePerimeterConfig_ApiOperation) ProtoReflect
func (x *ServicePerimeterConfig_ApiOperation) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_ApiOperation) Reset
func (x *ServicePerimeterConfig_ApiOperation) Reset()
func (*ServicePerimeterConfig_ApiOperation) String
func (x *ServicePerimeterConfig_ApiOperation) String() string
ServicePerimeterConfig_EgressFrom
type ServicePerimeterConfig_EgressFrom struct {
Identities []string `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
IdentityType ServicePerimeterConfig_IdentityType "" /* 179 byte string literal not displayed */
}
Defines the conditions under which an [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter], then that [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] must have an [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] which allows access in order for this request to succeed.
func (*ServicePerimeterConfig_EgressFrom) Descriptor
func (*ServicePerimeterConfig_EgressFrom) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_EgressFrom.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_EgressFrom) GetIdentities
func (x *ServicePerimeterConfig_EgressFrom) GetIdentities() []string
func (*ServicePerimeterConfig_EgressFrom) GetIdentityType
func (x *ServicePerimeterConfig_EgressFrom) GetIdentityType() ServicePerimeterConfig_IdentityType
func (*ServicePerimeterConfig_EgressFrom) ProtoMessage
func (*ServicePerimeterConfig_EgressFrom) ProtoMessage()
func (*ServicePerimeterConfig_EgressFrom) ProtoReflect
func (x *ServicePerimeterConfig_EgressFrom) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_EgressFrom) Reset
func (x *ServicePerimeterConfig_EgressFrom) Reset()
func (*ServicePerimeterConfig_EgressFrom) String
func (x *ServicePerimeterConfig_EgressFrom) String() string
ServicePerimeterConfig_EgressPolicy
type ServicePerimeterConfig_EgressPolicy struct {
// Defines conditions on the source of a request causing this [EgressPolicy]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
// to apply.
EgressFrom *ServicePerimeterConfig_EgressFrom `protobuf:"bytes,1,opt,name=egress_from,json=egressFrom,proto3" json:"egress_from,omitempty"`
// Defines the conditions on the [ApiOperation]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
// and destination resources that cause this [EgressPolicy]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
// to apply.
EgressTo *ServicePerimeterConfig_EgressTo `protobuf:"bytes,2,opt,name=egress_to,json=egressTo,proto3" json:"egress_to,omitempty"`
// contains filtered or unexported fields
}
Policy for egress from perimeter.
[EgressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
match requests based on egress_from
and egress_to
stanzas. For an
[EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
to match, both egress_from
and egress_to
stanzas must be matched. If an
[EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
matches a request, the request is allowed to span the [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] boundary.
For example, an [EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
can be used to allow VMs on networks within the [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] to access a
defined set of projects outside the perimeter in certain contexts (e.g. to
read data from a Cloud Storage bucket or query against a BigQuery dataset).
[EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] are concerned with the resources that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom] and [EgressTo] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo].
func (*ServicePerimeterConfig_EgressPolicy) Descriptor
func (*ServicePerimeterConfig_EgressPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_EgressPolicy.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_EgressPolicy) GetEgressFrom
func (x *ServicePerimeterConfig_EgressPolicy) GetEgressFrom() *ServicePerimeterConfig_EgressFrom
func (*ServicePerimeterConfig_EgressPolicy) GetEgressTo
func (x *ServicePerimeterConfig_EgressPolicy) GetEgressTo() *ServicePerimeterConfig_EgressTo
func (*ServicePerimeterConfig_EgressPolicy) ProtoMessage
func (*ServicePerimeterConfig_EgressPolicy) ProtoMessage()
func (*ServicePerimeterConfig_EgressPolicy) ProtoReflect
func (x *ServicePerimeterConfig_EgressPolicy) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_EgressPolicy) Reset
func (x *ServicePerimeterConfig_EgressPolicy) Reset()
func (*ServicePerimeterConfig_EgressPolicy) String
func (x *ServicePerimeterConfig_EgressPolicy) String() string
ServicePerimeterConfig_EgressTo
type ServicePerimeterConfig_EgressTo struct {
// A list of resources, currently only projects in the form
// `projects/
Defines the conditions under which an [EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
matches a request. Conditions are based on information about the
[ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
intended to be performed on the resources
specified. Note that if the
destination of the request is also protected by a [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter], then that
[ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] must have
an [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
which allows access in order for this request to succeed. The request must
match operations
AND resources
fields in order to be allowed egress out
of the perimeter.
func (*ServicePerimeterConfig_EgressTo) Descriptor
func (*ServicePerimeterConfig_EgressTo) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_EgressTo.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_EgressTo) GetOperations
func (x *ServicePerimeterConfig_EgressTo) GetOperations() []*ServicePerimeterConfig_ApiOperation
func (*ServicePerimeterConfig_EgressTo) GetResources
func (x *ServicePerimeterConfig_EgressTo) GetResources() []string
func (*ServicePerimeterConfig_EgressTo) ProtoMessage
func (*ServicePerimeterConfig_EgressTo) ProtoMessage()
func (*ServicePerimeterConfig_EgressTo) ProtoReflect
func (x *ServicePerimeterConfig_EgressTo) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_EgressTo) Reset
func (x *ServicePerimeterConfig_EgressTo) Reset()
func (*ServicePerimeterConfig_EgressTo) String
func (x *ServicePerimeterConfig_EgressTo) String() string
ServicePerimeterConfig_IdentityType
type ServicePerimeterConfig_IdentityType int32
Specifies the types of identities that are allowed access in either [IngressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom] or [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom] rules.
ServicePerimeterConfig_IDENTITY_TYPE_UNSPECIFIED, ServicePerimeterConfig_ANY_IDENTITY, ServicePerimeterConfig_ANY_USER_ACCOUNT, ServicePerimeterConfig_ANY_SERVICE_ACCOUNT
const (
// No blanket identity group specified.
ServicePerimeterConfig_IDENTITY_TYPE_UNSPECIFIED ServicePerimeterConfig_IdentityType = 0
// Authorize access from all identities outside the perimeter.
ServicePerimeterConfig_ANY_IDENTITY ServicePerimeterConfig_IdentityType = 1
// Authorize access from all human users outside the perimeter.
ServicePerimeterConfig_ANY_USER_ACCOUNT ServicePerimeterConfig_IdentityType = 2
// Authorize access from all service accounts outside the perimeter.
ServicePerimeterConfig_ANY_SERVICE_ACCOUNT ServicePerimeterConfig_IdentityType = 3
)
func (ServicePerimeterConfig_IdentityType) Descriptor
func (ServicePerimeterConfig_IdentityType) Descriptor() protoreflect.EnumDescriptor
func (ServicePerimeterConfig_IdentityType) Enum
func (x ServicePerimeterConfig_IdentityType) Enum() *ServicePerimeterConfig_IdentityType
func (ServicePerimeterConfig_IdentityType) EnumDescriptor
func (ServicePerimeterConfig_IdentityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_IdentityType.Descriptor instead.
func (ServicePerimeterConfig_IdentityType) Number
func (x ServicePerimeterConfig_IdentityType) Number() protoreflect.EnumNumber
func (ServicePerimeterConfig_IdentityType) String
func (x ServicePerimeterConfig_IdentityType) String() string
func (ServicePerimeterConfig_IdentityType) Type
func (ServicePerimeterConfig_IdentityType) Type() protoreflect.EnumType
ServicePerimeterConfig_IngressFrom
type ServicePerimeterConfig_IngressFrom struct {
Sources []*ServicePerimeterConfig_IngressSource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
Identities []string `protobuf:"bytes,2,rep,name=identities,proto3" json:"identities,omitempty"`
IdentityType ServicePerimeterConfig_IdentityType "" /* 179 byte string literal not displayed */
}
Defines the conditions under which an [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
matches a request. Conditions are based on information about the source of
the request. The request must satisfy what is defined in sources
AND
identity related fields in order to match.
func (*ServicePerimeterConfig_IngressFrom) Descriptor
func (*ServicePerimeterConfig_IngressFrom) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_IngressFrom.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_IngressFrom) GetIdentities
func (x *ServicePerimeterConfig_IngressFrom) GetIdentities() []string
func (*ServicePerimeterConfig_IngressFrom) GetIdentityType
func (x *ServicePerimeterConfig_IngressFrom) GetIdentityType() ServicePerimeterConfig_IdentityType
func (*ServicePerimeterConfig_IngressFrom) GetSources
func (x *ServicePerimeterConfig_IngressFrom) GetSources() []*ServicePerimeterConfig_IngressSource
func (*ServicePerimeterConfig_IngressFrom) ProtoMessage
func (*ServicePerimeterConfig_IngressFrom) ProtoMessage()
func (*ServicePerimeterConfig_IngressFrom) ProtoReflect
func (x *ServicePerimeterConfig_IngressFrom) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_IngressFrom) Reset
func (x *ServicePerimeterConfig_IngressFrom) Reset()
func (*ServicePerimeterConfig_IngressFrom) String
func (x *ServicePerimeterConfig_IngressFrom) String() string
ServicePerimeterConfig_IngressPolicy
type ServicePerimeterConfig_IngressPolicy struct {
// Defines the conditions on the source of a request causing this
// [IngressPolicy]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
// to apply.
IngressFrom *ServicePerimeterConfig_IngressFrom `protobuf:"bytes,1,opt,name=ingress_from,json=ingressFrom,proto3" json:"ingress_from,omitempty"`
// Defines the conditions on the [ApiOperation]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
// and request destination that cause this [IngressPolicy]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
// to apply.
IngressTo *ServicePerimeterConfig_IngressTo `protobuf:"bytes,2,opt,name=ingress_to,json=ingressTo,proto3" json:"ingress_to,omitempty"`
// contains filtered or unexported fields
}
Policy for ingress into [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter].
[IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
match requests based on ingress_from
and ingress_to
stanzas. For an
ingress policy to match, both the ingress_from
and ingress_to
stanzas
must be matched. If an [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
matches a request, the request is allowed through the perimeter boundary
from outside the perimeter.
For example, access from the internet can be allowed either based on an [AccessLevel] [google.identity.accesscontextmanager.v1.AccessLevel] or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required.
Individual ingress policies can be limited by restricting which
services and/or actions they match using the ingress_to
field.
func (*ServicePerimeterConfig_IngressPolicy) Descriptor
func (*ServicePerimeterConfig_IngressPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_IngressPolicy.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_IngressPolicy) GetIngressFrom
func (x *ServicePerimeterConfig_IngressPolicy) GetIngressFrom() *ServicePerimeterConfig_IngressFrom
func (*ServicePerimeterConfig_IngressPolicy) GetIngressTo
func (x *ServicePerimeterConfig_IngressPolicy) GetIngressTo() *ServicePerimeterConfig_IngressTo
func (*ServicePerimeterConfig_IngressPolicy) ProtoMessage
func (*ServicePerimeterConfig_IngressPolicy) ProtoMessage()
func (*ServicePerimeterConfig_IngressPolicy) ProtoReflect
func (x *ServicePerimeterConfig_IngressPolicy) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_IngressPolicy) Reset
func (x *ServicePerimeterConfig_IngressPolicy) Reset()
func (*ServicePerimeterConfig_IngressPolicy) String
func (x *ServicePerimeterConfig_IngressPolicy) String() string
ServicePerimeterConfig_IngressSource
type ServicePerimeterConfig_IngressSource struct {
// Allowed ingress source. It can be one of [AccessLevel]
// [google.identity.accesscontextmanager.v1.AccessLevel] or Google
// Cloud resource.
//
// Types that are assignable to Source:
//
// *ServicePerimeterConfig_IngressSource_AccessLevel
// *ServicePerimeterConfig_IngressSource_Resource
Source isServicePerimeterConfig_IngressSource_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}
The source that [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] authorizes access from.
func (*ServicePerimeterConfig_IngressSource) Descriptor
func (*ServicePerimeterConfig_IngressSource) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_IngressSource.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_IngressSource) GetAccessLevel
func (x *ServicePerimeterConfig_IngressSource) GetAccessLevel() string
func (*ServicePerimeterConfig_IngressSource) GetResource
func (x *ServicePerimeterConfig_IngressSource) GetResource() string
func (*ServicePerimeterConfig_IngressSource) GetSource
func (m *ServicePerimeterConfig_IngressSource) GetSource() isServicePerimeterConfig_IngressSource_Source
func (*ServicePerimeterConfig_IngressSource) ProtoMessage
func (*ServicePerimeterConfig_IngressSource) ProtoMessage()
func (*ServicePerimeterConfig_IngressSource) ProtoReflect
func (x *ServicePerimeterConfig_IngressSource) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_IngressSource) Reset
func (x *ServicePerimeterConfig_IngressSource) Reset()
func (*ServicePerimeterConfig_IngressSource) String
func (x *ServicePerimeterConfig_IngressSource) String() string
ServicePerimeterConfig_IngressSource_AccessLevel
type ServicePerimeterConfig_IngressSource_AccessLevel struct {
// An [AccessLevel]
// [google.identity.accesscontextmanager.v1.AccessLevel] resource
// name that allow resources within the [ServicePerimeters]
// [google.identity.accesscontextmanager.v1.ServicePerimeter] to be
// accessed from the internet. [AccessLevels]
// [google.identity.accesscontextmanager.v1.AccessLevel] listed must
// be in the same policy as this [ServicePerimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter].
// Referencing a nonexistent [AccessLevel]
// [google.identity.accesscontextmanager.v1.AccessLevel] will cause
// an error. If no [AccessLevel]
// [google.identity.accesscontextmanager.v1.AccessLevel] names are
// listed, resources within the perimeter can only be accessed via Google
// Cloud calls with request origins within the perimeter. Example:
// `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is
// specified for `access_level`, then all [IngressSources]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource]
// will be allowed.
AccessLevel string `protobuf:"bytes,1,opt,name=access_level,json=accessLevel,proto3,oneof"`
}
ServicePerimeterConfig_IngressSource_Resource
type ServicePerimeterConfig_IngressSource_Resource struct {
// A Google Cloud resource that is allowed to ingress the perimeter.
// Requests from these resources will be allowed to access perimeter data.
// Currently only projects are allowed.
// Format: `projects/{project_number}`
// The project may be in any Google Cloud organization, not just the
// organization that the perimeter is defined in. `*` is not allowed, the
// case of allowing all Google Cloud resources only is not supported.
Resource string `protobuf:"bytes,2,opt,name=resource,proto3,oneof"`
}
ServicePerimeterConfig_IngressTo
type ServicePerimeterConfig_IngressTo struct {
// A list of [ApiOperations]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
// allowed to be performed by the sources specified in corresponding
// [IngressFrom]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom]
// in this [ServicePerimeter]
// [google.identity.accesscontextmanager.v1.ServicePerimeter].
Operations []*ServicePerimeterConfig_ApiOperation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
// A list of resources, currently only projects in the form
// `projects/
Defines the conditions under which an [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
matches a request. Conditions are based on information about the
[ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
intended to be performed on the target resource of the request. The request
must satisfy what is defined in operations
AND resources
in order to
match.
func (*ServicePerimeterConfig_IngressTo) Descriptor
func (*ServicePerimeterConfig_IngressTo) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_IngressTo.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_IngressTo) GetOperations
func (x *ServicePerimeterConfig_IngressTo) GetOperations() []*ServicePerimeterConfig_ApiOperation
func (*ServicePerimeterConfig_IngressTo) GetResources
func (x *ServicePerimeterConfig_IngressTo) GetResources() []string
func (*ServicePerimeterConfig_IngressTo) ProtoMessage
func (*ServicePerimeterConfig_IngressTo) ProtoMessage()
func (*ServicePerimeterConfig_IngressTo) ProtoReflect
func (x *ServicePerimeterConfig_IngressTo) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_IngressTo) Reset
func (x *ServicePerimeterConfig_IngressTo) Reset()
func (*ServicePerimeterConfig_IngressTo) String
func (x *ServicePerimeterConfig_IngressTo) String() string
ServicePerimeterConfig_MethodSelector
type ServicePerimeterConfig_MethodSelector struct {
// The API method name or Cloud IAM permission name to allow.
//
// Types that are assignable to Kind:
//
// *ServicePerimeterConfig_MethodSelector_Method
// *ServicePerimeterConfig_MethodSelector_Permission
Kind isServicePerimeterConfig_MethodSelector_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
An allowed method or permission of a service specified in [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
func (*ServicePerimeterConfig_MethodSelector) Descriptor
func (*ServicePerimeterConfig_MethodSelector) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_MethodSelector.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_MethodSelector) GetKind
func (m *ServicePerimeterConfig_MethodSelector) GetKind() isServicePerimeterConfig_MethodSelector_Kind
func (*ServicePerimeterConfig_MethodSelector) GetMethod
func (x *ServicePerimeterConfig_MethodSelector) GetMethod() string
func (*ServicePerimeterConfig_MethodSelector) GetPermission
func (x *ServicePerimeterConfig_MethodSelector) GetPermission() string
func (*ServicePerimeterConfig_MethodSelector) ProtoMessage
func (*ServicePerimeterConfig_MethodSelector) ProtoMessage()
func (*ServicePerimeterConfig_MethodSelector) ProtoReflect
func (x *ServicePerimeterConfig_MethodSelector) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_MethodSelector) Reset
func (x *ServicePerimeterConfig_MethodSelector) Reset()
func (*ServicePerimeterConfig_MethodSelector) String
func (x *ServicePerimeterConfig_MethodSelector) String() string
ServicePerimeterConfig_MethodSelector_Method
type ServicePerimeterConfig_MethodSelector_Method struct {
// Value for `method` should be a valid method name for the corresponding
// `service_name` in [ApiOperation]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
// If `*` used as value for `method`, then ALL methods and permissions are
// allowed.
Method string `protobuf:"bytes,1,opt,name=method,proto3,oneof"`
}
ServicePerimeterConfig_MethodSelector_Permission
type ServicePerimeterConfig_MethodSelector_Permission struct {
// Value for `permission` should be a valid Cloud IAM permission for the
// corresponding `service_name` in [ApiOperation]
// [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
Permission string `protobuf:"bytes,2,opt,name=permission,proto3,oneof"`
}
ServicePerimeterConfig_VpcAccessibleServices
type ServicePerimeterConfig_VpcAccessibleServices struct {
// Whether to restrict API calls within the Service Perimeter to the list of
// APIs specified in 'allowed_services'.
EnableRestriction bool `protobuf:"varint,1,opt,name=enable_restriction,json=enableRestriction,proto3" json:"enable_restriction,omitempty"`
// The list of APIs usable within the Service Perimeter. Must be empty
// unless 'enable_restriction' is True. You can specify a list of individual
// services, as well as include the 'RESTRICTED-SERVICES' value, which
// automatically includes all of the services protected by the perimeter.
AllowedServices []string `protobuf:"bytes,2,rep,name=allowed_services,json=allowedServices,proto3" json:"allowed_services,omitempty"`
// contains filtered or unexported fields
}
Specifies how APIs are allowed to communicate within the Service Perimeter.
func (*ServicePerimeterConfig_VpcAccessibleServices) Descriptor
func (*ServicePerimeterConfig_VpcAccessibleServices) Descriptor() ([]byte, []int)
Deprecated: Use ServicePerimeterConfig_VpcAccessibleServices.ProtoReflect.Descriptor instead.
func (*ServicePerimeterConfig_VpcAccessibleServices) GetAllowedServices
func (x *ServicePerimeterConfig_VpcAccessibleServices) GetAllowedServices() []string
func (*ServicePerimeterConfig_VpcAccessibleServices) GetEnableRestriction
func (x *ServicePerimeterConfig_VpcAccessibleServices) GetEnableRestriction() bool
func (*ServicePerimeterConfig_VpcAccessibleServices) ProtoMessage
func (*ServicePerimeterConfig_VpcAccessibleServices) ProtoMessage()
func (*ServicePerimeterConfig_VpcAccessibleServices) ProtoReflect
func (x *ServicePerimeterConfig_VpcAccessibleServices) ProtoReflect() protoreflect.Message
func (*ServicePerimeterConfig_VpcAccessibleServices) Reset
func (x *ServicePerimeterConfig_VpcAccessibleServices) Reset()
func (*ServicePerimeterConfig_VpcAccessibleServices) String
func (x *ServicePerimeterConfig_VpcAccessibleServices) String() string
ServicePerimeter_PerimeterType
type ServicePerimeter_PerimeterType int32
Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter.
In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in.
Perimeter Bridges are typically useful when building more complex toplogies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves.
ServicePerimeter_PERIMETER_TYPE_REGULAR, ServicePerimeter_PERIMETER_TYPE_BRIDGE
const (
// Regular Perimeter.
ServicePerimeter_PERIMETER_TYPE_REGULAR ServicePerimeter_PerimeterType = 0
// Perimeter Bridge.
ServicePerimeter_PERIMETER_TYPE_BRIDGE ServicePerimeter_PerimeterType = 1
)
func (ServicePerimeter_PerimeterType) Descriptor
func (ServicePerimeter_PerimeterType) Descriptor() protoreflect.EnumDescriptor
func (ServicePerimeter_PerimeterType) Enum
func (x ServicePerimeter_PerimeterType) Enum() *ServicePerimeter_PerimeterType
func (ServicePerimeter_PerimeterType) EnumDescriptor
func (ServicePerimeter_PerimeterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServicePerimeter_PerimeterType.Descriptor instead.
func (ServicePerimeter_PerimeterType) Number
func (x ServicePerimeter_PerimeterType) Number() protoreflect.EnumNumber
func (ServicePerimeter_PerimeterType) String
func (x ServicePerimeter_PerimeterType) String() string
func (ServicePerimeter_PerimeterType) Type
func (ServicePerimeter_PerimeterType) Type() protoreflect.EnumType
UnimplementedAccessContextManagerServer
type UnimplementedAccessContextManagerServer struct {
}
UnimplementedAccessContextManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccessContextManagerServer) CommitServicePerimeters
func (*UnimplementedAccessContextManagerServer) CommitServicePerimeters(context.Context, *CommitServicePerimetersRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) CreateAccessLevel
func (*UnimplementedAccessContextManagerServer) CreateAccessLevel(context.Context, *CreateAccessLevelRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) CreateAccessPolicy
func (*UnimplementedAccessContextManagerServer) CreateAccessPolicy(context.Context, *AccessPolicy) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) CreateGcpUserAccessBinding
func (*UnimplementedAccessContextManagerServer) CreateGcpUserAccessBinding(context.Context, *CreateGcpUserAccessBindingRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) CreateServicePerimeter
func (*UnimplementedAccessContextManagerServer) CreateServicePerimeter(context.Context, *CreateServicePerimeterRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) DeleteAccessLevel
func (*UnimplementedAccessContextManagerServer) DeleteAccessLevel(context.Context, *DeleteAccessLevelRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) DeleteAccessPolicy
func (*UnimplementedAccessContextManagerServer) DeleteAccessPolicy(context.Context, *DeleteAccessPolicyRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) DeleteGcpUserAccessBinding
func (*UnimplementedAccessContextManagerServer) DeleteGcpUserAccessBinding(context.Context, *DeleteGcpUserAccessBindingRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) DeleteServicePerimeter
func (*UnimplementedAccessContextManagerServer) DeleteServicePerimeter(context.Context, *DeleteServicePerimeterRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) GetAccessLevel
func (*UnimplementedAccessContextManagerServer) GetAccessLevel(context.Context, *GetAccessLevelRequest) (*AccessLevel, error)
func (*UnimplementedAccessContextManagerServer) GetAccessPolicy
func (*UnimplementedAccessContextManagerServer) GetAccessPolicy(context.Context, *GetAccessPolicyRequest) (*AccessPolicy, error)
func (*UnimplementedAccessContextManagerServer) GetGcpUserAccessBinding
func (*UnimplementedAccessContextManagerServer) GetGcpUserAccessBinding(context.Context, *GetGcpUserAccessBindingRequest) (*GcpUserAccessBinding, error)
func (*UnimplementedAccessContextManagerServer) GetServicePerimeter
func (*UnimplementedAccessContextManagerServer) GetServicePerimeter(context.Context, *GetServicePerimeterRequest) (*ServicePerimeter, error)
func (*UnimplementedAccessContextManagerServer) ListAccessLevels
func (*UnimplementedAccessContextManagerServer) ListAccessLevels(context.Context, *ListAccessLevelsRequest) (*ListAccessLevelsResponse, error)
func (*UnimplementedAccessContextManagerServer) ListAccessPolicies
func (*UnimplementedAccessContextManagerServer) ListAccessPolicies(context.Context, *ListAccessPoliciesRequest) (*ListAccessPoliciesResponse, error)
func (*UnimplementedAccessContextManagerServer) ListGcpUserAccessBindings
func (*UnimplementedAccessContextManagerServer) ListGcpUserAccessBindings(context.Context, *ListGcpUserAccessBindingsRequest) (*ListGcpUserAccessBindingsResponse, error)
func (*UnimplementedAccessContextManagerServer) ListServicePerimeters
func (*UnimplementedAccessContextManagerServer) ListServicePerimeters(context.Context, *ListServicePerimetersRequest) (*ListServicePerimetersResponse, error)
func (*UnimplementedAccessContextManagerServer) ReplaceAccessLevels
func (*UnimplementedAccessContextManagerServer) ReplaceAccessLevels(context.Context, *ReplaceAccessLevelsRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) ReplaceServicePerimeters
func (*UnimplementedAccessContextManagerServer) ReplaceServicePerimeters(context.Context, *ReplaceServicePerimetersRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) UpdateAccessLevel
func (*UnimplementedAccessContextManagerServer) UpdateAccessLevel(context.Context, *UpdateAccessLevelRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) UpdateAccessPolicy
func (*UnimplementedAccessContextManagerServer) UpdateAccessPolicy(context.Context, *UpdateAccessPolicyRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) UpdateGcpUserAccessBinding
func (*UnimplementedAccessContextManagerServer) UpdateGcpUserAccessBinding(context.Context, *UpdateGcpUserAccessBindingRequest) (*longrunning.Operation, error)
func (*UnimplementedAccessContextManagerServer) UpdateServicePerimeter
func (*UnimplementedAccessContextManagerServer) UpdateServicePerimeter(context.Context, *UpdateServicePerimeterRequest) (*longrunning.Operation, error)
UpdateAccessLevelRequest
type UpdateAccessLevelRequest struct {
// Required. The updated [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic
// correctness of the [Access Level]
// [google.identity.accesscontextmanager.v1.AccessLevel] is a
// precondition for creation.
AccessLevel *AccessLevel `protobuf:"bytes,1,opt,name=access_level,json=accessLevel,proto3" json:"access_level,omitempty"`
// Required. Mask to control which fields get updated. Must be non-empty.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
A request to update an AccessLevel
.
func (*UpdateAccessLevelRequest) Descriptor
func (*UpdateAccessLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccessLevelRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccessLevelRequest) GetAccessLevel
func (x *UpdateAccessLevelRequest) GetAccessLevel() *AccessLevel
func (*UpdateAccessLevelRequest) GetUpdateMask
func (x *UpdateAccessLevelRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAccessLevelRequest) ProtoMessage
func (*UpdateAccessLevelRequest) ProtoMessage()
func (*UpdateAccessLevelRequest) ProtoReflect
func (x *UpdateAccessLevelRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccessLevelRequest) Reset
func (x *UpdateAccessLevelRequest) Reset()
func (*UpdateAccessLevelRequest) String
func (x *UpdateAccessLevelRequest) String() string
UpdateAccessPolicyRequest
type UpdateAccessPolicyRequest struct {
// Required. The updated AccessPolicy.
Policy *AccessPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// Required. Mask to control which fields get updated. Must be non-empty.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
A request to update an AccessPolicy
.
func (*UpdateAccessPolicyRequest) Descriptor
func (*UpdateAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccessPolicyRequest) GetPolicy
func (x *UpdateAccessPolicyRequest) GetPolicy() *AccessPolicy
func (*UpdateAccessPolicyRequest) GetUpdateMask
func (x *UpdateAccessPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAccessPolicyRequest) ProtoMessage
func (*UpdateAccessPolicyRequest) ProtoMessage()
func (*UpdateAccessPolicyRequest) ProtoReflect
func (x *UpdateAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccessPolicyRequest) Reset
func (x *UpdateAccessPolicyRequest) Reset()
func (*UpdateAccessPolicyRequest) String
func (x *UpdateAccessPolicyRequest) String() string
UpdateGcpUserAccessBindingRequest
type UpdateGcpUserAccessBindingRequest struct {
// Required. [GcpUserAccessBinding]
// [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]
GcpUserAccessBinding *GcpUserAccessBinding `protobuf:"bytes,1,opt,name=gcp_user_access_binding,json=gcpUserAccessBinding,proto3" json:"gcp_user_access_binding,omitempty"`
// Required. Only the fields specified in this mask are updated. Because name and
// group_key cannot be changed, update_mask is required and must always be:
//
// update_mask {
// paths: "access_levels"
// }
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request of [UpdateGcpUserAccessBinding] [google.identity.accesscontextmanager.v1.AccessContextManager.UpdateGcpUserAccessBinding].
func (*UpdateGcpUserAccessBindingRequest) Descriptor
func (*UpdateGcpUserAccessBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGcpUserAccessBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdateGcpUserAccessBindingRequest) GetGcpUserAccessBinding
func (x *UpdateGcpUserAccessBindingRequest) GetGcpUserAccessBinding() *GcpUserAccessBinding
func (*UpdateGcpUserAccessBindingRequest) GetUpdateMask
func (x *UpdateGcpUserAccessBindingRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateGcpUserAccessBindingRequest) ProtoMessage
func (*UpdateGcpUserAccessBindingRequest) ProtoMessage()
func (*UpdateGcpUserAccessBindingRequest) ProtoReflect
func (x *UpdateGcpUserAccessBindingRequest) ProtoReflect() protoreflect.Message
func (*UpdateGcpUserAccessBindingRequest) Reset
func (x *UpdateGcpUserAccessBindingRequest) Reset()
func (*UpdateGcpUserAccessBindingRequest) String
func (x *UpdateGcpUserAccessBindingRequest) String() string
UpdateServicePerimeterRequest
type UpdateServicePerimeterRequest struct {
// Required. The updated `ServicePerimeter`. Syntactic correctness of the
// `ServicePerimeter` is a precondition for creation.
ServicePerimeter *ServicePerimeter `protobuf:"bytes,1,opt,name=service_perimeter,json=servicePerimeter,proto3" json:"service_perimeter,omitempty"`
// Required. Mask to control which fields get updated. Must be non-empty.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
A request to update a ServicePerimeter
.
func (*UpdateServicePerimeterRequest) Descriptor
func (*UpdateServicePerimeterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServicePerimeterRequest.ProtoReflect.Descriptor instead.
func (*UpdateServicePerimeterRequest) GetServicePerimeter
func (x *UpdateServicePerimeterRequest) GetServicePerimeter() *ServicePerimeter
func (*UpdateServicePerimeterRequest) GetUpdateMask
func (x *UpdateServicePerimeterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateServicePerimeterRequest) ProtoMessage
func (*UpdateServicePerimeterRequest) ProtoMessage()
func (*UpdateServicePerimeterRequest) ProtoReflect
func (x *UpdateServicePerimeterRequest) ProtoReflect() protoreflect.Message
func (*UpdateServicePerimeterRequest) Reset
func (x *UpdateServicePerimeterRequest) Reset()
func (*UpdateServicePerimeterRequest) String
func (x *UpdateServicePerimeterRequest) String() string