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

package asset

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

Index

Package Files

asset_service.pb.go assets.pb.go

Variables

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

func RegisterAssetServiceServer Uses

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

type Asset Uses

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: "google.compute.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"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

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

func (*Asset) Descriptor Uses

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

func (*Asset) GetAssetType Uses

func (m *Asset) GetAssetType() string

func (*Asset) GetIamPolicy Uses

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

func (*Asset) GetName Uses

func (m *Asset) GetName() string

func (*Asset) GetResource Uses

func (m *Asset) GetResource() *Resource

func (*Asset) ProtoMessage Uses

func (*Asset) ProtoMessage()

func (*Asset) Reset Uses

func (m *Asset) Reset()

func (*Asset) String Uses

func (m *Asset) String() string

func (*Asset) XXX_DiscardUnknown Uses

func (m *Asset) XXX_DiscardUnknown()

func (*Asset) XXX_Marshal Uses

func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Asset) XXX_Merge Uses

func (m *Asset) XXX_Merge(src proto.Message)

func (*Asset) XXX_Size Uses

func (m *Asset) XXX_Size() int

func (*Asset) XXX_Unmarshal Uses

func (m *Asset) XXX_Unmarshal(b []byte) error

type AssetServiceClient Uses

type AssetServiceClient interface {
    // Exports assets with time and resource types to a given Cloud Storage
    // location. The output format is newline-delimited JSON.
    // This API implements the
    // [google.longrunning.Operation][google.longrunning.Operation] API allowing
    // you to keep track of the export.
    ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Batch gets the update history of assets that overlap a time window.
    // For RESOURCE content, this API outputs history with asset in both
    // non-delete or deleted status.
    // For IAM_POLICY content, this API outputs history when the asset and its
    // attached IAM POLICY both exist. This can create gaps in the output history.
    BatchGetAssetsHistory(ctx context.Context, in *BatchGetAssetsHistoryRequest, opts ...grpc.CallOption) (*BatchGetAssetsHistoryResponse, error)
}

AssetServiceClient is the client API for AssetService service.

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

func NewAssetServiceClient Uses

func NewAssetServiceClient(cc *grpc.ClientConn) AssetServiceClient

type AssetServiceServer Uses

type AssetServiceServer interface {
    // Exports assets with time and resource types to a given Cloud Storage
    // location. The output format is newline-delimited JSON.
    // This API implements the
    // [google.longrunning.Operation][google.longrunning.Operation] API allowing
    // you to keep track of the export.
    ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error)
    // Batch gets the update history of assets that overlap a time window.
    // For RESOURCE content, this API outputs history with asset in both
    // non-delete or deleted status.
    // For IAM_POLICY content, this API outputs history when the asset and its
    // attached IAM POLICY both exist. This can create gaps in the output history.
    BatchGetAssetsHistory(context.Context, *BatchGetAssetsHistoryRequest) (*BatchGetAssetsHistoryResponse, error)
}

AssetServiceServer is the server API for AssetService service.

type BatchGetAssetsHistoryRequest Uses

type BatchGetAssetsHistoryRequest struct {
    // Required. The relative name of the root asset. It can only be an
    // organization number (such as "organizations/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"`
    // A list of the full names of the assets. 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 info.
    //
    // The request becomes a no-op if the asset name list is empty, and the max
    // size of the asset name list is 100 in one request.
    AssetNames []string `protobuf:"bytes,2,rep,name=asset_names,json=assetNames,proto3" json:"asset_names,omitempty"`
    // Required. The content type.
    ContentType ContentType `protobuf:"varint,3,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1beta1.ContentType" json:"content_type,omitempty"`
    // Optional. The time window for the asset history. Both start_time and
    // end_time are optional and if set, it must be after 2018-10-02 UTC. If
    // end_time is not set, it is default to current timestamp. If start_time is
    // not set, the snapshot of the assets at end_time will be returned. The
    // returned results contain all temporal assets whose time window overlap with
    // read_time_window.
    ReadTimeWindow       *TimeWindow `protobuf:"bytes,4,opt,name=read_time_window,json=readTimeWindow,proto3" json:"read_time_window,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

Batch get assets history request.

func (*BatchGetAssetsHistoryRequest) Descriptor Uses

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

func (*BatchGetAssetsHistoryRequest) GetAssetNames Uses

func (m *BatchGetAssetsHistoryRequest) GetAssetNames() []string

func (*BatchGetAssetsHistoryRequest) GetContentType Uses

func (m *BatchGetAssetsHistoryRequest) GetContentType() ContentType

func (*BatchGetAssetsHistoryRequest) GetParent Uses

func (m *BatchGetAssetsHistoryRequest) GetParent() string

func (*BatchGetAssetsHistoryRequest) GetReadTimeWindow Uses

func (m *BatchGetAssetsHistoryRequest) GetReadTimeWindow() *TimeWindow

func (*BatchGetAssetsHistoryRequest) ProtoMessage Uses

func (*BatchGetAssetsHistoryRequest) ProtoMessage()

func (*BatchGetAssetsHistoryRequest) Reset Uses

func (m *BatchGetAssetsHistoryRequest) Reset()

func (*BatchGetAssetsHistoryRequest) String Uses

func (m *BatchGetAssetsHistoryRequest) String() string

func (*BatchGetAssetsHistoryRequest) XXX_DiscardUnknown Uses

func (m *BatchGetAssetsHistoryRequest) XXX_DiscardUnknown()

func (*BatchGetAssetsHistoryRequest) XXX_Marshal Uses

func (m *BatchGetAssetsHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchGetAssetsHistoryRequest) XXX_Merge Uses

func (m *BatchGetAssetsHistoryRequest) XXX_Merge(src proto.Message)

func (*BatchGetAssetsHistoryRequest) XXX_Size Uses

func (m *BatchGetAssetsHistoryRequest) XXX_Size() int

func (*BatchGetAssetsHistoryRequest) XXX_Unmarshal Uses

func (m *BatchGetAssetsHistoryRequest) XXX_Unmarshal(b []byte) error

type BatchGetAssetsHistoryResponse Uses

type BatchGetAssetsHistoryResponse struct {
    // A list of assets with valid time windows.
    Assets               []*TemporalAsset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

Batch get assets history response.

func (*BatchGetAssetsHistoryResponse) Descriptor Uses

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

func (*BatchGetAssetsHistoryResponse) GetAssets Uses

func (m *BatchGetAssetsHistoryResponse) GetAssets() []*TemporalAsset

func (*BatchGetAssetsHistoryResponse) ProtoMessage Uses

func (*BatchGetAssetsHistoryResponse) ProtoMessage()

func (*BatchGetAssetsHistoryResponse) Reset Uses

func (m *BatchGetAssetsHistoryResponse) Reset()

func (*BatchGetAssetsHistoryResponse) String Uses

func (m *BatchGetAssetsHistoryResponse) String() string

func (*BatchGetAssetsHistoryResponse) XXX_DiscardUnknown Uses

func (m *BatchGetAssetsHistoryResponse) XXX_DiscardUnknown()

func (*BatchGetAssetsHistoryResponse) XXX_Marshal Uses

func (m *BatchGetAssetsHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchGetAssetsHistoryResponse) XXX_Merge Uses

func (m *BatchGetAssetsHistoryResponse) XXX_Merge(src proto.Message)

func (*BatchGetAssetsHistoryResponse) XXX_Size Uses

func (m *BatchGetAssetsHistoryResponse) XXX_Size() int

func (*BatchGetAssetsHistoryResponse) XXX_Unmarshal Uses

func (m *BatchGetAssetsHistoryResponse) XXX_Unmarshal(b []byte) error

type ContentType Uses

type ContentType int32

Asset content type.

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) EnumDescriptor Uses

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

func (ContentType) String Uses

func (x ContentType) String() string

type ExportAssetsRequest Uses

type ExportAssetsRequest struct {
    // Required. The relative name of the root asset. This can only be an
    // organization number (such as "organizations/123"), a project ID (such as
    // "projects/my-project-id"), a project number (such as "projects/12345"), or
    // a folder number (such as "folders/123").
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Timestamp to take an asset snapshot. This can only be set to a timestamp
    // between 2018-10-02 UTC (inclusive) and the current time. If not specified,
    // the current time will be used. Due to delays in resource data collection
    // and indexing, there is a volatile window during which running the same
    // query may get different results.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // A list of asset types of which to take a snapshot for. For example:
    // "google.compute.Disk". If specified, only matching assets will be returned.
    // See [Introduction to Cloud Asset
    // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
    // for all supported asset types.
    AssetTypes []string `protobuf:"bytes,3,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"`
    // Asset content type. If not specified, no content but the asset name will be
    // returned.
    ContentType ContentType `protobuf:"varint,4,opt,name=content_type,json=contentType,proto3,enum=google.cloud.asset.v1beta1.ContentType" json:"content_type,omitempty"`
    // Required. Output configuration indicating where the results will be output
    // to. All results will be in newline delimited JSON format.
    OutputConfig         *OutputConfig `protobuf:"bytes,5,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

Export asset request.

func (*ExportAssetsRequest) Descriptor Uses

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

func (*ExportAssetsRequest) GetAssetTypes Uses

func (m *ExportAssetsRequest) GetAssetTypes() []string

func (*ExportAssetsRequest) GetContentType Uses

func (m *ExportAssetsRequest) GetContentType() ContentType

func (*ExportAssetsRequest) GetOutputConfig Uses

func (m *ExportAssetsRequest) GetOutputConfig() *OutputConfig

func (*ExportAssetsRequest) GetParent Uses

func (m *ExportAssetsRequest) GetParent() string

func (*ExportAssetsRequest) GetReadTime Uses

func (m *ExportAssetsRequest) GetReadTime() *timestamp.Timestamp

func (*ExportAssetsRequest) ProtoMessage Uses

func (*ExportAssetsRequest) ProtoMessage()

func (*ExportAssetsRequest) Reset Uses

func (m *ExportAssetsRequest) Reset()

func (*ExportAssetsRequest) String Uses

func (m *ExportAssetsRequest) String() string

func (*ExportAssetsRequest) XXX_DiscardUnknown Uses

func (m *ExportAssetsRequest) XXX_DiscardUnknown()

func (*ExportAssetsRequest) XXX_Marshal Uses

func (m *ExportAssetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportAssetsRequest) XXX_Merge Uses

func (m *ExportAssetsRequest) XXX_Merge(src proto.Message)

func (*ExportAssetsRequest) XXX_Size Uses

func (m *ExportAssetsRequest) XXX_Size() int

func (*ExportAssetsRequest) XXX_Unmarshal Uses

func (m *ExportAssetsRequest) XXX_Unmarshal(b []byte) error

type ExportAssetsResponse Uses

type ExportAssetsResponse struct {
    // Time the snapshot was taken.
    ReadTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // Output configuration indicating where the results were output to.
    // All results are in JSON format.
    OutputConfig         *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

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

func (*ExportAssetsResponse) Descriptor Uses

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

func (*ExportAssetsResponse) GetOutputConfig Uses

func (m *ExportAssetsResponse) GetOutputConfig() *OutputConfig

func (*ExportAssetsResponse) GetReadTime Uses

func (m *ExportAssetsResponse) GetReadTime() *timestamp.Timestamp

func (*ExportAssetsResponse) ProtoMessage Uses

func (*ExportAssetsResponse) ProtoMessage()

func (*ExportAssetsResponse) Reset Uses

func (m *ExportAssetsResponse) Reset()

func (*ExportAssetsResponse) String Uses

func (m *ExportAssetsResponse) String() string

func (*ExportAssetsResponse) XXX_DiscardUnknown Uses

func (m *ExportAssetsResponse) XXX_DiscardUnknown()

func (*ExportAssetsResponse) XXX_Marshal Uses

func (m *ExportAssetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportAssetsResponse) XXX_Merge Uses

func (m *ExportAssetsResponse) XXX_Merge(src proto.Message)

func (*ExportAssetsResponse) XXX_Size Uses

func (m *ExportAssetsResponse) XXX_Size() int

func (*ExportAssetsResponse) XXX_Unmarshal Uses

func (m *ExportAssetsResponse) XXX_Unmarshal(b []byte) error

type GcsDestination Uses

type GcsDestination struct {
    // Required.
    //
    // Types that are valid to be assigned to ObjectUri:
    //	*GcsDestination_Uri
    ObjectUri            isGcsDestination_ObjectUri `protobuf_oneof:"object_uri"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

A Cloud Storage location.

func (*GcsDestination) Descriptor Uses

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

func (*GcsDestination) GetObjectUri Uses

func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri

func (*GcsDestination) GetUri Uses

func (m *GcsDestination) GetUri() string

func (*GcsDestination) ProtoMessage Uses

func (*GcsDestination) ProtoMessage()

func (*GcsDestination) Reset Uses

func (m *GcsDestination) Reset()

func (*GcsDestination) String Uses

func (m *GcsDestination) String() string

func (*GcsDestination) XXX_DiscardUnknown Uses

func (m *GcsDestination) XXX_DiscardUnknown()

func (*GcsDestination) XXX_Marshal Uses

func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GcsDestination) XXX_Merge Uses

func (m *GcsDestination) XXX_Merge(src proto.Message)

func (*GcsDestination) XXX_OneofWrappers Uses

func (*GcsDestination) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GcsDestination) XXX_Size Uses

func (m *GcsDestination) XXX_Size() int

func (*GcsDestination) XXX_Unmarshal Uses

func (m *GcsDestination) XXX_Unmarshal(b []byte) error

type GcsDestination_Uri Uses

type GcsDestination_Uri struct {
    Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"`
}

type OutputConfig Uses

type OutputConfig struct {
    // Asset export destination.
    //
    // Types that are valid to be assigned to Destination:
    //	*OutputConfig_GcsDestination
    Destination          isOutputConfig_Destination `protobuf_oneof:"destination"`
    XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
    XXX_unrecognized     []byte                     `json:"-"`
    XXX_sizecache        int32                      `json:"-"`
}

Output configuration for export assets destination.

func (*OutputConfig) Descriptor Uses

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

func (*OutputConfig) GetDestination Uses

func (m *OutputConfig) GetDestination() isOutputConfig_Destination

func (*OutputConfig) GetGcsDestination Uses

func (m *OutputConfig) GetGcsDestination() *GcsDestination

func (*OutputConfig) ProtoMessage Uses

func (*OutputConfig) ProtoMessage()

func (*OutputConfig) Reset Uses

func (m *OutputConfig) Reset()

func (*OutputConfig) String Uses

func (m *OutputConfig) String() string

func (*OutputConfig) XXX_DiscardUnknown Uses

func (m *OutputConfig) XXX_DiscardUnknown()

func (*OutputConfig) XXX_Marshal Uses

func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputConfig) XXX_Merge Uses

func (m *OutputConfig) XXX_Merge(src proto.Message)

func (*OutputConfig) XXX_OneofWrappers Uses

func (*OutputConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OutputConfig) XXX_Size Uses

func (m *OutputConfig) XXX_Size() int

func (*OutputConfig) XXX_Unmarshal Uses

func (m *OutputConfig) XXX_Unmarshal(b []byte) error

type OutputConfig_GcsDestination Uses

type OutputConfig_GcsDestination struct {
    GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
}

type Resource Uses

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                 *_struct.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

Representation of a cloud resource.

func (*Resource) Descriptor Uses

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

func (*Resource) GetData Uses

func (m *Resource) GetData() *_struct.Struct

func (*Resource) GetDiscoveryDocumentUri Uses

func (m *Resource) GetDiscoveryDocumentUri() string

func (*Resource) GetDiscoveryName Uses

func (m *Resource) GetDiscoveryName() string

func (*Resource) GetParent Uses

func (m *Resource) GetParent() string

func (*Resource) GetResourceUrl Uses

func (m *Resource) GetResourceUrl() string

func (*Resource) GetVersion Uses

func (m *Resource) GetVersion() string

func (*Resource) ProtoMessage Uses

func (*Resource) ProtoMessage()

func (*Resource) Reset Uses

func (m *Resource) Reset()

func (*Resource) String Uses

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown Uses

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal Uses

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge Uses

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size Uses

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal Uses

func (m *Resource) XXX_Unmarshal(b []byte) error

type TemporalAsset Uses

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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 Uses

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

func (*TemporalAsset) GetAsset Uses

func (m *TemporalAsset) GetAsset() *Asset

func (*TemporalAsset) GetDeleted Uses

func (m *TemporalAsset) GetDeleted() bool

func (*TemporalAsset) GetWindow Uses

func (m *TemporalAsset) GetWindow() *TimeWindow

func (*TemporalAsset) ProtoMessage Uses

func (*TemporalAsset) ProtoMessage()

func (*TemporalAsset) Reset Uses

func (m *TemporalAsset) Reset()

func (*TemporalAsset) String Uses

func (m *TemporalAsset) String() string

func (*TemporalAsset) XXX_DiscardUnknown Uses

func (m *TemporalAsset) XXX_DiscardUnknown()

func (*TemporalAsset) XXX_Marshal Uses

func (m *TemporalAsset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TemporalAsset) XXX_Merge Uses

func (m *TemporalAsset) XXX_Merge(src proto.Message)

func (*TemporalAsset) XXX_Size Uses

func (m *TemporalAsset) XXX_Size() int

func (*TemporalAsset) XXX_Unmarshal Uses

func (m *TemporalAsset) XXX_Unmarshal(b []byte) error

type TimeWindow Uses

type TimeWindow struct {
    // Start time of the time window (exclusive).
    StartTime *timestamp.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              *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

A time window of (start_time, end_time].

func (*TimeWindow) Descriptor Uses

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

func (*TimeWindow) GetEndTime Uses

func (m *TimeWindow) GetEndTime() *timestamp.Timestamp

func (*TimeWindow) GetStartTime Uses

func (m *TimeWindow) GetStartTime() *timestamp.Timestamp

func (*TimeWindow) ProtoMessage Uses

func (*TimeWindow) ProtoMessage()

func (*TimeWindow) Reset Uses

func (m *TimeWindow) Reset()

func (*TimeWindow) String Uses

func (m *TimeWindow) String() string

func (*TimeWindow) XXX_DiscardUnknown Uses

func (m *TimeWindow) XXX_DiscardUnknown()

func (*TimeWindow) XXX_Marshal Uses

func (m *TimeWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeWindow) XXX_Merge Uses

func (m *TimeWindow) XXX_Merge(src proto.Message)

func (*TimeWindow) XXX_Size Uses

func (m *TimeWindow) XXX_Size() int

func (*TimeWindow) XXX_Unmarshal Uses

func (m *TimeWindow) XXX_Unmarshal(b []byte) error

type UnimplementedAssetServiceServer Uses

type UnimplementedAssetServiceServer struct {
}

UnimplementedAssetServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAssetServiceServer) BatchGetAssetsHistory Uses

func (*UnimplementedAssetServiceServer) BatchGetAssetsHistory(ctx context.Context, req *BatchGetAssetsHistoryRequest) (*BatchGetAssetsHistoryResponse, error)

func (*UnimplementedAssetServiceServer) ExportAssets Uses

func (*UnimplementedAssetServiceServer) ExportAssets(ctx context.Context, req *ExportAssetsRequest) (*longrunning.Operation, error)

Package asset imports 13 packages (graph) and is imported by 2 packages. Updated 2019-10-10. Refresh now. Tools for package owners.