...

Package asset

import "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1"
Overview
Index

Overview ▾

Index ▾

Variables
func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer)
type Asset
    func (*Asset) Descriptor() ([]byte, []int)
    func (m *Asset) GetAccessContextPolicy() isAsset_AccessContextPolicy
    func (x *Asset) GetAccessLevel() *v12.AccessLevel
    func (x *Asset) GetAccessPolicy() *v12.AccessPolicy
    func (x *Asset) GetAncestors() []string
    func (x *Asset) GetAssetType() string
    func (x *Asset) GetIamPolicy() *v1.Policy
    func (x *Asset) GetName() string
    func (x *Asset) GetOrgPolicy() []*v11.Policy
    func (x *Asset) GetRelatedAssets() *RelatedAssets
    func (x *Asset) GetResource() *Resource
    func (x *Asset) GetServicePerimeter() *v12.ServicePerimeter
    func (x *Asset) GetUpdateTime() *timestamppb.Timestamp
    func (*Asset) ProtoMessage()
    func (x *Asset) ProtoReflect() protoreflect.Message
    func (x *Asset) Reset()
    func (x *Asset) String() string
type AssetServiceClient
    func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient
type AssetServiceServer
type Asset_AccessLevel
type Asset_AccessPolicy
type Asset_ServicePerimeter
type BigQueryDestination
    func (*BigQueryDestination) Descriptor() ([]byte, []int)
    func (x *BigQueryDestination) GetDataset() string
    func (x *BigQueryDestination) GetForce() bool
    func (x *BigQueryDestination) GetPartitionSpec() *PartitionSpec
    func (x *BigQueryDestination) GetSeparateTablesPerAssetType() bool
    func (x *BigQueryDestination) GetTable() string
    func (*BigQueryDestination) ProtoMessage()
    func (x *BigQueryDestination) ProtoReflect() protoreflect.Message
    func (x *BigQueryDestination) Reset()
    func (x *BigQueryDestination) String() string
type ContentType
    func (ContentType) Descriptor() protoreflect.EnumDescriptor
    func (x ContentType) Enum() *ContentType
    func (ContentType) EnumDescriptor() ([]byte, []int)
    func (x ContentType) Number() protoreflect.EnumNumber
    func (x ContentType) String() string
    func (ContentType) Type() protoreflect.EnumType
type ExportAssetsRequest
    func (*ExportAssetsRequest) Descriptor() ([]byte, []int)
    func (x *ExportAssetsRequest) GetAssetTypes() []string
    func (x *ExportAssetsRequest) GetContentType() ContentType
    func (x *ExportAssetsRequest) GetOutputConfig() *OutputConfig
    func (x *ExportAssetsRequest) GetParent() string
    func (x *ExportAssetsRequest) GetReadTime() *timestamppb.Timestamp
    func (x *ExportAssetsRequest) GetRelationshipTypes() []string
    func (*ExportAssetsRequest) ProtoMessage()
    func (x *ExportAssetsRequest) ProtoReflect() protoreflect.Message
    func (x *ExportAssetsRequest) Reset()
    func (x *ExportAssetsRequest) String() string
type ExportAssetsResponse
    func (*ExportAssetsResponse) Descriptor() ([]byte, []int)
    func (x *ExportAssetsResponse) GetOutputConfig() *OutputConfig
    func (x *ExportAssetsResponse) GetOutputResult() *OutputResult
    func (x *ExportAssetsResponse) GetReadTime() *timestamppb.Timestamp
    func (*ExportAssetsResponse) ProtoMessage()
    func (x *ExportAssetsResponse) ProtoReflect() protoreflect.Message
    func (x *ExportAssetsResponse) Reset()
    func (x *ExportAssetsResponse) String() string
type GcsDestination
    func (*GcsDestination) Descriptor() ([]byte, []int)
    func (m *GcsDestination) GetObjectUri() isGcsDestination_ObjectUri
    func (x *GcsDestination) GetUri() string
    func (x *GcsDestination) GetUriPrefix() string
    func (*GcsDestination) ProtoMessage()
    func (x *GcsDestination) ProtoReflect() protoreflect.Message
    func (x *GcsDestination) Reset()
    func (x *GcsDestination) String() string
type GcsDestination_Uri
type GcsDestination_UriPrefix
type GcsOutputResult
    func (*GcsOutputResult) Descriptor() ([]byte, []int)
    func (x *GcsOutputResult) GetUris() []string
    func (*GcsOutputResult) ProtoMessage()
    func (x *GcsOutputResult) ProtoReflect() protoreflect.Message
    func (x *GcsOutputResult) Reset()
    func (x *GcsOutputResult) String() string
type OutputConfig
    func (*OutputConfig) Descriptor() ([]byte, []int)
    func (x *OutputConfig) GetBigqueryDestination() *BigQueryDestination
    func (m *OutputConfig) GetDestination() isOutputConfig_Destination
    func (x *OutputConfig) GetGcsDestination() *GcsDestination
    func (*OutputConfig) ProtoMessage()
    func (x *OutputConfig) ProtoReflect() protoreflect.Message
    func (x *OutputConfig) Reset()
    func (x *OutputConfig) String() string
type OutputConfig_BigqueryDestination
type OutputConfig_GcsDestination
type OutputResult
    func (*OutputResult) Descriptor() ([]byte, []int)
    func (x *OutputResult) GetGcsResult() *GcsOutputResult
    func (m *OutputResult) GetResult() isOutputResult_Result
    func (*OutputResult) ProtoMessage()
    func (x *OutputResult) ProtoReflect() protoreflect.Message
    func (x *OutputResult) Reset()
    func (x *OutputResult) String() string
type OutputResult_GcsResult
type PartitionSpec
    func (*PartitionSpec) Descriptor() ([]byte, []int)
    func (x *PartitionSpec) GetPartitionKey() PartitionSpec_PartitionKey
    func (*PartitionSpec) ProtoMessage()
    func (x *PartitionSpec) ProtoReflect() protoreflect.Message
    func (x *PartitionSpec) Reset()
    func (x *PartitionSpec) String() string
type PartitionSpec_PartitionKey
    func (PartitionSpec_PartitionKey) Descriptor() protoreflect.EnumDescriptor
    func (x PartitionSpec_PartitionKey) Enum() *PartitionSpec_PartitionKey
    func (PartitionSpec_PartitionKey) EnumDescriptor() ([]byte, []int)
    func (x PartitionSpec_PartitionKey) Number() protoreflect.EnumNumber
    func (x PartitionSpec_PartitionKey) String() string
    func (PartitionSpec_PartitionKey) Type() protoreflect.EnumType
type RelatedAsset
    func (*RelatedAsset) Descriptor() ([]byte, []int)
    func (x *RelatedAsset) GetAncestors() []string
    func (x *RelatedAsset) GetAsset() string
    func (x *RelatedAsset) GetAssetType() string
    func (*RelatedAsset) ProtoMessage()
    func (x *RelatedAsset) ProtoReflect() protoreflect.Message
    func (x *RelatedAsset) Reset()
    func (x *RelatedAsset) String() string
type RelatedAssets
    func (*RelatedAssets) Descriptor() ([]byte, []int)
    func (x *RelatedAssets) GetAssets() []*RelatedAsset
    func (x *RelatedAssets) GetRelationshipAttributes() *RelationshipAttributes
    func (*RelatedAssets) ProtoMessage()
    func (x *RelatedAssets) ProtoReflect() protoreflect.Message
    func (x *RelatedAssets) Reset()
    func (x *RelatedAssets) String() string
type RelationshipAttributes
    func (*RelationshipAttributes) Descriptor() ([]byte, []int)
    func (x *RelationshipAttributes) GetAction() string
    func (x *RelationshipAttributes) GetSourceResourceType() string
    func (x *RelationshipAttributes) GetTargetResourceType() string
    func (x *RelationshipAttributes) GetType() string
    func (*RelationshipAttributes) ProtoMessage()
    func (x *RelationshipAttributes) ProtoReflect() protoreflect.Message
    func (x *RelationshipAttributes) Reset()
    func (x *RelationshipAttributes) String() string
type Resource
    func (*Resource) Descriptor() ([]byte, []int)
    func (x *Resource) GetData() *structpb.Struct
    func (x *Resource) GetDiscoveryDocumentUri() string
    func (x *Resource) GetDiscoveryName() string
    func (x *Resource) GetLocation() string
    func (x *Resource) GetParent() string
    func (x *Resource) GetResourceUrl() string
    func (x *Resource) GetVersion() string
    func (*Resource) ProtoMessage()
    func (x *Resource) ProtoReflect() protoreflect.Message
    func (x *Resource) Reset()
    func (x *Resource) String() string
type UnimplementedAssetServiceServer
    func (*UnimplementedAssetServiceServer) ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error)

Package files

asset_service.pb.go assets.pb.go

Variables

Enum value maps for ContentType.

var (
    ContentType_name = map[int32]string{
        0: "CONTENT_TYPE_UNSPECIFIED",
        1: "RESOURCE",
        2: "IAM_POLICY",
        4: "ORG_POLICY",
        5: "ACCESS_POLICY",
        7: "RELATIONSHIP",
    }
    ContentType_value = map[string]int32{
        "CONTENT_TYPE_UNSPECIFIED": 0,
        "RESOURCE":                 1,
        "IAM_POLICY":               2,
        "ORG_POLICY":               4,
        "ACCESS_POLICY":            5,
        "RELATIONSHIP":             7,
    }
)

Enum value maps for PartitionSpec_PartitionKey.

var (
    PartitionSpec_PartitionKey_name = map[int32]string{
        0: "PARTITION_KEY_UNSPECIFIED",
        1: "READ_TIME",
        2: "REQUEST_TIME",
    }
    PartitionSpec_PartitionKey_value = map[string]int32{
        "PARTITION_KEY_UNSPECIFIED": 0,
        "READ_TIME":                 1,
        "REQUEST_TIME":              2,
    }
)
var File_google_cloud_asset_v1p7beta1_asset_service_proto protoreflect.FileDescriptor
var File_google_cloud_asset_v1p7beta1_assets_proto protoreflect.FileDescriptor

func RegisterAssetServiceServer

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

type Asset

An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.

type Asset struct {

    // The last update timestamp of an asset. update_time is updated when
    // create/update/delete operation is performed.
    UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // The full name of the asset. 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"`
    // The type of the asset. Example: `compute.googleapis.com/Disk`
    //
    // See [Supported asset
    // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
    // for more information.
    AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
    // A representation of the resource.
    Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
    // A representation of the IAM policy set on a Google Cloud resource.
    // There can be a maximum of one IAM policy set on any given resource.
    // In addition, IAM policies inherit their granted access scope from any
    // policies set on parent resources in the resource hierarchy. Therefore, the
    // effectively policy is the union of both the policy set on this resource
    // and each policy set on all of the resource's ancestry resource levels in
    // the hierarchy. See
    // [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance)
    // for more information.
    IamPolicy *v1.Policy `protobuf:"bytes,4,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
    // A representation of an [organization
    // policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
    // There can be more than one organization policy with different constraints
    // set on a given resource.
    OrgPolicy []*v11.Policy `protobuf:"bytes,6,rep,name=org_policy,json=orgPolicy,proto3" json:"org_policy,omitempty"`
    // A representation of an [access
    // policy](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    //
    // Types that are assignable to AccessContextPolicy:
    //
    //	*Asset_AccessPolicy
    //	*Asset_AccessLevel
    //	*Asset_ServicePerimeter
    AccessContextPolicy isAsset_AccessContextPolicy `protobuf_oneof:"access_context_policy"`
    // The related assets of the asset of one relationship type.
    // One asset only represents one type of relationship.
    RelatedAssets *RelatedAssets `protobuf:"bytes,13,opt,name=related_assets,json=relatedAssets,proto3" json:"related_assets,omitempty"`
    // The ancestry path of an asset in Google Cloud [resource
    // hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
    // represented as a list of relative resource names. An ancestry path starts
    // with the closest ancestor in the hierarchy and ends at root. If the asset
    // is a project, folder, or organization, the ancestry path starts from the
    // asset itself.
    //
    // Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
    Ancestors []string `protobuf:"bytes,10,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
    // contains filtered or unexported fields
}

func (*Asset) Descriptor

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetAccessContextPolicy

func (m *Asset) GetAccessContextPolicy() isAsset_AccessContextPolicy

func (*Asset) GetAccessLevel

func (x *Asset) GetAccessLevel() *v12.AccessLevel

func (*Asset) GetAccessPolicy

func (x *Asset) GetAccessPolicy() *v12.AccessPolicy

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) GetOrgPolicy

func (x *Asset) GetOrgPolicy() []*v11.Policy

func (*Asset) GetRelatedAssets

func (x *Asset) GetRelatedAssets() *RelatedAssets

func (*Asset) GetResource

func (x *Asset) GetResource() *Resource

func (*Asset) GetServicePerimeter

func (x *Asset) GetServicePerimeter() *v12.ServicePerimeter

func (*Asset) GetUpdateTime

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

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

type AssetServiceClient

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.

type AssetServiceClient interface {
    // Exports assets with time and resource types to a given Cloud Storage
    // location/BigQuery table. For Cloud Storage location destinations, the
    // output format is newline-delimited JSON. Each line represents a
    // [google.cloud.asset.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.Asset] in
    // the JSON format; for BigQuery table destinations, the output table stores
    // the fields in asset proto as columns. This API implements the
    // [google.longrunning.Operation][google.longrunning.Operation] API , which
    // allows you to keep track of the export. We recommend intervals of at least
    // 2 seconds with exponential retry to poll the export operation result. For
    // regular-size resource parent, the export operation usually finishes within
    // 5 minutes.
    ExportAssets(ctx context.Context, in *ExportAssetsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

func NewAssetServiceClient

func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient

type AssetServiceServer

AssetServiceServer is the server API for AssetService service.

type AssetServiceServer interface {
    // Exports assets with time and resource types to a given Cloud Storage
    // location/BigQuery table. For Cloud Storage location destinations, the
    // output format is newline-delimited JSON. Each line represents a
    // [google.cloud.asset.v1p7beta1.Asset][google.cloud.asset.v1p7beta1.Asset] in
    // the JSON format; for BigQuery table destinations, the output table stores
    // the fields in asset proto as columns. This API implements the
    // [google.longrunning.Operation][google.longrunning.Operation] API , which
    // allows you to keep track of the export. We recommend intervals of at least
    // 2 seconds with exponential retry to poll the export operation result. For
    // regular-size resource parent, the export operation usually finishes within
    // 5 minutes.
    ExportAssets(context.Context, *ExportAssetsRequest) (*longrunning.Operation, error)
}

type Asset_AccessLevel

type Asset_AccessLevel struct {
    // Please also refer to the [access level user
    // guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    AccessLevel *v12.AccessLevel `protobuf:"bytes,8,opt,name=access_level,json=accessLevel,proto3,oneof"`
}

type Asset_AccessPolicy

type Asset_AccessPolicy struct {
    // Please also refer to the [access policy user
    // guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    AccessPolicy *v12.AccessPolicy `protobuf:"bytes,7,opt,name=access_policy,json=accessPolicy,proto3,oneof"`
}

type Asset_ServicePerimeter

type Asset_ServicePerimeter struct {
    // Please also refer to the [service perimeter user
    // guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    ServicePerimeter *v12.ServicePerimeter `protobuf:"bytes,9,opt,name=service_perimeter,json=servicePerimeter,proto3,oneof"`
}

type BigQueryDestination

A BigQuery destination for exporting assets to.

type BigQueryDestination struct {

    // Required. The BigQuery dataset in format
    // "projects/projectId/datasets/datasetId", to which the snapshot result
    // should be exported. If this dataset does not exist, the export call returns
    // an INVALID_ARGUMENT error.
    Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
    // Required. The BigQuery table to which the snapshot result should be
    // written. If this table does not exist, a new table with the given name
    // will be created.
    Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
    // If the destination table already exists and this flag is `TRUE`, the
    // table will be overwritten by the contents of assets snapshot. If the flag
    // is `FALSE` or unset and the destination table already exists, the export
    // call returns an INVALID_ARGUMEMT error.
    Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
    // [partition_spec] determines whether to export to partitioned table(s) and
    // how to partition the data.
    //
    // If [partition_spec] is unset or [partition_spec.partition_key] is unset or
    // `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to
    // non-partitioned table(s). [force] will decide whether to overwrite existing
    // table(s).
    //
    // If [partition_spec] is specified. First, the snapshot results will be
    // written to partitioned table(s) with two additional timestamp columns,
    // readTime and requestTime, one of which will be the partition key. Secondly,
    // in the case when any destination table already exists, it will first try to
    // update existing table's schema as necessary by appending additional
    // columns. Then, if [force] is `TRUE`, the corresponding partition will be
    // overwritten by the snapshot results (data in different partitions will
    // remain intact); if [force] is unset or `FALSE`, it will append the data. An
    // error will be returned if the schema update or data appension fails.
    PartitionSpec *PartitionSpec `protobuf:"bytes,4,opt,name=partition_spec,json=partitionSpec,proto3" json:"partition_spec,omitempty"`
    // If this flag is `TRUE`, the snapshot results will be written to one or
    // multiple tables, each of which contains results of one asset type. The
    // [force] and [partition_spec] fields will apply to each of them.
    //
    // Field [table] will be concatenated with "_" and the asset type names (see
    // https://cloud.google.com/asset-inventory/docs/supported-asset-types for
    // supported asset types) to construct per-asset-type table names, in which
    // all non-alphanumeric characters like "." and "/" will be substituted by
    // "_". Example: if field [table] is "mytable" and snapshot results
    // contain "storage.googleapis.com/Bucket" assets, the corresponding table
    // name will be "mytable_storage_googleapis_com_Bucket". If any of these
    // tables does not exist, a new table with the concatenated name will be
    // created.
    //
    // When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of
    // each table will include RECORD-type columns mapped to the nested fields in
    // the Asset.resource.data field of that asset type (up to the 15 nested level
    // BigQuery supports
    // (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The
    // fields in >15 nested levels will be stored in JSON format string as a child
    // column of its parent RECORD column.
    //
    // If error occurs when exporting to any table, the whole export call will
    // return an error but the export results that already succeed will persist.
    // Example: if exporting to table_type_A succeeds when exporting to
    // table_type_B fails during one export call, the results in table_type_A will
    // persist and there will not be partial results persisting in a table.
    SeparateTablesPerAssetType bool `protobuf:"varint,5,opt,name=separate_tables_per_asset_type,json=separateTablesPerAssetType,proto3" json:"separate_tables_per_asset_type,omitempty"`
    // contains filtered or unexported fields
}

func (*BigQueryDestination) Descriptor

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

Deprecated: Use BigQueryDestination.ProtoReflect.Descriptor instead.

func (*BigQueryDestination) GetDataset

func (x *BigQueryDestination) GetDataset() string

func (*BigQueryDestination) GetForce

func (x *BigQueryDestination) GetForce() bool

func (*BigQueryDestination) GetPartitionSpec

func (x *BigQueryDestination) GetPartitionSpec() *PartitionSpec

func (*BigQueryDestination) GetSeparateTablesPerAssetType

func (x *BigQueryDestination) GetSeparateTablesPerAssetType() bool

func (*BigQueryDestination) GetTable

func (x *BigQueryDestination) GetTable() string

func (*BigQueryDestination) ProtoMessage

func (*BigQueryDestination) ProtoMessage()

func (*BigQueryDestination) ProtoReflect

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

func (*BigQueryDestination) Reset

func (x *BigQueryDestination) Reset()

func (*BigQueryDestination) String

func (x *BigQueryDestination) String() string

type ContentType

Asset content type.

type ContentType int32
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
    // The organization policy set on an asset.
    ContentType_ORG_POLICY ContentType = 4
    // The Access Context Manager policy set on an asset.
    ContentType_ACCESS_POLICY ContentType = 5
    // The related resources.
    ContentType_RELATIONSHIP ContentType = 7
)

func (ContentType) Descriptor

func (ContentType) Descriptor() protoreflect.EnumDescriptor

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

func (ContentType) Type() protoreflect.EnumType

type ExportAssetsRequest

Export asset request.

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"), or 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 the current time and the current time minus 35 days (inclusive).
    // 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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // A list of asset types to take a snapshot for. For example:
    // "compute.googleapis.com/Disk".
    //
    // Regular expressions are also supported. For example:
    //
    // * "compute.googleapis.com.*" snapshots resources whose asset type starts
    // with "compute.googleapis.com".
    // * ".*Instance" snapshots resources whose asset type ends with "Instance".
    // * ".*Instance.*" snapshots resources whose asset type contains "Instance".
    //
    // See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
    // regular expression syntax. If the regular expression does not match any
    // supported asset type, an INVALID_ARGUMENT error will be returned.
    //
    // If specified, only matching assets will be returned, otherwise, it will
    // snapshot all asset types. See [Introduction to Cloud Asset
    // Inventory](https://cloud.google.com/asset-inventory/docs/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.v1p7beta1.ContentType" json:"content_type,omitempty"`
    // Required. Output configuration indicating where the results will be output
    // to.
    OutputConfig *OutputConfig `protobuf:"bytes,5,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
    // A list of relationship types to export, for example:
    // `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
    // content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]'
    // specified relationships, or give errors if any relationship_types'
    // supported types are not in [asset_types]. If not specified, it will
    // snapshot all [asset_types]' supported relationships. An unspecified
    // [asset_types] field means all supported asset_types. See [Introduction to
    // Cloud Asset
    // Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
    // supported asset types and relationship types.
    RelationshipTypes []string `protobuf:"bytes,6,rep,name=relationship_types,json=relationshipTypes,proto3" json:"relationship_types,omitempty"`
    // contains filtered or unexported fields
}

func (*ExportAssetsRequest) Descriptor

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

Deprecated: Use ExportAssetsRequest.ProtoReflect.Descriptor instead.

func (*ExportAssetsRequest) GetAssetTypes

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

func (*ExportAssetsRequest) GetContentType

func (x *ExportAssetsRequest) GetContentType() ContentType

func (*ExportAssetsRequest) GetOutputConfig

func (x *ExportAssetsRequest) GetOutputConfig() *OutputConfig

func (*ExportAssetsRequest) GetParent

func (x *ExportAssetsRequest) GetParent() string

func (*ExportAssetsRequest) GetReadTime

func (x *ExportAssetsRequest) GetReadTime() *timestamppb.Timestamp

func (*ExportAssetsRequest) GetRelationshipTypes

func (x *ExportAssetsRequest) GetRelationshipTypes() []string

func (*ExportAssetsRequest) ProtoMessage

func (*ExportAssetsRequest) ProtoMessage()

func (*ExportAssetsRequest) ProtoReflect

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

func (*ExportAssetsRequest) Reset

func (x *ExportAssetsRequest) Reset()

func (*ExportAssetsRequest) String

func (x *ExportAssetsRequest) String() string

type ExportAssetsResponse

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.

type ExportAssetsResponse struct {

    // Time the snapshot was taken.
    ReadTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
    // Output configuration indicating where the results were output to.
    OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
    // Output result indicating where the assets were exported to. For example, a
    // set of actual Cloud Storage object URIs where the assets are
    // exported to. The URIs can be different from what [output_config] has
    // specified, as the service will split the output object into multiple ones
    // once it exceeds a single Cloud Storage object limit.
    OutputResult *OutputResult `protobuf:"bytes,3,opt,name=output_result,json=outputResult,proto3" json:"output_result,omitempty"`
    // contains filtered or unexported fields
}

func (*ExportAssetsResponse) Descriptor

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

Deprecated: Use ExportAssetsResponse.ProtoReflect.Descriptor instead.

func (*ExportAssetsResponse) GetOutputConfig

func (x *ExportAssetsResponse) GetOutputConfig() *OutputConfig

func (*ExportAssetsResponse) GetOutputResult

func (x *ExportAssetsResponse) GetOutputResult() *OutputResult

func (*ExportAssetsResponse) GetReadTime

func (x *ExportAssetsResponse) GetReadTime() *timestamppb.Timestamp

func (*ExportAssetsResponse) ProtoMessage

func (*ExportAssetsResponse) ProtoMessage()

func (*ExportAssetsResponse) ProtoReflect

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

func (*ExportAssetsResponse) Reset

func (x *ExportAssetsResponse) Reset()

func (*ExportAssetsResponse) String

func (x *ExportAssetsResponse) String() string

type GcsDestination

A Cloud Storage location.

type GcsDestination struct {

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

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) GetUriPrefix

func (x *GcsDestination) GetUriPrefix() 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

type GcsDestination_Uri

type GcsDestination_Uri struct {
    // The URI of the Cloud Storage object. It's the same URI that is used by
    // gsutil. 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"`
}

type GcsDestination_UriPrefix

type GcsDestination_UriPrefix struct {
    // The URI prefix of all generated Cloud Storage objects. Example:
    // "gs://bucket_name/object_name_prefix". Each object URI is in format:
    // "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only
    // contains assets for that type. <shard number> starts from 0. Example:
    // "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
    // the first shard of output objects containing all
    // compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
    // returned if file with the same name "gs://bucket_name/object_name_prefix"
    // already exists.
    UriPrefix string `protobuf:"bytes,2,opt,name=uri_prefix,json=uriPrefix,proto3,oneof"`
}

type GcsOutputResult

A Cloud Storage output result.

type GcsOutputResult struct {

    // List of URIs of the Cloud Storage objects. Example:
    // "gs://bucket_name/object_name".
    Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
    // contains filtered or unexported fields
}

func (*GcsOutputResult) Descriptor

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

Deprecated: Use GcsOutputResult.ProtoReflect.Descriptor instead.

func (*GcsOutputResult) GetUris

func (x *GcsOutputResult) GetUris() []string

func (*GcsOutputResult) ProtoMessage

func (*GcsOutputResult) ProtoMessage()

func (*GcsOutputResult) ProtoReflect

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

func (*GcsOutputResult) Reset

func (x *GcsOutputResult) Reset()

func (*GcsOutputResult) String

func (x *GcsOutputResult) String() string

type OutputConfig

Output configuration for export assets destination.

type OutputConfig struct {

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

func (*OutputConfig) Descriptor

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

Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead.

func (*OutputConfig) GetBigqueryDestination

func (x *OutputConfig) GetBigqueryDestination() *BigQueryDestination

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

type OutputConfig_BigqueryDestination

type OutputConfig_BigqueryDestination struct {
    // Destination on BigQuery. The output table stores the fields in asset
    // proto as columns in BigQuery.
    BigqueryDestination *BigQueryDestination `protobuf:"bytes,2,opt,name=bigquery_destination,json=bigqueryDestination,proto3,oneof"`
}

type OutputConfig_GcsDestination

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

type OutputResult

Output result of export assets.

type OutputResult struct {

    // Asset export result.
    //
    // Types that are assignable to Result:
    //
    //	*OutputResult_GcsResult
    Result isOutputResult_Result `protobuf_oneof:"result"`
    // contains filtered or unexported fields
}

func (*OutputResult) Descriptor

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

Deprecated: Use OutputResult.ProtoReflect.Descriptor instead.

func (*OutputResult) GetGcsResult

func (x *OutputResult) GetGcsResult() *GcsOutputResult

func (*OutputResult) GetResult

func (m *OutputResult) GetResult() isOutputResult_Result

func (*OutputResult) ProtoMessage

func (*OutputResult) ProtoMessage()

func (*OutputResult) ProtoReflect

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

func (*OutputResult) Reset

func (x *OutputResult) Reset()

func (*OutputResult) String

func (x *OutputResult) String() string

type OutputResult_GcsResult

type OutputResult_GcsResult struct {
    // Export result on Cloud Storage.
    GcsResult *GcsOutputResult `protobuf:"bytes,1,opt,name=gcs_result,json=gcsResult,proto3,oneof"`
}

type PartitionSpec

Specifications of BigQuery partitioned table as export destination.

type PartitionSpec struct {

    // The partition key for BigQuery partitioned table.
    PartitionKey PartitionSpec_PartitionKey `protobuf:"varint,1,opt,name=partition_key,json=partitionKey,proto3,enum=google.cloud.asset.v1p7beta1.PartitionSpec_PartitionKey" json:"partition_key,omitempty"`
    // contains filtered or unexported fields
}

func (*PartitionSpec) Descriptor

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

Deprecated: Use PartitionSpec.ProtoReflect.Descriptor instead.

func (*PartitionSpec) GetPartitionKey

func (x *PartitionSpec) GetPartitionKey() PartitionSpec_PartitionKey

func (*PartitionSpec) ProtoMessage

func (*PartitionSpec) ProtoMessage()

func (*PartitionSpec) ProtoReflect

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

func (*PartitionSpec) Reset

func (x *PartitionSpec) Reset()

func (*PartitionSpec) String

func (x *PartitionSpec) String() string

type PartitionSpec_PartitionKey

This enum is used to determine the partition key column when exporting assets to BigQuery partitioned table(s). Note that, if the partition key is a timestamp column, the actual partition is based on its date value (expressed in UTC. see details in https://cloud.google.com/bigquery/docs/partitioned-tables#date_timestamp_partitioned_tables).

type PartitionSpec_PartitionKey int32
const (
    // Unspecified partition key. If used, it means using non-partitioned table.
    PartitionSpec_PARTITION_KEY_UNSPECIFIED PartitionSpec_PartitionKey = 0
    // The time when the snapshot is taken. If specified as partition key, the
    // result table(s) is partitoned by the additional timestamp column,
    // readTime. If [read_time] in ExportAssetsRequest is specified, the
    // readTime column's value will be the same as it. Otherwise, its value will
    // be the current time that is used to take the snapshot.
    PartitionSpec_READ_TIME PartitionSpec_PartitionKey = 1
    // The time when the request is received and started to be processed. If
    // specified as partition key, the result table(s) is partitoned by the
    // requestTime column, an additional timestamp column representing when the
    // request was received.
    PartitionSpec_REQUEST_TIME PartitionSpec_PartitionKey = 2
)

func (PartitionSpec_PartitionKey) Descriptor

func (PartitionSpec_PartitionKey) Descriptor() protoreflect.EnumDescriptor

func (PartitionSpec_PartitionKey) Enum

func (x PartitionSpec_PartitionKey) Enum() *PartitionSpec_PartitionKey

func (PartitionSpec_PartitionKey) EnumDescriptor

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

Deprecated: Use PartitionSpec_PartitionKey.Descriptor instead.

func (PartitionSpec_PartitionKey) Number

func (x PartitionSpec_PartitionKey) Number() protoreflect.EnumNumber

func (PartitionSpec_PartitionKey) String

func (x PartitionSpec_PartitionKey) String() string

func (PartitionSpec_PartitionKey) Type

func (PartitionSpec_PartitionKey) Type() protoreflect.EnumType

type RelatedAsset

An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.

type RelatedAsset struct {

    // The full name of the asset. 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.
    Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
    // The type of the asset. Example: `compute.googleapis.com/Disk`
    //
    // See [Supported asset
    // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
    // for more information.
    AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
    // The ancestors of an asset in Google Cloud [resource
    // hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
    // represented as a list of relative resource names. An ancestry path starts
    // with the closest ancestor in the hierarchy and ends at root.
    //
    // Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
    Ancestors []string `protobuf:"bytes,3,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
    // contains filtered or unexported fields
}

func (*RelatedAsset) Descriptor

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

Deprecated: Use RelatedAsset.ProtoReflect.Descriptor instead.

func (*RelatedAsset) GetAncestors

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

func (*RelatedAsset) GetAsset

func (x *RelatedAsset) GetAsset() string

func (*RelatedAsset) GetAssetType

func (x *RelatedAsset) GetAssetType() string

func (*RelatedAsset) ProtoMessage

func (*RelatedAsset) ProtoMessage()

func (*RelatedAsset) ProtoReflect

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

func (*RelatedAsset) Reset

func (x *RelatedAsset) Reset()

func (*RelatedAsset) String

func (x *RelatedAsset) String() string

type RelatedAssets

The detailed related assets with the `relationship_type`.

type RelatedAssets struct {

    // The detailed relation attributes.
    RelationshipAttributes *RelationshipAttributes `protobuf:"bytes,1,opt,name=relationship_attributes,json=relationshipAttributes,proto3" json:"relationship_attributes,omitempty"`
    // The peer resources of the relationship.
    Assets []*RelatedAsset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
    // contains filtered or unexported fields
}

func (*RelatedAssets) Descriptor

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

Deprecated: Use RelatedAssets.ProtoReflect.Descriptor instead.

func (*RelatedAssets) GetAssets

func (x *RelatedAssets) GetAssets() []*RelatedAsset

func (*RelatedAssets) GetRelationshipAttributes

func (x *RelatedAssets) GetRelationshipAttributes() *RelationshipAttributes

func (*RelatedAssets) ProtoMessage

func (*RelatedAssets) ProtoMessage()

func (*RelatedAssets) ProtoReflect

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

func (*RelatedAssets) Reset

func (x *RelatedAssets) Reset()

func (*RelatedAssets) String

func (x *RelatedAssets) String() string

type RelationshipAttributes

The relationship attributes which include `type`, `source_resource_type`, `target_resource_type` and `action`.

type RelationshipAttributes struct {

    // The unique identifier of the relationship type. Example:
    // `INSTANCE_TO_INSTANCEGROUP`
    Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
    // The source asset type. Example: `compute.googleapis.com/Instance`
    SourceResourceType string `protobuf:"bytes,1,opt,name=source_resource_type,json=sourceResourceType,proto3" json:"source_resource_type,omitempty"`
    // The target asset type. Example: `compute.googleapis.com/Disk`
    TargetResourceType string `protobuf:"bytes,2,opt,name=target_resource_type,json=targetResourceType,proto3" json:"target_resource_type,omitempty"`
    // The detail of the relationship, e.g. `contains`, `attaches`
    Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
    // contains filtered or unexported fields
}

func (*RelationshipAttributes) Descriptor

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

Deprecated: Use RelationshipAttributes.ProtoReflect.Descriptor instead.

func (*RelationshipAttributes) GetAction

func (x *RelationshipAttributes) GetAction() string

func (*RelationshipAttributes) GetSourceResourceType

func (x *RelationshipAttributes) GetSourceResourceType() string

func (*RelationshipAttributes) GetTargetResourceType

func (x *RelationshipAttributes) GetTargetResourceType() string

func (*RelationshipAttributes) GetType

func (x *RelationshipAttributes) GetType() string

func (*RelationshipAttributes) ProtoMessage

func (*RelationshipAttributes) ProtoMessage()

func (*RelationshipAttributes) ProtoReflect

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

func (*RelationshipAttributes) Reset

func (x *RelationshipAttributes) Reset()

func (*RelationshipAttributes) String

func (x *RelationshipAttributes) String() string

type Resource

A representation of a Google Cloud 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.
    // Example:
    // `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
    //
    // This value is unspecified for resources that do not have an API based on a
    // discovery document, 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`
    //
    // This value is unspecified for resources that do not have an API based on a
    // discovery document, such as Cloud Bigtable.
    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` request using this
    // URL returns the resource itself. Example:
    // `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
    //
    // This value is 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 Google Cloud assets, this value is the parent resource defined in the
    // [IAM policy
    // hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
    // Example:
    // `//cloudresourcemanager.googleapis.com/projects/my_project_123`
    //
    // For third-party assets, this field may be set differently.
    Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
    // The content of the resource, in which some sensitive fields are removed
    // and may not be present.
    Data *structpb.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
    // The location of the resource in Google Cloud, such as its zone and region.
    // For more information, see https://cloud.google.com/about/locations/.
    Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
    // contains filtered or unexported fields
}

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) GetLocation

func (x *Resource) GetLocation() 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

type UnimplementedAssetServiceServer

UnimplementedAssetServiceServer can be embedded to have forward compatible implementations.

type UnimplementedAssetServiceServer struct {
}

func (*UnimplementedAssetServiceServer) ExportAssets

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