Package cloud.google.com/go/asset/apiv1p2beta1/assetpb (v1.5.0)

Variables

ContentType_name, ContentType_value

var (
	ContentType_name = map[int32]string{
		0: "CONTENT_TYPE_UNSPECIFIED",
		1: "RESOURCE",
		2: "IAM_POLICY",
	}
	ContentType_value = map[string]int32{
		"CONTENT_TYPE_UNSPECIFIED": 0,
		"RESOURCE":                 1,
		"IAM_POLICY":               2,
	}
)

Enum value maps for ContentType.

File_google_cloud_asset_v1p2beta1_asset_service_proto

var File_google_cloud_asset_v1p2beta1_asset_service_proto protoreflect.FileDescriptor

File_google_cloud_asset_v1p2beta1_assets_proto

var File_google_cloud_asset_v1p2beta1_assets_proto protoreflect.FileDescriptor

Functions

func RegisterAssetServiceServer

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

Asset

type Asset struct {

	// The full name of the asset. For example:
	// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
	// See [Resource
	// Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
	// for more information.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Type of the asset. Example: "compute.googleapis.com/Disk".
	AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
	// Representation of the resource.
	Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// Representation of the actual Cloud IAM policy set on a cloud resource. For
	// each resource, there must be at most one Cloud IAM policy set on it.
	IamPolicy *v1.Policy `protobuf:"bytes,4,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
	// Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
	// represented as a list of relative resource names. Ancestry path starts with
	// the closest CRM ancestor and ends at root. If the asset is a CRM
	// project/folder/organization, this starts from the asset itself.
	//
	// Example: ["projects/123456789", "folders/5432", "organizations/1234"]
	Ancestors []string `protobuf:"bytes,6,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
	// contains filtered or unexported fields
}

Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.

func (*Asset) Descriptor

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetAncestors

func (x *Asset) GetAncestors() []string

func (*Asset) GetAssetType

func (x *Asset) GetAssetType() string

func (*Asset) GetIamPolicy

func (x *Asset) GetIamPolicy() *v1.Policy

func (*Asset) GetName

func (x *Asset) GetName() string

func (*Asset) GetResource

func (x *Asset) GetResource() *Resource

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

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

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

AssetServiceClient

type AssetServiceClient interface {
	// Creates a feed in a parent project/folder/organization to listen to its
	// asset updates.
	CreateFeed(ctx context.Context, in *CreateFeedRequest, opts ...grpc.CallOption) (*Feed, error)
	// Gets details about an asset feed.
	GetFeed(ctx context.Context, in *GetFeedRequest, opts ...grpc.CallOption) (*Feed, error)
	// Lists all asset feeds in a parent project/folder/organization.
	ListFeeds(ctx context.Context, in *ListFeedsRequest, opts ...grpc.CallOption) (*ListFeedsResponse, error)
	// Updates an asset feed configuration.
	UpdateFeed(ctx context.Context, in *UpdateFeedRequest, opts ...grpc.CallOption) (*Feed, error)
	// Deletes an asset feed.
	DeleteFeed(ctx context.Context, in *DeleteFeedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AssetServiceClient is the client API for AssetService service.

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

func NewAssetServiceClient

func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient

AssetServiceServer

type AssetServiceServer interface {
	// Creates a feed in a parent project/folder/organization to listen to its
	// asset updates.
	CreateFeed(context.Context, *CreateFeedRequest) (*Feed, error)
	// Gets details about an asset feed.
	GetFeed(context.Context, *GetFeedRequest) (*Feed, error)
	// Lists all asset feeds in a parent project/folder/organization.
	ListFeeds(context.Context, *ListFeedsRequest) (*ListFeedsResponse, error)
	// Updates an asset feed configuration.
	UpdateFeed(context.Context, *UpdateFeedRequest) (*Feed, error)
	// Deletes an asset feed.
	DeleteFeed(context.Context, *DeleteFeedRequest) (*emptypb.Empty, error)
}

AssetServiceServer is the server API for AssetService service.

ContentType

type ContentType int32

Asset content type.

ContentType_CONTENT_TYPE_UNSPECIFIED, ContentType_RESOURCE, ContentType_IAM_POLICY

const (
	// Unspecified content type.
	ContentType_CONTENT_TYPE_UNSPECIFIED ContentType = 0
	// Resource metadata.
	ContentType_RESOURCE ContentType = 1
	// The actual IAM policy set on a resource.
	ContentType_IAM_POLICY ContentType = 2
)

func (ContentType) Descriptor

func (ContentType) Enum

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor

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

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type

CreateFeedRequest

type CreateFeedRequest struct {

	// Required. The name of the project/folder/organization where this feed
	// should be created in. It can only be an organization number (such as
	// "organizations/123"), a folder number (such as "folders/123"), a project ID
	// (such as "projects/my-project-id")", or a project number (such as
	// "projects/12345").
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. This is the client-assigned asset feed identifier and it needs to
	// be unique under a specific parent project/folder/organization.
	FeedId string `protobuf:"bytes,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
	// Required. The feed details. The field `name` must be empty and it will be generated
	// in the format of:
	// projects/project_number/feeds/feed_id
	// folders/folder_number/feeds/feed_id
	// organizations/organization_number/feeds/feed_id
	Feed *Feed `protobuf:"bytes,3,opt,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

Create asset feed request.

func (*CreateFeedRequest) Descriptor

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

Deprecated: Use CreateFeedRequest.ProtoReflect.Descriptor instead.

func (*CreateFeedRequest) GetFeed

func (x *CreateFeedRequest) GetFeed() *Feed

func (*CreateFeedRequest) GetFeedId

func (x *CreateFeedRequest) GetFeedId() string

func (*CreateFeedRequest) GetParent

func (x *CreateFeedRequest) GetParent() string

func (*CreateFeedRequest) ProtoMessage

func (*CreateFeedRequest) ProtoMessage()

func (*CreateFeedRequest) ProtoReflect

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

func (*CreateFeedRequest) Reset

func (x *CreateFeedRequest) Reset()

func (*CreateFeedRequest) String

func (x *CreateFeedRequest) String() string

DeleteFeedRequest

type DeleteFeedRequest struct {

	// Required. The name of the feed and it must be in the format of:
	// projects/project_number/feeds/feed_id
	// folders/folder_number/feeds/feed_id
	// organizations/organization_number/feeds/feed_id
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFeedRequest) Descriptor

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

Deprecated: Use DeleteFeedRequest.ProtoReflect.Descriptor instead.

func (*DeleteFeedRequest) GetName

func (x *DeleteFeedRequest) GetName() string

func (*DeleteFeedRequest) ProtoMessage

func (*DeleteFeedRequest) ProtoMessage()

func (*DeleteFeedRequest) ProtoReflect

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

func (*DeleteFeedRequest) Reset

func (x *DeleteFeedRequest) Reset()

func (*DeleteFeedRequest) String

func (x *DeleteFeedRequest) String() string

Feed

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

	AssetNames []string `protobuf:"bytes,2,rep,name=asset_names,json=assetNames,proto3" json:"asset_names,omitempty"`

	AssetTypes []string `protobuf:"bytes,3,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"`

	ContentType ContentType "" /* 141 byte string literal not displayed */

	FeedOutputConfig *FeedOutputConfig `protobuf:"bytes,5,opt,name=feed_output_config,json=feedOutputConfig,proto3" json:"feed_output_config,omitempty"`

}

An asset feed used to export asset updates to a destinations. An asset feed filter controls what updates are exported. The asset feed must be created within a project, organization, or folder. Supported destinations are: Cloud Pub/Sub topics.

func (*Feed) Descriptor

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

Deprecated: Use Feed.ProtoReflect.Descriptor instead.

func (*Feed) GetAssetNames

func (x *Feed) GetAssetNames() []string

func (*Feed) GetAssetTypes

func (x *Feed) GetAssetTypes() []string

func (*Feed) GetContentType

func (x *Feed) GetContentType() ContentType

func (*Feed) GetFeedOutputConfig

func (x *Feed) GetFeedOutputConfig() *FeedOutputConfig

func (*Feed) GetName

func (x *Feed) GetName() string

func (*Feed) ProtoMessage

func (*Feed) ProtoMessage()

func (*Feed) ProtoReflect

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

func (*Feed) Reset

func (x *Feed) Reset()

func (*Feed) String

func (x *Feed) String() string

FeedOutputConfig

type FeedOutputConfig struct {

	// Asset feed destination.
	//
	// Types that are assignable to Destination:
	//
	//	*FeedOutputConfig_PubsubDestination
	Destination isFeedOutputConfig_Destination `protobuf_oneof:"destination"`
	// contains filtered or unexported fields
}

Output configuration for asset feed destination.

func (*FeedOutputConfig) Descriptor

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

Deprecated: Use FeedOutputConfig.ProtoReflect.Descriptor instead.

func (*FeedOutputConfig) GetDestination

func (m *FeedOutputConfig) GetDestination() isFeedOutputConfig_Destination

func (*FeedOutputConfig) GetPubsubDestination

func (x *FeedOutputConfig) GetPubsubDestination() *PubsubDestination

func (*FeedOutputConfig) ProtoMessage

func (*FeedOutputConfig) ProtoMessage()

func (*FeedOutputConfig) ProtoReflect

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

func (*FeedOutputConfig) Reset

func (x *FeedOutputConfig) Reset()

func (*FeedOutputConfig) String

func (x *FeedOutputConfig) String() string

FeedOutputConfig_PubsubDestination

type FeedOutputConfig_PubsubDestination struct {
	// Destination on Cloud Pubsub.
	PubsubDestination *PubsubDestination `protobuf:"bytes,1,opt,name=pubsub_destination,json=pubsubDestination,proto3,oneof"`
}

GcsDestination

type GcsDestination struct {

	// Required.
	//
	// Types that are assignable to ObjectUri:
	//
	//	*GcsDestination_Uri
	ObjectUri isGcsDestination_ObjectUri `protobuf_oneof:"object_uri"`
	// contains filtered or unexported fields
}

A Cloud Storage location.

func (*GcsDestination) Descriptor

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

Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.

func (*GcsDestination) GetObjectUri

func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri

func (*GcsDestination) GetUri

func (x *GcsDestination) GetUri() string

func (*GcsDestination) ProtoMessage

func (*GcsDestination) ProtoMessage()

func (*GcsDestination) ProtoReflect

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

func (*GcsDestination) Reset

func (x *GcsDestination) Reset()

func (*GcsDestination) String

func (x *GcsDestination) String() string

GcsDestination_Uri

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

GetFeedRequest

type GetFeedRequest struct {

	// Required. The name of the Feed and it must be in the format of:
	// projects/project_number/feeds/feed_id
	// folders/folder_number/feeds/feed_id
	// organizations/organization_number/feeds/feed_id
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Get asset feed request.

func (*GetFeedRequest) Descriptor

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

Deprecated: Use GetFeedRequest.ProtoReflect.Descriptor instead.

func (*GetFeedRequest) GetName

func (x *GetFeedRequest) GetName() string

func (*GetFeedRequest) ProtoMessage

func (*GetFeedRequest) ProtoMessage()

func (*GetFeedRequest) ProtoReflect

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

func (*GetFeedRequest) Reset

func (x *GetFeedRequest) Reset()

func (*GetFeedRequest) String

func (x *GetFeedRequest) String() string

ListFeedsRequest

type ListFeedsRequest struct {

	// Required. The parent project/folder/organization whose feeds are to be
	// listed. It can only be using project/folder/organization number (such as
	// "folders/12345")", or a project ID (such as "projects/my-project-id").
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

List asset feeds request.

func (*ListFeedsRequest) Descriptor

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

Deprecated: Use ListFeedsRequest.ProtoReflect.Descriptor instead.

func (*ListFeedsRequest) GetParent

func (x *ListFeedsRequest) GetParent() string

func (*ListFeedsRequest) ProtoMessage

func (*ListFeedsRequest) ProtoMessage()

func (*ListFeedsRequest) ProtoReflect

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

func (*ListFeedsRequest) Reset

func (x *ListFeedsRequest) Reset()

func (*ListFeedsRequest) String

func (x *ListFeedsRequest) String() string

ListFeedsResponse

type ListFeedsResponse struct {

	// A list of feeds.
	Feeds []*Feed `protobuf:"bytes,1,rep,name=feeds,proto3" json:"feeds,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFeedsResponse) Descriptor

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

Deprecated: Use ListFeedsResponse.ProtoReflect.Descriptor instead.

func (*ListFeedsResponse) GetFeeds

func (x *ListFeedsResponse) GetFeeds() []*Feed

func (*ListFeedsResponse) ProtoMessage

func (*ListFeedsResponse) ProtoMessage()

func (*ListFeedsResponse) ProtoReflect

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

func (*ListFeedsResponse) Reset

func (x *ListFeedsResponse) Reset()

func (*ListFeedsResponse) String

func (x *ListFeedsResponse) String() string

OutputConfig

type OutputConfig struct {

	// Asset export destination.
	//
	// Types that are assignable to Destination:
	//
	//	*OutputConfig_GcsDestination
	Destination isOutputConfig_Destination `protobuf_oneof:"destination"`
	// contains filtered or unexported fields
}

Output configuration for export assets destination.

func (*OutputConfig) Descriptor

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

Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead.

func (*OutputConfig) GetDestination

func (m *OutputConfig) GetDestination() isOutputConfig_Destination

func (*OutputConfig) GetGcsDestination

func (x *OutputConfig) GetGcsDestination() *GcsDestination

func (*OutputConfig) ProtoMessage

func (*OutputConfig) ProtoMessage()

func (*OutputConfig) ProtoReflect

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

func (*OutputConfig) Reset

func (x *OutputConfig) Reset()

func (*OutputConfig) String

func (x *OutputConfig) String() string

OutputConfig_GcsDestination

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

PubsubDestination

type PubsubDestination struct {

	// The name of the Cloud Pub/Sub topic to publish to.
	// For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
	Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	// contains filtered or unexported fields
}

A Cloud Pubsub destination.

func (*PubsubDestination) Descriptor

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

Deprecated: Use PubsubDestination.ProtoReflect.Descriptor instead.

func (*PubsubDestination) GetTopic

func (x *PubsubDestination) GetTopic() string

func (*PubsubDestination) ProtoMessage

func (*PubsubDestination) ProtoMessage()

func (*PubsubDestination) ProtoReflect

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

func (*PubsubDestination) Reset

func (x *PubsubDestination) Reset()

func (*PubsubDestination) String

func (x *PubsubDestination) String() string

Resource

type Resource struct {

	// The API version. Example: "v1".
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The URL of the discovery document containing the resource's JSON schema.
	// For example:
	// `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
	// It will be left unspecified for resources without a discovery-based API,
	// such as Cloud Bigtable.
	DiscoveryDocumentUri string `protobuf:"bytes,2,opt,name=discovery_document_uri,json=discoveryDocumentUri,proto3" json:"discovery_document_uri,omitempty"`
	// The JSON schema name listed in the discovery document.
	// Example: "Project". It will be left unspecified for resources (such as
	// Cloud Bigtable) without a discovery-based API.
	DiscoveryName string `protobuf:"bytes,3,opt,name=discovery_name,json=discoveryName,proto3" json:"discovery_name,omitempty"`
	// The REST URL for accessing the resource. An HTTP GET operation using this
	// URL returns the resource itself.
	// Example:
	// `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`.
	// It will be left unspecified for resources without a REST API.
	ResourceUrl string `protobuf:"bytes,4,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
	// The full name of the immediate parent of this resource. See
	// [Resource
	// Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
	// for more information.
	//
	// For GCP assets, it is the parent resource defined in the [Cloud IAM policy
	// hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
	// For example:
	// `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
	//
	// For third-party assets, it is up to the users to define.
	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// The content of the resource, in which some sensitive fields are scrubbed
	// away and may not be present.
	Data *structpb.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Representation of a cloud resource.

func (*Resource) Descriptor

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetData

func (x *Resource) GetData() *structpb.Struct

func (*Resource) GetDiscoveryDocumentUri

func (x *Resource) GetDiscoveryDocumentUri() string

func (*Resource) GetDiscoveryName

func (x *Resource) GetDiscoveryName() string

func (*Resource) GetParent

func (x *Resource) GetParent() string

func (*Resource) GetResourceUrl

func (x *Resource) GetResourceUrl() string

func (*Resource) GetVersion

func (x *Resource) GetVersion() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

TemporalAsset

type TemporalAsset struct {

	// The time window when the asset data and state was observed.
	Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
	// If the asset is deleted or not.
	Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Asset.
	Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	// contains filtered or unexported fields
}

Temporal asset. In addition to the asset, the temporal asset includes the status of the asset and valid from and to time of it.

func (*TemporalAsset) Descriptor

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

Deprecated: Use TemporalAsset.ProtoReflect.Descriptor instead.

func (*TemporalAsset) GetAsset

func (x *TemporalAsset) GetAsset() *Asset

func (*TemporalAsset) GetDeleted

func (x *TemporalAsset) GetDeleted() bool

func (*TemporalAsset) GetWindow

func (x *TemporalAsset) GetWindow() *TimeWindow

func (*TemporalAsset) ProtoMessage

func (*TemporalAsset) ProtoMessage()

func (*TemporalAsset) ProtoReflect

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

func (*TemporalAsset) Reset

func (x *TemporalAsset) Reset()

func (*TemporalAsset) String

func (x *TemporalAsset) String() string

TimeWindow

type TimeWindow struct {

	// Start time of the time window (exclusive).
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// End time of the time window (inclusive).
	// Current timestamp if not specified.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

A time window of (start_time, end_time].

func (*TimeWindow) Descriptor

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

Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.

func (*TimeWindow) GetEndTime

func (x *TimeWindow) GetEndTime() *timestamppb.Timestamp

func (*TimeWindow) GetStartTime

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

func (*TimeWindow) ProtoMessage

func (*TimeWindow) ProtoMessage()

func (*TimeWindow) ProtoReflect

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

func (*TimeWindow) Reset

func (x *TimeWindow) Reset()

func (*TimeWindow) String

func (x *TimeWindow) String() string

UnimplementedAssetServiceServer

type UnimplementedAssetServiceServer struct {
}

UnimplementedAssetServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAssetServiceServer) CreateFeed

func (*UnimplementedAssetServiceServer) DeleteFeed

func (*UnimplementedAssetServiceServer) GetFeed

func (*UnimplementedAssetServiceServer) ListFeeds

func (*UnimplementedAssetServiceServer) UpdateFeed

UpdateFeedRequest

type UpdateFeedRequest struct {

	// Required. The new values of feed details. It must match an existing feed and the
	// field `name` must be in the format of:
	// projects/project_number/feeds/feed_id or
	// folders/folder_number/feeds/feed_id or
	// organizations/organization_number/feeds/feed_id.
	Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"`
	// Required. Only updates the `feed` fields indicated by this mask.
	// The field mask must not be empty, and it must not contain fields that
	// are immutable or only set by the server.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Update asset feed request.

func (*UpdateFeedRequest) Descriptor

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

Deprecated: Use UpdateFeedRequest.ProtoReflect.Descriptor instead.

func (*UpdateFeedRequest) GetFeed

func (x *UpdateFeedRequest) GetFeed() *Feed

func (*UpdateFeedRequest) GetUpdateMask

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

func (*UpdateFeedRequest) ProtoMessage

func (*UpdateFeedRequest) ProtoMessage()

func (*UpdateFeedRequest) ProtoReflect

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

func (*UpdateFeedRequest) Reset

func (x *UpdateFeedRequest) Reset()

func (*UpdateFeedRequest) String

func (x *UpdateFeedRequest) String() string