genproto: google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1 Index | Files

package asset

import "google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1"

Index

Package Files

asset_service.pb.go assets.pb.go

Variables

var File_google_cloud_asset_v1p4beta1_asset_service_proto protoreflect.FileDescriptor
var File_google_cloud_asset_v1p4beta1_assets_proto protoreflect.FileDescriptor

func RegisterAssetServiceServer Uses

func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer)

type AnalyzeIamPolicyRequest Uses

type AnalyzeIamPolicyRequest struct {

    // Required. The request query.
    AnalysisQuery *IamPolicyAnalysisQuery `protobuf:"bytes,1,opt,name=analysis_query,json=analysisQuery,proto3" json:"analysis_query,omitempty"`
    // Optional. The request options.
    Options *AnalyzeIamPolicyRequest_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
    // contains filtered or unexported fields
}

A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].

func (*AnalyzeIamPolicyRequest) Descriptor Uses

func (*AnalyzeIamPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use AnalyzeIamPolicyRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeIamPolicyRequest) GetAnalysisQuery Uses

func (x *AnalyzeIamPolicyRequest) GetAnalysisQuery() *IamPolicyAnalysisQuery

func (*AnalyzeIamPolicyRequest) GetOptions Uses

func (x *AnalyzeIamPolicyRequest) GetOptions() *AnalyzeIamPolicyRequest_Options

func (*AnalyzeIamPolicyRequest) ProtoMessage Uses

func (*AnalyzeIamPolicyRequest) ProtoMessage()

func (*AnalyzeIamPolicyRequest) ProtoReflect Uses

func (x *AnalyzeIamPolicyRequest) ProtoReflect() protoreflect.Message

func (*AnalyzeIamPolicyRequest) Reset Uses

func (x *AnalyzeIamPolicyRequest) Reset()

func (*AnalyzeIamPolicyRequest) String Uses

func (x *AnalyzeIamPolicyRequest) String() string

type AnalyzeIamPolicyRequest_Options Uses

type AnalyzeIamPolicyRequest_Options struct {

    // Optional. If true, the identities section of the result will expand any
    // Google groups appearing in an IAM policy binding.
    //
    // If [identity_selector][] is specified, the identity in the result will
    // be determined by the selector, and this flag will have no effect.
    //
    // Default is false.
    ExpandGroups bool `protobuf:"varint,1,opt,name=expand_groups,json=expandGroups,proto3" json:"expand_groups,omitempty"`
    // Optional. If true, the access section of result will expand any roles
    // appearing in IAM policy bindings to include their permissions.
    //
    // If [access_selector][] is specified, the access section of the result
    // will be determined by the selector, and this flag will have no effect.
    //
    // Default is false.
    ExpandRoles bool `protobuf:"varint,2,opt,name=expand_roles,json=expandRoles,proto3" json:"expand_roles,omitempty"`
    // Optional. If true, the resource section of the result will expand any
    // resource attached to an IAM policy to include resources lower in the
    // resource hierarchy.
    //
    // For example, if the request analyzes for which resources user A has
    // permission P, and the results include an IAM policy with P on a GCP
    // folder, the results will also include resources in that folder with
    // permission P.
    //
    // If [resource_selector][] is specified, the resource section of the result
    // will be determined by the selector, and this flag will have no effect.
    // Default is false.
    ExpandResources bool `protobuf:"varint,3,opt,name=expand_resources,json=expandResources,proto3" json:"expand_resources,omitempty"`
    // Optional. If true, the result will output resource edges, starting
    // from the policy attached resource, to any expanded resources.
    // Default is false.
    OutputResourceEdges bool `protobuf:"varint,4,opt,name=output_resource_edges,json=outputResourceEdges,proto3" json:"output_resource_edges,omitempty"`
    // Optional. If true, the result will output group identity edges, starting
    // from the binding's group members, to any expanded identities.
    // Default is false.
    OutputGroupEdges bool `protobuf:"varint,5,opt,name=output_group_edges,json=outputGroupEdges,proto3" json:"output_group_edges,omitempty"`
    // Optional. If true, the response will include access analysis from identities to
    // resources via service account impersonation. This is a very expensive
    // operation, because many derived queries will be executed. We highly
    // recommend you use ExportIamPolicyAnalysis rpc instead.
    //
    // For example, if the request analyzes for which resources user A has
    // permission P, and there's an IAM policy states user A has
    // iam.serviceAccounts.getAccessToken permission to a service account SA,
    // and there's another IAM policy states service account SA has permission P
    // to a GCP folder F, then user A potentially has access to the GCP folder
    // F. And those advanced analysis results will be included in
    // [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
    //
    // Another example, if the request analyzes for who has
    // permission P to a GCP folder F, and there's an IAM policy states user A
    // has iam.serviceAccounts.actAs permission to a service account SA, and
    // there's another IAM policy states service account SA has permission P to
    // the GCP folder F, then user A potentially has access to the GCP folder
    // F. And those advanced analysis results will be included in
    // [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
    //
    // Default is false.
    AnalyzeServiceAccountImpersonation bool `protobuf:"varint,6,opt,name=analyze_service_account_impersonation,json=analyzeServiceAccountImpersonation,proto3" json:"analyze_service_account_impersonation,omitempty"`
    // Optional. Amount of time executable has to complete.  See JSON representation of
    // [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
    //
    // If this field is set with a value less than the RPC deadline, and the
    // execution of your query hasn't finished in the specified
    // execution timeout,  you will get a response with partial result.
    // Otherwise, your query's execution will continue until the RPC deadline.
    // If it's not finished until then, you will get a  DEADLINE_EXCEEDED error.
    //
    // Default is empty.
    ExecutionTimeout *duration.Duration `protobuf:"bytes,7,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
    // contains filtered or unexported fields
}

Contains request options.

func (*AnalyzeIamPolicyRequest_Options) Descriptor Uses

func (*AnalyzeIamPolicyRequest_Options) Descriptor() ([]byte, []int)

Deprecated: Use AnalyzeIamPolicyRequest_Options.ProtoReflect.Descriptor instead.

func (*AnalyzeIamPolicyRequest_Options) GetAnalyzeServiceAccountImpersonation Uses

func (x *AnalyzeIamPolicyRequest_Options) GetAnalyzeServiceAccountImpersonation() bool

func (*AnalyzeIamPolicyRequest_Options) GetExecutionTimeout Uses

func (x *AnalyzeIamPolicyRequest_Options) GetExecutionTimeout() *duration.Duration

func (*AnalyzeIamPolicyRequest_Options) GetExpandGroups Uses

func (x *AnalyzeIamPolicyRequest_Options) GetExpandGroups() bool

func (*AnalyzeIamPolicyRequest_Options) GetExpandResources Uses

func (x *AnalyzeIamPolicyRequest_Options) GetExpandResources() bool

func (*AnalyzeIamPolicyRequest_Options) GetExpandRoles Uses

func (x *AnalyzeIamPolicyRequest_Options) GetExpandRoles() bool

func (*AnalyzeIamPolicyRequest_Options) GetOutputGroupEdges Uses

func (x *AnalyzeIamPolicyRequest_Options) GetOutputGroupEdges() bool

func (*AnalyzeIamPolicyRequest_Options) GetOutputResourceEdges Uses

func (x *AnalyzeIamPolicyRequest_Options) GetOutputResourceEdges() bool

func (*AnalyzeIamPolicyRequest_Options) ProtoMessage Uses

func (*AnalyzeIamPolicyRequest_Options) ProtoMessage()

func (*AnalyzeIamPolicyRequest_Options) ProtoReflect Uses

func (x *AnalyzeIamPolicyRequest_Options) ProtoReflect() protoreflect.Message

func (*AnalyzeIamPolicyRequest_Options) Reset Uses

func (x *AnalyzeIamPolicyRequest_Options) Reset()

func (*AnalyzeIamPolicyRequest_Options) String Uses

func (x *AnalyzeIamPolicyRequest_Options) String() string

type AnalyzeIamPolicyResponse Uses

type AnalyzeIamPolicyResponse struct {

    // The main analysis that matches the original request.
    MainAnalysis *AnalyzeIamPolicyResponse_IamPolicyAnalysis `protobuf:"bytes,1,opt,name=main_analysis,json=mainAnalysis,proto3" json:"main_analysis,omitempty"`
    // The service account impersonation analysis if
    // [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    // enabled.
    ServiceAccountImpersonationAnalysis []*AnalyzeIamPolicyResponse_IamPolicyAnalysis `protobuf:"bytes,2,rep,name=service_account_impersonation_analysis,json=serviceAccountImpersonationAnalysis,proto3" json:"service_account_impersonation_analysis,omitempty"`
    // Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
    // [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
    // answer the query in the request.
    FullyExplored bool `protobuf:"varint,3,opt,name=fully_explored,json=fullyExplored,proto3" json:"fully_explored,omitempty"`
    // A list of non-critical errors happened during the request handling to
    // explain why `fully_explored` is false, or empty if no error happened.
    NonCriticalErrors []*IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,4,rep,name=non_critical_errors,json=nonCriticalErrors,proto3" json:"non_critical_errors,omitempty"`
    // contains filtered or unexported fields
}

A response message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].

func (*AnalyzeIamPolicyResponse) Descriptor Uses

func (*AnalyzeIamPolicyResponse) Descriptor() ([]byte, []int)

Deprecated: Use AnalyzeIamPolicyResponse.ProtoReflect.Descriptor instead.

func (*AnalyzeIamPolicyResponse) GetFullyExplored Uses

func (x *AnalyzeIamPolicyResponse) GetFullyExplored() bool

func (*AnalyzeIamPolicyResponse) GetMainAnalysis Uses

func (x *AnalyzeIamPolicyResponse) GetMainAnalysis() *AnalyzeIamPolicyResponse_IamPolicyAnalysis

func (*AnalyzeIamPolicyResponse) GetNonCriticalErrors Uses

func (x *AnalyzeIamPolicyResponse) GetNonCriticalErrors() []*IamPolicyAnalysisResult_AnalysisState

func (*AnalyzeIamPolicyResponse) GetServiceAccountImpersonationAnalysis Uses

func (x *AnalyzeIamPolicyResponse) GetServiceAccountImpersonationAnalysis() []*AnalyzeIamPolicyResponse_IamPolicyAnalysis

func (*AnalyzeIamPolicyResponse) ProtoMessage Uses

func (*AnalyzeIamPolicyResponse) ProtoMessage()

func (*AnalyzeIamPolicyResponse) ProtoReflect Uses

func (x *AnalyzeIamPolicyResponse) ProtoReflect() protoreflect.Message

func (*AnalyzeIamPolicyResponse) Reset Uses

func (x *AnalyzeIamPolicyResponse) Reset()

func (*AnalyzeIamPolicyResponse) String Uses

func (x *AnalyzeIamPolicyResponse) String() string

type AnalyzeIamPolicyResponse_IamPolicyAnalysis Uses

type AnalyzeIamPolicyResponse_IamPolicyAnalysis struct {

    // The analysis query.
    AnalysisQuery *IamPolicyAnalysisQuery `protobuf:"bytes,1,opt,name=analysis_query,json=analysisQuery,proto3" json:"analysis_query,omitempty"`
    // A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
    // empty if no result is found.
    AnalysisResults []*IamPolicyAnalysisResult `protobuf:"bytes,2,rep,name=analysis_results,json=analysisResults,proto3" json:"analysis_results,omitempty"`
    // Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
    // fully explored to answer the query.
    FullyExplored bool `protobuf:"varint,3,opt,name=fully_explored,json=fullyExplored,proto3" json:"fully_explored,omitempty"`
    // contains filtered or unexported fields
}

An analysis message to group the query and results.

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) Descriptor Uses

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) Descriptor() ([]byte, []int)

Deprecated: Use AnalyzeIamPolicyResponse_IamPolicyAnalysis.ProtoReflect.Descriptor instead.

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) GetAnalysisQuery Uses

func (x *AnalyzeIamPolicyResponse_IamPolicyAnalysis) GetAnalysisQuery() *IamPolicyAnalysisQuery

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) GetAnalysisResults Uses

func (x *AnalyzeIamPolicyResponse_IamPolicyAnalysis) GetAnalysisResults() []*IamPolicyAnalysisResult

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) GetFullyExplored Uses

func (x *AnalyzeIamPolicyResponse_IamPolicyAnalysis) GetFullyExplored() bool

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) ProtoMessage Uses

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) ProtoMessage()

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) ProtoReflect Uses

func (x *AnalyzeIamPolicyResponse_IamPolicyAnalysis) ProtoReflect() protoreflect.Message

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) Reset Uses

func (x *AnalyzeIamPolicyResponse_IamPolicyAnalysis) Reset()

func (*AnalyzeIamPolicyResponse_IamPolicyAnalysis) String Uses

func (x *AnalyzeIamPolicyResponse_IamPolicyAnalysis) String() string

type AssetServiceClient Uses

type AssetServiceClient interface {
    // Analyzes IAM policies based on the specified request. Returns
    // a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
    AnalyzeIamPolicy(ctx context.Context, in *AnalyzeIamPolicyRequest, opts ...grpc.CallOption) (*AnalyzeIamPolicyResponse, error)
    // Exports IAM policy analysis based on the specified request. This API
    // implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
    // track of the export. The metadata contains the request to help callers to
    // map responses to requests.
    ExportIamPolicyAnalysis(ctx context.Context, in *ExportIamPolicyAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

AssetServiceClient is the client API for AssetService service.

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

func NewAssetServiceClient Uses

func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient

type AssetServiceServer Uses

type AssetServiceServer interface {
    // Analyzes IAM policies based on the specified request. Returns
    // a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
    AnalyzeIamPolicy(context.Context, *AnalyzeIamPolicyRequest) (*AnalyzeIamPolicyResponse, error)
    // Exports IAM policy analysis based on the specified request. This API
    // implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
    // track of the export. The metadata contains the request to help callers to
    // map responses to requests.
    ExportIamPolicyAnalysis(context.Context, *ExportIamPolicyAnalysisRequest) (*longrunning.Operation, error)
}

AssetServiceServer is the server API for AssetService service.

type ExportIamPolicyAnalysisRequest Uses

type ExportIamPolicyAnalysisRequest struct {

    // Required. The request query.
    AnalysisQuery *IamPolicyAnalysisQuery `protobuf:"bytes,1,opt,name=analysis_query,json=analysisQuery,proto3" json:"analysis_query,omitempty"`
    // Optional. The request options.
    Options *ExportIamPolicyAnalysisRequest_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
    // Required. Output configuration indicating where the results will be output to.
    OutputConfig *IamPolicyAnalysisOutputConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
    // contains filtered or unexported fields
}

A request message for [AssetService.ExportIamPolicyAnalysis][google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysis].

func (*ExportIamPolicyAnalysisRequest) Descriptor Uses

func (*ExportIamPolicyAnalysisRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportIamPolicyAnalysisRequest.ProtoReflect.Descriptor instead.

func (*ExportIamPolicyAnalysisRequest) GetAnalysisQuery Uses

func (x *ExportIamPolicyAnalysisRequest) GetAnalysisQuery() *IamPolicyAnalysisQuery

func (*ExportIamPolicyAnalysisRequest) GetOptions Uses

func (x *ExportIamPolicyAnalysisRequest) GetOptions() *ExportIamPolicyAnalysisRequest_Options

func (*ExportIamPolicyAnalysisRequest) GetOutputConfig Uses

func (x *ExportIamPolicyAnalysisRequest) GetOutputConfig() *IamPolicyAnalysisOutputConfig

func (*ExportIamPolicyAnalysisRequest) ProtoMessage Uses

func (*ExportIamPolicyAnalysisRequest) ProtoMessage()

func (*ExportIamPolicyAnalysisRequest) ProtoReflect Uses

func (x *ExportIamPolicyAnalysisRequest) ProtoReflect() protoreflect.Message

func (*ExportIamPolicyAnalysisRequest) Reset Uses

func (x *ExportIamPolicyAnalysisRequest) Reset()

func (*ExportIamPolicyAnalysisRequest) String Uses

func (x *ExportIamPolicyAnalysisRequest) String() string

type ExportIamPolicyAnalysisRequest_Options Uses

type ExportIamPolicyAnalysisRequest_Options struct {

    // Optional. If true, the identities section of the result will expand any
    // Google groups appearing in an IAM policy binding.
    //
    // If [identity_selector][] is specified, the identity in the result will
    // be determined by the selector, and this flag will have no effect.
    //
    // Default is false.
    ExpandGroups bool `protobuf:"varint,1,opt,name=expand_groups,json=expandGroups,proto3" json:"expand_groups,omitempty"`
    // Optional. If true, the access section of result will expand any roles
    // appearing in IAM policy bindings to include their permissions.
    //
    // If [access_selector][] is specified, the access section of the result
    // will be determined by the selector, and this flag will have no effect.
    //
    // Default is false.
    ExpandRoles bool `protobuf:"varint,2,opt,name=expand_roles,json=expandRoles,proto3" json:"expand_roles,omitempty"`
    // Optional. If true, the resource section of the result will expand any
    // resource attached to an IAM policy to include resources lower in the
    // resource hierarchy.
    //
    // For example, if the request analyzes for which resources user A has
    // permission P, and the results include an IAM policy with P on a GCP
    // folder, the results will also include resources in that folder with
    // permission P.
    //
    // If [resource_selector][] is specified, the resource section of the result
    // will be determined by the selector, and this flag will have no effect.
    // Default is false.
    ExpandResources bool `protobuf:"varint,3,opt,name=expand_resources,json=expandResources,proto3" json:"expand_resources,omitempty"`
    // Optional. If true, the result will output resource edges, starting
    // from the policy attached resource, to any expanded resources.
    // Default is false.
    OutputResourceEdges bool `protobuf:"varint,4,opt,name=output_resource_edges,json=outputResourceEdges,proto3" json:"output_resource_edges,omitempty"`
    // Optional. If true, the result will output group identity edges, starting
    // from the binding's group members, to any expanded identities.
    // Default is false.
    OutputGroupEdges bool `protobuf:"varint,5,opt,name=output_group_edges,json=outputGroupEdges,proto3" json:"output_group_edges,omitempty"`
    // Optional. If true, the response will include access analysis from identities to
    // resources via service account impersonation. This is a very expensive
    // operation, because many derived queries will be executed.
    //
    // For example, if the request analyzes for which resources user A has
    // permission P, and there's an IAM policy states user A has
    // iam.serviceAccounts.getAccessToken permission to a service account SA,
    // and there's another IAM policy states service account SA has permission P
    // to a GCP folder F, then user A potentially has access to the GCP folder
    // F. And those advanced analysis results will be included in
    // [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
    //
    // Another example, if the request analyzes for who has
    // permission P to a GCP folder F, and there's an IAM policy states user A
    // has iam.serviceAccounts.actAs permission to a service account SA, and
    // there's another IAM policy states service account SA has permission P to
    // the GCP folder F, then user A potentially has access to the GCP folder
    // F. And those advanced analysis results will be included in
    // [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
    //
    // Default is false.
    AnalyzeServiceAccountImpersonation bool `protobuf:"varint,6,opt,name=analyze_service_account_impersonation,json=analyzeServiceAccountImpersonation,proto3" json:"analyze_service_account_impersonation,omitempty"`
    // contains filtered or unexported fields
}

Contains request options.

func (*ExportIamPolicyAnalysisRequest_Options) Descriptor Uses

func (*ExportIamPolicyAnalysisRequest_Options) Descriptor() ([]byte, []int)

Deprecated: Use ExportIamPolicyAnalysisRequest_Options.ProtoReflect.Descriptor instead.

func (*ExportIamPolicyAnalysisRequest_Options) GetAnalyzeServiceAccountImpersonation Uses

func (x *ExportIamPolicyAnalysisRequest_Options) GetAnalyzeServiceAccountImpersonation() bool

func (*ExportIamPolicyAnalysisRequest_Options) GetExpandGroups Uses

func (x *ExportIamPolicyAnalysisRequest_Options) GetExpandGroups() bool

func (*ExportIamPolicyAnalysisRequest_Options) GetExpandResources Uses

func (x *ExportIamPolicyAnalysisRequest_Options) GetExpandResources() bool

func (*ExportIamPolicyAnalysisRequest_Options) GetExpandRoles Uses

func (x *ExportIamPolicyAnalysisRequest_Options) GetExpandRoles() bool

func (*ExportIamPolicyAnalysisRequest_Options) GetOutputGroupEdges Uses

func (x *ExportIamPolicyAnalysisRequest_Options) GetOutputGroupEdges() bool

func (*ExportIamPolicyAnalysisRequest_Options) GetOutputResourceEdges Uses

func (x *ExportIamPolicyAnalysisRequest_Options) GetOutputResourceEdges() bool

func (*ExportIamPolicyAnalysisRequest_Options) ProtoMessage Uses

func (*ExportIamPolicyAnalysisRequest_Options) ProtoMessage()

func (*ExportIamPolicyAnalysisRequest_Options) ProtoReflect Uses

func (x *ExportIamPolicyAnalysisRequest_Options) ProtoReflect() protoreflect.Message

func (*ExportIamPolicyAnalysisRequest_Options) Reset Uses

func (x *ExportIamPolicyAnalysisRequest_Options) Reset()

func (*ExportIamPolicyAnalysisRequest_Options) String Uses

func (x *ExportIamPolicyAnalysisRequest_Options) String() string

type ExportIamPolicyAnalysisResponse Uses

type ExportIamPolicyAnalysisResponse struct {

    // Output configuration indicating where the results were output to.
    OutputConfig *IamPolicyAnalysisOutputConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
    // contains filtered or unexported fields
}

The export IAM policy analysis response. This message is returned by the [google.longrunning.Operations.GetOperation][] method in the returned [google.longrunning.Operation.response][] field.

func (*ExportIamPolicyAnalysisResponse) Descriptor Uses

func (*ExportIamPolicyAnalysisResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExportIamPolicyAnalysisResponse.ProtoReflect.Descriptor instead.

func (*ExportIamPolicyAnalysisResponse) GetOutputConfig Uses

func (x *ExportIamPolicyAnalysisResponse) GetOutputConfig() *IamPolicyAnalysisOutputConfig

func (*ExportIamPolicyAnalysisResponse) ProtoMessage Uses

func (*ExportIamPolicyAnalysisResponse) ProtoMessage()

func (*ExportIamPolicyAnalysisResponse) ProtoReflect Uses

func (x *ExportIamPolicyAnalysisResponse) ProtoReflect() protoreflect.Message

func (*ExportIamPolicyAnalysisResponse) Reset Uses

func (x *ExportIamPolicyAnalysisResponse) Reset()

func (*ExportIamPolicyAnalysisResponse) String Uses

func (x *ExportIamPolicyAnalysisResponse) String() string

type IamPolicyAnalysisOutputConfig Uses

type IamPolicyAnalysisOutputConfig struct {

    // IAM policy analysis export destination.
    //
    // Types that are assignable to Destination:
    //	*IamPolicyAnalysisOutputConfig_GcsDestination_
    Destination isIamPolicyAnalysisOutputConfig_Destination `protobuf_oneof:"destination"`
    // contains filtered or unexported fields
}

Output configuration for export IAM policy analysis destination.

func (*IamPolicyAnalysisOutputConfig) Descriptor Uses

func (*IamPolicyAnalysisOutputConfig) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisOutputConfig.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisOutputConfig) GetDestination Uses

func (m *IamPolicyAnalysisOutputConfig) GetDestination() isIamPolicyAnalysisOutputConfig_Destination

func (*IamPolicyAnalysisOutputConfig) GetGcsDestination Uses

func (x *IamPolicyAnalysisOutputConfig) GetGcsDestination() *IamPolicyAnalysisOutputConfig_GcsDestination

func (*IamPolicyAnalysisOutputConfig) ProtoMessage Uses

func (*IamPolicyAnalysisOutputConfig) ProtoMessage()

func (*IamPolicyAnalysisOutputConfig) ProtoReflect Uses

func (x *IamPolicyAnalysisOutputConfig) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisOutputConfig) Reset Uses

func (x *IamPolicyAnalysisOutputConfig) Reset()

func (*IamPolicyAnalysisOutputConfig) String Uses

func (x *IamPolicyAnalysisOutputConfig) String() string

type IamPolicyAnalysisOutputConfig_GcsDestination Uses

type IamPolicyAnalysisOutputConfig_GcsDestination struct {

    // Required. The uri of the Cloud Storage object. It's the same uri that is used by
    // gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
    // Editing Object
    // Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
    // for more information.
    Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
    // contains filtered or unexported fields
}

A Cloud Storage location.

func (*IamPolicyAnalysisOutputConfig_GcsDestination) Descriptor Uses

func (*IamPolicyAnalysisOutputConfig_GcsDestination) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisOutputConfig_GcsDestination.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisOutputConfig_GcsDestination) GetUri Uses

func (x *IamPolicyAnalysisOutputConfig_GcsDestination) GetUri() string

func (*IamPolicyAnalysisOutputConfig_GcsDestination) ProtoMessage Uses

func (*IamPolicyAnalysisOutputConfig_GcsDestination) ProtoMessage()

func (*IamPolicyAnalysisOutputConfig_GcsDestination) ProtoReflect Uses

func (x *IamPolicyAnalysisOutputConfig_GcsDestination) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisOutputConfig_GcsDestination) Reset Uses

func (x *IamPolicyAnalysisOutputConfig_GcsDestination) Reset()

func (*IamPolicyAnalysisOutputConfig_GcsDestination) String Uses

func (x *IamPolicyAnalysisOutputConfig_GcsDestination) String() string

type IamPolicyAnalysisOutputConfig_GcsDestination_ Uses

type IamPolicyAnalysisOutputConfig_GcsDestination_ struct {
    // Destination on Cloud Storage.
    GcsDestination *IamPolicyAnalysisOutputConfig_GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
}

type IamPolicyAnalysisQuery Uses

type IamPolicyAnalysisQuery struct {

    // Required. The relative name of the root asset. Only resources and IAM policies within
    // the parent will be analyzed. This can only be an organization number (such
    // as "organizations/123") or a folder number (such as "folders/123").
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    ResourceSelector *IamPolicyAnalysisQuery_ResourceSelector `protobuf:"bytes,2,opt,name=resource_selector,json=resourceSelector,proto3" json:"resource_selector,omitempty"`
    // Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    IdentitySelector *IamPolicyAnalysisQuery_IdentitySelector `protobuf:"bytes,3,opt,name=identity_selector,json=identitySelector,proto3" json:"identity_selector,omitempty"`
    // Optional. Specifies roles or permissions for analysis. Leaving it empty
    // means ANY.
    AccessSelector *IamPolicyAnalysisQuery_AccessSelector `protobuf:"bytes,4,opt,name=access_selector,json=accessSelector,proto3" json:"access_selector,omitempty"`
    // contains filtered or unexported fields
}

IAM policy analysis query message.

func (*IamPolicyAnalysisQuery) Descriptor Uses

func (*IamPolicyAnalysisQuery) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisQuery.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisQuery) GetAccessSelector Uses

func (x *IamPolicyAnalysisQuery) GetAccessSelector() *IamPolicyAnalysisQuery_AccessSelector

func (*IamPolicyAnalysisQuery) GetIdentitySelector Uses

func (x *IamPolicyAnalysisQuery) GetIdentitySelector() *IamPolicyAnalysisQuery_IdentitySelector

func (*IamPolicyAnalysisQuery) GetParent Uses

func (x *IamPolicyAnalysisQuery) GetParent() string

func (*IamPolicyAnalysisQuery) GetResourceSelector Uses

func (x *IamPolicyAnalysisQuery) GetResourceSelector() *IamPolicyAnalysisQuery_ResourceSelector

func (*IamPolicyAnalysisQuery) ProtoMessage Uses

func (*IamPolicyAnalysisQuery) ProtoMessage()

func (*IamPolicyAnalysisQuery) ProtoReflect Uses

func (x *IamPolicyAnalysisQuery) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisQuery) Reset Uses

func (x *IamPolicyAnalysisQuery) Reset()

func (*IamPolicyAnalysisQuery) String Uses

func (x *IamPolicyAnalysisQuery) String() string

type IamPolicyAnalysisQuery_AccessSelector Uses

type IamPolicyAnalysisQuery_AccessSelector struct {

    // Optional. The roles to appear in result.
    Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
    // Optional. The permissions to appear in result.
    Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
    // contains filtered or unexported fields
}

Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include identities and resources matching any of them.

func (*IamPolicyAnalysisQuery_AccessSelector) Descriptor Uses

func (*IamPolicyAnalysisQuery_AccessSelector) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisQuery_AccessSelector.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisQuery_AccessSelector) GetPermissions Uses

func (x *IamPolicyAnalysisQuery_AccessSelector) GetPermissions() []string

func (*IamPolicyAnalysisQuery_AccessSelector) GetRoles Uses

func (x *IamPolicyAnalysisQuery_AccessSelector) GetRoles() []string

func (*IamPolicyAnalysisQuery_AccessSelector) ProtoMessage Uses

func (*IamPolicyAnalysisQuery_AccessSelector) ProtoMessage()

func (*IamPolicyAnalysisQuery_AccessSelector) ProtoReflect Uses

func (x *IamPolicyAnalysisQuery_AccessSelector) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisQuery_AccessSelector) Reset Uses

func (x *IamPolicyAnalysisQuery_AccessSelector) Reset()

func (*IamPolicyAnalysisQuery_AccessSelector) String Uses

func (x *IamPolicyAnalysisQuery_AccessSelector) String() string

type IamPolicyAnalysisQuery_IdentitySelector Uses

type IamPolicyAnalysisQuery_IdentitySelector struct {

    // Required. The identity appear in the form of members in
    // [IAM policy
    // binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
    Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
    // contains filtered or unexported fields
}

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

func (*IamPolicyAnalysisQuery_IdentitySelector) Descriptor Uses

func (*IamPolicyAnalysisQuery_IdentitySelector) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisQuery_IdentitySelector.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisQuery_IdentitySelector) GetIdentity Uses

func (x *IamPolicyAnalysisQuery_IdentitySelector) GetIdentity() string

func (*IamPolicyAnalysisQuery_IdentitySelector) ProtoMessage Uses

func (*IamPolicyAnalysisQuery_IdentitySelector) ProtoMessage()

func (*IamPolicyAnalysisQuery_IdentitySelector) ProtoReflect Uses

func (x *IamPolicyAnalysisQuery_IdentitySelector) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisQuery_IdentitySelector) Reset Uses

func (x *IamPolicyAnalysisQuery_IdentitySelector) Reset()

func (*IamPolicyAnalysisQuery_IdentitySelector) String Uses

func (x *IamPolicyAnalysisQuery_IdentitySelector) String() string

type IamPolicyAnalysisQuery_ResourceSelector Uses

type IamPolicyAnalysisQuery_ResourceSelector struct {

    // Required. The [full resource
    // name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
    // .
    FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"`
    // contains filtered or unexported fields
}

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects. At least one of [ResourceSelector][google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector], [IdentitySelector][google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector] or [AccessSelector][google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector] must be specified in a request.

func (*IamPolicyAnalysisQuery_ResourceSelector) Descriptor Uses

func (*IamPolicyAnalysisQuery_ResourceSelector) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisQuery_ResourceSelector.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisQuery_ResourceSelector) GetFullResourceName Uses

func (x *IamPolicyAnalysisQuery_ResourceSelector) GetFullResourceName() string

func (*IamPolicyAnalysisQuery_ResourceSelector) ProtoMessage Uses

func (*IamPolicyAnalysisQuery_ResourceSelector) ProtoMessage()

func (*IamPolicyAnalysisQuery_ResourceSelector) ProtoReflect Uses

func (x *IamPolicyAnalysisQuery_ResourceSelector) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisQuery_ResourceSelector) Reset Uses

func (x *IamPolicyAnalysisQuery_ResourceSelector) Reset()

func (*IamPolicyAnalysisQuery_ResourceSelector) String Uses

func (x *IamPolicyAnalysisQuery_ResourceSelector) String() string

type IamPolicyAnalysisResult Uses

type IamPolicyAnalysisResult struct {

    // The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    AttachedResourceFullName string `protobuf:"bytes,1,opt,name=attached_resource_full_name,json=attachedResourceFullName,proto3" json:"attached_resource_full_name,omitempty"`
    // The Cloud IAM policy binding under analysis.
    IamBinding *v1.Binding `protobuf:"bytes,2,opt,name=iam_binding,json=iamBinding,proto3" json:"iam_binding,omitempty"`
    // The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    // potentially match resource and access selectors specified in the request.
    AccessControlLists []*IamPolicyAnalysisResult_AccessControlList `protobuf:"bytes,3,rep,name=access_control_lists,json=accessControlLists,proto3" json:"access_control_lists,omitempty"`
    // The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    // potentially match identity selector specified in the request.
    IdentityList *IamPolicyAnalysisResult_IdentityList `protobuf:"bytes,4,opt,name=identity_list,json=identityList,proto3" json:"identity_list,omitempty"`
    // Represents whether all nodes in the transitive closure of the
    // [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
    FullyExplored bool `protobuf:"varint,5,opt,name=fully_explored,json=fullyExplored,proto3" json:"fully_explored,omitempty"`
    // contains filtered or unexported fields
}

IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.

func (*IamPolicyAnalysisResult) Descriptor Uses

func (*IamPolicyAnalysisResult) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult) GetAccessControlLists Uses

func (x *IamPolicyAnalysisResult) GetAccessControlLists() []*IamPolicyAnalysisResult_AccessControlList

func (*IamPolicyAnalysisResult) GetAttachedResourceFullName Uses

func (x *IamPolicyAnalysisResult) GetAttachedResourceFullName() string

func (*IamPolicyAnalysisResult) GetFullyExplored Uses

func (x *IamPolicyAnalysisResult) GetFullyExplored() bool

func (*IamPolicyAnalysisResult) GetIamBinding Uses

func (x *IamPolicyAnalysisResult) GetIamBinding() *v1.Binding

func (*IamPolicyAnalysisResult) GetIdentityList Uses

func (x *IamPolicyAnalysisResult) GetIdentityList() *IamPolicyAnalysisResult_IdentityList

func (*IamPolicyAnalysisResult) ProtoMessage Uses

func (*IamPolicyAnalysisResult) ProtoMessage()

func (*IamPolicyAnalysisResult) ProtoReflect Uses

func (x *IamPolicyAnalysisResult) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult) Reset Uses

func (x *IamPolicyAnalysisResult) Reset()

func (*IamPolicyAnalysisResult) String Uses

func (x *IamPolicyAnalysisResult) String() string

type IamPolicyAnalysisResult_Access Uses

type IamPolicyAnalysisResult_Access struct {

    // Types that are assignable to OneofAccess:
    //	*IamPolicyAnalysisResult_Access_Role
    //	*IamPolicyAnalysisResult_Access_Permission
    OneofAccess isIamPolicyAnalysisResult_Access_OneofAccess `protobuf_oneof:"oneof_access"`
    // The analysis state of this access node.
    AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,3,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"`
    // contains filtered or unexported fields
}

A role or permission that appears in an access control list.

func (*IamPolicyAnalysisResult_Access) Descriptor Uses

func (*IamPolicyAnalysisResult_Access) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult_Access.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult_Access) GetAnalysisState Uses

func (x *IamPolicyAnalysisResult_Access) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState

func (*IamPolicyAnalysisResult_Access) GetOneofAccess Uses

func (m *IamPolicyAnalysisResult_Access) GetOneofAccess() isIamPolicyAnalysisResult_Access_OneofAccess

func (*IamPolicyAnalysisResult_Access) GetPermission Uses

func (x *IamPolicyAnalysisResult_Access) GetPermission() string

func (*IamPolicyAnalysisResult_Access) GetRole Uses

func (x *IamPolicyAnalysisResult_Access) GetRole() string

func (*IamPolicyAnalysisResult_Access) ProtoMessage Uses

func (*IamPolicyAnalysisResult_Access) ProtoMessage()

func (*IamPolicyAnalysisResult_Access) ProtoReflect Uses

func (x *IamPolicyAnalysisResult_Access) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult_Access) Reset Uses

func (x *IamPolicyAnalysisResult_Access) Reset()

func (*IamPolicyAnalysisResult_Access) String Uses

func (x *IamPolicyAnalysisResult_Access) String() string

type IamPolicyAnalysisResult_AccessControlList Uses

type IamPolicyAnalysisResult_AccessControlList struct {

    // The resources that match one of the following conditions:
    // - The resource_selector, if it is specified in request;
    // - Otherwise, resources reachable from the policy attached resource.
    Resources []*IamPolicyAnalysisResult_Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
    // The accesses that match one of the following conditions:
    // - The access_selector, if it is specified in request;
    // - Otherwise, access specifiers reachable from the policy binding's role.
    Accesses []*IamPolicyAnalysisResult_Access `protobuf:"bytes,2,rep,name=accesses,proto3" json:"accesses,omitempty"`
    // Resource edges of the graph starting from the policy attached
    // resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
    // the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.target_node]
    // contains the full resource name of a child resource. This field is
    // present only if the output_resource_edges option is enabled in request.
    ResourceEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,3,rep,name=resource_edges,json=resourceEdges,proto3" json:"resource_edges,omitempty"`
    // contains filtered or unexported fields
}

An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses. May include one item from each set to compose an access control entry.

NOTICE that there could be multiple access control lists for one IAM policy binding. The access control lists are created based on resource and access combinations.

For example, assume we have the following cases in one IAM policy binding: - Permission P1 and P2 apply to resource R1 and R2; - Permission P3 applies to resource R2 and R3;

This will result in the following access control lists: - AccessControlList 1: [R1, R2], [P1, P2] - AccessControlList 2: [R2, R3], [P3]

func (*IamPolicyAnalysisResult_AccessControlList) Descriptor Uses

func (*IamPolicyAnalysisResult_AccessControlList) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult_AccessControlList.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult_AccessControlList) GetAccesses Uses

func (x *IamPolicyAnalysisResult_AccessControlList) GetAccesses() []*IamPolicyAnalysisResult_Access

func (*IamPolicyAnalysisResult_AccessControlList) GetResourceEdges Uses

func (x *IamPolicyAnalysisResult_AccessControlList) GetResourceEdges() []*IamPolicyAnalysisResult_Edge

func (*IamPolicyAnalysisResult_AccessControlList) GetResources Uses

func (x *IamPolicyAnalysisResult_AccessControlList) GetResources() []*IamPolicyAnalysisResult_Resource

func (*IamPolicyAnalysisResult_AccessControlList) ProtoMessage Uses

func (*IamPolicyAnalysisResult_AccessControlList) ProtoMessage()

func (*IamPolicyAnalysisResult_AccessControlList) ProtoReflect Uses

func (x *IamPolicyAnalysisResult_AccessControlList) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult_AccessControlList) Reset Uses

func (x *IamPolicyAnalysisResult_AccessControlList) Reset()

func (*IamPolicyAnalysisResult_AccessControlList) String Uses

func (x *IamPolicyAnalysisResult_AccessControlList) String() string

type IamPolicyAnalysisResult_Access_Permission Uses

type IamPolicyAnalysisResult_Access_Permission struct {
    // The permission.
    Permission string `protobuf:"bytes,2,opt,name=permission,proto3,oneof"`
}

type IamPolicyAnalysisResult_Access_Role Uses

type IamPolicyAnalysisResult_Access_Role struct {
    // The role.
    Role string `protobuf:"bytes,1,opt,name=role,proto3,oneof"`
}

type IamPolicyAnalysisResult_AnalysisState Uses

type IamPolicyAnalysisResult_AnalysisState struct {

    // The Google standard error code that best describes the state.
    // For example:
    // - OK means the node has been successfully explored;
    // - PERMISSION_DENIED means an access denied error is encountered;
    // - DEADLINE_EXCEEDED means the node hasn't been explored in time;
    Code code.Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.rpc.Code" json:"code,omitempty"`
    // The human-readable description of the cause of failure.
    Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"`
    // contains filtered or unexported fields
}

Represents analysis state of each node in the result graph or non-critical errors in the response.

func (*IamPolicyAnalysisResult_AnalysisState) Descriptor Uses

func (*IamPolicyAnalysisResult_AnalysisState) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult_AnalysisState.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult_AnalysisState) GetCause Uses

func (x *IamPolicyAnalysisResult_AnalysisState) GetCause() string

func (*IamPolicyAnalysisResult_AnalysisState) GetCode Uses

func (x *IamPolicyAnalysisResult_AnalysisState) GetCode() code.Code

func (*IamPolicyAnalysisResult_AnalysisState) ProtoMessage Uses

func (*IamPolicyAnalysisResult_AnalysisState) ProtoMessage()

func (*IamPolicyAnalysisResult_AnalysisState) ProtoReflect Uses

func (x *IamPolicyAnalysisResult_AnalysisState) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult_AnalysisState) Reset Uses

func (x *IamPolicyAnalysisResult_AnalysisState) Reset()

func (*IamPolicyAnalysisResult_AnalysisState) String Uses

func (x *IamPolicyAnalysisResult_AnalysisState) String() string

type IamPolicyAnalysisResult_Edge Uses

type IamPolicyAnalysisResult_Edge struct {

    // The source node of the edge.
    SourceNode string `protobuf:"bytes,1,opt,name=source_node,json=sourceNode,proto3" json:"source_node,omitempty"`
    // The target node of the edge.
    TargetNode string `protobuf:"bytes,2,opt,name=target_node,json=targetNode,proto3" json:"target_node,omitempty"`
    // contains filtered or unexported fields
}

A directional edge.

func (*IamPolicyAnalysisResult_Edge) Descriptor Uses

func (*IamPolicyAnalysisResult_Edge) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult_Edge.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult_Edge) GetSourceNode Uses

func (x *IamPolicyAnalysisResult_Edge) GetSourceNode() string

func (*IamPolicyAnalysisResult_Edge) GetTargetNode Uses

func (x *IamPolicyAnalysisResult_Edge) GetTargetNode() string

func (*IamPolicyAnalysisResult_Edge) ProtoMessage Uses

func (*IamPolicyAnalysisResult_Edge) ProtoMessage()

func (*IamPolicyAnalysisResult_Edge) ProtoReflect Uses

func (x *IamPolicyAnalysisResult_Edge) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult_Edge) Reset Uses

func (x *IamPolicyAnalysisResult_Edge) Reset()

func (*IamPolicyAnalysisResult_Edge) String Uses

func (x *IamPolicyAnalysisResult_Edge) String() string

type IamPolicyAnalysisResult_Identity Uses

type IamPolicyAnalysisResult_Identity struct {

    // The identity name in any form of members appear in
    // [IAM policy
    // binding](https://cloud.google.com/iam/reference/rest/v1/Binding), such
    // as:
    // - user:foo@google.com
    // - group:group1@google.com
    // - serviceAccount:s1@prj1.iam.gserviceaccount.com
    // - projectOwner:some_project_id
    // - domain:google.com
    // - allUsers
    // - etc.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The analysis state of this identity node.
    AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"`
    // contains filtered or unexported fields
}

An identity that appears in an access control list.

func (*IamPolicyAnalysisResult_Identity) Descriptor Uses

func (*IamPolicyAnalysisResult_Identity) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult_Identity.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult_Identity) GetAnalysisState Uses

func (x *IamPolicyAnalysisResult_Identity) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState

func (*IamPolicyAnalysisResult_Identity) GetName Uses

func (x *IamPolicyAnalysisResult_Identity) GetName() string

func (*IamPolicyAnalysisResult_Identity) ProtoMessage Uses

func (*IamPolicyAnalysisResult_Identity) ProtoMessage()

func (*IamPolicyAnalysisResult_Identity) ProtoReflect Uses

func (x *IamPolicyAnalysisResult_Identity) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult_Identity) Reset Uses

func (x *IamPolicyAnalysisResult_Identity) Reset()

func (*IamPolicyAnalysisResult_Identity) String Uses

func (x *IamPolicyAnalysisResult_Identity) String() string

type IamPolicyAnalysisResult_IdentityList Uses

type IamPolicyAnalysisResult_IdentityList struct {

    // Only the identities that match one of the following conditions will be
    // presented:
    // - The identity_selector, if it is specified in request;
    // - Otherwise, identities reachable from the policy binding's members.
    Identities []*IamPolicyAnalysisResult_Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
    // Group identity edges of the graph starting from the binding's
    // group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
    // contains a group, such as "group:parent@google.com". The
    // [Edge.target_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.target_node] contains a member of the group,
    // such as "group:child@google.com" or "user:foo@google.com".
    // This field is present only if the output_group_edges option is enabled in
    // request.
    GroupEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,2,rep,name=group_edges,json=groupEdges,proto3" json:"group_edges,omitempty"`
    // contains filtered or unexported fields
}

func (*IamPolicyAnalysisResult_IdentityList) Descriptor Uses

func (*IamPolicyAnalysisResult_IdentityList) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult_IdentityList.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult_IdentityList) GetGroupEdges Uses

func (x *IamPolicyAnalysisResult_IdentityList) GetGroupEdges() []*IamPolicyAnalysisResult_Edge

func (*IamPolicyAnalysisResult_IdentityList) GetIdentities Uses

func (x *IamPolicyAnalysisResult_IdentityList) GetIdentities() []*IamPolicyAnalysisResult_Identity

func (*IamPolicyAnalysisResult_IdentityList) ProtoMessage Uses

func (*IamPolicyAnalysisResult_IdentityList) ProtoMessage()

func (*IamPolicyAnalysisResult_IdentityList) ProtoReflect Uses

func (x *IamPolicyAnalysisResult_IdentityList) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult_IdentityList) Reset Uses

func (x *IamPolicyAnalysisResult_IdentityList) Reset()

func (*IamPolicyAnalysisResult_IdentityList) String Uses

func (x *IamPolicyAnalysisResult_IdentityList) String() string

type IamPolicyAnalysisResult_Resource Uses

type IamPolicyAnalysisResult_Resource struct {

    // The [full resource name](https://aip.dev/122#full-resource-names).
    FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"`
    // The analysis state of this resource node.
    AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"`
    // contains filtered or unexported fields
}

A GCP resource that appears in an access control list.

func (*IamPolicyAnalysisResult_Resource) Descriptor Uses

func (*IamPolicyAnalysisResult_Resource) Descriptor() ([]byte, []int)

Deprecated: Use IamPolicyAnalysisResult_Resource.ProtoReflect.Descriptor instead.

func (*IamPolicyAnalysisResult_Resource) GetAnalysisState Uses

func (x *IamPolicyAnalysisResult_Resource) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState

func (*IamPolicyAnalysisResult_Resource) GetFullResourceName Uses

func (x *IamPolicyAnalysisResult_Resource) GetFullResourceName() string

func (*IamPolicyAnalysisResult_Resource) ProtoMessage Uses

func (*IamPolicyAnalysisResult_Resource) ProtoMessage()

func (*IamPolicyAnalysisResult_Resource) ProtoReflect Uses

func (x *IamPolicyAnalysisResult_Resource) ProtoReflect() protoreflect.Message

func (*IamPolicyAnalysisResult_Resource) Reset Uses

func (x *IamPolicyAnalysisResult_Resource) Reset()

func (*IamPolicyAnalysisResult_Resource) String Uses

func (x *IamPolicyAnalysisResult_Resource) String() string

type UnimplementedAssetServiceServer Uses

type UnimplementedAssetServiceServer struct {
}

UnimplementedAssetServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAssetServiceServer) AnalyzeIamPolicy Uses

func (*UnimplementedAssetServiceServer) AnalyzeIamPolicy(context.Context, *AnalyzeIamPolicyRequest) (*AnalyzeIamPolicyResponse, error)

func (*UnimplementedAssetServiceServer) ExportIamPolicyAnalysis Uses

func (*UnimplementedAssetServiceServer) ExportIamPolicyAnalysis(context.Context, *ExportIamPolicyAnalysisRequest) (*longrunning.Operation, error)

Package asset imports 14 packages (graph). Updated 2020-07-26. Refresh now. Tools for package owners.