google

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 10 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "OK",
		2: "CONFIGURED",
		3: "IN_PROGRESS",
		4: "ERROR",
	}
	Status_value = map[string]int32{
		"UNKNOWN":     0,
		"OK":          1,
		"CONFIGURED":  2,
		"IN_PROGRESS": 3,
		"ERROR":       4,
	}
)

Enum value maps for Status.

View Source
var File_google_entity_proto protoreflect.FileDescriptor
View Source
var File_google_service_proto protoreflect.FileDescriptor

Functions

func RegisterGoogleServiceServer

func RegisterGoogleServiceServer(s *grpc.Server, srv GoogleServiceServer)

Types

type AttachGCPDataSourceRequest

type AttachGCPDataSourceRequest struct {
	ProjectId     uint32                  `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpDataSource *GCPDataSourceForUpsert `protobuf:"bytes,2,opt,name=gcp_data_source,json=gcpDataSource,proto3" json:"gcp_data_source,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachGCPDataSourceRequest) Descriptor deprecated

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

Deprecated: Use AttachGCPDataSourceRequest.ProtoReflect.Descriptor instead.

func (*AttachGCPDataSourceRequest) GetGcpDataSource

func (x *AttachGCPDataSourceRequest) GetGcpDataSource() *GCPDataSourceForUpsert

func (*AttachGCPDataSourceRequest) GetProjectId

func (x *AttachGCPDataSourceRequest) GetProjectId() uint32

func (*AttachGCPDataSourceRequest) ProtoMessage

func (*AttachGCPDataSourceRequest) ProtoMessage()

func (*AttachGCPDataSourceRequest) ProtoReflect

func (*AttachGCPDataSourceRequest) Reset

func (x *AttachGCPDataSourceRequest) Reset()

func (*AttachGCPDataSourceRequest) String

func (x *AttachGCPDataSourceRequest) String() string

func (*AttachGCPDataSourceRequest) Validate

func (a *AttachGCPDataSourceRequest) Validate() error

Validate for AttachGCPDataSourceRequest

type AttachGCPDataSourceResponse

type AttachGCPDataSourceResponse struct {
	GcpDataSource *GCPDataSource `protobuf:"bytes,1,opt,name=gcp_data_source,json=gcpDataSource,proto3" json:"gcp_data_source,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachGCPDataSourceResponse) Descriptor deprecated

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

Deprecated: Use AttachGCPDataSourceResponse.ProtoReflect.Descriptor instead.

func (*AttachGCPDataSourceResponse) GetGcpDataSource

func (x *AttachGCPDataSourceResponse) GetGcpDataSource() *GCPDataSource

func (*AttachGCPDataSourceResponse) ProtoMessage

func (*AttachGCPDataSourceResponse) ProtoMessage()

func (*AttachGCPDataSourceResponse) ProtoReflect

func (*AttachGCPDataSourceResponse) Reset

func (x *AttachGCPDataSourceResponse) Reset()

func (*AttachGCPDataSourceResponse) String

func (x *AttachGCPDataSourceResponse) String() string

type DeleteGCPRequest

type DeleteGCPRequest struct {
	ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpId     uint32 `protobuf:"varint,2,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGCPRequest) Descriptor deprecated

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

Deprecated: Use DeleteGCPRequest.ProtoReflect.Descriptor instead.

func (*DeleteGCPRequest) GetGcpId

func (x *DeleteGCPRequest) GetGcpId() uint32

func (*DeleteGCPRequest) GetProjectId

func (x *DeleteGCPRequest) GetProjectId() uint32

func (*DeleteGCPRequest) ProtoMessage

func (*DeleteGCPRequest) ProtoMessage()

func (*DeleteGCPRequest) ProtoReflect

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

func (*DeleteGCPRequest) Reset

func (x *DeleteGCPRequest) Reset()

func (*DeleteGCPRequest) String

func (x *DeleteGCPRequest) String() string

func (*DeleteGCPRequest) Validate

func (d *DeleteGCPRequest) Validate() error

Validate for DeleteGCPRequest

type DetachGCPDataSourceRequest

type DetachGCPDataSourceRequest struct {
	ProjectId          uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpId              uint32 `protobuf:"varint,2,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	GoogleDataSourceId uint32 `protobuf:"varint,3,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DetachGCPDataSourceRequest) Descriptor deprecated

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

Deprecated: Use DetachGCPDataSourceRequest.ProtoReflect.Descriptor instead.

func (*DetachGCPDataSourceRequest) GetGcpId

func (x *DetachGCPDataSourceRequest) GetGcpId() uint32

func (*DetachGCPDataSourceRequest) GetGoogleDataSourceId

func (x *DetachGCPDataSourceRequest) GetGoogleDataSourceId() uint32

func (*DetachGCPDataSourceRequest) GetProjectId

func (x *DetachGCPDataSourceRequest) GetProjectId() uint32

func (*DetachGCPDataSourceRequest) ProtoMessage

func (*DetachGCPDataSourceRequest) ProtoMessage()

func (*DetachGCPDataSourceRequest) ProtoReflect

func (*DetachGCPDataSourceRequest) Reset

func (x *DetachGCPDataSourceRequest) Reset()

func (*DetachGCPDataSourceRequest) String

func (x *DetachGCPDataSourceRequest) String() string

func (*DetachGCPDataSourceRequest) Validate

func (d *DetachGCPDataSourceRequest) Validate() error

Validate for DetachGCPDataSourceRequest

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

Empty

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GCP

type GCP struct {
	GcpId            uint32 `protobuf:"varint,1,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	Name             string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ProjectId        uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpProjectId     string `protobuf:"bytes,5,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`
	VerificationCode string `protobuf:"bytes,6,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	CreatedAt        int64  `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        int64  `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

GCP

func (*GCP) Descriptor deprecated

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

Deprecated: Use GCP.ProtoReflect.Descriptor instead.

func (*GCP) GetCreatedAt

func (x *GCP) GetCreatedAt() int64

func (*GCP) GetGcpId

func (x *GCP) GetGcpId() uint32

func (*GCP) GetGcpProjectId

func (x *GCP) GetGcpProjectId() string

func (*GCP) GetName

func (x *GCP) GetName() string

func (*GCP) GetProjectId

func (x *GCP) GetProjectId() uint32

func (*GCP) GetUpdatedAt

func (x *GCP) GetUpdatedAt() int64

func (*GCP) GetVerificationCode

func (x *GCP) GetVerificationCode() string

func (*GCP) ProtoMessage

func (*GCP) ProtoMessage()

func (*GCP) ProtoReflect

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

func (*GCP) Reset

func (x *GCP) Reset()

func (*GCP) String

func (x *GCP) String() string

type GCPDataSource

type GCPDataSource struct {
	GcpId              uint32  `protobuf:"varint,1,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`                                            // gcp_data_source.gcp_id
	GoogleDataSourceId uint32  `protobuf:"varint,2,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"` // gcp_data_source.google_data_source_id
	ProjectId          uint32  `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`                                // gcp_data_source.project_id
	Status             Status  `protobuf:"varint,4,opt,name=status,proto3,enum=datasource.google.Status" json:"status,omitempty"`                         // gcp_data_source.status
	StatusDetail       string  `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`                        // gcp_data_source.status_detail
	ScanAt             int64   `protobuf:"varint,6,opt,name=scan_at,json=scanAt,proto3" json:"scan_at,omitempty"`                                         // gcp_data_source.scan_at
	CreatedAt          int64   `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                                // gcp_data_source.created_at
	UpdatedAt          int64   `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`                                // gcp_data_source.updated_at
	GcpProjectId       string  `protobuf:"bytes,10,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`                     // gcp.gcp_project_id
	Name               string  `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`                                                           // google_data_source.name
	Description        string  `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`                                             // google_data_source.description
	MaxScore           float32 `protobuf:"fixed32,13,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"`                                 // google_data_source.max_score
	SpecificVersion    string  `protobuf:"bytes,14,opt,name=specific_version,json=specificVersion,proto3" json:"specific_version,omitempty"`              // gcp_data_source.specific_version
	// contains filtered or unexported fields
}

GCPDataSource

func (*GCPDataSource) Descriptor deprecated

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

Deprecated: Use GCPDataSource.ProtoReflect.Descriptor instead.

func (*GCPDataSource) GetCreatedAt

func (x *GCPDataSource) GetCreatedAt() int64

func (*GCPDataSource) GetDescription

func (x *GCPDataSource) GetDescription() string

func (*GCPDataSource) GetGcpId

func (x *GCPDataSource) GetGcpId() uint32

func (*GCPDataSource) GetGcpProjectId

func (x *GCPDataSource) GetGcpProjectId() string

func (*GCPDataSource) GetGoogleDataSourceId

func (x *GCPDataSource) GetGoogleDataSourceId() uint32

func (*GCPDataSource) GetMaxScore

func (x *GCPDataSource) GetMaxScore() float32

func (*GCPDataSource) GetName

func (x *GCPDataSource) GetName() string

func (*GCPDataSource) GetProjectId

func (x *GCPDataSource) GetProjectId() uint32

func (*GCPDataSource) GetScanAt

func (x *GCPDataSource) GetScanAt() int64

func (*GCPDataSource) GetSpecificVersion added in v0.5.0

func (x *GCPDataSource) GetSpecificVersion() string

func (*GCPDataSource) GetStatus

func (x *GCPDataSource) GetStatus() Status

func (*GCPDataSource) GetStatusDetail

func (x *GCPDataSource) GetStatusDetail() string

func (*GCPDataSource) GetUpdatedAt

func (x *GCPDataSource) GetUpdatedAt() int64

func (*GCPDataSource) ProtoMessage

func (*GCPDataSource) ProtoMessage()

func (*GCPDataSource) ProtoReflect

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

func (*GCPDataSource) Reset

func (x *GCPDataSource) Reset()

func (*GCPDataSource) String

func (x *GCPDataSource) String() string

type GCPDataSourceForUpsert

type GCPDataSourceForUpsert struct {
	GcpId              uint32 `protobuf:"varint,1,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	GoogleDataSourceId uint32 `protobuf:"varint,2,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"`
	ProjectId          uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Status             Status `protobuf:"varint,4,opt,name=status,proto3,enum=datasource.google.Status" json:"status,omitempty"`
	StatusDetail       string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
	ScanAt             int64  `protobuf:"varint,6,opt,name=scan_at,json=scanAt,proto3" json:"scan_at,omitempty"`
	SpecificVersion    string `protobuf:"bytes,7,opt,name=specific_version,json=specificVersion,proto3" json:"specific_version,omitempty"`
	// contains filtered or unexported fields
}

GCPDataSourceForUpsert

func (*GCPDataSourceForUpsert) Descriptor deprecated

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

Deprecated: Use GCPDataSourceForUpsert.ProtoReflect.Descriptor instead.

func (*GCPDataSourceForUpsert) GetGcpId

func (x *GCPDataSourceForUpsert) GetGcpId() uint32

func (*GCPDataSourceForUpsert) GetGoogleDataSourceId

func (x *GCPDataSourceForUpsert) GetGoogleDataSourceId() uint32

func (*GCPDataSourceForUpsert) GetProjectId

func (x *GCPDataSourceForUpsert) GetProjectId() uint32

func (*GCPDataSourceForUpsert) GetScanAt

func (x *GCPDataSourceForUpsert) GetScanAt() int64

func (*GCPDataSourceForUpsert) GetSpecificVersion added in v0.5.0

func (x *GCPDataSourceForUpsert) GetSpecificVersion() string

func (*GCPDataSourceForUpsert) GetStatus

func (x *GCPDataSourceForUpsert) GetStatus() Status

func (*GCPDataSourceForUpsert) GetStatusDetail

func (x *GCPDataSourceForUpsert) GetStatusDetail() string

func (*GCPDataSourceForUpsert) ProtoMessage

func (*GCPDataSourceForUpsert) ProtoMessage()

func (*GCPDataSourceForUpsert) ProtoReflect

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

func (*GCPDataSourceForUpsert) Reset

func (x *GCPDataSourceForUpsert) Reset()

func (*GCPDataSourceForUpsert) String

func (x *GCPDataSourceForUpsert) String() string

func (*GCPDataSourceForUpsert) Validate

func (g *GCPDataSourceForUpsert) Validate() error

Validate for GCPDataSourceForUpsert

type GCPForUpsert

type GCPForUpsert struct {
	GcpId            uint32 `protobuf:"varint,1,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"` // Unique key for entity.
	Name             string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ProjectId        uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpProjectId     string `protobuf:"bytes,5,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`
	VerificationCode string `protobuf:"bytes,6,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
	// contains filtered or unexported fields
}

GCPForUpsert

func (*GCPForUpsert) Descriptor deprecated

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

Deprecated: Use GCPForUpsert.ProtoReflect.Descriptor instead.

func (*GCPForUpsert) GetGcpId

func (x *GCPForUpsert) GetGcpId() uint32

func (*GCPForUpsert) GetGcpProjectId

func (x *GCPForUpsert) GetGcpProjectId() string

func (*GCPForUpsert) GetName

func (x *GCPForUpsert) GetName() string

func (*GCPForUpsert) GetProjectId

func (x *GCPForUpsert) GetProjectId() uint32

func (*GCPForUpsert) GetVerificationCode

func (x *GCPForUpsert) GetVerificationCode() string

func (*GCPForUpsert) ProtoMessage

func (*GCPForUpsert) ProtoMessage()

func (*GCPForUpsert) ProtoReflect

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

func (*GCPForUpsert) Reset

func (x *GCPForUpsert) Reset()

func (*GCPForUpsert) String

func (x *GCPForUpsert) String() string

func (*GCPForUpsert) Validate

func (g *GCPForUpsert) Validate() error

Validate for GCPForUpsert

type GetGCPDataSourceRequest

type GetGCPDataSourceRequest struct {
	ProjectId          uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpId              uint32 `protobuf:"varint,2,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	GoogleDataSourceId uint32 `protobuf:"varint,3,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGCPDataSourceRequest) Descriptor deprecated

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

Deprecated: Use GetGCPDataSourceRequest.ProtoReflect.Descriptor instead.

func (*GetGCPDataSourceRequest) GetGcpId

func (x *GetGCPDataSourceRequest) GetGcpId() uint32

func (*GetGCPDataSourceRequest) GetGoogleDataSourceId

func (x *GetGCPDataSourceRequest) GetGoogleDataSourceId() uint32

func (*GetGCPDataSourceRequest) GetProjectId

func (x *GetGCPDataSourceRequest) GetProjectId() uint32

func (*GetGCPDataSourceRequest) ProtoMessage

func (*GetGCPDataSourceRequest) ProtoMessage()

func (*GetGCPDataSourceRequest) ProtoReflect

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

func (*GetGCPDataSourceRequest) Reset

func (x *GetGCPDataSourceRequest) Reset()

func (*GetGCPDataSourceRequest) String

func (x *GetGCPDataSourceRequest) String() string

func (*GetGCPDataSourceRequest) Validate

func (g *GetGCPDataSourceRequest) Validate() error

Validate for GetGCPDataSourceRequest

type GetGCPDataSourceResponse

type GetGCPDataSourceResponse struct {
	GcpDataSource *GCPDataSource `protobuf:"bytes,1,opt,name=gcp_data_source,json=gcpDataSource,proto3" json:"gcp_data_source,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGCPDataSourceResponse) Descriptor deprecated

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

Deprecated: Use GetGCPDataSourceResponse.ProtoReflect.Descriptor instead.

func (*GetGCPDataSourceResponse) GetGcpDataSource

func (x *GetGCPDataSourceResponse) GetGcpDataSource() *GCPDataSource

func (*GetGCPDataSourceResponse) ProtoMessage

func (*GetGCPDataSourceResponse) ProtoMessage()

func (*GetGCPDataSourceResponse) ProtoReflect

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

func (*GetGCPDataSourceResponse) Reset

func (x *GetGCPDataSourceResponse) Reset()

func (*GetGCPDataSourceResponse) String

func (x *GetGCPDataSourceResponse) String() string

type GetGCPRequest

type GetGCPRequest struct {
	ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpId     uint32 `protobuf:"varint,2,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGCPRequest) Descriptor deprecated

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

Deprecated: Use GetGCPRequest.ProtoReflect.Descriptor instead.

func (*GetGCPRequest) GetGcpId

func (x *GetGCPRequest) GetGcpId() uint32

func (*GetGCPRequest) GetProjectId

func (x *GetGCPRequest) GetProjectId() uint32

func (*GetGCPRequest) ProtoMessage

func (*GetGCPRequest) ProtoMessage()

func (*GetGCPRequest) ProtoReflect

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

func (*GetGCPRequest) Reset

func (x *GetGCPRequest) Reset()

func (*GetGCPRequest) String

func (x *GetGCPRequest) String() string

func (*GetGCPRequest) Validate

func (g *GetGCPRequest) Validate() error

Validate for GetGCPRequest

type GetGCPResponse

type GetGCPResponse struct {
	Gcp *GCP `protobuf:"bytes,1,opt,name=gcp,proto3" json:"gcp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGCPResponse) Descriptor deprecated

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

Deprecated: Use GetGCPResponse.ProtoReflect.Descriptor instead.

func (*GetGCPResponse) GetGcp

func (x *GetGCPResponse) GetGcp() *GCP

func (*GetGCPResponse) ProtoMessage

func (*GetGCPResponse) ProtoMessage()

func (*GetGCPResponse) ProtoReflect

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

func (*GetGCPResponse) Reset

func (x *GetGCPResponse) Reset()

func (*GetGCPResponse) String

func (x *GetGCPResponse) String() string

type GoogleDataSource

type GoogleDataSource struct {
	GoogleDataSourceId uint32  `protobuf:"varint,1,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"`
	Name               string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description        string  `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	MaxScore           float32 `protobuf:"fixed32,4,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"`
	CreatedAt          int64   `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt          int64   `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

GoogleDataSource

func (*GoogleDataSource) Descriptor deprecated

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

Deprecated: Use GoogleDataSource.ProtoReflect.Descriptor instead.

func (*GoogleDataSource) GetCreatedAt

func (x *GoogleDataSource) GetCreatedAt() int64

func (*GoogleDataSource) GetDescription

func (x *GoogleDataSource) GetDescription() string

func (*GoogleDataSource) GetGoogleDataSourceId

func (x *GoogleDataSource) GetGoogleDataSourceId() uint32

func (*GoogleDataSource) GetMaxScore

func (x *GoogleDataSource) GetMaxScore() float32

func (*GoogleDataSource) GetName

func (x *GoogleDataSource) GetName() string

func (*GoogleDataSource) GetUpdatedAt

func (x *GoogleDataSource) GetUpdatedAt() int64

func (*GoogleDataSource) ProtoMessage

func (*GoogleDataSource) ProtoMessage()

func (*GoogleDataSource) ProtoReflect

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

func (*GoogleDataSource) Reset

func (x *GoogleDataSource) Reset()

func (*GoogleDataSource) String

func (x *GoogleDataSource) String() string

type GoogleServiceClient

type GoogleServiceClient interface {
	// Google DataSource
	ListGoogleDataSource(ctx context.Context, in *ListGoogleDataSourceRequest, opts ...grpc.CallOption) (*ListGoogleDataSourceResponse, error)
	// GCP
	ListGCP(ctx context.Context, in *ListGCPRequest, opts ...grpc.CallOption) (*ListGCPResponse, error)
	GetGCP(ctx context.Context, in *GetGCPRequest, opts ...grpc.CallOption) (*GetGCPResponse, error)
	PutGCP(ctx context.Context, in *PutGCPRequest, opts ...grpc.CallOption) (*PutGCPResponse, error)
	DeleteGCP(ctx context.Context, in *DeleteGCPRequest, opts ...grpc.CallOption) (*Empty, error)
	// GCP DataSource
	ListGCPDataSource(ctx context.Context, in *ListGCPDataSourceRequest, opts ...grpc.CallOption) (*ListGCPDataSourceResponse, error)
	GetGCPDataSource(ctx context.Context, in *GetGCPDataSourceRequest, opts ...grpc.CallOption) (*GetGCPDataSourceResponse, error)
	AttachGCPDataSource(ctx context.Context, in *AttachGCPDataSourceRequest, opts ...grpc.CallOption) (*AttachGCPDataSourceResponse, error)
	DetachGCPDataSource(ctx context.Context, in *DetachGCPDataSourceRequest, opts ...grpc.CallOption) (*Empty, error)
	// Scan
	InvokeScanGCP(ctx context.Context, in *InvokeScanGCPRequest, opts ...grpc.CallOption) (*Empty, error)
	InvokeScanAll(ctx context.Context, in *InvokeScanAllRequest, opts ...grpc.CallOption) (*Empty, error)
}

GoogleServiceClient is the client API for GoogleService service.

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

type GoogleServiceServer

GoogleServiceServer is the server API for GoogleService service.

type InvokeScanAllRequest

type InvokeScanAllRequest struct {
	GoogleDataSourceId uint32 `protobuf:"varint,1,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InvokeScanAllRequest) Descriptor deprecated

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

Deprecated: Use InvokeScanAllRequest.ProtoReflect.Descriptor instead.

func (*InvokeScanAllRequest) GetGoogleDataSourceId

func (x *InvokeScanAllRequest) GetGoogleDataSourceId() uint32

func (*InvokeScanAllRequest) ProtoMessage

func (*InvokeScanAllRequest) ProtoMessage()

func (*InvokeScanAllRequest) ProtoReflect

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

func (*InvokeScanAllRequest) Reset

func (x *InvokeScanAllRequest) Reset()

func (*InvokeScanAllRequest) String

func (x *InvokeScanAllRequest) String() string

type InvokeScanGCPRequest

type InvokeScanGCPRequest struct {
	ProjectId          uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpId              uint32 `protobuf:"varint,2,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	GoogleDataSourceId uint32 `protobuf:"varint,3,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"`
	ScanOnly           bool   `protobuf:"varint,4,opt,name=scan_only,json=scanOnly,proto3" json:"scan_only,omitempty"`
	// contains filtered or unexported fields
}

func (*InvokeScanGCPRequest) Descriptor deprecated

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

Deprecated: Use InvokeScanGCPRequest.ProtoReflect.Descriptor instead.

func (*InvokeScanGCPRequest) GetGcpId

func (x *InvokeScanGCPRequest) GetGcpId() uint32

func (*InvokeScanGCPRequest) GetGoogleDataSourceId

func (x *InvokeScanGCPRequest) GetGoogleDataSourceId() uint32

func (*InvokeScanGCPRequest) GetProjectId

func (x *InvokeScanGCPRequest) GetProjectId() uint32

func (*InvokeScanGCPRequest) GetScanOnly

func (x *InvokeScanGCPRequest) GetScanOnly() bool

func (*InvokeScanGCPRequest) ProtoMessage

func (*InvokeScanGCPRequest) ProtoMessage()

func (*InvokeScanGCPRequest) ProtoReflect

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

func (*InvokeScanGCPRequest) Reset

func (x *InvokeScanGCPRequest) Reset()

func (*InvokeScanGCPRequest) String

func (x *InvokeScanGCPRequest) String() string

func (*InvokeScanGCPRequest) Validate

func (i *InvokeScanGCPRequest) Validate() error

Validate for InvokeScanRequest

type ListGCPDataSourceRequest

type ListGCPDataSourceRequest struct {
	ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpId     uint32 `protobuf:"varint,2,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGCPDataSourceRequest) Descriptor deprecated

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

Deprecated: Use ListGCPDataSourceRequest.ProtoReflect.Descriptor instead.

func (*ListGCPDataSourceRequest) GetGcpId

func (x *ListGCPDataSourceRequest) GetGcpId() uint32

func (*ListGCPDataSourceRequest) GetProjectId

func (x *ListGCPDataSourceRequest) GetProjectId() uint32

func (*ListGCPDataSourceRequest) ProtoMessage

func (*ListGCPDataSourceRequest) ProtoMessage()

func (*ListGCPDataSourceRequest) ProtoReflect

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

func (*ListGCPDataSourceRequest) Reset

func (x *ListGCPDataSourceRequest) Reset()

func (*ListGCPDataSourceRequest) String

func (x *ListGCPDataSourceRequest) String() string

func (*ListGCPDataSourceRequest) Validate

func (l *ListGCPDataSourceRequest) Validate() error

Validate for ListGCPDataSourceRequest

type ListGCPDataSourceResponse

type ListGCPDataSourceResponse struct {
	GcpDataSource []*GCPDataSource `protobuf:"bytes,1,rep,name=gcp_data_source,json=gcpDataSource,proto3" json:"gcp_data_source,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGCPDataSourceResponse) Descriptor deprecated

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

Deprecated: Use ListGCPDataSourceResponse.ProtoReflect.Descriptor instead.

func (*ListGCPDataSourceResponse) GetGcpDataSource

func (x *ListGCPDataSourceResponse) GetGcpDataSource() []*GCPDataSource

func (*ListGCPDataSourceResponse) ProtoMessage

func (*ListGCPDataSourceResponse) ProtoMessage()

func (*ListGCPDataSourceResponse) ProtoReflect

func (*ListGCPDataSourceResponse) Reset

func (x *ListGCPDataSourceResponse) Reset()

func (*ListGCPDataSourceResponse) String

func (x *ListGCPDataSourceResponse) String() string

type ListGCPRequest

type ListGCPRequest struct {
	ProjectId    uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	GcpId        uint32 `protobuf:"varint,2,opt,name=gcp_id,json=gcpId,proto3" json:"gcp_id,omitempty"`
	GcpProjectId string `protobuf:"bytes,3,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGCPRequest) Descriptor deprecated

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

Deprecated: Use ListGCPRequest.ProtoReflect.Descriptor instead.

func (*ListGCPRequest) GetGcpId

func (x *ListGCPRequest) GetGcpId() uint32

func (*ListGCPRequest) GetGcpProjectId

func (x *ListGCPRequest) GetGcpProjectId() string

func (*ListGCPRequest) GetProjectId

func (x *ListGCPRequest) GetProjectId() uint32

func (*ListGCPRequest) ProtoMessage

func (*ListGCPRequest) ProtoMessage()

func (*ListGCPRequest) ProtoReflect

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

func (*ListGCPRequest) Reset

func (x *ListGCPRequest) Reset()

func (*ListGCPRequest) String

func (x *ListGCPRequest) String() string

func (*ListGCPRequest) Validate

func (l *ListGCPRequest) Validate() error

Validate for ListGCPRequest

type ListGCPResponse

type ListGCPResponse struct {
	Gcp []*GCP `protobuf:"bytes,1,rep,name=gcp,proto3" json:"gcp,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGCPResponse) Descriptor deprecated

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

Deprecated: Use ListGCPResponse.ProtoReflect.Descriptor instead.

func (*ListGCPResponse) GetGcp

func (x *ListGCPResponse) GetGcp() []*GCP

func (*ListGCPResponse) ProtoMessage

func (*ListGCPResponse) ProtoMessage()

func (*ListGCPResponse) ProtoReflect

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

func (*ListGCPResponse) Reset

func (x *ListGCPResponse) Reset()

func (*ListGCPResponse) String

func (x *ListGCPResponse) String() string

type ListGoogleDataSourceRequest

type ListGoogleDataSourceRequest struct {
	GoogleDataSourceId uint32 `protobuf:"varint,1,opt,name=google_data_source_id,json=googleDataSourceId,proto3" json:"google_data_source_id,omitempty"`
	Name               string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGoogleDataSourceRequest) Descriptor deprecated

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

Deprecated: Use ListGoogleDataSourceRequest.ProtoReflect.Descriptor instead.

func (*ListGoogleDataSourceRequest) GetGoogleDataSourceId

func (x *ListGoogleDataSourceRequest) GetGoogleDataSourceId() uint32

func (*ListGoogleDataSourceRequest) GetName

func (x *ListGoogleDataSourceRequest) GetName() string

func (*ListGoogleDataSourceRequest) ProtoMessage

func (*ListGoogleDataSourceRequest) ProtoMessage()

func (*ListGoogleDataSourceRequest) ProtoReflect

func (*ListGoogleDataSourceRequest) Reset

func (x *ListGoogleDataSourceRequest) Reset()

func (*ListGoogleDataSourceRequest) String

func (x *ListGoogleDataSourceRequest) String() string

func (*ListGoogleDataSourceRequest) Validate

func (l *ListGoogleDataSourceRequest) Validate() error

Validate for ListGoogleDataSourceRequest

type ListGoogleDataSourceResponse

type ListGoogleDataSourceResponse struct {
	GoogleDataSource []*GoogleDataSource `protobuf:"bytes,1,rep,name=google_data_source,json=googleDataSource,proto3" json:"google_data_source,omitempty"`
	// contains filtered or unexported fields
}

func (*ListGoogleDataSourceResponse) Descriptor deprecated

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

Deprecated: Use ListGoogleDataSourceResponse.ProtoReflect.Descriptor instead.

func (*ListGoogleDataSourceResponse) GetGoogleDataSource

func (x *ListGoogleDataSourceResponse) GetGoogleDataSource() []*GoogleDataSource

func (*ListGoogleDataSourceResponse) ProtoMessage

func (*ListGoogleDataSourceResponse) ProtoMessage()

func (*ListGoogleDataSourceResponse) ProtoReflect

func (*ListGoogleDataSourceResponse) Reset

func (x *ListGoogleDataSourceResponse) Reset()

func (*ListGoogleDataSourceResponse) String

type PutGCPRequest

type PutGCPRequest struct {
	ProjectId uint32        `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Gcp       *GCPForUpsert `protobuf:"bytes,2,opt,name=gcp,proto3" json:"gcp,omitempty"`
	// contains filtered or unexported fields
}

func (*PutGCPRequest) Descriptor deprecated

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

Deprecated: Use PutGCPRequest.ProtoReflect.Descriptor instead.

func (*PutGCPRequest) GetGcp

func (x *PutGCPRequest) GetGcp() *GCPForUpsert

func (*PutGCPRequest) GetProjectId

func (x *PutGCPRequest) GetProjectId() uint32

func (*PutGCPRequest) ProtoMessage

func (*PutGCPRequest) ProtoMessage()

func (*PutGCPRequest) ProtoReflect

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

func (*PutGCPRequest) Reset

func (x *PutGCPRequest) Reset()

func (*PutGCPRequest) String

func (x *PutGCPRequest) String() string

func (*PutGCPRequest) Validate

func (p *PutGCPRequest) Validate() error

Validate for PutGCPRequest

type PutGCPResponse

type PutGCPResponse struct {
	Gcp *GCP `protobuf:"bytes,1,opt,name=gcp,proto3" json:"gcp,omitempty"`
	// contains filtered or unexported fields
}

func (*PutGCPResponse) Descriptor deprecated

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

Deprecated: Use PutGCPResponse.ProtoReflect.Descriptor instead.

func (*PutGCPResponse) GetGcp

func (x *PutGCPResponse) GetGcp() *GCP

func (*PutGCPResponse) ProtoMessage

func (*PutGCPResponse) ProtoMessage()

func (*PutGCPResponse) ProtoReflect

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

func (*PutGCPResponse) Reset

func (x *PutGCPResponse) Reset()

func (*PutGCPResponse) String

func (x *PutGCPResponse) String() string

type Status

type Status int32

Status

const (
	Status_UNKNOWN     Status = 0
	Status_OK          Status = 1
	Status_CONFIGURED  Status = 2
	Status_IN_PROGRESS Status = 3
	Status_ERROR       Status = 4
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type UnimplementedGoogleServiceServer

type UnimplementedGoogleServiceServer struct {
}

UnimplementedGoogleServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGoogleServiceServer) AttachGCPDataSource

func (*UnimplementedGoogleServiceServer) DeleteGCP

func (*UnimplementedGoogleServiceServer) DetachGCPDataSource

func (*UnimplementedGoogleServiceServer) GetGCP

func (*UnimplementedGoogleServiceServer) GetGCPDataSource

func (*UnimplementedGoogleServiceServer) InvokeScanAll

func (*UnimplementedGoogleServiceServer) InvokeScanGCP

func (*UnimplementedGoogleServiceServer) ListGCP

func (*UnimplementedGoogleServiceServer) ListGCPDataSource

func (*UnimplementedGoogleServiceServer) ListGoogleDataSource

func (*UnimplementedGoogleServiceServer) PutGCP

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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