dataexchange

package
v0.0.0-...-31bebde Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Listing_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
	}
	Listing_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
	}
)

Enum value maps for Listing_State.

View Source
var File_google_cloud_bigquery_dataexchange_v1beta1_dataexchange_proto protoreflect.FileDescriptor

Functions

func RegisterAnalyticsHubServiceServer

func RegisterAnalyticsHubServiceServer(s *grpc.Server, srv AnalyticsHubServiceServer)

Types

type AnalyticsHubServiceClient

type AnalyticsHubServiceClient interface {
	// Lists DataExchanges in a given project and location.
	ListDataExchanges(ctx context.Context, in *ListDataExchangesRequest, opts ...grpc.CallOption) (*ListDataExchangesResponse, error)
	// Lists DataExchanges from projects in a given organization and location.
	ListOrgDataExchanges(ctx context.Context, in *ListOrgDataExchangesRequest, opts ...grpc.CallOption) (*ListOrgDataExchangesResponse, error)
	// Gets details of a single DataExchange.
	GetDataExchange(ctx context.Context, in *GetDataExchangeRequest, opts ...grpc.CallOption) (*DataExchange, error)
	// Creates a new DataExchange in a given project and location.
	CreateDataExchange(ctx context.Context, in *CreateDataExchangeRequest, opts ...grpc.CallOption) (*DataExchange, error)
	// Updates the parameters of a single DataExchange.
	UpdateDataExchange(ctx context.Context, in *UpdateDataExchangeRequest, opts ...grpc.CallOption) (*DataExchange, error)
	// Deletes a single DataExchange.
	DeleteDataExchange(ctx context.Context, in *DeleteDataExchangeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists Listings in a given project and location.
	ListListings(ctx context.Context, in *ListListingsRequest, opts ...grpc.CallOption) (*ListListingsResponse, error)
	// Gets details of a single Listing.
	GetListing(ctx context.Context, in *GetListingRequest, opts ...grpc.CallOption) (*Listing, error)
	// Creates a new Listing in a given project and location.
	CreateListing(ctx context.Context, in *CreateListingRequest, opts ...grpc.CallOption) (*Listing, error)
	// Updates the parameters of a single Listing.
	UpdateListing(ctx context.Context, in *UpdateListingRequest, opts ...grpc.CallOption) (*Listing, error)
	// Deletes a single Listing, as long as there are no subscriptions
	// associated with the source of this Listing.
	DeleteListing(ctx context.Context, in *DeleteListingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Subscribes to a single Listing.
	//
	// Data Exchange currently supports one type of Listing: a BigQuery dataset.
	// Upon subscription to a Listing for a BigQuery dataset, Data Exchange
	// creates a linked dataset in the subscriber's project.
	SubscribeListing(ctx context.Context, in *SubscribeListingRequest, opts ...grpc.CallOption) (*SubscribeListingResponse, error)
	// Gets the IAM policy for a dataExchange or a listing.
	GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Sets the IAM policy for a dataExchange or a listing.
	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Returns the permissions that a caller has on a specified dataExchange or
	// listing.
	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

AnalyticsHubServiceClient is the client API for AnalyticsHubService service.

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

type AnalyticsHubServiceServer

type AnalyticsHubServiceServer interface {
	// Lists DataExchanges in a given project and location.
	ListDataExchanges(context.Context, *ListDataExchangesRequest) (*ListDataExchangesResponse, error)
	// Lists DataExchanges from projects in a given organization and location.
	ListOrgDataExchanges(context.Context, *ListOrgDataExchangesRequest) (*ListOrgDataExchangesResponse, error)
	// Gets details of a single DataExchange.
	GetDataExchange(context.Context, *GetDataExchangeRequest) (*DataExchange, error)
	// Creates a new DataExchange in a given project and location.
	CreateDataExchange(context.Context, *CreateDataExchangeRequest) (*DataExchange, error)
	// Updates the parameters of a single DataExchange.
	UpdateDataExchange(context.Context, *UpdateDataExchangeRequest) (*DataExchange, error)
	// Deletes a single DataExchange.
	DeleteDataExchange(context.Context, *DeleteDataExchangeRequest) (*emptypb.Empty, error)
	// Lists Listings in a given project and location.
	ListListings(context.Context, *ListListingsRequest) (*ListListingsResponse, error)
	// Gets details of a single Listing.
	GetListing(context.Context, *GetListingRequest) (*Listing, error)
	// Creates a new Listing in a given project and location.
	CreateListing(context.Context, *CreateListingRequest) (*Listing, error)
	// Updates the parameters of a single Listing.
	UpdateListing(context.Context, *UpdateListingRequest) (*Listing, error)
	// Deletes a single Listing, as long as there are no subscriptions
	// associated with the source of this Listing.
	DeleteListing(context.Context, *DeleteListingRequest) (*emptypb.Empty, error)
	// Subscribes to a single Listing.
	//
	// Data Exchange currently supports one type of Listing: a BigQuery dataset.
	// Upon subscription to a Listing for a BigQuery dataset, Data Exchange
	// creates a linked dataset in the subscriber's project.
	SubscribeListing(context.Context, *SubscribeListingRequest) (*SubscribeListingResponse, error)
	// Gets the IAM policy for a dataExchange or a listing.
	GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
	// Sets the IAM policy for a dataExchange or a listing.
	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
	// Returns the permissions that a caller has on a specified dataExchange or
	// listing.
	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

AnalyticsHubServiceServer is the server API for AnalyticsHubService service.

type CreateDataExchangeRequest

type CreateDataExchangeRequest struct {

	// Required. The parent resource path of the DataExchange.
	// e.g. `projects/myproject/locations/US`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the DataExchange to create.
	// Must contain only Unicode letters, numbers (0-9), underscores (_).
	// Should not use characters that require URL-escaping, or characters
	// outside of ASCII, spaces.
	// Max length: 100 bytes.
	DataExchangeId string `protobuf:"bytes,2,opt,name=data_exchange_id,json=dataExchangeId,proto3" json:"data_exchange_id,omitempty"`
	// Required. The DataExchange to create.
	DataExchange *DataExchange `protobuf:"bytes,3,opt,name=data_exchange,json=dataExchange,proto3" json:"data_exchange,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a DataExchange.

func (*CreateDataExchangeRequest) Descriptor deprecated

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

Deprecated: Use CreateDataExchangeRequest.ProtoReflect.Descriptor instead.

func (*CreateDataExchangeRequest) GetDataExchange

func (x *CreateDataExchangeRequest) GetDataExchange() *DataExchange

func (*CreateDataExchangeRequest) GetDataExchangeId

func (x *CreateDataExchangeRequest) GetDataExchangeId() string

func (*CreateDataExchangeRequest) GetParent

func (x *CreateDataExchangeRequest) GetParent() string

func (*CreateDataExchangeRequest) ProtoMessage

func (*CreateDataExchangeRequest) ProtoMessage()

func (*CreateDataExchangeRequest) ProtoReflect

func (*CreateDataExchangeRequest) Reset

func (x *CreateDataExchangeRequest) Reset()

func (*CreateDataExchangeRequest) String

func (x *CreateDataExchangeRequest) String() string

type CreateListingRequest

type CreateListingRequest struct {

	// Required. The parent resource path of the listing.
	// e.g. `projects/myproject/locations/US/dataExchanges/123`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the Listing to create.
	// Must contain only Unicode letters, numbers (0-9), underscores (_).
	// Should not use characters that require URL-escaping, or characters
	// outside of ASCII, spaces.
	// Max length: 100 bytes.
	ListingId string `protobuf:"bytes,2,opt,name=listing_id,json=listingId,proto3" json:"listing_id,omitempty"`
	// Required. The listing to create.
	Listing *Listing `protobuf:"bytes,3,opt,name=listing,proto3" json:"listing,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Listing.

func (*CreateListingRequest) Descriptor deprecated

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

Deprecated: Use CreateListingRequest.ProtoReflect.Descriptor instead.

func (*CreateListingRequest) GetListing

func (x *CreateListingRequest) GetListing() *Listing

func (*CreateListingRequest) GetListingId

func (x *CreateListingRequest) GetListingId() string

func (*CreateListingRequest) GetParent

func (x *CreateListingRequest) GetParent() string

func (*CreateListingRequest) ProtoMessage

func (*CreateListingRequest) ProtoMessage()

func (*CreateListingRequest) ProtoReflect

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

func (*CreateListingRequest) Reset

func (x *CreateListingRequest) Reset()

func (*CreateListingRequest) String

func (x *CreateListingRequest) String() string

type DataExchange

type DataExchange struct {

	// Output only. The resource name of the data exchange.
	// e.g. `projects/myproject/locations/US/dataExchanges/123`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Human-readable display name of the data exchange. The display name must
	// contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
	// spaces ( ), and can't start or end with spaces.
	// Default value is an empty string.
	// Max length: 63 bytes.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Short description of the data exchange that can consist of sentences
	// or paragraphs. The description must not contain Unicode non-characters as
	// well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
	// returns (CR), and page breaks (FF).
	// Default value is an empty string.
	// Max length: 2000 bytes.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. Email, URL or other reference of the primary point of contact of the data
	// exchange
	// Max Length: 1000 bytes.
	PrimaryContact string `protobuf:"bytes,4,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
	// Optional. Documentation describing the data exchange.
	Documentation string `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Output only. Number of listings contained in the data exchange.
	ListingCount int32 `protobuf:"varint,6,opt,name=listing_count,json=listingCount,proto3" json:"listing_count,omitempty"`
	// Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
	// Expected image dimensions are 512x512 pixels, however the API only
	// performs validation on size of the encoded data.
	// Note: For byte fields, the contents of the field are base64-encoded (which
	// increases the size of the data by 33-36%) when using JSON on the wire.
	Icon []byte `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

A data exchange is a container that enables data sharing. It contains a set of listings of the data sources along with descriptive information of the data exchange.

func (*DataExchange) Descriptor deprecated

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

Deprecated: Use DataExchange.ProtoReflect.Descriptor instead.

func (*DataExchange) GetDescription

func (x *DataExchange) GetDescription() string

func (*DataExchange) GetDisplayName

func (x *DataExchange) GetDisplayName() string

func (*DataExchange) GetDocumentation

func (x *DataExchange) GetDocumentation() string

func (*DataExchange) GetIcon

func (x *DataExchange) GetIcon() []byte

func (*DataExchange) GetListingCount

func (x *DataExchange) GetListingCount() int32

func (*DataExchange) GetName

func (x *DataExchange) GetName() string

func (*DataExchange) GetPrimaryContact

func (x *DataExchange) GetPrimaryContact() string

func (*DataExchange) ProtoMessage

func (*DataExchange) ProtoMessage()

func (*DataExchange) ProtoReflect

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

func (*DataExchange) Reset

func (x *DataExchange) Reset()

func (*DataExchange) String

func (x *DataExchange) String() string

type DataProvider

type DataProvider struct {

	// Optional. Name of the Data Provider.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Email or URL of the Data Provider.
	// Max Length: 1000 bytes.
	PrimaryContact string `protobuf:"bytes,2,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
	// contains filtered or unexported fields
}

Contains details of the Data Provider.

func (*DataProvider) Descriptor deprecated

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

Deprecated: Use DataProvider.ProtoReflect.Descriptor instead.

func (*DataProvider) GetName

func (x *DataProvider) GetName() string

func (*DataProvider) GetPrimaryContact

func (x *DataProvider) GetPrimaryContact() string

func (*DataProvider) ProtoMessage

func (*DataProvider) ProtoMessage()

func (*DataProvider) ProtoReflect

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

func (*DataProvider) Reset

func (x *DataProvider) Reset()

func (*DataProvider) String

func (x *DataProvider) String() string

type DeleteDataExchangeRequest

type DeleteDataExchangeRequest struct {

	// Required. Resource name of the DataExchange to delete.
	// e.g. `projects/myproject/locations/US/dataExchanges/123`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a DataExchange.

func (*DeleteDataExchangeRequest) Descriptor deprecated

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

Deprecated: Use DeleteDataExchangeRequest.ProtoReflect.Descriptor instead.

func (*DeleteDataExchangeRequest) GetName

func (x *DeleteDataExchangeRequest) GetName() string

func (*DeleteDataExchangeRequest) ProtoMessage

func (*DeleteDataExchangeRequest) ProtoMessage()

func (*DeleteDataExchangeRequest) ProtoReflect

func (*DeleteDataExchangeRequest) Reset

func (x *DeleteDataExchangeRequest) Reset()

func (*DeleteDataExchangeRequest) String

func (x *DeleteDataExchangeRequest) String() string

type DeleteListingRequest

type DeleteListingRequest struct {

	// Required. Resource name of the listing to delete.
	// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Listing.

func (*DeleteListingRequest) Descriptor deprecated

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

Deprecated: Use DeleteListingRequest.ProtoReflect.Descriptor instead.

func (*DeleteListingRequest) GetName

func (x *DeleteListingRequest) GetName() string

func (*DeleteListingRequest) ProtoMessage

func (*DeleteListingRequest) ProtoMessage()

func (*DeleteListingRequest) ProtoReflect

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

func (*DeleteListingRequest) Reset

func (x *DeleteListingRequest) Reset()

func (*DeleteListingRequest) String

func (x *DeleteListingRequest) String() string

type DestinationDataset

type DestinationDataset struct {

	// Required. A reference that identifies the destination dataset.
	DatasetReference *DestinationDatasetReference `protobuf:"bytes,1,opt,name=dataset_reference,json=datasetReference,proto3" json:"dataset_reference,omitempty"`
	// Optional. A descriptive name for the dataset.
	FriendlyName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	// Optional. A user-friendly description of the dataset.
	Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. The labels associated with this dataset. You can use these
	// to organize and group your datasets.
	// You can set this property when inserting or updating a dataset.
	// See https://cloud.google.com/resource-manager/docs/creating-managing-labels
	// for more information.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Required. The geographic location where the dataset should reside. See
	// https://cloud.google.com/bigquery/docs/locations for supported
	// locations.
	Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Defines the Destination BigQuery Dataset.

func (*DestinationDataset) Descriptor deprecated

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

Deprecated: Use DestinationDataset.ProtoReflect.Descriptor instead.

func (*DestinationDataset) GetDatasetReference

func (x *DestinationDataset) GetDatasetReference() *DestinationDatasetReference

func (*DestinationDataset) GetDescription

func (x *DestinationDataset) GetDescription() *wrapperspb.StringValue

func (*DestinationDataset) GetFriendlyName

func (x *DestinationDataset) GetFriendlyName() *wrapperspb.StringValue

func (*DestinationDataset) GetLabels

func (x *DestinationDataset) GetLabels() map[string]string

func (*DestinationDataset) GetLocation

func (x *DestinationDataset) GetLocation() string

func (*DestinationDataset) ProtoMessage

func (*DestinationDataset) ProtoMessage()

func (*DestinationDataset) ProtoReflect

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

func (*DestinationDataset) Reset

func (x *DestinationDataset) Reset()

func (*DestinationDataset) String

func (x *DestinationDataset) String() string

type DestinationDatasetReference

type DestinationDatasetReference struct {

	// Required. A unique ID for this dataset, without the project name. The ID
	// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
	// The maximum length is 1,024 characters.
	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// Required. The ID of the project containing this dataset.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

Defines the Destination BigQuery Dataset Reference.

func (*DestinationDatasetReference) Descriptor deprecated

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

Deprecated: Use DestinationDatasetReference.ProtoReflect.Descriptor instead.

func (*DestinationDatasetReference) GetDatasetId

func (x *DestinationDatasetReference) GetDatasetId() string

func (*DestinationDatasetReference) GetProjectId

func (x *DestinationDatasetReference) GetProjectId() string

func (*DestinationDatasetReference) ProtoMessage

func (*DestinationDatasetReference) ProtoMessage()

func (*DestinationDatasetReference) ProtoReflect

func (*DestinationDatasetReference) Reset

func (x *DestinationDatasetReference) Reset()

func (*DestinationDatasetReference) String

func (x *DestinationDatasetReference) String() string

type GetDataExchangeRequest

type GetDataExchangeRequest struct {

	// Required. The resource name of the DataExchange.
	// e.g. `projects/myproject/locations/US/dataExchanges/123`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a DataExchange.

func (*GetDataExchangeRequest) Descriptor deprecated

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

Deprecated: Use GetDataExchangeRequest.ProtoReflect.Descriptor instead.

func (*GetDataExchangeRequest) GetName

func (x *GetDataExchangeRequest) GetName() string

func (*GetDataExchangeRequest) ProtoMessage

func (*GetDataExchangeRequest) ProtoMessage()

func (*GetDataExchangeRequest) ProtoReflect

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

func (*GetDataExchangeRequest) Reset

func (x *GetDataExchangeRequest) Reset()

func (*GetDataExchangeRequest) String

func (x *GetDataExchangeRequest) String() string

type GetListingRequest

type GetListingRequest struct {

	// Required. The resource name of the listing.
	// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Listing.

func (*GetListingRequest) Descriptor deprecated

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

Deprecated: Use GetListingRequest.ProtoReflect.Descriptor instead.

func (*GetListingRequest) GetName

func (x *GetListingRequest) GetName() string

func (*GetListingRequest) ProtoMessage

func (*GetListingRequest) ProtoMessage()

func (*GetListingRequest) ProtoReflect

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

func (*GetListingRequest) Reset

func (x *GetListingRequest) Reset()

func (*GetListingRequest) String

func (x *GetListingRequest) String() string

type ListDataExchangesRequest

type ListDataExchangesRequest struct {

	// Required. The parent resource path of the DataExchanges.
	// e.g. `projects/myproject/locations/US`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return in a single response page. Leverage
	// the page tokens to iterate through the entire collection.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token, returned by a previous call, to request the next page of
	// results.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of DataExchanges.

func (*ListDataExchangesRequest) Descriptor deprecated

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

Deprecated: Use ListDataExchangesRequest.ProtoReflect.Descriptor instead.

func (*ListDataExchangesRequest) GetPageSize

func (x *ListDataExchangesRequest) GetPageSize() int32

func (*ListDataExchangesRequest) GetPageToken

func (x *ListDataExchangesRequest) GetPageToken() string

func (*ListDataExchangesRequest) GetParent

func (x *ListDataExchangesRequest) GetParent() string

func (*ListDataExchangesRequest) ProtoMessage

func (*ListDataExchangesRequest) ProtoMessage()

func (*ListDataExchangesRequest) ProtoReflect

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

func (*ListDataExchangesRequest) Reset

func (x *ListDataExchangesRequest) Reset()

func (*ListDataExchangesRequest) String

func (x *ListDataExchangesRequest) String() string

type ListDataExchangesResponse

type ListDataExchangesResponse struct {

	// The list of DataExchange.
	DataExchanges []*DataExchange `protobuf:"bytes,1,rep,name=data_exchanges,json=dataExchanges,proto3" json:"data_exchanges,omitempty"`
	// A token to request the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing DataExchanges.

func (*ListDataExchangesResponse) Descriptor deprecated

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

Deprecated: Use ListDataExchangesResponse.ProtoReflect.Descriptor instead.

func (*ListDataExchangesResponse) GetDataExchanges

func (x *ListDataExchangesResponse) GetDataExchanges() []*DataExchange

func (*ListDataExchangesResponse) GetNextPageToken

func (x *ListDataExchangesResponse) GetNextPageToken() string

func (*ListDataExchangesResponse) ProtoMessage

func (*ListDataExchangesResponse) ProtoMessage()

func (*ListDataExchangesResponse) ProtoReflect

func (*ListDataExchangesResponse) Reset

func (x *ListDataExchangesResponse) Reset()

func (*ListDataExchangesResponse) String

func (x *ListDataExchangesResponse) String() string

type ListListingsRequest

type ListListingsRequest struct {

	// Required. The parent resource path of the listing.
	// e.g. `projects/myproject/locations/US/dataExchanges/123`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of results to return in a single response page. Leverage
	// the page tokens to iterate through the entire collection.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token, returned by a previous call, to request the next page of
	// results.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Listings.

func (*ListListingsRequest) Descriptor deprecated

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

Deprecated: Use ListListingsRequest.ProtoReflect.Descriptor instead.

func (*ListListingsRequest) GetPageSize

func (x *ListListingsRequest) GetPageSize() int32

func (*ListListingsRequest) GetPageToken

func (x *ListListingsRequest) GetPageToken() string

func (*ListListingsRequest) GetParent

func (x *ListListingsRequest) GetParent() string

func (*ListListingsRequest) ProtoMessage

func (*ListListingsRequest) ProtoMessage()

func (*ListListingsRequest) ProtoReflect

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

func (*ListListingsRequest) Reset

func (x *ListListingsRequest) Reset()

func (*ListListingsRequest) String

func (x *ListListingsRequest) String() string

type ListListingsResponse

type ListListingsResponse struct {

	// The list of Listing.
	Listings []*Listing `protobuf:"bytes,1,rep,name=listings,proto3" json:"listings,omitempty"`
	// A token to request the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Listings.

func (*ListListingsResponse) Descriptor deprecated

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

Deprecated: Use ListListingsResponse.ProtoReflect.Descriptor instead.

func (*ListListingsResponse) GetListings

func (x *ListListingsResponse) GetListings() []*Listing

func (*ListListingsResponse) GetNextPageToken

func (x *ListListingsResponse) GetNextPageToken() string

func (*ListListingsResponse) ProtoMessage

func (*ListListingsResponse) ProtoMessage()

func (*ListListingsResponse) ProtoReflect

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

func (*ListListingsResponse) Reset

func (x *ListListingsResponse) Reset()

func (*ListListingsResponse) String

func (x *ListListingsResponse) String() string

type ListOrgDataExchangesRequest

type ListOrgDataExchangesRequest struct {

	// Required. The organization resource path of the projects containing DataExchanges.
	// e.g. `organizations/myorg/locations/US`.
	Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// The maximum number of results to return in a single response page. Leverage
	// the page tokens to iterate through the entire collection.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token, returned by a previous call, to request the next page of
	// results.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of DataExchanges from projects in an organization and location.

func (*ListOrgDataExchangesRequest) Descriptor deprecated

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

Deprecated: Use ListOrgDataExchangesRequest.ProtoReflect.Descriptor instead.

func (*ListOrgDataExchangesRequest) GetOrganization

func (x *ListOrgDataExchangesRequest) GetOrganization() string

func (*ListOrgDataExchangesRequest) GetPageSize

func (x *ListOrgDataExchangesRequest) GetPageSize() int32

func (*ListOrgDataExchangesRequest) GetPageToken

func (x *ListOrgDataExchangesRequest) GetPageToken() string

func (*ListOrgDataExchangesRequest) ProtoMessage

func (*ListOrgDataExchangesRequest) ProtoMessage()

func (*ListOrgDataExchangesRequest) ProtoReflect

func (*ListOrgDataExchangesRequest) Reset

func (x *ListOrgDataExchangesRequest) Reset()

func (*ListOrgDataExchangesRequest) String

func (x *ListOrgDataExchangesRequest) String() string

type ListOrgDataExchangesResponse

type ListOrgDataExchangesResponse struct {

	// The list of DataExchange.
	DataExchanges []*DataExchange `protobuf:"bytes,1,rep,name=data_exchanges,json=dataExchanges,proto3" json:"data_exchanges,omitempty"`
	// A token to request the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing DataExchanges in an organization and location.

func (*ListOrgDataExchangesResponse) Descriptor deprecated

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

Deprecated: Use ListOrgDataExchangesResponse.ProtoReflect.Descriptor instead.

func (*ListOrgDataExchangesResponse) GetDataExchanges

func (x *ListOrgDataExchangesResponse) GetDataExchanges() []*DataExchange

func (*ListOrgDataExchangesResponse) GetNextPageToken

func (x *ListOrgDataExchangesResponse) GetNextPageToken() string

func (*ListOrgDataExchangesResponse) ProtoMessage

func (*ListOrgDataExchangesResponse) ProtoMessage()

func (*ListOrgDataExchangesResponse) ProtoReflect

func (*ListOrgDataExchangesResponse) Reset

func (x *ListOrgDataExchangesResponse) Reset()

func (*ListOrgDataExchangesResponse) String

type Listing

type Listing struct {

	// Output only. The resource name of the listing.
	// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Human-readable display name of the listing. The display name must contain
	// only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces
	// ( ), and can't start or end with spaces.
	// Default value is an empty string.
	// Max length: 63 bytes.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Short description of the listing that can consist of sentences or
	// paragraphs. The description must not contain Unicode non-characters as
	// well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage
	// returns (CR), and page breaks (FF).
	// Default value is an empty string.
	// Max length: 2000 bytes.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. Email or URL of the primary point of contact of the listing.
	// Max Length: 1000 bytes.
	PrimaryContact string `protobuf:"bytes,4,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
	// Optional. Documentation describing the listing.
	Documentation string `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// Listing source.
	//
	// Types that are assignable to Source:
	//	*Listing_BigqueryDataset
	Source isListing_Source `protobuf_oneof:"source"`
	// Output only. Current state of the Listing.
	State Listing_State `` /* 126-byte string literal not displayed */
	// Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB
	// Expected image dimensions are 512x512 pixels, however the API only
	// performs validation on size of the encoded data.
	// Note: For byte fields, the contents of the field are base64-encoded (which
	// increases the size of the data by 33-36%) when using JSON on the wire.
	Icon []byte `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
	// Optional. The details of the Data Provider who owns the source data.
	DataProvider *DataProvider `protobuf:"bytes,9,opt,name=data_provider,json=dataProvider,proto3" json:"data_provider,omitempty"`
	// Optional. Categories of the Listing. Up to two categories are allowed.
	Categories []common.Category `` /* 138-byte string literal not displayed */
	// Optional. The details of the Publisher who owns the listing and has rights to share
	// the source data.
	Publisher *Publisher `protobuf:"bytes,11,opt,name=publisher,proto3" json:"publisher,omitempty"`
	// Optional. Email or URL of the request access of the listing.
	// Subscribers can use this reference to request access.
	// Max Length: 1000 bytes.
	RequestAccess string `protobuf:"bytes,12,opt,name=request_access,json=requestAccess,proto3" json:"request_access,omitempty"`
	// contains filtered or unexported fields
}

A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.

func (*Listing) Descriptor deprecated

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

Deprecated: Use Listing.ProtoReflect.Descriptor instead.

func (*Listing) GetBigqueryDataset

func (x *Listing) GetBigqueryDataset() *Listing_BigQueryDatasetSource

func (*Listing) GetCategories

func (x *Listing) GetCategories() []common.Category

func (*Listing) GetDataProvider

func (x *Listing) GetDataProvider() *DataProvider

func (*Listing) GetDescription

func (x *Listing) GetDescription() string

func (*Listing) GetDisplayName

func (x *Listing) GetDisplayName() string

func (*Listing) GetDocumentation

func (x *Listing) GetDocumentation() string

func (*Listing) GetIcon

func (x *Listing) GetIcon() []byte

func (*Listing) GetName

func (x *Listing) GetName() string

func (*Listing) GetPrimaryContact

func (x *Listing) GetPrimaryContact() string

func (*Listing) GetPublisher

func (x *Listing) GetPublisher() *Publisher

func (*Listing) GetRequestAccess

func (x *Listing) GetRequestAccess() string

func (*Listing) GetSource

func (m *Listing) GetSource() isListing_Source

func (*Listing) GetState

func (x *Listing) GetState() Listing_State

func (*Listing) ProtoMessage

func (*Listing) ProtoMessage()

func (*Listing) ProtoReflect

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

func (*Listing) Reset

func (x *Listing) Reset()

func (*Listing) String

func (x *Listing) String() string

type Listing_BigQueryDatasetSource

type Listing_BigQueryDatasetSource struct {

	// Resource name of the dataset source for this listing.
	// e.g. `projects/myproject/datasets/123`
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// contains filtered or unexported fields
}

A reference to a Shared dataset. It's an existing BigQuery dataset with a collection of objects, such as tables and views, that you want to share with subscribers. Upon subscription to a Listing, Data Exchange creates a Linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a "symbolic link" to a shared dataset.

func (*Listing_BigQueryDatasetSource) Descriptor deprecated

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

Deprecated: Use Listing_BigQueryDatasetSource.ProtoReflect.Descriptor instead.

func (*Listing_BigQueryDatasetSource) GetDataset

func (x *Listing_BigQueryDatasetSource) GetDataset() string

func (*Listing_BigQueryDatasetSource) ProtoMessage

func (*Listing_BigQueryDatasetSource) ProtoMessage()

func (*Listing_BigQueryDatasetSource) ProtoReflect

func (*Listing_BigQueryDatasetSource) Reset

func (x *Listing_BigQueryDatasetSource) Reset()

func (*Listing_BigQueryDatasetSource) String

type Listing_BigqueryDataset

type Listing_BigqueryDataset struct {
	// Required. Shared dataset i.e. BigQuery dataset source.
	BigqueryDataset *Listing_BigQueryDatasetSource `protobuf:"bytes,6,opt,name=bigquery_dataset,json=bigqueryDataset,proto3,oneof"`
}

type Listing_State

type Listing_State int32

State of the Listing

const (
	// Default value. This value is unused.
	Listing_STATE_UNSPECIFIED Listing_State = 0
	// Subscribable state. Users with dataexchange.listings.subscribe permission
	// can subscribe to this Listing.
	Listing_ACTIVE Listing_State = 1
)

func (Listing_State) Descriptor

func (Listing_State) Enum

func (x Listing_State) Enum() *Listing_State

func (Listing_State) EnumDescriptor deprecated

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

Deprecated: Use Listing_State.Descriptor instead.

func (Listing_State) Number

func (Listing_State) String

func (x Listing_State) String() string

func (Listing_State) Type

type Publisher

type Publisher struct {

	// Optional. Name of the listing Publisher.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Email or URL of the listing Publisher.
	// Max Length: 1000 bytes.
	PrimaryContact string `protobuf:"bytes,2,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
	// contains filtered or unexported fields
}

Contains details of the Publisher.

func (*Publisher) Descriptor deprecated

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

Deprecated: Use Publisher.ProtoReflect.Descriptor instead.

func (*Publisher) GetName

func (x *Publisher) GetName() string

func (*Publisher) GetPrimaryContact

func (x *Publisher) GetPrimaryContact() string

func (*Publisher) ProtoMessage

func (*Publisher) ProtoMessage()

func (*Publisher) ProtoReflect

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

func (*Publisher) Reset

func (x *Publisher) Reset()

func (*Publisher) String

func (x *Publisher) String() string

type SubscribeListingRequest

type SubscribeListingRequest struct {

	// Required. Resource name of the listing to subscribe to.
	// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Resulting destination of the listing subscribed to.
	//
	// Types that are assignable to Destination:
	//	*SubscribeListingRequest_DestinationDataset
	Destination isSubscribeListingRequest_Destination `protobuf_oneof:"destination"`
	// contains filtered or unexported fields
}

Message for subscribing a Listing.

func (*SubscribeListingRequest) Descriptor deprecated

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

Deprecated: Use SubscribeListingRequest.ProtoReflect.Descriptor instead.

func (*SubscribeListingRequest) GetDestination

func (m *SubscribeListingRequest) GetDestination() isSubscribeListingRequest_Destination

func (*SubscribeListingRequest) GetDestinationDataset

func (x *SubscribeListingRequest) GetDestinationDataset() *DestinationDataset

func (*SubscribeListingRequest) GetName

func (x *SubscribeListingRequest) GetName() string

func (*SubscribeListingRequest) ProtoMessage

func (*SubscribeListingRequest) ProtoMessage()

func (*SubscribeListingRequest) ProtoReflect

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

func (*SubscribeListingRequest) Reset

func (x *SubscribeListingRequest) Reset()

func (*SubscribeListingRequest) String

func (x *SubscribeListingRequest) String() string

type SubscribeListingRequest_DestinationDataset

type SubscribeListingRequest_DestinationDataset struct {
	// BigQuery destination dataset to create for the subscriber.
	DestinationDataset *DestinationDataset `protobuf:"bytes,3,opt,name=destination_dataset,json=destinationDataset,proto3,oneof"`
}

type SubscribeListingResponse

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

Message for response to subscribing a Listing. Empty for now.

func (*SubscribeListingResponse) Descriptor deprecated

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

Deprecated: Use SubscribeListingResponse.ProtoReflect.Descriptor instead.

func (*SubscribeListingResponse) ProtoMessage

func (*SubscribeListingResponse) ProtoMessage()

func (*SubscribeListingResponse) ProtoReflect

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

func (*SubscribeListingResponse) Reset

func (x *SubscribeListingResponse) Reset()

func (*SubscribeListingResponse) String

func (x *SubscribeListingResponse) String() string

type UnimplementedAnalyticsHubServiceServer

type UnimplementedAnalyticsHubServiceServer struct {
}

UnimplementedAnalyticsHubServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAnalyticsHubServiceServer) CreateDataExchange

func (*UnimplementedAnalyticsHubServiceServer) CreateListing

func (*UnimplementedAnalyticsHubServiceServer) DeleteDataExchange

func (*UnimplementedAnalyticsHubServiceServer) DeleteListing

func (*UnimplementedAnalyticsHubServiceServer) GetDataExchange

func (*UnimplementedAnalyticsHubServiceServer) GetIamPolicy

func (*UnimplementedAnalyticsHubServiceServer) GetListing

func (*UnimplementedAnalyticsHubServiceServer) ListDataExchanges

func (*UnimplementedAnalyticsHubServiceServer) ListListings

func (*UnimplementedAnalyticsHubServiceServer) ListOrgDataExchanges

func (*UnimplementedAnalyticsHubServiceServer) SetIamPolicy

func (*UnimplementedAnalyticsHubServiceServer) SubscribeListing

func (*UnimplementedAnalyticsHubServiceServer) TestIamPermissions

func (*UnimplementedAnalyticsHubServiceServer) UpdateDataExchange

func (*UnimplementedAnalyticsHubServiceServer) UpdateListing

type UpdateDataExchangeRequest

type UpdateDataExchangeRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// DataExchange resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The DataExchange to update.
	DataExchange *DataExchange `protobuf:"bytes,2,opt,name=data_exchange,json=dataExchange,proto3" json:"data_exchange,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a DataExchange.

func (*UpdateDataExchangeRequest) Descriptor deprecated

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

Deprecated: Use UpdateDataExchangeRequest.ProtoReflect.Descriptor instead.

func (*UpdateDataExchangeRequest) GetDataExchange

func (x *UpdateDataExchangeRequest) GetDataExchange() *DataExchange

func (*UpdateDataExchangeRequest) GetUpdateMask

func (x *UpdateDataExchangeRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateDataExchangeRequest) ProtoMessage

func (*UpdateDataExchangeRequest) ProtoMessage()

func (*UpdateDataExchangeRequest) ProtoReflect

func (*UpdateDataExchangeRequest) Reset

func (x *UpdateDataExchangeRequest) Reset()

func (*UpdateDataExchangeRequest) String

func (x *UpdateDataExchangeRequest) String() string

type UpdateListingRequest

type UpdateListingRequest struct {

	// Required. Field mask is used to specify the fields to be overwritten in the
	// Listing resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The listing to update.
	Listing *Listing `protobuf:"bytes,2,opt,name=listing,proto3" json:"listing,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a Listing.

func (*UpdateListingRequest) Descriptor deprecated

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

Deprecated: Use UpdateListingRequest.ProtoReflect.Descriptor instead.

func (*UpdateListingRequest) GetListing

func (x *UpdateListingRequest) GetListing() *Listing

func (*UpdateListingRequest) GetUpdateMask

func (x *UpdateListingRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateListingRequest) ProtoMessage

func (*UpdateListingRequest) ProtoMessage()

func (*UpdateListingRequest) ProtoReflect

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

func (*UpdateListingRequest) Reset

func (x *UpdateListingRequest) Reset()

func (*UpdateListingRequest) String

func (x *UpdateListingRequest) String() string

Jump to

Keyboard shortcuts

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