Package animeshon.crossrefs.v1alpha1
Index
- Referrer
- AnalyzeCrossRefRequest
- AnalyzeCrossRefRequest.AnalyzeCrossRefConfig
- AnalyzeCrossRefRequest.AnalyzeCrossRefConfig.OptsEntry
- AnalyzeCrossRefRequest.AnalyzeCrossRefNamespaceConfig
- AnalyzeCrossRefRequest.AnalyzeCrossRefTargetConfig
- AnalyzeCrossRefRequest.AnalyzeCrossRefTargetConfig.NamespacesEntry
- AnalyzeCrossRefRequest.TargetKindsEntry
- AnalyzeCrossRefsResponse
- AnalyzeParodiesResponse
- BatchCreateCrossRefsRequest
- BatchCreateCrossRefsResponse
- CountCrossRefsRequest
- CountCrossRefsResponse
- CreateCrossRefRequest
- CrossRef
- CrossRefEdge
- CrossRefsFilterRequest
- ExpandUniverseRequest
- ExpandUniverseResponse
- ExportCrossRefRequest
- ExportCrossRefsResponse
- ExportParodiesResponse
- GetCrossRefRequest
- GetUniverseRequest
- GetWormholeRequest
- ImportCrossRefRequest
- ImportCrossRefRequest.OptsEntry
- ImportCrossRefsResponse
- InitializeCrossRefsResponse
- ListCrossRefsRequest
- ListCrossRefsResponse
- ListWormholeCrossRefsRequest
- ListWormholeCrossRefsResponse
- OperationMetadata
- Universe
- UpdateCrossRefRequest
- UpdateCrossRefResponse
- UpdateUniverseRequest
- Wormhole
- Wormhole.Text
Referrer
GetCrossRef |
---|
rpc GetCrossRef(GetCrossRefRequest) CrossRef GetCrossRef returns a crossref. |
ListCrossRefs |
---|
rpc ListCrossRefs(ListCrossRefsRequest) ListCrossRefsResponse |
CreateCrossRef |
---|
rpc CreateCrossRef(CreateCrossRefRequest) CrossRef CreateCrossRef creates a new crossref. |
BatchCreateCrossRefs |
---|
rpc BatchCreateCrossRefs(BatchCreateCrossRefsRequest) BatchCreateCrossRefsResponse BatchCreateCrossRefs creates new crossrefs in batch. The limit is of 10 crossreferences and it's blocking. It ensures that the crossreferences are created in the database but not propagated to the other services |
UpdateCrossRef |
---|
rpc UpdateCrossRef(UpdateCrossRefRequest) UpdateCrossRefResponse |
CountCrossRefs |
---|
rpc CountCrossRefs(CountCrossRefsRequest) CountCrossRefsResponse |
AnalyzeCrossRefs |
---|
rpc AnalyzeCrossRefs(AnalyzeCrossRefRequest) .google.longrunning.Operation Analyzes and proposes new cross-references according to their similarity. |
ImportCrossRefs |
---|
rpc ImportCrossRefs(ImportCrossRefRequest) .google.longrunning.Operation Imports already existing cross-references from third-parties. |
ExportCrossRefs |
---|
rpc ExportCrossRefs(ExportCrossRefRequest) .google.longrunning.Operation Exports the cross-references to Cloud Pub/Sub for a full synchronization. This operation is usually called after a new import with a clean database. |
InitializeCrossRefs |
---|
rpc InitializeCrossRefs(.google.protobuf.Empty) .google.longrunning.Operation Initialize the cross-references using specific namespaces for each kind. This operation first analyzes the entities meeting the kind and namespace precondition to match new entities with existing ones |
AnalyzeParodies |
---|
rpc AnalyzeParodies(.google.protobuf.Empty) .google.longrunning.Operation |
ExportParodies |
---|
rpc ExportParodies(.google.protobuf.Empty) .google.longrunning.Operation |
GetUniverse |
---|
rpc GetUniverse(GetUniverseRequest) Universe |
UpdateUniverse |
---|
rpc UpdateUniverse(UpdateUniverseRequest) Universe |
ExpandUniverse |
---|
rpc ExpandUniverse(ExpandUniverseRequest) ExpandUniverseResponse |
GetWormhole |
---|
rpc GetWormhole(GetWormholeRequest) Wormhole |
ListWormholeCrossRefs |
---|
rpc ListWormholeCrossRefs(ListWormholeCrossRefsRequest) ListWormholeCrossRefsResponse |
AnalyzeCrossRefRequest
Field | Description |
---|---|
config | AnalyzeCrossRefRequest.AnalyzeCrossRefConfig Global configuration |
target_kinds | map AnalyzeCrossRefRequest.TargetKindsEntry Kind configurations |
AnalyzeCrossRefRequest.AnalyzeCrossRefConfig
Field | Description |
---|---|
tollerance | int32 Tollerance of the match in pct |
opts | map AnalyzeCrossRefRequest.AnalyzeCrossRefConfig.OptsEntry Map of all options for the analysis |
AnalyzeCrossRefRequest.AnalyzeCrossRefConfig.OptsEntry
Field | Description |
---|---|
key | string |
value | bool |
AnalyzeCrossRefRequest.AnalyzeCrossRefNamespaceConfig
Field | Description |
---|---|
namespace | string Namespace to analyze |
config | AnalyzeCrossRefRequest.AnalyzeCrossRefConfig Optional Namespace specific configuration |
AnalyzeCrossRefRequest.AnalyzeCrossRefTargetConfig
Field | Description |
---|---|
target_kind | string Kind to analyze |
config | AnalyzeCrossRefRequest.AnalyzeCrossRefConfig Optional Target specific configuration |
namespaces | map AnalyzeCrossRefRequest.AnalyzeCrossRefTargetConfig.NamespacesEntry Namespace configurations |
AnalyzeCrossRefRequest.AnalyzeCrossRefTargetConfig.NamespacesEntry
Field | Description |
---|---|
key | string |
value | AnalyzeCrossRefRequest.AnalyzeCrossRefNamespaceConfig |
AnalyzeCrossRefRequest.TargetKindsEntry
Field | Description |
---|---|
key | string |
value | AnalyzeCrossRefRequest.AnalyzeCrossRefTargetConfig |
AnalyzeCrossRefsResponse
TODO(christian-roggia): this is a workaround to solve the issue of GAPIC CLI where broken code is generated if google.protobuf.Empty is used in the response_type of longrunning operations.
AnalyzeParodiesResponse
BatchCreateCrossRefsRequest
Field | Description |
---|---|
crossrefs | repeated CrossRef |
BatchCreateCrossRefsResponse
Field | Description |
---|---|
crossrefs | repeated CrossRef The list of crossrefs to create. |
CountCrossRefsRequest
Field | Description |
---|---|
filter | CrossRefsFilterRequest A filter to be applied to results. |
CountCrossRefsResponse
Field | Description |
---|---|
count | int32 |
CreateCrossRefRequest
Field | Description |
---|---|
crossref | CrossRef |
CrossRef
Field | Description |
---|---|
name | string The resource name of the crossref. |
root | string root entity which generated the crossreference. |
etag | string version control. |
verified | bool if verified, the crossreference has been generated by a trusty process or verified by an operator |
operator | string last operator which edited the crossreference |
create_time | google.protobuf.Timestamp creation time |
update_time | google.protobuf.Timestamp update time |
edges | repeated CrossRefEdge all edges of the crossreference |
CrossRefEdge
Field | Description |
---|---|
name | string |
state | int32 |
CrossRefsFilterRequest
Field | Description |
---|---|
prefix | string specifies the prefix of the CrossRefs name to search in |
pendingOnly | bool if true only crossreferences with pendings are returned |
ExpandUniverseRequest
Field | Description |
---|---|
name | string The universe to expand. |
depth_limit | int32 The maximum depth to expand. |
filter | string The filter to use. Accepted values are CONTENT and CHARACTER. |
ExpandUniverseResponse
Field | Description |
---|---|
name | string The resource name of the requested universe. |
payload | bytes TODO(christian-roggia): resources should be available through protobuf messages. |
ExportCrossRefRequest
Field | Description |
---|---|
target | ExportCrossRefRequest.Target |
prefix | string Prefix to restrict the crossrefs to export to a specific subset |
ExportCrossRefsResponse
ExportParodiesResponse
GetCrossRefRequest
Field | Description |
---|---|
name | string The resource name of the requested crossref. |
GetUniverseRequest
Field | Description |
---|---|
name | string The resource name of the requested universe. |
GetWormholeRequest
Field | Description |
---|---|
name | string |
ImportCrossRefRequest
Field | Description |
---|---|
opts | map ImportCrossRefRequest.OptsEntry Map of all options for the import |
ImportCrossRefRequest.OptsEntry
Field | Description |
---|---|
key | string |
value | bool |
ImportCrossRefsResponse
InitializeCrossRefsResponse
ListCrossRefsRequest
Field | Description |
---|---|
page_size | int32 The maximum number of users to return. Server may return fewer users than requested. The maximum page_size is 100 If unspecified, server will pick an appropriate default. |
page_token | string The value returned from the previous call. |
filter | CrossRefsFilterRequest A filter to be applied to results. |
ListCrossRefsResponse
Field | Description |
---|---|
crossrefs | repeated CrossRef The list of crossrefs. |
next_page_token | string A token to retrieve next page of results. |
ListWormholeCrossRefsRequest
Field | Description |
---|---|
name | string |
withApproved | bool search wormhole entity in approved edges |
withPending | bool search wormhole entity in pending edges |
withPartial | bool search wormhole entity in partial edges |
withRejected | bool search wormhole entity in rejected edges |
crossRefsExclusion | repeated string list of CrossRefs to exclude |
prefix | string prefix of the CrossRefs name to search |
ListWormholeCrossRefsResponse
Field | Description |
---|---|
crossrefs | repeated CrossRef The list of crossrefs. |
OperationMetadata
Represents the metadata of the long-running operation.
Field | Description |
---|---|
create_time | google.protobuf.Timestamp Output only. The time the operation was created. |
end_time | google.protobuf.Timestamp Output only. The time the operation finished running. |
target | string Output only. Server-defined resource path for the target of the operation. |
verb | string Output only. Name of the verb executed by the operation. |
status_message | string Output only. Human-readable status of the operation, if any. |
requested_cancellation | bool Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to Code.CANCELLED . |
api_version | string Output only. API version used to start the operation. |
step_count | int32 Output only. |
step_progress | int32 Output only. |
item_count | int32 Output only. |
item_progress | int32 Output only. |
Universe
TODO(christian-roggia): move the universe together with all other resources.
Field | Description |
---|---|
name | string The resource name of the universe. |
payload | bytes TODO(christian-roggia): resources should be available through protobuf messages. |
UpdateCrossRefRequest
Field | Description |
---|---|
crossref | CrossRef The crossref to update. |
update_mask | google.protobuf.FieldMask The field mask to determine which fields are to be updated. If empty, the server will assume all fields are to be updated. |
UpdateCrossRefResponse
Field | Description |
---|---|
crossrefs | repeated CrossRef All CrossRef involved in the update |
UpdateUniverseRequest
Field | Description |
---|---|
universe | Universe The universe to update. |
update_mask | google.protobuf.FieldMask The field mask to determine which fields are to be updated. If empty, the server will assume all fields are to be updated. |
Wormhole
Field | Description |
---|---|
name | string |
names | repeated Wormhole.Text The names of te content |
aliases | repeated Wormhole.Text The aliases of te content |
image | bytes raw bytes of image |
image_url | string url of the image |
type | string type of the content |
subtype | string subtype of the content |
external_url | string external url of the content |
publishing_type | string type of publication |
is_parody | bool the content is parody of another content |
identifier | string identifier |
date | google.protobuf.Timestamp most significant date |
parent_name | string parent's resource name useful for chapters and episodes to know which content it refers |
parent_external_url | string prant external url |
Wormhole.Text
Field | Description |
---|---|
text | string |
localization | string |
ExportCrossRefRequest.Target
Determine the target of the export. Full means storage + migration Storage means only persinstent stogare Migration means notify the migrato to perform the data consolidation
Name | Description |
---|---|
FULL | No description. |
STORAGE | No description. |
MIGRATOR | No description. |