Package cloud.google.com/go/cloudcontrolspartner/apiv1/cloudcontrolspartnerpb (v0.1.0)

Variables

AccessReason_Type_name, AccessReason_Type_value

var (
	AccessReason_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "CUSTOMER_INITIATED_SUPPORT",
		2: "GOOGLE_INITIATED_SERVICE",
		3: "GOOGLE_INITIATED_REVIEW",
		4: "THIRD_PARTY_DATA_REQUEST",
		5: "GOOGLE_RESPONSE_TO_PRODUCTION_ALERT",
		6: "CLOUD_INITIATED_ACCESS",
	}
	AccessReason_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":                    0,
		"CUSTOMER_INITIATED_SUPPORT":          1,
		"GOOGLE_INITIATED_SERVICE":            2,
		"GOOGLE_INITIATED_REVIEW":             3,
		"THIRD_PARTY_DATA_REQUEST":            4,
		"GOOGLE_RESPONSE_TO_PRODUCTION_ALERT": 5,
		"CLOUD_INITIATED_ACCESS":              6,
	}
)

Enum value maps for AccessReason_Type.

CompletionState_name, CompletionState_value

var (
	CompletionState_name = map[int32]string{
		0: "COMPLETION_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "SUCCEEDED",
		3: "FAILED",
		4: "NOT_APPLICABLE",
	}
	CompletionState_value = map[string]int32{
		"COMPLETION_STATE_UNSPECIFIED": 0,
		"PENDING":                      1,
		"SUCCEEDED":                    2,
		"FAILED":                       3,
		"NOT_APPLICABLE":               4,
	}
)

Enum value maps for CompletionState.

Workload_Partner_name, Workload_Partner_value

var (
	Workload_Partner_name = map[int32]string{
		0: "PARTNER_UNSPECIFIED",
		1: "PARTNER_LOCAL_CONTROLS_BY_S3NS",
		2: "PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS",
		3: "PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT",
		4: "PARTNER_SOVEREIGN_CONTROLS_BY_PSN",
		6: "PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT",
		7: "PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM",
	}
	Workload_Partner_value = map[string]int32{
		"PARTNER_UNSPECIFIED":                        0,
		"PARTNER_LOCAL_CONTROLS_BY_S3NS":             1,
		"PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS":    2,
		"PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT":  3,
		"PARTNER_SOVEREIGN_CONTROLS_BY_PSN":          4,
		"PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT":        6,
		"PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM": 7,
	}
)

Enum value maps for Workload_Partner.

WorkloadOnboardingStep_Step_name, WorkloadOnboardingStep_Step_value

var (
	WorkloadOnboardingStep_Step_name = map[int32]string{
		0: "STEP_UNSPECIFIED",
		1: "EKM_PROVISIONED",
		2: "SIGNED_ACCESS_APPROVAL_CONFIGURED",
	}
	WorkloadOnboardingStep_Step_value = map[string]int32{
		"STEP_UNSPECIFIED":                  0,
		"EKM_PROVISIONED":                   1,
		"SIGNED_ACCESS_APPROVAL_CONFIGURED": 2,
	}
)

Enum value maps for WorkloadOnboardingStep_Step.

CustomerOnboardingStep_Step_name, CustomerOnboardingStep_Step_value

var (
	CustomerOnboardingStep_Step_name = map[int32]string{
		0: "STEP_UNSPECIFIED",
		1: "KAJ_ENROLLMENT",
		2: "CUSTOMER_ENVIRONMENT",
	}
	CustomerOnboardingStep_Step_value = map[string]int32{
		"STEP_UNSPECIFIED":     0,
		"KAJ_ENROLLMENT":       1,
		"CUSTOMER_ENVIRONMENT": 2,
	}
)

Enum value maps for CustomerOnboardingStep_Step.

EkmConnection_ConnectionState_name, EkmConnection_ConnectionState_value

var (
	EkmConnection_ConnectionState_name = map[int32]string{
		0: "CONNECTION_STATE_UNSPECIFIED",
		1: "AVAILABLE",
		2: "NOT_AVAILABLE",
		3: "ERROR",
		4: "PERMISSION_DENIED",
	}
	EkmConnection_ConnectionState_value = map[string]int32{
		"CONNECTION_STATE_UNSPECIFIED": 0,
		"AVAILABLE":                    1,
		"NOT_AVAILABLE":                2,
		"ERROR":                        3,
		"PERMISSION_DENIED":            4,
	}
)

Enum value maps for EkmConnection_ConnectionState.

PartnerPermissions_Permission_name, PartnerPermissions_Permission_value

var (
	PartnerPermissions_Permission_name = map[int32]string{
		0: "PERMISSION_UNSPECIFIED",
		1: "ACCESS_TRANSPARENCY_AND_EMERGENCY_ACCESS_LOGS",
		2: "ASSURED_WORKLOADS_MONITORING",
		3: "ACCESS_APPROVAL_REQUESTS",
		4: "ASSURED_WORKLOADS_EKM_CONNECTION_STATUS",
	}
	PartnerPermissions_Permission_value = map[string]int32{
		"PERMISSION_UNSPECIFIED":                        0,
		"ACCESS_TRANSPARENCY_AND_EMERGENCY_ACCESS_LOGS": 1,
		"ASSURED_WORKLOADS_MONITORING":                  2,
		"ACCESS_APPROVAL_REQUESTS":                      3,
		"ASSURED_WORKLOADS_EKM_CONNECTION_STATUS":       4,
	}
)

Enum value maps for PartnerPermissions_Permission.

EkmMetadata_EkmSolution_name, EkmMetadata_EkmSolution_value

var (
	EkmMetadata_EkmSolution_name = map[int32]string{
		0: "EKM_SOLUTION_UNSPECIFIED",
		1: "FORTANIX",
		2: "FUTUREX",
		3: "THALES",
		4: "VIRTRU",
	}
	EkmMetadata_EkmSolution_value = map[string]int32{
		"EKM_SOLUTION_UNSPECIFIED": 0,
		"FORTANIX":                 1,
		"FUTUREX":                  2,
		"THALES":                   3,
		"VIRTRU":                   4,
	}
)

Enum value maps for EkmMetadata_EkmSolution.

Violation_State_name, Violation_State_value

var (
	Violation_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RESOLVED",
		2: "UNRESOLVED",
		3: "EXCEPTION",
	}
	Violation_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RESOLVED":          1,
		"UNRESOLVED":        2,
		"EXCEPTION":         3,
	}
)

Enum value maps for Violation_State.

Violation_Remediation_RemediationType_name, Violation_Remediation_RemediationType_value

var (
	Violation_Remediation_RemediationType_name = map[int32]string{
		0: "REMEDIATION_TYPE_UNSPECIFIED",
		1: "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION",
		2: "REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION",
		3: "REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION",
		4: "REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION",
		5: "REMEDIATION_RESOURCE_VIOLATION",
	}
	Violation_Remediation_RemediationType_value = map[string]int32{
		"REMEDIATION_TYPE_UNSPECIFIED":                                       0,
		"REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION":                           1,
		"REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION":               2,
		"REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION":                3,
		"REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION": 4,
		"REMEDIATION_RESOURCE_VIOLATION":                                     5,
	}
)

Enum value maps for Violation_Remediation_RemediationType.

File_google_cloud_cloudcontrolspartner_v1_access_approval_requests_proto

var File_google_cloud_cloudcontrolspartner_v1_access_approval_requests_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_completion_state_proto

var File_google_cloud_cloudcontrolspartner_v1_completion_state_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_core_proto

var File_google_cloud_cloudcontrolspartner_v1_core_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_customer_workloads_proto

var File_google_cloud_cloudcontrolspartner_v1_customer_workloads_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_customers_proto

var File_google_cloud_cloudcontrolspartner_v1_customers_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_ekm_connections_proto

var File_google_cloud_cloudcontrolspartner_v1_ekm_connections_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_monitoring_proto

var File_google_cloud_cloudcontrolspartner_v1_monitoring_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_partner_permissions_proto

var File_google_cloud_cloudcontrolspartner_v1_partner_permissions_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_partners_proto

var File_google_cloud_cloudcontrolspartner_v1_partners_proto protoreflect.FileDescriptor

File_google_cloud_cloudcontrolspartner_v1_violations_proto

var File_google_cloud_cloudcontrolspartner_v1_violations_proto protoreflect.FileDescriptor

Functions

func RegisterCloudControlsPartnerCoreServer

func RegisterCloudControlsPartnerCoreServer(s *grpc.Server, srv CloudControlsPartnerCoreServer)

func RegisterCloudControlsPartnerMonitoringServer

func RegisterCloudControlsPartnerMonitoringServer(s *grpc.Server, srv CloudControlsPartnerMonitoringServer)

AccessApprovalRequest

type AccessApprovalRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`

	RequestedReason *AccessReason `protobuf:"bytes,3,opt,name=requested_reason,json=requestedReason,proto3" json:"requested_reason,omitempty"`

	RequestedExpirationTime *timestamppb.Timestamp "" /* 132 byte string literal not displayed */

}

Details about the Access request.

func (*AccessApprovalRequest) Descriptor

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

Deprecated: Use AccessApprovalRequest.ProtoReflect.Descriptor instead.

func (*AccessApprovalRequest) GetName

func (x *AccessApprovalRequest) GetName() string

func (*AccessApprovalRequest) GetRequestTime

func (x *AccessApprovalRequest) GetRequestTime() *timestamppb.Timestamp

func (*AccessApprovalRequest) GetRequestedExpirationTime

func (x *AccessApprovalRequest) GetRequestedExpirationTime() *timestamppb.Timestamp

func (*AccessApprovalRequest) GetRequestedReason

func (x *AccessApprovalRequest) GetRequestedReason() *AccessReason

func (*AccessApprovalRequest) ProtoMessage

func (*AccessApprovalRequest) ProtoMessage()

func (*AccessApprovalRequest) ProtoReflect

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

func (*AccessApprovalRequest) Reset

func (x *AccessApprovalRequest) Reset()

func (*AccessApprovalRequest) String

func (x *AccessApprovalRequest) String() string

AccessReason

type AccessReason struct {

	// Type of access justification.
	Type AccessReason_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.cloudcontrolspartner.v1.AccessReason_Type" json:"type,omitempty"`
	// More detail about certain reason types. See comments for each type above.
	Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

Reason for the access.

func (*AccessReason) Descriptor

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

Deprecated: Use AccessReason.ProtoReflect.Descriptor instead.

func (*AccessReason) GetDetail

func (x *AccessReason) GetDetail() string

func (*AccessReason) GetType

func (x *AccessReason) GetType() AccessReason_Type

func (*AccessReason) ProtoMessage

func (*AccessReason) ProtoMessage()

func (*AccessReason) ProtoReflect

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

func (*AccessReason) Reset

func (x *AccessReason) Reset()

func (*AccessReason) String

func (x *AccessReason) String() string

AccessReason_Type

type AccessReason_Type int32

Type of access justification.

AccessReason_TYPE_UNSPECIFIED, AccessReason_CUSTOMER_INITIATED_SUPPORT, AccessReason_GOOGLE_INITIATED_SERVICE, AccessReason_GOOGLE_INITIATED_REVIEW, AccessReason_THIRD_PARTY_DATA_REQUEST, AccessReason_GOOGLE_RESPONSE_TO_PRODUCTION_ALERT, AccessReason_CLOUD_INITIATED_ACCESS

const (
	// Default value for proto, shouldn't be used.
	AccessReason_TYPE_UNSPECIFIED AccessReason_Type = 0
	// Customer made a request or raised an issue that required the principal to
	// access customer data. `detail` is of the form ("#####" is the issue ID):
	//
	// - "Feedback Report: #####"
	// - "Case Number: #####"
	// - "Case ID: #####"
	// - "E-PIN Reference: #####"
	// - "Google-#####"
	// - "T-#####"
	AccessReason_CUSTOMER_INITIATED_SUPPORT AccessReason_Type = 1
	// The principal accessed customer data in order to diagnose or resolve a
	// suspected issue in services. Often this access is used to confirm that
	// customers are not affected by a suspected service issue or to remediate a
	// reversible system issue.
	AccessReason_GOOGLE_INITIATED_SERVICE AccessReason_Type = 2
	// Google initiated service for security, fraud, abuse, or compliance
	// purposes.
	AccessReason_GOOGLE_INITIATED_REVIEW AccessReason_Type = 3
	// The principal was compelled to access customer data in order to respond
	// to a legal third party data request or process, including legal processes
	// from customers themselves.
	AccessReason_THIRD_PARTY_DATA_REQUEST AccessReason_Type = 4
	// The principal accessed customer data in order to diagnose or resolve a
	// suspected issue in services or a known outage.
	AccessReason_GOOGLE_RESPONSE_TO_PRODUCTION_ALERT AccessReason_Type = 5
	// Similar to 'GOOGLE_INITIATED_SERVICE' or 'GOOGLE_INITIATED_REVIEW', but
	// with universe agnostic naming. The principal accessed customer data in
	// order to diagnose or resolve a suspected issue in services or a known
	// outage, or for security, fraud, abuse, or compliance review purposes.
	AccessReason_CLOUD_INITIATED_ACCESS AccessReason_Type = 6
)

func (AccessReason_Type) Descriptor

func (AccessReason_Type) Enum

func (AccessReason_Type) EnumDescriptor

func (AccessReason_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccessReason_Type.Descriptor instead.

func (AccessReason_Type) Number

func (AccessReason_Type) String

func (x AccessReason_Type) String() string

func (AccessReason_Type) Type

CloudControlsPartnerCoreClient

type CloudControlsPartnerCoreClient interface {
	// Gets details of a single workload
	GetWorkload(ctx context.Context, in *GetWorkloadRequest, opts ...grpc.CallOption) (*Workload, error)
	// Lists customer workloads for a given customer org id
	ListWorkloads(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (*ListWorkloadsResponse, error)
	// Gets details of a single customer
	GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*Customer, error)
	// Lists customers of a partner identified by its Google Cloud organization ID
	ListCustomers(ctx context.Context, in *ListCustomersRequest, opts ...grpc.CallOption) (*ListCustomersResponse, error)
	// Gets the EKM connections associated with a workload
	GetEkmConnections(ctx context.Context, in *GetEkmConnectionsRequest, opts ...grpc.CallOption) (*EkmConnections, error)
	// Gets the partner permissions granted for a workload
	GetPartnerPermissions(ctx context.Context, in *GetPartnerPermissionsRequest, opts ...grpc.CallOption) (*PartnerPermissions, error)
	// Lists access requests associated with a workload
	ListAccessApprovalRequests(ctx context.Context, in *ListAccessApprovalRequestsRequest, opts ...grpc.CallOption) (*ListAccessApprovalRequestsResponse, error)
	// Get details of a Partner.
	GetPartner(ctx context.Context, in *GetPartnerRequest, opts ...grpc.CallOption) (*Partner, error)
}

CloudControlsPartnerCoreClient is the client API for CloudControlsPartnerCore service.

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

func NewCloudControlsPartnerCoreClient

func NewCloudControlsPartnerCoreClient(cc grpc.ClientConnInterface) CloudControlsPartnerCoreClient

CloudControlsPartnerCoreServer

type CloudControlsPartnerCoreServer interface {
	// Gets details of a single workload
	GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error)
	// Lists customer workloads for a given customer org id
	ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error)
	// Gets details of a single customer
	GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error)
	// Lists customers of a partner identified by its Google Cloud organization ID
	ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error)
	// Gets the EKM connections associated with a workload
	GetEkmConnections(context.Context, *GetEkmConnectionsRequest) (*EkmConnections, error)
	// Gets the partner permissions granted for a workload
	GetPartnerPermissions(context.Context, *GetPartnerPermissionsRequest) (*PartnerPermissions, error)
	// Lists access requests associated with a workload
	ListAccessApprovalRequests(context.Context, *ListAccessApprovalRequestsRequest) (*ListAccessApprovalRequestsResponse, error)
	// Get details of a Partner.
	GetPartner(context.Context, *GetPartnerRequest) (*Partner, error)
}

CloudControlsPartnerCoreServer is the server API for CloudControlsPartnerCore service.

CloudControlsPartnerMonitoringClient

type CloudControlsPartnerMonitoringClient interface {
	// Lists Violations for a workload
	// Callers may also choose to read across multiple Customers or for a single
	// customer as per
	// [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash
	// character) as a wildcard character instead of {customer} & {workload}.
	// Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
	ListViolations(ctx context.Context, in *ListViolationsRequest, opts ...grpc.CallOption) (*ListViolationsResponse, error)
	// Gets details of a single Violation.
	GetViolation(ctx context.Context, in *GetViolationRequest, opts ...grpc.CallOption) (*Violation, error)
}

CloudControlsPartnerMonitoringClient is the client API for CloudControlsPartnerMonitoring service.

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

func NewCloudControlsPartnerMonitoringClient

func NewCloudControlsPartnerMonitoringClient(cc grpc.ClientConnInterface) CloudControlsPartnerMonitoringClient

CloudControlsPartnerMonitoringServer

type CloudControlsPartnerMonitoringServer interface {
	// Lists Violations for a workload
	// Callers may also choose to read across multiple Customers or for a single
	// customer as per
	// [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash
	// character) as a wildcard character instead of {customer} & {workload}.
	// Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
	ListViolations(context.Context, *ListViolationsRequest) (*ListViolationsResponse, error)
	// Gets details of a single Violation.
	GetViolation(context.Context, *GetViolationRequest) (*Violation, error)
}

CloudControlsPartnerMonitoringServer is the server API for CloudControlsPartnerMonitoring service.

CompletionState

type CompletionState int32

Enum for possible completion states.

CompletionState_COMPLETION_STATE_UNSPECIFIED, CompletionState_PENDING, CompletionState_SUCCEEDED, CompletionState_FAILED, CompletionState_NOT_APPLICABLE

const (
	// Unspecified completion state.
	CompletionState_COMPLETION_STATE_UNSPECIFIED CompletionState = 0
	// Task started (has start date) but not yet completed.
	CompletionState_PENDING CompletionState = 1
	// Succeeded state.
	CompletionState_SUCCEEDED CompletionState = 2
	// Failed state.
	CompletionState_FAILED CompletionState = 3
	// Not applicable state.
	CompletionState_NOT_APPLICABLE CompletionState = 4
)

func (CompletionState) Descriptor

func (CompletionState) Enum

func (x CompletionState) Enum() *CompletionState

func (CompletionState) EnumDescriptor

func (CompletionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompletionState.Descriptor instead.

func (CompletionState) Number

func (CompletionState) String

func (x CompletionState) String() string

func (CompletionState) Type

Customer

type Customer struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	CustomerOnboardingState *CustomerOnboardingState "" /* 132 byte string literal not displayed */

	IsOnboarded bool `protobuf:"varint,4,opt,name=is_onboarded,json=isOnboarded,proto3" json:"is_onboarded,omitempty"`

}

Contains metadata around a Cloud Controls Partner Customer

func (*Customer) Descriptor

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

Deprecated: Use Customer.ProtoReflect.Descriptor instead.

func (*Customer) GetCustomerOnboardingState

func (x *Customer) GetCustomerOnboardingState() *CustomerOnboardingState

func (*Customer) GetDisplayName

func (x *Customer) GetDisplayName() string

func (*Customer) GetIsOnboarded

func (x *Customer) GetIsOnboarded() bool

func (*Customer) GetName

func (x *Customer) GetName() string

func (*Customer) ProtoMessage

func (*Customer) ProtoMessage()

func (*Customer) ProtoReflect

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

func (*Customer) Reset

func (x *Customer) Reset()

func (*Customer) String

func (x *Customer) String() string

CustomerOnboardingState

type CustomerOnboardingState struct {

	// List of customer onboarding steps
	OnboardingSteps []*CustomerOnboardingStep `protobuf:"bytes,1,rep,name=onboarding_steps,json=onboardingSteps,proto3" json:"onboarding_steps,omitempty"`
	// contains filtered or unexported fields
}

Container for customer onboarding steps

func (*CustomerOnboardingState) Descriptor

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

Deprecated: Use CustomerOnboardingState.ProtoReflect.Descriptor instead.

func (*CustomerOnboardingState) GetOnboardingSteps

func (x *CustomerOnboardingState) GetOnboardingSteps() []*CustomerOnboardingStep

func (*CustomerOnboardingState) ProtoMessage

func (*CustomerOnboardingState) ProtoMessage()

func (*CustomerOnboardingState) ProtoReflect

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

func (*CustomerOnboardingState) Reset

func (x *CustomerOnboardingState) Reset()

func (*CustomerOnboardingState) String

func (x *CustomerOnboardingState) String() string

CustomerOnboardingStep

type CustomerOnboardingStep struct {
	Step CustomerOnboardingStep_Step "" /* 132 byte string literal not displayed */

	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	CompletionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`

	CompletionState CompletionState "" /* 165 byte string literal not displayed */

}

Container for customer onboarding information

func (*CustomerOnboardingStep) Descriptor

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

Deprecated: Use CustomerOnboardingStep.ProtoReflect.Descriptor instead.

func (*CustomerOnboardingStep) GetCompletionState

func (x *CustomerOnboardingStep) GetCompletionState() CompletionState

func (*CustomerOnboardingStep) GetCompletionTime

func (x *CustomerOnboardingStep) GetCompletionTime() *timestamppb.Timestamp

func (*CustomerOnboardingStep) GetStartTime

func (x *CustomerOnboardingStep) GetStartTime() *timestamppb.Timestamp

func (*CustomerOnboardingStep) GetStep

func (*CustomerOnboardingStep) ProtoMessage

func (*CustomerOnboardingStep) ProtoMessage()

func (*CustomerOnboardingStep) ProtoReflect

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

func (*CustomerOnboardingStep) Reset

func (x *CustomerOnboardingStep) Reset()

func (*CustomerOnboardingStep) String

func (x *CustomerOnboardingStep) String() string

CustomerOnboardingStep_Step

type CustomerOnboardingStep_Step int32

Enum for possible onboarding steps

CustomerOnboardingStep_STEP_UNSPECIFIED, CustomerOnboardingStep_KAJ_ENROLLMENT, CustomerOnboardingStep_CUSTOMER_ENVIRONMENT

const (
	// Unspecified step
	CustomerOnboardingStep_STEP_UNSPECIFIED CustomerOnboardingStep_Step = 0
	// KAJ Enrollment
	CustomerOnboardingStep_KAJ_ENROLLMENT CustomerOnboardingStep_Step = 1
	// Customer Environment
	CustomerOnboardingStep_CUSTOMER_ENVIRONMENT CustomerOnboardingStep_Step = 2
)

func (CustomerOnboardingStep_Step) Descriptor

func (CustomerOnboardingStep_Step) Enum

func (CustomerOnboardingStep_Step) EnumDescriptor

func (CustomerOnboardingStep_Step) EnumDescriptor() ([]byte, []int)

Deprecated: Use CustomerOnboardingStep_Step.Descriptor instead.

func (CustomerOnboardingStep_Step) Number

func (CustomerOnboardingStep_Step) String

func (CustomerOnboardingStep_Step) Type

EkmConnection

type EkmConnection struct {
	ConnectionName string `protobuf:"bytes,1,opt,name=connection_name,json=connectionName,proto3" json:"connection_name,omitempty"`

	ConnectionState EkmConnection_ConnectionState "" /* 179 byte string literal not displayed */

	ConnectionError *EkmConnection_ConnectionError `protobuf:"bytes,3,opt,name=connection_error,json=connectionError,proto3" json:"connection_error,omitempty"`

}

Details about the EKM connection

func (*EkmConnection) Descriptor

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

Deprecated: Use EkmConnection.ProtoReflect.Descriptor instead.

func (*EkmConnection) GetConnectionError

func (x *EkmConnection) GetConnectionError() *EkmConnection_ConnectionError

func (*EkmConnection) GetConnectionName

func (x *EkmConnection) GetConnectionName() string

func (*EkmConnection) GetConnectionState

func (x *EkmConnection) GetConnectionState() EkmConnection_ConnectionState

func (*EkmConnection) ProtoMessage

func (*EkmConnection) ProtoMessage()

func (*EkmConnection) ProtoReflect

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

func (*EkmConnection) Reset

func (x *EkmConnection) Reset()

func (*EkmConnection) String

func (x *EkmConnection) String() string

EkmConnection_ConnectionError

type EkmConnection_ConnectionError struct {

	// The error domain for the error
	ErrorDomain string `protobuf:"bytes,1,opt,name=error_domain,json=errorDomain,proto3" json:"error_domain,omitempty"`
	// The error message for the error
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

Information around the error that occurred if the connection state is anything other than available or unspecified

func (*EkmConnection_ConnectionError) Descriptor

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

Deprecated: Use EkmConnection_ConnectionError.ProtoReflect.Descriptor instead.

func (*EkmConnection_ConnectionError) GetErrorDomain

func (x *EkmConnection_ConnectionError) GetErrorDomain() string

func (*EkmConnection_ConnectionError) GetErrorMessage

func (x *EkmConnection_ConnectionError) GetErrorMessage() string

func (*EkmConnection_ConnectionError) ProtoMessage

func (*EkmConnection_ConnectionError) ProtoMessage()

func (*EkmConnection_ConnectionError) ProtoReflect

func (*EkmConnection_ConnectionError) Reset

func (x *EkmConnection_ConnectionError) Reset()

func (*EkmConnection_ConnectionError) String

EkmConnection_ConnectionState

type EkmConnection_ConnectionState int32

The EKM connection state.

EkmConnection_CONNECTION_STATE_UNSPECIFIED, EkmConnection_AVAILABLE, EkmConnection_NOT_AVAILABLE, EkmConnection_ERROR, EkmConnection_PERMISSION_DENIED

const (
	// Unspecified EKM connection state
	EkmConnection_CONNECTION_STATE_UNSPECIFIED EkmConnection_ConnectionState = 0
	// Available EKM connection state
	EkmConnection_AVAILABLE EkmConnection_ConnectionState = 1
	// Not available EKM connection state
	EkmConnection_NOT_AVAILABLE EkmConnection_ConnectionState = 2
	// Error EKM connection state
	EkmConnection_ERROR EkmConnection_ConnectionState = 3
	// Permission denied EKM connection state
	EkmConnection_PERMISSION_DENIED EkmConnection_ConnectionState = 4
)

func (EkmConnection_ConnectionState) Descriptor

func (EkmConnection_ConnectionState) Enum

func (EkmConnection_ConnectionState) EnumDescriptor

func (EkmConnection_ConnectionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use EkmConnection_ConnectionState.Descriptor instead.

func (EkmConnection_ConnectionState) Number

func (EkmConnection_ConnectionState) String

func (EkmConnection_ConnectionState) Type

EkmConnections

type EkmConnections struct {

	// Identifier. Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The EKM connections associated with the workload
	EkmConnections []*EkmConnection `protobuf:"bytes,2,rep,name=ekm_connections,json=ekmConnections,proto3" json:"ekm_connections,omitempty"`
	// contains filtered or unexported fields
}

The EKM connections associated with a workload

func (*EkmConnections) Descriptor

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

Deprecated: Use EkmConnections.ProtoReflect.Descriptor instead.

func (*EkmConnections) GetEkmConnections

func (x *EkmConnections) GetEkmConnections() []*EkmConnection

func (*EkmConnections) GetName

func (x *EkmConnections) GetName() string

func (*EkmConnections) ProtoMessage

func (*EkmConnections) ProtoMessage()

func (*EkmConnections) ProtoReflect

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

func (*EkmConnections) Reset

func (x *EkmConnections) Reset()

func (*EkmConnections) String

func (x *EkmConnections) String() string

EkmMetadata

type EkmMetadata struct {
	EkmSolution EkmMetadata_EkmSolution "" /* 161 byte string literal not displayed */

	EkmEndpointUri string `protobuf:"bytes,2,opt,name=ekm_endpoint_uri,json=ekmEndpointUri,proto3" json:"ekm_endpoint_uri,omitempty"`

}

Holds information needed by Mudbray to use partner EKMs for workloads.

func (*EkmMetadata) Descriptor

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

Deprecated: Use EkmMetadata.ProtoReflect.Descriptor instead.

func (*EkmMetadata) GetEkmEndpointUri

func (x *EkmMetadata) GetEkmEndpointUri() string

func (*EkmMetadata) GetEkmSolution

func (x *EkmMetadata) GetEkmSolution() EkmMetadata_EkmSolution

func (*EkmMetadata) ProtoMessage

func (*EkmMetadata) ProtoMessage()

func (*EkmMetadata) ProtoReflect

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

func (*EkmMetadata) Reset

func (x *EkmMetadata) Reset()

func (*EkmMetadata) String

func (x *EkmMetadata) String() string

EkmMetadata_EkmSolution

type EkmMetadata_EkmSolution int32

Represents Google Cloud supported external key management partners Google Cloud EKM partners docs.

EkmMetadata_EKM_SOLUTION_UNSPECIFIED, EkmMetadata_FORTANIX, EkmMetadata_FUTUREX, EkmMetadata_THALES, EkmMetadata_VIRTRU

const (
	// Unspecified EKM solution
	EkmMetadata_EKM_SOLUTION_UNSPECIFIED EkmMetadata_EkmSolution = 0
	// EKM Partner Fortanix
	EkmMetadata_FORTANIX EkmMetadata_EkmSolution = 1
	// EKM Partner FutureX
	EkmMetadata_FUTUREX EkmMetadata_EkmSolution = 2
	// EKM Partner Thales
	EkmMetadata_THALES EkmMetadata_EkmSolution = 3
	// EKM Partner Virtu
	EkmMetadata_VIRTRU EkmMetadata_EkmSolution = 4
)

func (EkmMetadata_EkmSolution) Descriptor

func (EkmMetadata_EkmSolution) Enum

func (EkmMetadata_EkmSolution) EnumDescriptor

func (EkmMetadata_EkmSolution) EnumDescriptor() ([]byte, []int)

Deprecated: Use EkmMetadata_EkmSolution.Descriptor instead.

func (EkmMetadata_EkmSolution) Number

func (EkmMetadata_EkmSolution) String

func (x EkmMetadata_EkmSolution) String() string

func (EkmMetadata_EkmSolution) Type

GetCustomerRequest

type GetCustomerRequest struct {

	// Required. Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a customer

func (*GetCustomerRequest) Descriptor

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

Deprecated: Use GetCustomerRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerRequest) GetName

func (x *GetCustomerRequest) GetName() string

func (*GetCustomerRequest) ProtoMessage

func (*GetCustomerRequest) ProtoMessage()

func (*GetCustomerRequest) ProtoReflect

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

func (*GetCustomerRequest) Reset

func (x *GetCustomerRequest) Reset()

func (*GetCustomerRequest) String

func (x *GetCustomerRequest) String() string

GetEkmConnectionsRequest

type GetEkmConnectionsRequest struct {

	// Required. Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for getting the EKM connections associated with a workload

func (*GetEkmConnectionsRequest) Descriptor

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

Deprecated: Use GetEkmConnectionsRequest.ProtoReflect.Descriptor instead.

func (*GetEkmConnectionsRequest) GetName

func (x *GetEkmConnectionsRequest) GetName() string

func (*GetEkmConnectionsRequest) ProtoMessage

func (*GetEkmConnectionsRequest) ProtoMessage()

func (*GetEkmConnectionsRequest) ProtoReflect

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

func (*GetEkmConnectionsRequest) Reset

func (x *GetEkmConnectionsRequest) Reset()

func (*GetEkmConnectionsRequest) String

func (x *GetEkmConnectionsRequest) String() string

GetPartnerPermissionsRequest

type GetPartnerPermissionsRequest struct {

	// Required. Name of the resource to get in the format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for getting the partner permissions granted for a workload

func (*GetPartnerPermissionsRequest) Descriptor

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

Deprecated: Use GetPartnerPermissionsRequest.ProtoReflect.Descriptor instead.

func (*GetPartnerPermissionsRequest) GetName

func (x *GetPartnerPermissionsRequest) GetName() string

func (*GetPartnerPermissionsRequest) ProtoMessage

func (*GetPartnerPermissionsRequest) ProtoMessage()

func (*GetPartnerPermissionsRequest) ProtoReflect

func (*GetPartnerPermissionsRequest) Reset

func (x *GetPartnerPermissionsRequest) Reset()

func (*GetPartnerPermissionsRequest) String

GetPartnerRequest

type GetPartnerRequest struct {

	// Required. Format:
	// `organizations/{organization}/locations/{location}/partner`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Partner

func (*GetPartnerRequest) Descriptor

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

Deprecated: Use GetPartnerRequest.ProtoReflect.Descriptor instead.

func (*GetPartnerRequest) GetName

func (x *GetPartnerRequest) GetName() string

func (*GetPartnerRequest) ProtoMessage

func (*GetPartnerRequest) ProtoMessage()

func (*GetPartnerRequest) ProtoReflect

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

func (*GetPartnerRequest) Reset

func (x *GetPartnerRequest) Reset()

func (*GetPartnerRequest) String

func (x *GetPartnerRequest) String() string

GetViolationRequest

type GetViolationRequest struct {

	// Required. Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Violation

func (*GetViolationRequest) Descriptor

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

Deprecated: Use GetViolationRequest.ProtoReflect.Descriptor instead.

func (*GetViolationRequest) GetName

func (x *GetViolationRequest) GetName() string

func (*GetViolationRequest) ProtoMessage

func (*GetViolationRequest) ProtoMessage()

func (*GetViolationRequest) ProtoReflect

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

func (*GetViolationRequest) Reset

func (x *GetViolationRequest) Reset()

func (*GetViolationRequest) String

func (x *GetViolationRequest) String() string

GetWorkloadRequest

type GetWorkloadRequest struct {

	// Required. Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a customer workload.

func (*GetWorkloadRequest) Descriptor

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

Deprecated: Use GetWorkloadRequest.ProtoReflect.Descriptor instead.

func (*GetWorkloadRequest) GetName

func (x *GetWorkloadRequest) GetName() string

func (*GetWorkloadRequest) ProtoMessage

func (*GetWorkloadRequest) ProtoMessage()

func (*GetWorkloadRequest) ProtoReflect

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

func (*GetWorkloadRequest) Reset

func (x *GetWorkloadRequest) Reset()

func (*GetWorkloadRequest) String

func (x *GetWorkloadRequest) String() string

ListAccessApprovalRequestsRequest

type ListAccessApprovalRequestsRequest struct {

	// Required. Parent resource
	// Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of access requests to return. The service may
	// return fewer than this value. If unspecified, at most 500 access requests
	// will be returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// `ListAccessApprovalRequests` call. Provide this to retrieve the subsequent
	// page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request for getting the access requests associated with a workload.

func (*ListAccessApprovalRequestsRequest) Descriptor

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

Deprecated: Use ListAccessApprovalRequestsRequest.ProtoReflect.Descriptor instead.

func (*ListAccessApprovalRequestsRequest) GetFilter

func (*ListAccessApprovalRequestsRequest) GetOrderBy

func (x *ListAccessApprovalRequestsRequest) GetOrderBy() string

func (*ListAccessApprovalRequestsRequest) GetPageSize

func (x *ListAccessApprovalRequestsRequest) GetPageSize() int32

func (*ListAccessApprovalRequestsRequest) GetPageToken

func (x *ListAccessApprovalRequestsRequest) GetPageToken() string

func (*ListAccessApprovalRequestsRequest) GetParent

func (*ListAccessApprovalRequestsRequest) ProtoMessage

func (*ListAccessApprovalRequestsRequest) ProtoMessage()

func (*ListAccessApprovalRequestsRequest) ProtoReflect

func (*ListAccessApprovalRequestsRequest) Reset

func (*ListAccessApprovalRequestsRequest) String

ListAccessApprovalRequestsResponse

type ListAccessApprovalRequestsResponse struct {
	AccessApprovalRequests []*AccessApprovalRequest "" /* 129 byte string literal not displayed */

	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`

	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`

}

Response message for list access requests.

func (*ListAccessApprovalRequestsResponse) Descriptor

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

Deprecated: Use ListAccessApprovalRequestsResponse.ProtoReflect.Descriptor instead.

func (*ListAccessApprovalRequestsResponse) GetAccessApprovalRequests

func (x *ListAccessApprovalRequestsResponse) GetAccessApprovalRequests() []*AccessApprovalRequest

func (*ListAccessApprovalRequestsResponse) GetNextPageToken

func (x *ListAccessApprovalRequestsResponse) GetNextPageToken() string

func (*ListAccessApprovalRequestsResponse) GetUnreachable

func (x *ListAccessApprovalRequestsResponse) GetUnreachable() []string

func (*ListAccessApprovalRequestsResponse) ProtoMessage

func (*ListAccessApprovalRequestsResponse) ProtoMessage()

func (*ListAccessApprovalRequestsResponse) ProtoReflect

func (*ListAccessApprovalRequestsResponse) Reset

func (*ListAccessApprovalRequestsResponse) String

ListCustomersRequest

type ListCustomersRequest struct {

	// Required. Parent resource
	// Format: `organizations/{organization}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of Customers to return. The service may return fewer
	// than this value. If unspecified, at most 500 Customers will be returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListCustomers` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request to list customers

func (*ListCustomersRequest) Descriptor

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

Deprecated: Use ListCustomersRequest.ProtoReflect.Descriptor instead.

func (*ListCustomersRequest) GetFilter

func (x *ListCustomersRequest) GetFilter() string

func (*ListCustomersRequest) GetOrderBy

func (x *ListCustomersRequest) GetOrderBy() string

func (*ListCustomersRequest) GetPageSize

func (x *ListCustomersRequest) GetPageSize() int32

func (*ListCustomersRequest) GetPageToken

func (x *ListCustomersRequest) GetPageToken() string

func (*ListCustomersRequest) GetParent

func (x *ListCustomersRequest) GetParent() string

func (*ListCustomersRequest) ProtoMessage

func (*ListCustomersRequest) ProtoMessage()

func (*ListCustomersRequest) ProtoReflect

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

func (*ListCustomersRequest) Reset

func (x *ListCustomersRequest) Reset()

func (*ListCustomersRequest) String

func (x *ListCustomersRequest) String() string

ListCustomersResponse

type ListCustomersResponse struct {

	// List of customers
	Customers []*Customer `protobuf:"bytes,1,rep,name=customers,proto3" json:"customers,omitempty"`
	// A token that 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"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for list customer Customers requests

func (*ListCustomersResponse) Descriptor

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

Deprecated: Use ListCustomersResponse.ProtoReflect.Descriptor instead.

func (*ListCustomersResponse) GetCustomers

func (x *ListCustomersResponse) GetCustomers() []*Customer

func (*ListCustomersResponse) GetNextPageToken

func (x *ListCustomersResponse) GetNextPageToken() string

func (*ListCustomersResponse) GetUnreachable

func (x *ListCustomersResponse) GetUnreachable() []string

func (*ListCustomersResponse) ProtoMessage

func (*ListCustomersResponse) ProtoMessage()

func (*ListCustomersResponse) ProtoReflect

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

func (*ListCustomersResponse) Reset

func (x *ListCustomersResponse) Reset()

func (*ListCustomersResponse) String

func (x *ListCustomersResponse) String() string

ListViolationsRequest

type ListViolationsRequest struct {

	// Required. Parent resource
	// Format
	// `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of customers row to return. The service may
	// return fewer than this value. If unspecified, at most 10 customers will be
	// returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListViolations` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// Optional. Specifies the interval for retrieving violations.
	// if unspecified, all violations will be returned.
	Interval *interval.Interval `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Violations

func (*ListViolationsRequest) Descriptor

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

Deprecated: Use ListViolationsRequest.ProtoReflect.Descriptor instead.

func (*ListViolationsRequest) GetFilter

func (x *ListViolationsRequest) GetFilter() string

func (*ListViolationsRequest) GetInterval

func (x *ListViolationsRequest) GetInterval() *interval.Interval

func (*ListViolationsRequest) GetOrderBy

func (x *ListViolationsRequest) GetOrderBy() string

func (*ListViolationsRequest) GetPageSize

func (x *ListViolationsRequest) GetPageSize() int32

func (*ListViolationsRequest) GetPageToken

func (x *ListViolationsRequest) GetPageToken() string

func (*ListViolationsRequest) GetParent

func (x *ListViolationsRequest) GetParent() string

func (*ListViolationsRequest) ProtoMessage

func (*ListViolationsRequest) ProtoMessage()

func (*ListViolationsRequest) ProtoReflect

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

func (*ListViolationsRequest) Reset

func (x *ListViolationsRequest) Reset()

func (*ListViolationsRequest) String

func (x *ListViolationsRequest) String() string

ListViolationsResponse

type ListViolationsResponse struct {

	// List of violation
	Violations []*Violation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"`
	// A token that 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"`
	// Workloads that could not be reached due to permission errors or any other
	// error. Ref: https://google.aip.dev/217
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for list customer violation requests

func (*ListViolationsResponse) Descriptor

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

Deprecated: Use ListViolationsResponse.ProtoReflect.Descriptor instead.

func (*ListViolationsResponse) GetNextPageToken

func (x *ListViolationsResponse) GetNextPageToken() string

func (*ListViolationsResponse) GetUnreachable

func (x *ListViolationsResponse) GetUnreachable() []string

func (*ListViolationsResponse) GetViolations

func (x *ListViolationsResponse) GetViolations() []*Violation

func (*ListViolationsResponse) ProtoMessage

func (*ListViolationsResponse) ProtoMessage()

func (*ListViolationsResponse) ProtoReflect

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

func (*ListViolationsResponse) Reset

func (x *ListViolationsResponse) Reset()

func (*ListViolationsResponse) String

func (x *ListViolationsResponse) String() string

ListWorkloadsRequest

type ListWorkloadsRequest struct {

	// Required. Parent resource
	// Format:
	// `organizations/{organization}/locations/{location}/customers/{customer}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of workloads to return. The service may return fewer
	// than this value. If unspecified, at most 500 workloads will be returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListWorkloads` call.
	// Provide this to retrieve the subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request to list customer workloads.

func (*ListWorkloadsRequest) Descriptor

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

Deprecated: Use ListWorkloadsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkloadsRequest) GetFilter

func (x *ListWorkloadsRequest) GetFilter() string

func (*ListWorkloadsRequest) GetOrderBy

func (x *ListWorkloadsRequest) GetOrderBy() string

func (*ListWorkloadsRequest) GetPageSize

func (x *ListWorkloadsRequest) GetPageSize() int32

func (*ListWorkloadsRequest) GetPageToken

func (x *ListWorkloadsRequest) GetPageToken() string

func (*ListWorkloadsRequest) GetParent

func (x *ListWorkloadsRequest) GetParent() string

func (*ListWorkloadsRequest) ProtoMessage

func (*ListWorkloadsRequest) ProtoMessage()

func (*ListWorkloadsRequest) ProtoReflect

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

func (*ListWorkloadsRequest) Reset

func (x *ListWorkloadsRequest) Reset()

func (*ListWorkloadsRequest) String

func (x *ListWorkloadsRequest) String() string

ListWorkloadsResponse

type ListWorkloadsResponse struct {

	// List of customer workloads
	Workloads []*Workload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,omitempty"`
	// A token that 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"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for list customer workloads requests.

func (*ListWorkloadsResponse) Descriptor

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

Deprecated: Use ListWorkloadsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkloadsResponse) GetNextPageToken

func (x *ListWorkloadsResponse) GetNextPageToken() string

func (*ListWorkloadsResponse) GetUnreachable

func (x *ListWorkloadsResponse) GetUnreachable() []string

func (*ListWorkloadsResponse) GetWorkloads

func (x *ListWorkloadsResponse) GetWorkloads() []*Workload

func (*ListWorkloadsResponse) ProtoMessage

func (*ListWorkloadsResponse) ProtoMessage()

func (*ListWorkloadsResponse) ProtoReflect

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

func (*ListWorkloadsResponse) Reset

func (x *ListWorkloadsResponse) Reset()

func (*ListWorkloadsResponse) String

func (x *ListWorkloadsResponse) 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 operation.
	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 been cancelled successfully
	// 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

Partner

type Partner struct {

	// Identifier. The resource name of the partner.
	// Format: `organizations/{organization}/locations/{location}/partner`
	// Example: "organizations/123456/locations/us-central1/partner"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// List of SKUs the partner is offering
	Skus []*Sku `protobuf:"bytes,3,rep,name=skus,proto3" json:"skus,omitempty"`
	// List of Google Cloud supported EKM partners supported by the partner
	EkmSolutions []*EkmMetadata `protobuf:"bytes,4,rep,name=ekm_solutions,json=ekmSolutions,proto3" json:"ekm_solutions,omitempty"`
	// List of Google Cloud regions that the partner sells services to customers.
	// Valid Google Cloud regions found here:
	// https://cloud.google.com/compute/docs/regions-zones
	OperatedCloudRegions []string `protobuf:"bytes,5,rep,name=operated_cloud_regions,json=operatedCloudRegions,proto3" json:"operated_cloud_regions,omitempty"`
	// Google Cloud project ID in the partner's Google Cloud organization for
	// receiving enhanced Logs for Partners.
	PartnerProjectId string `protobuf:"bytes,7,opt,name=partner_project_id,json=partnerProjectId,proto3" json:"partner_project_id,omitempty"`
	// Output only. Time the resource was created
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The last time the resource was updated
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

Message describing Partner resource

func (*Partner) Descriptor

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

Deprecated: Use Partner.ProtoReflect.Descriptor instead.

func (*Partner) GetCreateTime

func (x *Partner) GetCreateTime() *timestamppb.Timestamp

func (*Partner) GetEkmSolutions

func (x *Partner) GetEkmSolutions() []*EkmMetadata

func (*Partner) GetName

func (x *Partner) GetName() string

func (*Partner) GetOperatedCloudRegions

func (x *Partner) GetOperatedCloudRegions() []string

func (*Partner) GetPartnerProjectId

func (x *Partner) GetPartnerProjectId() string

func (*Partner) GetSkus

func (x *Partner) GetSkus() []*Sku

func (*Partner) GetUpdateTime

func (x *Partner) GetUpdateTime() *timestamppb.Timestamp

func (*Partner) ProtoMessage

func (*Partner) ProtoMessage()

func (*Partner) ProtoReflect

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

func (*Partner) Reset

func (x *Partner) Reset()

func (*Partner) String

func (x *Partner) String() string

PartnerPermissions

type PartnerPermissions struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	PartnerPermissions []PartnerPermissions_Permission "" /* 195 byte string literal not displayed */

}

The permissions granted to the partner for a workload

func (*PartnerPermissions) Descriptor

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

Deprecated: Use PartnerPermissions.ProtoReflect.Descriptor instead.

func (*PartnerPermissions) GetName

func (x *PartnerPermissions) GetName() string

func (*PartnerPermissions) GetPartnerPermissions

func (x *PartnerPermissions) GetPartnerPermissions() []PartnerPermissions_Permission

func (*PartnerPermissions) ProtoMessage

func (*PartnerPermissions) ProtoMessage()

func (*PartnerPermissions) ProtoReflect

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

func (*PartnerPermissions) Reset

func (x *PartnerPermissions) Reset()

func (*PartnerPermissions) String

func (x *PartnerPermissions) String() string

PartnerPermissions_Permission

type PartnerPermissions_Permission int32

PartnerPermissions_PERMISSION_UNSPECIFIED, PartnerPermissions_ACCESS_TRANSPARENCY_AND_EMERGENCY_ACCESS_LOGS, PartnerPermissions_ASSURED_WORKLOADS_MONITORING, PartnerPermissions_ACCESS_APPROVAL_REQUESTS, PartnerPermissions_ASSURED_WORKLOADS_EKM_CONNECTION_STATUS

const (
	// Unspecified partner permission
	PartnerPermissions_PERMISSION_UNSPECIFIED PartnerPermissions_Permission = 0
	// Permission for Access Transparency and emergency logs
	PartnerPermissions_ACCESS_TRANSPARENCY_AND_EMERGENCY_ACCESS_LOGS PartnerPermissions_Permission = 1
	// Permission for Assured Workloads monitoring violations
	PartnerPermissions_ASSURED_WORKLOADS_MONITORING PartnerPermissions_Permission = 2
	// Permission for Access Approval requests
	PartnerPermissions_ACCESS_APPROVAL_REQUESTS PartnerPermissions_Permission = 3
	// Permission for External Key Manager connection status
	PartnerPermissions_ASSURED_WORKLOADS_EKM_CONNECTION_STATUS PartnerPermissions_Permission = 4
)

func (PartnerPermissions_Permission) Descriptor

func (PartnerPermissions_Permission) Enum

func (PartnerPermissions_Permission) EnumDescriptor

func (PartnerPermissions_Permission) EnumDescriptor() ([]byte, []int)

Deprecated: Use PartnerPermissions_Permission.Descriptor instead.

func (PartnerPermissions_Permission) Number

func (PartnerPermissions_Permission) String

func (PartnerPermissions_Permission) Type

Sku

type Sku struct {

	// Argentum product SKU, that is associated with the partner offerings to
	// customers used by Syntro for billing purposes. SKUs can represent resold
	// Google products or support services.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display name of the product identified by the SKU. A partner may want to
	// show partner branded names for their offerings such as local sovereign
	// cloud solutions.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Represents the SKU a partner owns inside Google Cloud to sell to customers.

func (*Sku) Descriptor

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

Deprecated: Use Sku.ProtoReflect.Descriptor instead.

func (*Sku) GetDisplayName

func (x *Sku) GetDisplayName() string

func (*Sku) GetId

func (x *Sku) GetId() string

func (*Sku) ProtoMessage

func (*Sku) ProtoMessage()

func (*Sku) ProtoReflect

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

func (*Sku) Reset

func (x *Sku) Reset()

func (*Sku) String

func (x *Sku) String() string

UnimplementedCloudControlsPartnerCoreServer

type UnimplementedCloudControlsPartnerCoreServer struct {
}

UnimplementedCloudControlsPartnerCoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudControlsPartnerCoreServer) GetCustomer

func (*UnimplementedCloudControlsPartnerCoreServer) GetEkmConnections

func (*UnimplementedCloudControlsPartnerCoreServer) GetPartner

func (*UnimplementedCloudControlsPartnerCoreServer) GetPartnerPermissions

func (*UnimplementedCloudControlsPartnerCoreServer) GetWorkload

func (*UnimplementedCloudControlsPartnerCoreServer) ListAccessApprovalRequests

func (*UnimplementedCloudControlsPartnerCoreServer) ListCustomers

func (*UnimplementedCloudControlsPartnerCoreServer) ListWorkloads

UnimplementedCloudControlsPartnerMonitoringServer

type UnimplementedCloudControlsPartnerMonitoringServer struct {
}

UnimplementedCloudControlsPartnerMonitoringServer can be embedded to have forward compatible implementations.

func (*UnimplementedCloudControlsPartnerMonitoringServer) GetViolation

func (*UnimplementedCloudControlsPartnerMonitoringServer) ListViolations

Violation

type Violation struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`

	BeginTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=begin_time,json=beginTime,proto3" json:"begin_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	ResolveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`

	Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"`

	State Violation_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.cloudcontrolspartner.v1.Violation_State" json:"state,omitempty"`

	NonCompliantOrgPolicy string "" /* 128 byte string literal not displayed */

	FolderId int64 `protobuf:"varint,9,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`

	Remediation *Violation_Remediation `protobuf:"bytes,13,opt,name=remediation,proto3" json:"remediation,omitempty"`

}

Details of resource Violation

func (*Violation) Descriptor

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

Deprecated: Use Violation.ProtoReflect.Descriptor instead.

func (*Violation) GetBeginTime

func (x *Violation) GetBeginTime() *timestamppb.Timestamp

func (*Violation) GetCategory

func (x *Violation) GetCategory() string

func (*Violation) GetDescription

func (x *Violation) GetDescription() string

func (*Violation) GetFolderId

func (x *Violation) GetFolderId() int64

func (*Violation) GetName

func (x *Violation) GetName() string

func (*Violation) GetNonCompliantOrgPolicy

func (x *Violation) GetNonCompliantOrgPolicy() string

func (*Violation) GetRemediation

func (x *Violation) GetRemediation() *Violation_Remediation

func (*Violation) GetResolveTime

func (x *Violation) GetResolveTime() *timestamppb.Timestamp

func (*Violation) GetState

func (x *Violation) GetState() Violation_State

func (*Violation) GetUpdateTime

func (x *Violation) GetUpdateTime() *timestamppb.Timestamp

func (*Violation) ProtoMessage

func (*Violation) ProtoMessage()

func (*Violation) ProtoReflect

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

func (*Violation) Reset

func (x *Violation) Reset()

func (*Violation) String

func (x *Violation) String() string

Violation_Remediation

type Violation_Remediation struct {
	Instructions *Violation_Remediation_Instructions `protobuf:"bytes,1,opt,name=instructions,proto3" json:"instructions,omitempty"`

	CompliantValues []string `protobuf:"bytes,2,rep,name=compliant_values,json=compliantValues,proto3" json:"compliant_values,omitempty"`

	RemediationType Violation_Remediation_RemediationType "" /* 187 byte string literal not displayed */

}

Represents remediation guidance to resolve compliance violation for AssuredWorkload

func (*Violation_Remediation) Descriptor

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

Deprecated: Use Violation_Remediation.ProtoReflect.Descriptor instead.

func (*Violation_Remediation) GetCompliantValues

func (x *Violation_Remediation) GetCompliantValues() []string

func (*Violation_Remediation) GetInstructions

func (*Violation_Remediation) GetRemediationType

func (*Violation_Remediation) ProtoMessage

func (*Violation_Remediation) ProtoMessage()

func (*Violation_Remediation) ProtoReflect

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

func (*Violation_Remediation) Reset

func (x *Violation_Remediation) Reset()

func (*Violation_Remediation) String

func (x *Violation_Remediation) String() string

Violation_Remediation_Instructions

type Violation_Remediation_Instructions struct {

	// Remediation instructions to resolve violation via gcloud cli
	GcloudInstructions *Violation_Remediation_Instructions_Gcloud `protobuf:"bytes,1,opt,name=gcloud_instructions,json=gcloudInstructions,proto3" json:"gcloud_instructions,omitempty"`
	// Remediation instructions to resolve violation via cloud console
	ConsoleInstructions *Violation_Remediation_Instructions_Console `protobuf:"bytes,2,opt,name=console_instructions,json=consoleInstructions,proto3" json:"console_instructions,omitempty"`
	// contains filtered or unexported fields
}

Instructions to remediate violation

func (*Violation_Remediation_Instructions) Descriptor

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

Deprecated: Use Violation_Remediation_Instructions.ProtoReflect.Descriptor instead.

func (*Violation_Remediation_Instructions) GetConsoleInstructions

func (*Violation_Remediation_Instructions) GetGcloudInstructions

func (*Violation_Remediation_Instructions) ProtoMessage

func (*Violation_Remediation_Instructions) ProtoMessage()

func (*Violation_Remediation_Instructions) ProtoReflect

func (*Violation_Remediation_Instructions) Reset

func (*Violation_Remediation_Instructions) String

Violation_Remediation_Instructions_Console

type Violation_Remediation_Instructions_Console struct {

	// Link to console page where violations can be resolved
	ConsoleUris []string `protobuf:"bytes,1,rep,name=console_uris,json=consoleUris,proto3" json:"console_uris,omitempty"`
	// Steps to resolve violation via cloud console
	Steps []string `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
	// Additional urls for more information about steps
	AdditionalLinks []string `protobuf:"bytes,3,rep,name=additional_links,json=additionalLinks,proto3" json:"additional_links,omitempty"`
	// contains filtered or unexported fields
}

Remediation instructions to resolve violation via cloud console

func (*Violation_Remediation_Instructions_Console) Descriptor

Deprecated: Use Violation_Remediation_Instructions_Console.ProtoReflect.Descriptor instead.

func (x *Violation_Remediation_Instructions_Console) GetAdditionalLinks() []string

func (*Violation_Remediation_Instructions_Console) GetConsoleUris

func (x *Violation_Remediation_Instructions_Console) GetConsoleUris() []string

func (*Violation_Remediation_Instructions_Console) GetSteps

func (*Violation_Remediation_Instructions_Console) ProtoMessage

func (*Violation_Remediation_Instructions_Console) ProtoReflect

func (*Violation_Remediation_Instructions_Console) Reset

func (*Violation_Remediation_Instructions_Console) String

Violation_Remediation_Instructions_Gcloud

type Violation_Remediation_Instructions_Gcloud struct {

	// Gcloud command to resolve violation
	GcloudCommands []string `protobuf:"bytes,1,rep,name=gcloud_commands,json=gcloudCommands,proto3" json:"gcloud_commands,omitempty"`
	// Steps to resolve violation via gcloud cli
	Steps []string `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
	// Additional urls for more information about steps
	AdditionalLinks []string `protobuf:"bytes,3,rep,name=additional_links,json=additionalLinks,proto3" json:"additional_links,omitempty"`
	// contains filtered or unexported fields
}

Remediation instructions to resolve violation via gcloud cli

func (*Violation_Remediation_Instructions_Gcloud) Descriptor

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

Deprecated: Use Violation_Remediation_Instructions_Gcloud.ProtoReflect.Descriptor instead.

func (x *Violation_Remediation_Instructions_Gcloud) GetAdditionalLinks() []string

func (*Violation_Remediation_Instructions_Gcloud) GetGcloudCommands

func (x *Violation_Remediation_Instructions_Gcloud) GetGcloudCommands() []string

func (*Violation_Remediation_Instructions_Gcloud) GetSteps

func (*Violation_Remediation_Instructions_Gcloud) ProtoMessage

func (*Violation_Remediation_Instructions_Gcloud) ProtoReflect

func (*Violation_Remediation_Instructions_Gcloud) Reset

func (*Violation_Remediation_Instructions_Gcloud) String

Violation_Remediation_RemediationType

type Violation_Remediation_RemediationType int32

Classifying remediation into various types based on the kind of violation. For example, violations caused due to changes in boolean org policy requires different remediation instructions compared to violation caused due to changes in allowed values of list org policy.

Violation_Remediation_REMEDIATION_TYPE_UNSPECIFIED, Violation_Remediation_REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION, Violation_Remediation_REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION, Violation_Remediation_REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION, Violation_Remediation_REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION, Violation_Remediation_REMEDIATION_RESOURCE_VIOLATION

const (
	// Unspecified remediation type
	Violation_Remediation_REMEDIATION_TYPE_UNSPECIFIED Violation_Remediation_RemediationType = 0
	// Remediation type for boolean org policy
	Violation_Remediation_REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION Violation_Remediation_RemediationType = 1
	// Remediation type for list org policy which have allowed values in the
	// monitoring rule
	Violation_Remediation_REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION Violation_Remediation_RemediationType = 2
	// Remediation type for list org policy which have denied values in the
	// monitoring rule
	Violation_Remediation_REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION Violation_Remediation_RemediationType = 3
	// Remediation type for gcp.restrictCmekCryptoKeyProjects
	Violation_Remediation_REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION Violation_Remediation_RemediationType = 4
	// Remediation type for resource violation.
	Violation_Remediation_REMEDIATION_RESOURCE_VIOLATION Violation_Remediation_RemediationType = 5
)

func (Violation_Remediation_RemediationType) Descriptor

func (Violation_Remediation_RemediationType) Enum

func (Violation_Remediation_RemediationType) EnumDescriptor

func (Violation_Remediation_RemediationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Violation_Remediation_RemediationType.Descriptor instead.

func (Violation_Remediation_RemediationType) Number

func (Violation_Remediation_RemediationType) String

func (Violation_Remediation_RemediationType) Type

Violation_State

type Violation_State int32

Violation State Values

Violation_STATE_UNSPECIFIED, Violation_RESOLVED, Violation_UNRESOLVED, Violation_EXCEPTION

const (
	// Unspecified state.
	Violation_STATE_UNSPECIFIED Violation_State = 0
	// Violation is resolved.
	Violation_RESOLVED Violation_State = 1
	// Violation is Unresolved
	Violation_UNRESOLVED Violation_State = 2
	// Violation is Exception
	Violation_EXCEPTION Violation_State = 3
)

func (Violation_State) Descriptor

func (Violation_State) Enum

func (x Violation_State) Enum() *Violation_State

func (Violation_State) EnumDescriptor

func (Violation_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Violation_State.Descriptor instead.

func (Violation_State) Number

func (Violation_State) String

func (x Violation_State) String() string

func (Violation_State) Type

Workload

type Workload struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	FolderId int64 `protobuf:"varint,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	Folder string `protobuf:"bytes,4,opt,name=folder,proto3" json:"folder,omitempty"`

	WorkloadOnboardingState *WorkloadOnboardingState "" /* 132 byte string literal not displayed */

	IsOnboarded bool `protobuf:"varint,6,opt,name=is_onboarded,json=isOnboarded,proto3" json:"is_onboarded,omitempty"`

	KeyManagementProjectId string "" /* 131 byte string literal not displayed */

	Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`

	Partner Workload_Partner "" /* 127 byte string literal not displayed */

}

Contains metadata around the Workload resource in the Assured Workloads API.

func (*Workload) Descriptor

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

Deprecated: Use Workload.ProtoReflect.Descriptor instead.

func (*Workload) GetCreateTime

func (x *Workload) GetCreateTime() *timestamppb.Timestamp

func (*Workload) GetFolder

func (x *Workload) GetFolder() string

func (*Workload) GetFolderId

func (x *Workload) GetFolderId() int64

func (*Workload) GetIsOnboarded

func (x *Workload) GetIsOnboarded() bool

func (*Workload) GetKeyManagementProjectId

func (x *Workload) GetKeyManagementProjectId() string

func (*Workload) GetLocation

func (x *Workload) GetLocation() string

func (*Workload) GetName

func (x *Workload) GetName() string

func (*Workload) GetPartner

func (x *Workload) GetPartner() Workload_Partner

func (*Workload) GetWorkloadOnboardingState

func (x *Workload) GetWorkloadOnboardingState() *WorkloadOnboardingState

func (*Workload) ProtoMessage

func (*Workload) ProtoMessage()

func (*Workload) ProtoReflect

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

func (*Workload) Reset

func (x *Workload) Reset()

func (*Workload) String

func (x *Workload) String() string

WorkloadOnboardingState

type WorkloadOnboardingState struct {

	// List of workload onboarding steps.
	OnboardingSteps []*WorkloadOnboardingStep `protobuf:"bytes,1,rep,name=onboarding_steps,json=onboardingSteps,proto3" json:"onboarding_steps,omitempty"`
	// contains filtered or unexported fields
}

Container for workload onboarding steps.

func (*WorkloadOnboardingState) Descriptor

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

Deprecated: Use WorkloadOnboardingState.ProtoReflect.Descriptor instead.

func (*WorkloadOnboardingState) GetOnboardingSteps

func (x *WorkloadOnboardingState) GetOnboardingSteps() []*WorkloadOnboardingStep

func (*WorkloadOnboardingState) ProtoMessage

func (*WorkloadOnboardingState) ProtoMessage()

func (*WorkloadOnboardingState) ProtoReflect

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

func (*WorkloadOnboardingState) Reset

func (x *WorkloadOnboardingState) Reset()

func (*WorkloadOnboardingState) String

func (x *WorkloadOnboardingState) String() string

WorkloadOnboardingStep

type WorkloadOnboardingStep struct {
	Step WorkloadOnboardingStep_Step "" /* 132 byte string literal not displayed */

	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	CompletionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`

	CompletionState CompletionState "" /* 165 byte string literal not displayed */

}

Container for workload onboarding information.

func (*WorkloadOnboardingStep) Descriptor

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

Deprecated: Use WorkloadOnboardingStep.ProtoReflect.Descriptor instead.

func (*WorkloadOnboardingStep) GetCompletionState

func (x *WorkloadOnboardingStep) GetCompletionState() CompletionState

func (*WorkloadOnboardingStep) GetCompletionTime

func (x *WorkloadOnboardingStep) GetCompletionTime() *timestamppb.Timestamp

func (*WorkloadOnboardingStep) GetStartTime

func (x *WorkloadOnboardingStep) GetStartTime() *timestamppb.Timestamp

func (*WorkloadOnboardingStep) GetStep

func (*WorkloadOnboardingStep) ProtoMessage

func (*WorkloadOnboardingStep) ProtoMessage()

func (*WorkloadOnboardingStep) ProtoReflect

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

func (*WorkloadOnboardingStep) Reset

func (x *WorkloadOnboardingStep) Reset()

func (*WorkloadOnboardingStep) String

func (x *WorkloadOnboardingStep) String() string

WorkloadOnboardingStep_Step

type WorkloadOnboardingStep_Step int32

Enum for possible onboarding steps.

WorkloadOnboardingStep_STEP_UNSPECIFIED, WorkloadOnboardingStep_EKM_PROVISIONED, WorkloadOnboardingStep_SIGNED_ACCESS_APPROVAL_CONFIGURED

const (
	// Unspecified step.
	WorkloadOnboardingStep_STEP_UNSPECIFIED WorkloadOnboardingStep_Step = 0
	// EKM Provisioned step.
	WorkloadOnboardingStep_EKM_PROVISIONED WorkloadOnboardingStep_Step = 1
	// Signed Access Approval step.
	WorkloadOnboardingStep_SIGNED_ACCESS_APPROVAL_CONFIGURED WorkloadOnboardingStep_Step = 2
)

func (WorkloadOnboardingStep_Step) Descriptor

func (WorkloadOnboardingStep_Step) Enum

func (WorkloadOnboardingStep_Step) EnumDescriptor

func (WorkloadOnboardingStep_Step) EnumDescriptor() ([]byte, []int)

Deprecated: Use WorkloadOnboardingStep_Step.Descriptor instead.

func (WorkloadOnboardingStep_Step) Number

func (WorkloadOnboardingStep_Step) String

func (WorkloadOnboardingStep_Step) Type

Workload_Partner

type Workload_Partner int32

Supported Assured Workloads Partners.

Workload_PARTNER_UNSPECIFIED, Workload_PARTNER_LOCAL_CONTROLS_BY_S3NS, Workload_PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS, Workload_PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT, Workload_PARTNER_SOVEREIGN_CONTROLS_BY_PSN, Workload_PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT, Workload_PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM

const (
	// Unknown Partner.
	Workload_PARTNER_UNSPECIFIED Workload_Partner = 0
	// Enum representing S3NS (Thales) partner.
	Workload_PARTNER_LOCAL_CONTROLS_BY_S3NS Workload_Partner = 1
	// Enum representing T_SYSTEM (TSI) partner.
	Workload_PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS Workload_Partner = 2
	// Enum representing SIA_MINSAIT (Indra) partner.
	Workload_PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT Workload_Partner = 3
	// Enum representing PSN (TIM) partner.
	Workload_PARTNER_SOVEREIGN_CONTROLS_BY_PSN Workload_Partner = 4
	// Enum representing CNTXT (Kingdom of Saudi Arabia) partner.
	Workload_PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT Workload_Partner = 6
	// Enum representing CNXT (Kingdom of Saudi Arabia) partner offering without
	// EKM provisioning.
	Workload_PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM Workload_Partner = 7
)

func (Workload_Partner) Descriptor

func (Workload_Partner) Enum

func (Workload_Partner) EnumDescriptor

func (Workload_Partner) EnumDescriptor() ([]byte, []int)

Deprecated: Use Workload_Partner.Descriptor instead.

func (Workload_Partner) Number

func (Workload_Partner) String

func (x Workload_Partner) String() string

func (Workload_Partner) Type