Variables
PolicyBinding_PolicyKind_name, PolicyBinding_PolicyKind_value
var
(
PolicyBinding_PolicyKind_name
=
map
[
int32
]
string
{
0
:
"POLICY_KIND_UNSPECIFIED"
,
1
:
"PRINCIPAL_ACCESS_BOUNDARY"
,
}
PolicyBinding_PolicyKind_value
=
map
[
string
]
int32
{
"POLICY_KIND_UNSPECIFIED"
:
0
,
"PRINCIPAL_ACCESS_BOUNDARY"
:
1
,
}
)
Enum value maps for PolicyBinding_PolicyKind.
PrincipalAccessBoundaryPolicyRule_Effect_name, PrincipalAccessBoundaryPolicyRule_Effect_value
var
(
PrincipalAccessBoundaryPolicyRule_Effect_name
=
map
[
int32
]
string
{
0
:
"EFFECT_UNSPECIFIED"
,
1
:
"ALLOW"
,
}
PrincipalAccessBoundaryPolicyRule_Effect_value
=
map
[
string
]
int32
{
"EFFECT_UNSPECIFIED"
:
0
,
"ALLOW"
:
1
,
}
)
Enum value maps for PrincipalAccessBoundaryPolicyRule_Effect.
File_google_iam_v3_operation_metadata_proto
var
File_google_iam_v3_operation_metadata_proto
protoreflect
.
FileDescriptor
File_google_iam_v3_policy_binding_resources_proto
var
File_google_iam_v3_policy_binding_resources_proto
protoreflect
.
FileDescriptor
File_google_iam_v3_policy_bindings_service_proto
var
File_google_iam_v3_policy_bindings_service_proto
protoreflect
.
FileDescriptor
File_google_iam_v3_principal_access_boundary_policies_service_proto
var
File_google_iam_v3_principal_access_boundary_policies_service_proto
protoreflect
.
FileDescriptor
File_google_iam_v3_principal_access_boundary_policy_resources_proto
var
File_google_iam_v3_principal_access_boundary_policy_resources_proto
protoreflect
.
FileDescriptor
Functions
func RegisterPolicyBindingsServer
func
RegisterPolicyBindingsServer
(
s
*
grpc
.
Server
,
srv
PolicyBindingsServer
)
func RegisterPrincipalAccessBoundaryPoliciesServer
func
RegisterPrincipalAccessBoundaryPoliciesServer
(
s
*
grpc
.
Server
,
srv
PrincipalAccessBoundaryPoliciesServer
)
CreatePolicyBindingRequest
type
CreatePolicyBindingRequest
struct
{
// Required. The parent resource where this policy binding will be created.
// The binding parent is the closest Resource Manager resource (project,
// folder or organization) to the binding target.
//
// Format:
//
// * `projects/{project_id}/locations/{location}`
// * `projects/{project_number}/locations/{location}`
// * `folders/{folder_id}/locations/{location}`
// * `organizations/{organization_id}/locations/{location}`
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the policy binding, which will become the final
// component of the policy binding's resource name.
//
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, hyphens, or dots. Pattern,
// /[a-z][a-z0-9-\.]{2,62}/.
PolicyBindingId
string
`protobuf:"bytes,2,opt,name=policy_binding_id,json=policyBindingId,proto3" json:"policy_binding_id,omitempty"`
// Required. The policy binding to create.
PolicyBinding
*
PolicyBinding
`protobuf:"bytes,3,opt,name=policy_binding,json=policyBinding,proto3" json:"policy_binding,omitempty"`
// Optional. If set, validate the request and preview the creation, but do not
// actually post it.
ValidateOnly
bool
`protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Request message for CreatePolicyBinding method.
func (*CreatePolicyBindingRequest) Descriptor
func
(
*
CreatePolicyBindingRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CreatePolicyBindingRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicyBindingRequest) GetParent
func
(
x
*
CreatePolicyBindingRequest
)
GetParent
()
string
func (*CreatePolicyBindingRequest) GetPolicyBinding
func
(
x
*
CreatePolicyBindingRequest
)
GetPolicyBinding
()
*
PolicyBinding
func (*CreatePolicyBindingRequest) GetPolicyBindingId
func
(
x
*
CreatePolicyBindingRequest
)
GetPolicyBindingId
()
string
func (*CreatePolicyBindingRequest) GetValidateOnly
func
(
x
*
CreatePolicyBindingRequest
)
GetValidateOnly
()
bool
func (*CreatePolicyBindingRequest) ProtoMessage
func
(
*
CreatePolicyBindingRequest
)
ProtoMessage
()
func (*CreatePolicyBindingRequest) ProtoReflect
func
(
x
*
CreatePolicyBindingRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreatePolicyBindingRequest) Reset
func
(
x
*
CreatePolicyBindingRequest
)
Reset
()
func (*CreatePolicyBindingRequest) String
func
(
x
*
CreatePolicyBindingRequest
)
String
()
string
CreatePrincipalAccessBoundaryPolicyRequest
type
CreatePrincipalAccessBoundaryPolicyRequest
struct
{
// Required. The parent resource where this principal access boundary policy
// will be created. Only organizations are supported.
//
// Format:
//
// `organizations/{organization_id}/locations/{location}`
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the principal access boundary policy, which
// will become the final component of the principal access boundary policy's
// resource name.
//
// This value must start with a lowercase letter followed by up to 62
// lowercase letters, numbers, hyphens, or dots. Pattern,
// /[a-z][a-z0-9-\.]{2,62}/.
PrincipalAccessBoundaryPolicyId
string
`protobuf:"bytes,2,opt,name=principal_access_boundary_policy_id,json=principalAccessBoundaryPolicyId,proto3" json:"principal_access_boundary_policy_id,omitempty"`
// Required. The principal access boundary policy to create.
PrincipalAccessBoundaryPolicy
*
PrincipalAccessBoundaryPolicy
`protobuf:"bytes,3,opt,name=principal_access_boundary_policy,json=principalAccessBoundaryPolicy,proto3" json:"principal_access_boundary_policy,omitempty"`
// Optional. If set, validate the request and preview the creation, but do not
// actually post it.
ValidateOnly
bool
`protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Request message for CreatePrincipalAccessBoundaryPolicyRequest method.
func (*CreatePrincipalAccessBoundaryPolicyRequest) Descriptor
func
(
*
CreatePrincipalAccessBoundaryPolicyRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use CreatePrincipalAccessBoundaryPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreatePrincipalAccessBoundaryPolicyRequest) GetParent
func
(
x
*
CreatePrincipalAccessBoundaryPolicyRequest
)
GetParent
()
string
func (*CreatePrincipalAccessBoundaryPolicyRequest) GetPrincipalAccessBoundaryPolicy
func
(
x
*
CreatePrincipalAccessBoundaryPolicyRequest
)
GetPrincipalAccessBoundaryPolicy
()
*
PrincipalAccessBoundaryPolicy
func (*CreatePrincipalAccessBoundaryPolicyRequest) GetPrincipalAccessBoundaryPolicyId
func
(
x
*
CreatePrincipalAccessBoundaryPolicyRequest
)
GetPrincipalAccessBoundaryPolicyId
()
string
func (*CreatePrincipalAccessBoundaryPolicyRequest) GetValidateOnly
func
(
x
*
CreatePrincipalAccessBoundaryPolicyRequest
)
GetValidateOnly
()
bool
func (*CreatePrincipalAccessBoundaryPolicyRequest) ProtoMessage
func
(
*
CreatePrincipalAccessBoundaryPolicyRequest
)
ProtoMessage
()
func (*CreatePrincipalAccessBoundaryPolicyRequest) ProtoReflect
func
(
x
*
CreatePrincipalAccessBoundaryPolicyRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*CreatePrincipalAccessBoundaryPolicyRequest) Reset
func
(
x
*
CreatePrincipalAccessBoundaryPolicyRequest
)
Reset
()
func (*CreatePrincipalAccessBoundaryPolicyRequest) String
func
(
x
*
CreatePrincipalAccessBoundaryPolicyRequest
)
String
()
string
DeletePolicyBindingRequest
type
DeletePolicyBindingRequest
struct
{
// Required. The name of the policy binding to delete.
//
// Format:
//
// * `projects/{project_id}/locations/{location}/policyBindings/{policy_binding_id}`
// * `projects/{project_number}/locations/{location}/policyBindings/{policy_binding_id}`
// * `folders/{folder_id}/locations/{location}/policyBindings/{policy_binding_id}`
// * `organizations/{organization_id}/locations/{location}/policyBindings/{policy_binding_id}`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The etag of the policy binding.
// If this is provided, it must match the server's etag.
Etag
string
`protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, validate the request and preview the deletion, but do not
// actually post it.
ValidateOnly
bool
`protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Request message for DeletePolicyBinding method.
func (*DeletePolicyBindingRequest) Descriptor
func
(
*
DeletePolicyBindingRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeletePolicyBindingRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyBindingRequest) GetEtag
func
(
x
*
DeletePolicyBindingRequest
)
GetEtag
()
string
func (*DeletePolicyBindingRequest) GetName
func
(
x
*
DeletePolicyBindingRequest
)
GetName
()
string
func (*DeletePolicyBindingRequest) GetValidateOnly
func
(
x
*
DeletePolicyBindingRequest
)
GetValidateOnly
()
bool
func (*DeletePolicyBindingRequest) ProtoMessage
func
(
*
DeletePolicyBindingRequest
)
ProtoMessage
()
func (*DeletePolicyBindingRequest) ProtoReflect
func
(
x
*
DeletePolicyBindingRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*DeletePolicyBindingRequest) Reset
func
(
x
*
DeletePolicyBindingRequest
)
Reset
()
func (*DeletePolicyBindingRequest) String
func
(
x
*
DeletePolicyBindingRequest
)
String
()
string
DeletePrincipalAccessBoundaryPolicyRequest
type
DeletePrincipalAccessBoundaryPolicyRequest
struct
{
// Required. The name of the principal access boundary policy to delete.
//
// Format:
//
// `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The etag of the principal access boundary policy.
// If this is provided, it must match the server's etag.
Etag
string
`protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. If set, validate the request and preview the deletion, but do not
// actually post it.
ValidateOnly
bool
`protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set to true, the request will force the deletion of the policy
// even if the policy is referenced in policy bindings.
Force
bool
`protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
Request message for DeletePrincipalAccessBoundaryPolicy method.
func (*DeletePrincipalAccessBoundaryPolicyRequest) Descriptor
func
(
*
DeletePrincipalAccessBoundaryPolicyRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use DeletePrincipalAccessBoundaryPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeletePrincipalAccessBoundaryPolicyRequest) GetEtag
func
(
x
*
DeletePrincipalAccessBoundaryPolicyRequest
)
GetEtag
()
string
func (*DeletePrincipalAccessBoundaryPolicyRequest) GetForce
func
(
x
*
DeletePrincipalAccessBoundaryPolicyRequest
)
GetForce
()
bool
func (*DeletePrincipalAccessBoundaryPolicyRequest) GetName
func
(
x
*
DeletePrincipalAccessBoundaryPolicyRequest
)
GetName
()
string
func (*DeletePrincipalAccessBoundaryPolicyRequest) GetValidateOnly
func
(
x
*
DeletePrincipalAccessBoundaryPolicyRequest
)
GetValidateOnly
()
bool
func (*DeletePrincipalAccessBoundaryPolicyRequest) ProtoMessage
func
(
*
DeletePrincipalAccessBoundaryPolicyRequest
)
ProtoMessage
()
func (*DeletePrincipalAccessBoundaryPolicyRequest) ProtoReflect
func
(
x
*
DeletePrincipalAccessBoundaryPolicyRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*DeletePrincipalAccessBoundaryPolicyRequest) Reset
func
(
x
*
DeletePrincipalAccessBoundaryPolicyRequest
)
Reset
()
func (*DeletePrincipalAccessBoundaryPolicyRequest) String
func
(
x
*
DeletePrincipalAccessBoundaryPolicyRequest
)
String
()
string
GetPolicyBindingRequest
type
GetPolicyBindingRequest
struct
{
// Required. The name of the policy binding to retrieve.
//
// Format:
//
// * `projects/{project_id}/locations/{location}/policyBindings/{policy_binding_id}`
// * `projects/{project_number}/locations/{location}/policyBindings/{policy_binding_id}`
// * `folders/{folder_id}/locations/{location}/policyBindings/{policy_binding_id}`
// * `organizations/{organization_id}/locations/{location}/policyBindings/{policy_binding_id}`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetPolicyBinding method.
func (*GetPolicyBindingRequest) Descriptor
func
(
*
GetPolicyBindingRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GetPolicyBindingRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyBindingRequest) GetName
func
(
x
*
GetPolicyBindingRequest
)
GetName
()
string
func (*GetPolicyBindingRequest) ProtoMessage
func
(
*
GetPolicyBindingRequest
)
ProtoMessage
()
func (*GetPolicyBindingRequest) ProtoReflect
func
(
x
*
GetPolicyBindingRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetPolicyBindingRequest) Reset
func
(
x
*
GetPolicyBindingRequest
)
Reset
()
func (*GetPolicyBindingRequest) String
func
(
x
*
GetPolicyBindingRequest
)
String
()
string
GetPrincipalAccessBoundaryPolicyRequest
type
GetPrincipalAccessBoundaryPolicyRequest
struct
{
// Required. The name of the principal access boundary policy to retrieve.
//
// Format:
//
// `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for GetPrincipalAccessBoundaryPolicy method.
func (*GetPrincipalAccessBoundaryPolicyRequest) Descriptor
func
(
*
GetPrincipalAccessBoundaryPolicyRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use GetPrincipalAccessBoundaryPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetPrincipalAccessBoundaryPolicyRequest) GetName
func
(
x
*
GetPrincipalAccessBoundaryPolicyRequest
)
GetName
()
string
func (*GetPrincipalAccessBoundaryPolicyRequest) ProtoMessage
func
(
*
GetPrincipalAccessBoundaryPolicyRequest
)
ProtoMessage
()
func (*GetPrincipalAccessBoundaryPolicyRequest) ProtoReflect
func
(
x
*
GetPrincipalAccessBoundaryPolicyRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*GetPrincipalAccessBoundaryPolicyRequest) Reset
func
(
x
*
GetPrincipalAccessBoundaryPolicyRequest
)
Reset
()
func (*GetPrincipalAccessBoundaryPolicyRequest) String
func
(
x
*
GetPrincipalAccessBoundaryPolicyRequest
)
String
()
string
ListPolicyBindingsRequest
type
ListPolicyBindingsRequest
struct
{
// Required. The parent resource, which owns the collection of policy
// bindings.
//
// Format:
//
// * `projects/{project_id}/locations/{location}`
// * `projects/{project_number}/locations/{location}`
// * `folders/{folder_id}/locations/{location}`
// * `organizations/{organization_id}/locations/{location}`
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of policy bindings to return. The service may
// return fewer than this value.
//
// If unspecified, at most 50 policy bindings will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize
int32
`protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListPolicyBindings` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListPolicyBindings` must
// match the call that provided the page token.
PageToken
string
`protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. An expression for filtering the results of the request. Filter
// rules are case insensitive. Some eligible fields for filtering are:
//
// + `target`
// + `policy`
//
// Some examples of filter queries:
//
// * `target:ex*`: The binding target's name starts with "ex".
// * `target:example`: The binding target's name is `example`.
// * `policy:example`: The binding policy's name is `example`.
Filter
string
`protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request message for ListPolicyBindings method.
func (*ListPolicyBindingsRequest) Descriptor
func
(
*
ListPolicyBindingsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListPolicyBindingsRequest.ProtoReflect.Descriptor instead.
func (*ListPolicyBindingsRequest) GetFilter
func
(
x
*
ListPolicyBindingsRequest
)
GetFilter
()
string
func (*ListPolicyBindingsRequest) GetPageSize
func
(
x
*
ListPolicyBindingsRequest
)
GetPageSize
()
int32
func (*ListPolicyBindingsRequest) GetPageToken
func
(
x
*
ListPolicyBindingsRequest
)
GetPageToken
()
string
func (*ListPolicyBindingsRequest) GetParent
func
(
x
*
ListPolicyBindingsRequest
)
GetParent
()
string
func (*ListPolicyBindingsRequest) ProtoMessage
func
(
*
ListPolicyBindingsRequest
)
ProtoMessage
()
func (*ListPolicyBindingsRequest) ProtoReflect
func
(
x
*
ListPolicyBindingsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListPolicyBindingsRequest) Reset
func
(
x
*
ListPolicyBindingsRequest
)
Reset
()
func (*ListPolicyBindingsRequest) String
func
(
x
*
ListPolicyBindingsRequest
)
String
()
string
ListPolicyBindingsResponse
type
ListPolicyBindingsResponse
struct
{
// The policy bindings from the specified parent.
PolicyBindings
[]
*
PolicyBinding
`protobuf:"bytes,1,rep,name=policy_bindings,json=policyBindings,proto3" json:"policy_bindings,omitempty"`
// Optional. A token, which can be sent as `page_token` to retrieve the next
// page. If this field is omitted, there are no subsequent pages.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListPolicyBindings method.
func (*ListPolicyBindingsResponse) Descriptor
func
(
*
ListPolicyBindingsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListPolicyBindingsResponse.ProtoReflect.Descriptor instead.
func (*ListPolicyBindingsResponse) GetNextPageToken
func
(
x
*
ListPolicyBindingsResponse
)
GetNextPageToken
()
string
func (*ListPolicyBindingsResponse) GetPolicyBindings
func
(
x
*
ListPolicyBindingsResponse
)
GetPolicyBindings
()
[]
*
PolicyBinding
func (*ListPolicyBindingsResponse) ProtoMessage
func
(
*
ListPolicyBindingsResponse
)
ProtoMessage
()
func (*ListPolicyBindingsResponse) ProtoReflect
func
(
x
*
ListPolicyBindingsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListPolicyBindingsResponse) Reset
func
(
x
*
ListPolicyBindingsResponse
)
Reset
()
func (*ListPolicyBindingsResponse) String
func
(
x
*
ListPolicyBindingsResponse
)
String
()
string
ListPrincipalAccessBoundaryPoliciesRequest
type
ListPrincipalAccessBoundaryPoliciesRequest
struct
{
// Required. The parent resource, which owns the collection of principal
// access boundary policies.
//
// Format:
//
// `organizations/{organization_id}/locations/{location}`
Parent
string
`protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of principal access boundary policies to
// return. The service may return fewer than this value.
//
// If unspecified, at most 50 principal access boundary policies will be
// returned. The maximum value is 1000; values above 1000 will be coerced to
// 1000.
PageSize
int32
`protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous
// `ListPrincipalAccessBoundaryPolicies` call. Provide this to retrieve the
// subsequent page.
//
// When paginating, all other parameters provided to
// `ListPrincipalAccessBoundaryPolicies` must match the call that provided the
// page token.
PageToken
string
`protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for ListPrincipalAccessBoundaryPolicies method.
func (*ListPrincipalAccessBoundaryPoliciesRequest) Descriptor
func
(
*
ListPrincipalAccessBoundaryPoliciesRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListPrincipalAccessBoundaryPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListPrincipalAccessBoundaryPoliciesRequest) GetPageSize
func
(
x
*
ListPrincipalAccessBoundaryPoliciesRequest
)
GetPageSize
()
int32
func (*ListPrincipalAccessBoundaryPoliciesRequest) GetPageToken
func
(
x
*
ListPrincipalAccessBoundaryPoliciesRequest
)
GetPageToken
()
string
func (*ListPrincipalAccessBoundaryPoliciesRequest) GetParent
func
(
x
*
ListPrincipalAccessBoundaryPoliciesRequest
)
GetParent
()
string
func (*ListPrincipalAccessBoundaryPoliciesRequest) ProtoMessage
func
(
*
ListPrincipalAccessBoundaryPoliciesRequest
)
ProtoMessage
()
func (*ListPrincipalAccessBoundaryPoliciesRequest) ProtoReflect
func
(
x
*
ListPrincipalAccessBoundaryPoliciesRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*ListPrincipalAccessBoundaryPoliciesRequest) Reset
func
(
x
*
ListPrincipalAccessBoundaryPoliciesRequest
)
Reset
()
func (*ListPrincipalAccessBoundaryPoliciesRequest) String
func
(
x
*
ListPrincipalAccessBoundaryPoliciesRequest
)
String
()
string
ListPrincipalAccessBoundaryPoliciesResponse
type
ListPrincipalAccessBoundaryPoliciesResponse
struct
{
// The principal access boundary policies from the specified parent.
PrincipalAccessBoundaryPolicies
[]
*
PrincipalAccessBoundaryPolicy
`protobuf:"bytes,1,rep,name=principal_access_boundary_policies,json=principalAccessBoundaryPolicies,proto3" json:"principal_access_boundary_policies,omitempty"`
// Optional. A token, which can be sent as `page_token` to retrieve the next
// page. If this field is omitted, there are no subsequent pages.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListPrincipalAccessBoundaryPolicies method.
func (*ListPrincipalAccessBoundaryPoliciesResponse) Descriptor
func
(
*
ListPrincipalAccessBoundaryPoliciesResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use ListPrincipalAccessBoundaryPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListPrincipalAccessBoundaryPoliciesResponse) GetNextPageToken
func
(
x
*
ListPrincipalAccessBoundaryPoliciesResponse
)
GetNextPageToken
()
string
func (*ListPrincipalAccessBoundaryPoliciesResponse) GetPrincipalAccessBoundaryPolicies
func
(
x
*
ListPrincipalAccessBoundaryPoliciesResponse
)
GetPrincipalAccessBoundaryPolicies
()
[]
*
PrincipalAccessBoundaryPolicy
func (*ListPrincipalAccessBoundaryPoliciesResponse) ProtoMessage
func
(
*
ListPrincipalAccessBoundaryPoliciesResponse
)
ProtoMessage
()
func (*ListPrincipalAccessBoundaryPoliciesResponse) ProtoReflect
func
(
x
*
ListPrincipalAccessBoundaryPoliciesResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*ListPrincipalAccessBoundaryPoliciesResponse) Reset
func
(
x
*
ListPrincipalAccessBoundaryPoliciesResponse
)
Reset
()
func (*ListPrincipalAccessBoundaryPoliciesResponse) String
func
(
x
*
ListPrincipalAccessBoundaryPoliciesResponse
)
String
()
string
OperationMetadata
type
OperationMetadata
struct
{
// Output only. The time the operation was created.
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the
Target
string
`protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb
string
`protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage
string
`protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation
bool
`protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion
string
`protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func
(
*
OperationMetadata
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func
(
x
*
OperationMetadata
)
GetApiVersion
()
string
func (*OperationMetadata) GetCreateTime
func
(
x
*
OperationMetadata
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*OperationMetadata) GetEndTime
func
(
x
*
OperationMetadata
)
GetEndTime
()
*
timestamppb
.
Timestamp
func (*OperationMetadata) GetRequestedCancellation
func
(
x
*
OperationMetadata
)
GetRequestedCancellation
()
bool
func (*OperationMetadata) GetStatusMessage
func
(
x
*
OperationMetadata
)
GetStatusMessage
()
string
func (*OperationMetadata) GetTarget
func
(
x
*
OperationMetadata
)
GetTarget
()
string
func (*OperationMetadata) GetVerb
func
(
x
*
OperationMetadata
)
GetVerb
()
string
func (*OperationMetadata) ProtoMessage
func
(
*
OperationMetadata
)
ProtoMessage
()
func (*OperationMetadata) ProtoReflect
func
(
x
*
OperationMetadata
)
ProtoReflect
()
protoreflect
.
Message
func (*OperationMetadata) Reset
func
(
x
*
OperationMetadata
)
Reset
()
func (*OperationMetadata) String
func
(
x
*
OperationMetadata
)
String
()
string
PolicyBinding
type
PolicyBinding
struct
{
// Identifier. The name of the policy binding, in the format
// `{binding_parent/locations/{location}/policyBindings/{policy_binding_id}`.
// The binding parent is the closest Resource Manager resource (project,
// folder, or organization) to the binding target.
//
// Format:
//
// * `projects/{project_id}/locations/{location}/policyBindings/{policy_binding_id}`
// * `projects/{project_number}/locations/{location}/policyBindings/{policy_binding_id}`
// * `folders/{folder_id}/locations/{location}/policyBindings/{policy_binding_id}`
// * `organizations/{organization_id}/locations/{location}/policyBindings/{policy_binding_id}`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The globally unique ID of the policy binding. Assigned when
// the policy binding is created.
Uid
string
`protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. The etag for the policy binding.
// If this is provided on update, it must match the server's etag.
Etag
string
`protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. The description of the policy binding. Must be less than or equal
// to 63 characters.
DisplayName
string
`protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. User-defined annotations. See
// https://google.aip.dev/148#annotations for more details such as format and
// size limitations
Annotations
map
[
string
]
string
`protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. Immutable. Target is the full resource name of the resource to
// which the policy will be bound. Immutable once set.
Target
*
PolicyBinding_Target
`protobuf:"bytes,6,opt,name=target,proto3" json:"target,omitempty"`
// Immutable. The kind of the policy to attach in this binding. This field
// must be one of the following:
//
// - Left empty (will be automatically set to the policy kind)
// - The input policy kind
PolicyKind
PolicyBinding_PolicyKind
`protobuf:"varint,11,opt,name=policy_kind,json=policyKind,proto3,enum=google.iam.v3.PolicyBinding_PolicyKind" json:"policy_kind,omitempty"`
// Required. Immutable. The resource name of the policy to be bound. The
// binding parent and policy must belong to the same organization.
Policy
string
`protobuf:"bytes,7,opt,name=policy,proto3" json:"policy,omitempty"`
// Output only. The globally unique ID of the policy to be bound.
PolicyUid
string
`protobuf:"bytes,12,opt,name=policy_uid,json=policyUid,proto3" json:"policy_uid,omitempty"`
// Optional. The condition to apply to the policy binding. When set, the
// `expression` field in the `Expr` must include from 1 to 10 subexpressions,
// joined by the
// "||"(Logical OR), "&&"(Logical AND) or "!"(Logical NOT) operators and
// cannot contain more than 250 characters.
//
// The condition is currently only supported when bound to policies of kind
// principal access boundary.
//
// When the bound policy is a principal access boundary policy, the only
// supported attributes in any subexpression are `principal.type` and
// `principal.subject`. An example expression is: "principal.type ==
// 'iam.googleapis.com/ServiceAccount'" or "principal.subject ==
// 'bob@example.com'".
//
// Allowed operations for `principal.subject`:
//
// - `principal.subject ==
IAM policy binding resource.
func (*PolicyBinding) Descriptor
func
(
*
PolicyBinding
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PolicyBinding.ProtoReflect.Descriptor instead.
func (*PolicyBinding) GetAnnotations
func
(
x
*
PolicyBinding
)
GetAnnotations
()
map
[
string
]
string
func (*PolicyBinding) GetCondition
func
(
x
*
PolicyBinding
)
GetCondition
()
*
expr
.
Expr
func (*PolicyBinding) GetCreateTime
func
(
x
*
PolicyBinding
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*PolicyBinding) GetDisplayName
func
(
x
*
PolicyBinding
)
GetDisplayName
()
string
func (*PolicyBinding) GetEtag
func
(
x
*
PolicyBinding
)
GetEtag
()
string
func (*PolicyBinding) GetName
func
(
x
*
PolicyBinding
)
GetName
()
string
func (*PolicyBinding) GetPolicy
func
(
x
*
PolicyBinding
)
GetPolicy
()
string
func (*PolicyBinding) GetPolicyKind
func
(
x
*
PolicyBinding
)
GetPolicyKind
()
PolicyBinding_PolicyKind
func (*PolicyBinding) GetPolicyUid
func
(
x
*
PolicyBinding
)
GetPolicyUid
()
string
func (*PolicyBinding) GetTarget
func
(
x
*
PolicyBinding
)
GetTarget
()
*
PolicyBinding_Target
func (*PolicyBinding) GetUid
func
(
x
*
PolicyBinding
)
GetUid
()
string
func (*PolicyBinding) GetUpdateTime
func
(
x
*
PolicyBinding
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*PolicyBinding) ProtoMessage
func
(
*
PolicyBinding
)
ProtoMessage
()
func (*PolicyBinding) ProtoReflect
func
(
x
*
PolicyBinding
)
ProtoReflect
()
protoreflect
.
Message
func (*PolicyBinding) Reset
func
(
x
*
PolicyBinding
)
Reset
()
func (*PolicyBinding) String
func
(
x
*
PolicyBinding
)
String
()
string
PolicyBinding_PolicyKind
type
PolicyBinding_PolicyKind
int32
Different policy kinds supported in this binding.
PolicyBinding_POLICY_KIND_UNSPECIFIED, PolicyBinding_PRINCIPAL_ACCESS_BOUNDARY
const
(
// Unspecified policy kind; Not a valid state
PolicyBinding_POLICY_KIND_UNSPECIFIED
PolicyBinding_PolicyKind
=
0
// Principal access boundary policy kind
PolicyBinding_PRINCIPAL_ACCESS_BOUNDARY
PolicyBinding_PolicyKind
=
1
)
func (PolicyBinding_PolicyKind) Descriptor
func
(
PolicyBinding_PolicyKind
)
Descriptor
()
protoreflect
.
EnumDescriptor
func (PolicyBinding_PolicyKind) Enum
func
(
x
PolicyBinding_PolicyKind
)
Enum
()
*
PolicyBinding_PolicyKind
func (PolicyBinding_PolicyKind) EnumDescriptor
func
(
PolicyBinding_PolicyKind
)
EnumDescriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PolicyBinding_PolicyKind.Descriptor instead.
func (PolicyBinding_PolicyKind) Number
func
(
x
PolicyBinding_PolicyKind
)
Number
()
protoreflect
.
EnumNumber
func (PolicyBinding_PolicyKind) String
func
(
x
PolicyBinding_PolicyKind
)
String
()
string
func (PolicyBinding_PolicyKind) Type
func
(
PolicyBinding_PolicyKind
)
Type
()
protoreflect
.
EnumType
PolicyBinding_Target
type
PolicyBinding_Target
struct
{
// The different types of targets that can be bound to a policy.
//
// Types that are assignable to Target:
//
// *PolicyBinding_Target_PrincipalSet
Target
isPolicyBinding_Target_Target
`protobuf_oneof:"target"`
// contains filtered or unexported fields
}
Target is the full resource name of the resource to which the policy will be bound. Immutable once set.
func (*PolicyBinding_Target) Descriptor
func
(
*
PolicyBinding_Target
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PolicyBinding_Target.ProtoReflect.Descriptor instead.
func (*PolicyBinding_Target) GetPrincipalSet
func
(
x
*
PolicyBinding_Target
)
GetPrincipalSet
()
string
func (*PolicyBinding_Target) GetTarget
func
(
m
*
PolicyBinding_Target
)
GetTarget
()
isPolicyBinding_Target_Target
func (*PolicyBinding_Target) ProtoMessage
func
(
*
PolicyBinding_Target
)
ProtoMessage
()
func (*PolicyBinding_Target) ProtoReflect
func
(
x
*
PolicyBinding_Target
)
ProtoReflect
()
protoreflect
.
Message
func (*PolicyBinding_Target) Reset
func
(
x
*
PolicyBinding_Target
)
Reset
()
func (*PolicyBinding_Target) String
func
(
x
*
PolicyBinding_Target
)
String
()
string
PolicyBinding_Target_PrincipalSet
type
PolicyBinding_Target_PrincipalSet
struct
{
// Immutable. Full Resource Name used for principal access boundary policy
// bindings. The principal set must be directly parented by the policy
// binding's parent or same as the parent if the target is a
// project/folder/organization.
//
// Examples:
// * For binding's parented by an organization:
// - Organization:
// `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
// - Workforce Identity:
// `//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID`
// - Workspace Identity:
// `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
//
// * For binding's parented by a folder:
// - Folder:
// `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
//
// * For binding's parented by a project:
// - Project:
// - `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
// - `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
// - Workload Identity Pool:
// `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID`
PrincipalSet
string
`protobuf:"bytes,1,opt,name=principal_set,json=principalSet,proto3,oneof"`
}
PolicyBindingsClient
type
PolicyBindingsClient
interface
{
// Creates a policy binding and returns a long-running operation.
// Callers will need the IAM permissions on both the policy and target.
// Once the binding is created, the policy is applied to the target.
CreatePolicyBinding
(
ctx
context
.
Context
,
in
*
CreatePolicyBindingRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Gets a policy binding.
GetPolicyBinding
(
ctx
context
.
Context
,
in
*
GetPolicyBindingRequest
,
opts
...
grpc
.
CallOption
)
(
*
PolicyBinding
,
error
)
// Updates a policy binding and returns a long-running operation.
// Callers will need the IAM permissions on the policy and target in the
// binding to update, and the IAM permission to remove the existing policy
// from the binding. Target is immutable and cannot be updated. Once the
// binding is updated, the new policy is applied to the target.
UpdatePolicyBinding
(
ctx
context
.
Context
,
in
*
UpdatePolicyBindingRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a policy binding and returns a long-running operation.
// Callers will need the IAM permissions on both the policy and target.
// Once the binding is deleted, the policy no longer applies to the target.
DeletePolicyBinding
(
ctx
context
.
Context
,
in
*
DeletePolicyBindingRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Lists policy bindings.
ListPolicyBindings
(
ctx
context
.
Context
,
in
*
ListPolicyBindingsRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListPolicyBindingsResponse
,
error
)
// Search policy bindings by target. Returns all policy binding objects bound
// directly to target.
SearchTargetPolicyBindings
(
ctx
context
.
Context
,
in
*
SearchTargetPolicyBindingsRequest
,
opts
...
grpc
.
CallOption
)
(
*
SearchTargetPolicyBindingsResponse
,
error
)
}
PolicyBindingsClient is the client API for PolicyBindings service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewPolicyBindingsClient
func
NewPolicyBindingsClient
(
cc
grpc
.
ClientConnInterface
)
PolicyBindingsClient
PolicyBindingsServer
type
PolicyBindingsServer
interface
{
// Creates a policy binding and returns a long-running operation.
// Callers will need the IAM permissions on both the policy and target.
// Once the binding is created, the policy is applied to the target.
CreatePolicyBinding
(
context
.
Context
,
*
CreatePolicyBindingRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Gets a policy binding.
GetPolicyBinding
(
context
.
Context
,
*
GetPolicyBindingRequest
)
(
*
PolicyBinding
,
error
)
// Updates a policy binding and returns a long-running operation.
// Callers will need the IAM permissions on the policy and target in the
// binding to update, and the IAM permission to remove the existing policy
// from the binding. Target is immutable and cannot be updated. Once the
// binding is updated, the new policy is applied to the target.
UpdatePolicyBinding
(
context
.
Context
,
*
UpdatePolicyBindingRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a policy binding and returns a long-running operation.
// Callers will need the IAM permissions on both the policy and target.
// Once the binding is deleted, the policy no longer applies to the target.
DeletePolicyBinding
(
context
.
Context
,
*
DeletePolicyBindingRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Lists policy bindings.
ListPolicyBindings
(
context
.
Context
,
*
ListPolicyBindingsRequest
)
(
*
ListPolicyBindingsResponse
,
error
)
// Search policy bindings by target. Returns all policy binding objects bound
// directly to target.
SearchTargetPolicyBindings
(
context
.
Context
,
*
SearchTargetPolicyBindingsRequest
)
(
*
SearchTargetPolicyBindingsResponse
,
error
)
}
PolicyBindingsServer is the server API for PolicyBindings service.
PrincipalAccessBoundaryPoliciesClient
type
PrincipalAccessBoundaryPoliciesClient
interface
{
// Creates a principal access boundary policy, and returns a long running
// operation.
CreatePrincipalAccessBoundaryPolicy
(
ctx
context
.
Context
,
in
*
CreatePrincipalAccessBoundaryPolicyRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Gets a principal access boundary policy.
GetPrincipalAccessBoundaryPolicy
(
ctx
context
.
Context
,
in
*
GetPrincipalAccessBoundaryPolicyRequest
,
opts
...
grpc
.
CallOption
)
(
*
PrincipalAccessBoundaryPolicy
,
error
)
// Updates a principal access boundary policy.
UpdatePrincipalAccessBoundaryPolicy
(
ctx
context
.
Context
,
in
*
UpdatePrincipalAccessBoundaryPolicyRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a principal access boundary policy.
DeletePrincipalAccessBoundaryPolicy
(
ctx
context
.
Context
,
in
*
DeletePrincipalAccessBoundaryPolicyRequest
,
opts
...
grpc
.
CallOption
)
(
*
longrunningpb
.
Operation
,
error
)
// Lists principal access boundary policies.
ListPrincipalAccessBoundaryPolicies
(
ctx
context
.
Context
,
in
*
ListPrincipalAccessBoundaryPoliciesRequest
,
opts
...
grpc
.
CallOption
)
(
*
ListPrincipalAccessBoundaryPoliciesResponse
,
error
)
// Returns all policy bindings that bind a specific policy if a user has
// searchPolicyBindings permission on that policy.
SearchPrincipalAccessBoundaryPolicyBindings
(
ctx
context
.
Context
,
in
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
,
opts
...
grpc
.
CallOption
)
(
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
,
error
)
}
PrincipalAccessBoundaryPoliciesClient is the client API for PrincipalAccessBoundaryPolicies service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream .
func NewPrincipalAccessBoundaryPoliciesClient
func
NewPrincipalAccessBoundaryPoliciesClient
(
cc
grpc
.
ClientConnInterface
)
PrincipalAccessBoundaryPoliciesClient
PrincipalAccessBoundaryPoliciesServer
type
PrincipalAccessBoundaryPoliciesServer
interface
{
// Creates a principal access boundary policy, and returns a long running
// operation.
CreatePrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
CreatePrincipalAccessBoundaryPolicyRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Gets a principal access boundary policy.
GetPrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
GetPrincipalAccessBoundaryPolicyRequest
)
(
*
PrincipalAccessBoundaryPolicy
,
error
)
// Updates a principal access boundary policy.
UpdatePrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Deletes a principal access boundary policy.
DeletePrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
DeletePrincipalAccessBoundaryPolicyRequest
)
(
*
longrunningpb
.
Operation
,
error
)
// Lists principal access boundary policies.
ListPrincipalAccessBoundaryPolicies
(
context
.
Context
,
*
ListPrincipalAccessBoundaryPoliciesRequest
)
(
*
ListPrincipalAccessBoundaryPoliciesResponse
,
error
)
// Returns all policy bindings that bind a specific policy if a user has
// searchPolicyBindings permission on that policy.
SearchPrincipalAccessBoundaryPolicyBindings
(
context
.
Context
,
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
(
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
,
error
)
}
PrincipalAccessBoundaryPoliciesServer is the server API for PrincipalAccessBoundaryPolicies service.
PrincipalAccessBoundaryPolicy
type
PrincipalAccessBoundaryPolicy
struct
{
// Identifier. The resource name of the principal access boundary policy.
//
// The following format is supported:
// `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{policy_id}`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The globally unique ID of the principal access boundary
// policy.
Uid
string
`protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. The etag for the principal access boundary.
// If this is provided on update, it must match the server's etag.
Etag
string
`protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. The description of the principal access boundary policy. Must be
// less than or equal to 63 characters.
DisplayName
string
`protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. User defined annotations. See
// https://google.aip.dev/148#annotations for more details such as format and
// size limitations
Annotations
map
[
string
]
string
`protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The time when the principal access boundary policy was
// created.
CreateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the principal access boundary policy was most
// recently updated.
UpdateTime
*
timestamppb
.
Timestamp
`protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. The details for the principal access boundary policy.
Details
*
PrincipalAccessBoundaryPolicyDetails
`protobuf:"bytes,8,opt,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}
An IAM principal access boundary policy resource.
func (*PrincipalAccessBoundaryPolicy) Descriptor
func
(
*
PrincipalAccessBoundaryPolicy
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PrincipalAccessBoundaryPolicy.ProtoReflect.Descriptor instead.
func (*PrincipalAccessBoundaryPolicy) GetAnnotations
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetAnnotations
()
map
[
string
]
string
func (*PrincipalAccessBoundaryPolicy) GetCreateTime
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetCreateTime
()
*
timestamppb
.
Timestamp
func (*PrincipalAccessBoundaryPolicy) GetDetails
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetDetails
()
*
PrincipalAccessBoundaryPolicyDetails
func (*PrincipalAccessBoundaryPolicy) GetDisplayName
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetDisplayName
()
string
func (*PrincipalAccessBoundaryPolicy) GetEtag
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetEtag
()
string
func (*PrincipalAccessBoundaryPolicy) GetName
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetName
()
string
func (*PrincipalAccessBoundaryPolicy) GetUid
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetUid
()
string
func (*PrincipalAccessBoundaryPolicy) GetUpdateTime
func
(
x
*
PrincipalAccessBoundaryPolicy
)
GetUpdateTime
()
*
timestamppb
.
Timestamp
func (*PrincipalAccessBoundaryPolicy) ProtoMessage
func
(
*
PrincipalAccessBoundaryPolicy
)
ProtoMessage
()
func (*PrincipalAccessBoundaryPolicy) ProtoReflect
func
(
x
*
PrincipalAccessBoundaryPolicy
)
ProtoReflect
()
protoreflect
.
Message
func (*PrincipalAccessBoundaryPolicy) Reset
func
(
x
*
PrincipalAccessBoundaryPolicy
)
Reset
()
func (*PrincipalAccessBoundaryPolicy) String
func
(
x
*
PrincipalAccessBoundaryPolicy
)
String
()
string
PrincipalAccessBoundaryPolicyDetails
type
PrincipalAccessBoundaryPolicyDetails
struct
{
// Required. A list of principal access boundary policy rules. The number of
// rules in a policy is limited to 500.
Rules
[]
*
PrincipalAccessBoundaryPolicyRule
`protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// Optional.
// The version number (for example, `1` or `latest`) that indicates which
// permissions are able to be blocked by the policy. If empty, the PAB policy
// version will be set to the most recent version number at the time of the
// policy's creation.
EnforcementVersion
string
`protobuf:"bytes,4,opt,name=enforcement_version,json=enforcementVersion,proto3" json:"enforcement_version,omitempty"`
// contains filtered or unexported fields
}
Principal access boundary policy details
func (*PrincipalAccessBoundaryPolicyDetails) Descriptor
func
(
*
PrincipalAccessBoundaryPolicyDetails
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PrincipalAccessBoundaryPolicyDetails.ProtoReflect.Descriptor instead.
func (*PrincipalAccessBoundaryPolicyDetails) GetEnforcementVersion
func
(
x
*
PrincipalAccessBoundaryPolicyDetails
)
GetEnforcementVersion
()
string
func (*PrincipalAccessBoundaryPolicyDetails) GetRules
func
(
x
*
PrincipalAccessBoundaryPolicyDetails
)
GetRules
()
[]
*
PrincipalAccessBoundaryPolicyRule
func (*PrincipalAccessBoundaryPolicyDetails) ProtoMessage
func
(
*
PrincipalAccessBoundaryPolicyDetails
)
ProtoMessage
()
func (*PrincipalAccessBoundaryPolicyDetails) ProtoReflect
func
(
x
*
PrincipalAccessBoundaryPolicyDetails
)
ProtoReflect
()
protoreflect
.
Message
func (*PrincipalAccessBoundaryPolicyDetails) Reset
func
(
x
*
PrincipalAccessBoundaryPolicyDetails
)
Reset
()
func (*PrincipalAccessBoundaryPolicyDetails) String
func
(
x
*
PrincipalAccessBoundaryPolicyDetails
)
String
()
string
PrincipalAccessBoundaryPolicyRule
type
PrincipalAccessBoundaryPolicyRule
struct
{
// Optional. The description of the principal access boundary policy rule.
// Must be less than or equal to 256 characters.
Description
string
`protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Required. A list of Resource Manager resources. If a resource is listed in
// the rule, then the rule applies for that resource and its descendants. The
// number of resources in a policy is limited to 500 across all rules in the
// policy.
//
// The following resource types are supported:
//
// * Organizations, such as
// `//cloudresourcemanager.googleapis.com/organizations/123`.
// - Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
// - Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
// or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
Resources
[]
string
`protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
// Required. The access relationship of principals to the resources in this
// rule.
Effect
PrincipalAccessBoundaryPolicyRule_Effect
`protobuf:"varint,3,opt,name=effect,proto3,enum=google.iam.v3.PrincipalAccessBoundaryPolicyRule_Effect" json:"effect,omitempty"`
// contains filtered or unexported fields
}
Principal access boundary policy rule that defines the resource boundary.
func (*PrincipalAccessBoundaryPolicyRule) Descriptor
func
(
*
PrincipalAccessBoundaryPolicyRule
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PrincipalAccessBoundaryPolicyRule.ProtoReflect.Descriptor instead.
func (*PrincipalAccessBoundaryPolicyRule) GetDescription
func
(
x
*
PrincipalAccessBoundaryPolicyRule
)
GetDescription
()
string
func (*PrincipalAccessBoundaryPolicyRule) GetEffect
func
(
x
*
PrincipalAccessBoundaryPolicyRule
)
GetEffect
()
PrincipalAccessBoundaryPolicyRule_Effect
func (*PrincipalAccessBoundaryPolicyRule) GetResources
func
(
x
*
PrincipalAccessBoundaryPolicyRule
)
GetResources
()
[]
string
func (*PrincipalAccessBoundaryPolicyRule) ProtoMessage
func
(
*
PrincipalAccessBoundaryPolicyRule
)
ProtoMessage
()
func (*PrincipalAccessBoundaryPolicyRule) ProtoReflect
func
(
x
*
PrincipalAccessBoundaryPolicyRule
)
ProtoReflect
()
protoreflect
.
Message
func (*PrincipalAccessBoundaryPolicyRule) Reset
func
(
x
*
PrincipalAccessBoundaryPolicyRule
)
Reset
()
func (*PrincipalAccessBoundaryPolicyRule) String
func
(
x
*
PrincipalAccessBoundaryPolicyRule
)
String
()
string
PrincipalAccessBoundaryPolicyRule_Effect
type
PrincipalAccessBoundaryPolicyRule_Effect
int32
An effect to describe the access relationship.
PrincipalAccessBoundaryPolicyRule_EFFECT_UNSPECIFIED, PrincipalAccessBoundaryPolicyRule_ALLOW
const
(
// Effect unspecified.
PrincipalAccessBoundaryPolicyRule_EFFECT_UNSPECIFIED
PrincipalAccessBoundaryPolicyRule_Effect
=
0
// Allows access to the resources in this rule.
PrincipalAccessBoundaryPolicyRule_ALLOW
PrincipalAccessBoundaryPolicyRule_Effect
=
1
)
func (PrincipalAccessBoundaryPolicyRule_Effect) Descriptor
func
(
PrincipalAccessBoundaryPolicyRule_Effect
)
Descriptor
()
protoreflect
.
EnumDescriptor
func (PrincipalAccessBoundaryPolicyRule_Effect) Enum
func
(
x
PrincipalAccessBoundaryPolicyRule_Effect
)
Enum
()
*
PrincipalAccessBoundaryPolicyRule_Effect
func (PrincipalAccessBoundaryPolicyRule_Effect) EnumDescriptor
func
(
PrincipalAccessBoundaryPolicyRule_Effect
)
EnumDescriptor
()
([]
byte
,
[]
int
)
Deprecated: Use PrincipalAccessBoundaryPolicyRule_Effect.Descriptor instead.
func (PrincipalAccessBoundaryPolicyRule_Effect) Number
func
(
x
PrincipalAccessBoundaryPolicyRule_Effect
)
Number
()
protoreflect
.
EnumNumber
func (PrincipalAccessBoundaryPolicyRule_Effect) String
func
(
x
PrincipalAccessBoundaryPolicyRule_Effect
)
String
()
string
func (PrincipalAccessBoundaryPolicyRule_Effect) Type
func
(
PrincipalAccessBoundaryPolicyRule_Effect
)
Type
()
protoreflect
.
EnumType
SearchPrincipalAccessBoundaryPolicyBindingsRequest
type
SearchPrincipalAccessBoundaryPolicyBindingsRequest
struct
{
// Required. The name of the principal access boundary policy.
// Format:
//
// `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The maximum number of policy bindings to return. The service may
// return fewer than this value.
//
// If unspecified, at most 50 policy bindings will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize
int32
`protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous
// `SearchPrincipalAccessBoundaryPolicyBindingsRequest` call. Provide this to
// retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `SearchPrincipalAccessBoundaryPolicyBindingsRequest` must match the call
// that provided the page token.
PageToken
string
`protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for SearchPrincipalAccessBoundaryPolicyBindings rpc.
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) Descriptor
func
(
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use SearchPrincipalAccessBoundaryPolicyBindingsRequest.ProtoReflect.Descriptor instead.
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) GetName
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
GetName
()
string
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) GetPageSize
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
GetPageSize
()
int32
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) GetPageToken
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
GetPageToken
()
string
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) ProtoMessage
func
(
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
ProtoMessage
()
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) ProtoReflect
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) Reset
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
Reset
()
func (*SearchPrincipalAccessBoundaryPolicyBindingsRequest) String
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
String
()
string
SearchPrincipalAccessBoundaryPolicyBindingsResponse
type
SearchPrincipalAccessBoundaryPolicyBindingsResponse
struct
{
// The policy bindings that reference the specified policy.
PolicyBindings
[]
*
PolicyBinding
`protobuf:"bytes,1,rep,name=policy_bindings,json=policyBindings,proto3" json:"policy_bindings,omitempty"`
// Optional. A token, which can be sent as `page_token` to retrieve the next
// page. If this field is omitted, there are no subsequent pages.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for SearchPrincipalAccessBoundaryPolicyBindings rpc.
func (*SearchPrincipalAccessBoundaryPolicyBindingsResponse) Descriptor
func
(
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use SearchPrincipalAccessBoundaryPolicyBindingsResponse.ProtoReflect.Descriptor instead.
func (*SearchPrincipalAccessBoundaryPolicyBindingsResponse) GetNextPageToken
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
)
GetNextPageToken
()
string
func (*SearchPrincipalAccessBoundaryPolicyBindingsResponse) GetPolicyBindings
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
)
GetPolicyBindings
()
[]
*
PolicyBinding
func (*SearchPrincipalAccessBoundaryPolicyBindingsResponse) ProtoMessage
func
(
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
)
ProtoMessage
()
func (*SearchPrincipalAccessBoundaryPolicyBindingsResponse) ProtoReflect
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchPrincipalAccessBoundaryPolicyBindingsResponse) Reset
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
)
Reset
()
func (*SearchPrincipalAccessBoundaryPolicyBindingsResponse) String
func
(
x
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
)
String
()
string
SearchTargetPolicyBindingsRequest
type
SearchTargetPolicyBindingsRequest
struct
{
// Required. The target resource, which is bound to the policy in the binding.
//
// Format:
//
// * `//iam.googleapis.com/locations/global/workforcePools/POOL_ID`
// * `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID`
// * `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
// * `//cloudresourcemanager.googleapis.com/projects/{project_number}`
// * `//cloudresourcemanager.googleapis.com/folders/{folder_id}`
// * `//cloudresourcemanager.googleapis.com/organizations/{organization_id}`
Target
string
`protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// Optional. The maximum number of policy bindings to return. The service may
// return fewer than this value.
//
// If unspecified, at most 50 policy bindings will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize
int32
`protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous
// `SearchTargetPolicyBindingsRequest` call. Provide this to retrieve the
// subsequent page.
//
// When paginating, all other parameters provided to
// `SearchTargetPolicyBindingsRequest` must match the call that provided the
// page token.
PageToken
string
`protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Required. The parent resource where this search will be performed. This
// should be the nearest Resource Manager resource (project, folder, or
// organization) to the target.
//
// Format:
//
// * `projects/{project_id}/locations/{location}`
// * `projects/{project_number}/locations/{location}`
// * `folders/{folder_id}/locations/{location}`
// * `organizations/{organization_id}/locations/{location}`
Parent
string
`protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
Request message for SearchTargetPolicyBindings method.
func (*SearchTargetPolicyBindingsRequest) Descriptor
func
(
*
SearchTargetPolicyBindingsRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use SearchTargetPolicyBindingsRequest.ProtoReflect.Descriptor instead.
func (*SearchTargetPolicyBindingsRequest) GetPageSize
func
(
x
*
SearchTargetPolicyBindingsRequest
)
GetPageSize
()
int32
func (*SearchTargetPolicyBindingsRequest) GetPageToken
func
(
x
*
SearchTargetPolicyBindingsRequest
)
GetPageToken
()
string
func (*SearchTargetPolicyBindingsRequest) GetParent
func
(
x
*
SearchTargetPolicyBindingsRequest
)
GetParent
()
string
func (*SearchTargetPolicyBindingsRequest) GetTarget
func
(
x
*
SearchTargetPolicyBindingsRequest
)
GetTarget
()
string
func (*SearchTargetPolicyBindingsRequest) ProtoMessage
func
(
*
SearchTargetPolicyBindingsRequest
)
ProtoMessage
()
func (*SearchTargetPolicyBindingsRequest) ProtoReflect
func
(
x
*
SearchTargetPolicyBindingsRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchTargetPolicyBindingsRequest) Reset
func
(
x
*
SearchTargetPolicyBindingsRequest
)
Reset
()
func (*SearchTargetPolicyBindingsRequest) String
func
(
x
*
SearchTargetPolicyBindingsRequest
)
String
()
string
SearchTargetPolicyBindingsResponse
type
SearchTargetPolicyBindingsResponse
struct
{
// The policy bindings bound to the specified target.
PolicyBindings
[]
*
PolicyBinding
`protobuf:"bytes,1,rep,name=policy_bindings,json=policyBindings,proto3" json:"policy_bindings,omitempty"`
// Optional. A token, which can be sent as `page_token` to retrieve the next
// page. If this field is omitted, there are no subsequent pages.
NextPageToken
string
`protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for SearchTargetPolicyBindings method.
func (*SearchTargetPolicyBindingsResponse) Descriptor
func
(
*
SearchTargetPolicyBindingsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use SearchTargetPolicyBindingsResponse.ProtoReflect.Descriptor instead.
func (*SearchTargetPolicyBindingsResponse) GetNextPageToken
func
(
x
*
SearchTargetPolicyBindingsResponse
)
GetNextPageToken
()
string
func (*SearchTargetPolicyBindingsResponse) GetPolicyBindings
func
(
x
*
SearchTargetPolicyBindingsResponse
)
GetPolicyBindings
()
[]
*
PolicyBinding
func (*SearchTargetPolicyBindingsResponse) ProtoMessage
func
(
*
SearchTargetPolicyBindingsResponse
)
ProtoMessage
()
func (*SearchTargetPolicyBindingsResponse) ProtoReflect
func
(
x
*
SearchTargetPolicyBindingsResponse
)
ProtoReflect
()
protoreflect
.
Message
func (*SearchTargetPolicyBindingsResponse) Reset
func
(
x
*
SearchTargetPolicyBindingsResponse
)
Reset
()
func (*SearchTargetPolicyBindingsResponse) String
func
(
x
*
SearchTargetPolicyBindingsResponse
)
String
()
string
UnimplementedPolicyBindingsServer
type
UnimplementedPolicyBindingsServer
struct
{
}
UnimplementedPolicyBindingsServer can be embedded to have forward compatible implementations.
func (*UnimplementedPolicyBindingsServer) CreatePolicyBinding
func
(
*
UnimplementedPolicyBindingsServer
)
CreatePolicyBinding
(
context
.
Context
,
*
CreatePolicyBindingRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedPolicyBindingsServer) DeletePolicyBinding
func
(
*
UnimplementedPolicyBindingsServer
)
DeletePolicyBinding
(
context
.
Context
,
*
DeletePolicyBindingRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedPolicyBindingsServer) GetPolicyBinding
func
(
*
UnimplementedPolicyBindingsServer
)
GetPolicyBinding
(
context
.
Context
,
*
GetPolicyBindingRequest
)
(
*
PolicyBinding
,
error
)
func (*UnimplementedPolicyBindingsServer) ListPolicyBindings
func
(
*
UnimplementedPolicyBindingsServer
)
ListPolicyBindings
(
context
.
Context
,
*
ListPolicyBindingsRequest
)
(
*
ListPolicyBindingsResponse
,
error
)
func (*UnimplementedPolicyBindingsServer) SearchTargetPolicyBindings
func
(
*
UnimplementedPolicyBindingsServer
)
SearchTargetPolicyBindings
(
context
.
Context
,
*
SearchTargetPolicyBindingsRequest
)
(
*
SearchTargetPolicyBindingsResponse
,
error
)
func (*UnimplementedPolicyBindingsServer) UpdatePolicyBinding
func
(
*
UnimplementedPolicyBindingsServer
)
UpdatePolicyBinding
(
context
.
Context
,
*
UpdatePolicyBindingRequest
)
(
*
longrunningpb
.
Operation
,
error
)
UnimplementedPrincipalAccessBoundaryPoliciesServer
type
UnimplementedPrincipalAccessBoundaryPoliciesServer
struct
{
}
UnimplementedPrincipalAccessBoundaryPoliciesServer can be embedded to have forward compatible implementations.
func (*UnimplementedPrincipalAccessBoundaryPoliciesServer) CreatePrincipalAccessBoundaryPolicy
func
(
*
UnimplementedPrincipalAccessBoundaryPoliciesServer
)
CreatePrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
CreatePrincipalAccessBoundaryPolicyRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedPrincipalAccessBoundaryPoliciesServer) DeletePrincipalAccessBoundaryPolicy
func
(
*
UnimplementedPrincipalAccessBoundaryPoliciesServer
)
DeletePrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
DeletePrincipalAccessBoundaryPolicyRequest
)
(
*
longrunningpb
.
Operation
,
error
)
func (*UnimplementedPrincipalAccessBoundaryPoliciesServer) GetPrincipalAccessBoundaryPolicy
func
(
*
UnimplementedPrincipalAccessBoundaryPoliciesServer
)
GetPrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
GetPrincipalAccessBoundaryPolicyRequest
)
(
*
PrincipalAccessBoundaryPolicy
,
error
)
func (*UnimplementedPrincipalAccessBoundaryPoliciesServer) ListPrincipalAccessBoundaryPolicies
func
(
*
UnimplementedPrincipalAccessBoundaryPoliciesServer
)
ListPrincipalAccessBoundaryPolicies
(
context
.
Context
,
*
ListPrincipalAccessBoundaryPoliciesRequest
)
(
*
ListPrincipalAccessBoundaryPoliciesResponse
,
error
)
func (*UnimplementedPrincipalAccessBoundaryPoliciesServer) SearchPrincipalAccessBoundaryPolicyBindings
func
(
*
UnimplementedPrincipalAccessBoundaryPoliciesServer
)
SearchPrincipalAccessBoundaryPolicyBindings
(
context
.
Context
,
*
SearchPrincipalAccessBoundaryPolicyBindingsRequest
)
(
*
SearchPrincipalAccessBoundaryPolicyBindingsResponse
,
error
)
func (*UnimplementedPrincipalAccessBoundaryPoliciesServer) UpdatePrincipalAccessBoundaryPolicy
func
(
*
UnimplementedPrincipalAccessBoundaryPoliciesServer
)
UpdatePrincipalAccessBoundaryPolicy
(
context
.
Context
,
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
(
*
longrunningpb
.
Operation
,
error
)
UpdatePolicyBindingRequest
type
UpdatePolicyBindingRequest
struct
{
// Required. The policy binding to update.
//
// The policy binding's `name` field is used to identify the policy binding to
// update.
PolicyBinding
*
PolicyBinding
`protobuf:"bytes,1,opt,name=policy_binding,json=policyBinding,proto3" json:"policy_binding,omitempty"`
// Optional. If set, validate the request and preview the update, but do not
// actually post it.
ValidateOnly
bool
`protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. The list of fields to update
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdatePolicyBinding method.
func (*UpdatePolicyBindingRequest) Descriptor
func
(
*
UpdatePolicyBindingRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use UpdatePolicyBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdatePolicyBindingRequest) GetPolicyBinding
func
(
x
*
UpdatePolicyBindingRequest
)
GetPolicyBinding
()
*
PolicyBinding
func (*UpdatePolicyBindingRequest) GetUpdateMask
func
(
x
*
UpdatePolicyBindingRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*UpdatePolicyBindingRequest) GetValidateOnly
func
(
x
*
UpdatePolicyBindingRequest
)
GetValidateOnly
()
bool
func (*UpdatePolicyBindingRequest) ProtoMessage
func
(
*
UpdatePolicyBindingRequest
)
ProtoMessage
()
func (*UpdatePolicyBindingRequest) ProtoReflect
func
(
x
*
UpdatePolicyBindingRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*UpdatePolicyBindingRequest) Reset
func
(
x
*
UpdatePolicyBindingRequest
)
Reset
()
func (*UpdatePolicyBindingRequest) String
func
(
x
*
UpdatePolicyBindingRequest
)
String
()
string
UpdatePrincipalAccessBoundaryPolicyRequest
type
UpdatePrincipalAccessBoundaryPolicyRequest
struct
{
// Required. The principal access boundary policy to update.
//
// The principal access boundary policy's `name` field is used to identify the
// policy to update.
PrincipalAccessBoundaryPolicy
*
PrincipalAccessBoundaryPolicy
`protobuf:"bytes,1,opt,name=principal_access_boundary_policy,json=principalAccessBoundaryPolicy,proto3" json:"principal_access_boundary_policy,omitempty"`
// Optional. If set, validate the request and preview the update, but do not
// actually post it.
ValidateOnly
bool
`protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. The list of fields to update
UpdateMask
*
fieldmaskpb
.
FieldMask
`protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdatePrincipalAccessBoundaryPolicy method.
func (*UpdatePrincipalAccessBoundaryPolicyRequest) Descriptor
func
(
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
Descriptor
()
([]
byte
,
[]
int
)
Deprecated: Use UpdatePrincipalAccessBoundaryPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdatePrincipalAccessBoundaryPolicyRequest) GetPrincipalAccessBoundaryPolicy
func
(
x
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
GetPrincipalAccessBoundaryPolicy
()
*
PrincipalAccessBoundaryPolicy
func (*UpdatePrincipalAccessBoundaryPolicyRequest) GetUpdateMask
func
(
x
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
GetUpdateMask
()
*
fieldmaskpb
.
FieldMask
func (*UpdatePrincipalAccessBoundaryPolicyRequest) GetValidateOnly
func
(
x
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
GetValidateOnly
()
bool
func (*UpdatePrincipalAccessBoundaryPolicyRequest) ProtoMessage
func
(
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
ProtoMessage
()
func (*UpdatePrincipalAccessBoundaryPolicyRequest) ProtoReflect
func
(
x
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
ProtoReflect
()
protoreflect
.
Message
func (*UpdatePrincipalAccessBoundaryPolicyRequest) Reset
func
(
x
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
Reset
()
func (*UpdatePrincipalAccessBoundaryPolicyRequest) String
func
(
x
*
UpdatePrincipalAccessBoundaryPolicyRequest
)
String
()
string