{"type":"api","title":"Gets a list of jobs","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/40d706fd-9f3a-3ab1-a34b-943159096796","info":{"title":"Crosswork Crosscluster Service APIs","description":"Cross cluster provides API methods for handling geo synchronization, leadership operations, and multi-cluster showtech collection on Crosswork.","version":"3.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/CROSSCLUSTER/crosscluster-overview.md"}},"swagger":"2.0","basePath":"/crosswork/crosscluster/v1","schemes":["http","https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Security definitions details."}}},"spec":{"summary":"Gets a list of jobs","description":"Gets a list of jobs that have been submitted for Crosscluster service","operationId":"CrossClusterManager_GetCrossClusterServiceJobs","responses":{"200":{"description":"A successful response.","schema":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","properties":{"job_id":{"type":"string","title":"job_id"},"job_user":{"type":"string","title":"User who created the job"},"start_time":{"type":"string","format":"int64","title":"start time in epoch milliseconds"},"completion_time":{"type":"string","format":"int64","title":"end time in epoch milliseconds"},"progress":{"type":"number","format":"float","title":"progress"},"job_status":{"title":"Job Status","type":"string","enum":["JOB_UNKNOWN","JOB_CREATED","JOB_IN_PROGRESS","JOB_COMPLETED","JOB_FAILED"],"default":"JOB_UNKNOWN","$$ref":"#/definitions/common_geo_platformJobStatus"},"job_context":{"title":"Job context","type":"object","properties":{"empty":{"properties":{},"description":"No applicable job context."},"sync_job_context":{"description":"Context to be used for on-demand and periodic sync jobs.","type":"object","properties":{"source":{"description":"Source cluster.","type":"object","properties":{"id":{"type":"string","description":"Cluster id is required if component is CROSSWORK_CLUSTER, otherwise it can be left empty."},"name":{"type":"string","description":"CrossCluster component name.\nNOTE: not supported in showtech requests and should be left empty."},"component_type":{"title":"Component for log collection","type":"string","enum":["UNKNOWN_COMPONENT","CROSSWORK_CLUSTER","ARBITER"],"default":"UNKNOWN_COMPONENT","description":"- CROSSWORK_CLUSTER: Crosswork cluster\n - ARBITER: Arbiter node","$$ref":"#/definitions/common_geo_platformComponentType"}},"title":"Crosscluster component","$$ref":"#/definitions/common_geo_platformCrossClusterComponent"},"target":{"description":"Target cluster.","type":"object","properties":{"id":{"type":"string","description":"Cluster id is required if component is CROSSWORK_CLUSTER, otherwise it can be left empty."},"name":{"type":"string","description":"CrossCluster component name.\nNOTE: not supported in showtech requests and should be left empty."},"component_type":{"title":"Component for log collection","type":"string","enum":["UNKNOWN_COMPONENT","CROSSWORK_CLUSTER","ARBITER"],"default":"UNKNOWN_COMPONENT","description":"- CROSSWORK_CLUSTER: Crosswork cluster\n - ARBITER: Arbiter node","$$ref":"#/definitions/common_geo_platformComponentType"}},"title":"Crosscluster component","$$ref":"#/definitions/common_geo_platformCrossClusterComponent"},"export_start_time":{"type":"string","format":"int64","description":"Time when the export was started in milliseconds since the unix epoch."},"export_end_time":{"type":"string","format":"int64","description":"Time when the export was completed in milliseconds since the unix epoch."},"import_start_time":{"type":"string","format":"int64","description":"Time when the import was started in milliseconds since the unix epoch."},"import_end_time":{"type":"string","format":"int64","description":"Time when the import was completed in milliseconds since the unix epoch."},"export_status":{"description":"Status of the given export task in the sync (backup operation).","type":"string","enum":["JOB_UNKNOWN","JOB_CREATED","JOB_IN_PROGRESS","JOB_COMPLETED","JOB_FAILED"],"default":"JOB_UNKNOWN","title":"Job Enum","$$ref":"#/definitions/common_geo_platformJobStatus"},"import_status":{"description":"Status of the given import task in the sync (restore operation).","type":"string","enum":["JOB_UNKNOWN","JOB_CREATED","JOB_IN_PROGRESS","JOB_COMPLETED","JOB_FAILED"],"default":"JOB_UNKNOWN","title":"Job Enum","$$ref":"#/definitions/common_geo_platformJobStatus"},"synchronization_status":{"description":"Overall status of the sync job.","type":"string","enum":["JOB_UNKNOWN","JOB_CREATED","JOB_IN_PROGRESS","JOB_COMPLETED","JOB_FAILED"],"default":"JOB_UNKNOWN","title":"Job Enum","$$ref":"#/definitions/common_geo_platformJobStatus"},"export_id":{"type":"string","description":"Export job Id (backup operation)."},"import_id":{"type":"string","description":"Import job Id (restore operation)."},"sync_type":{"description":"Sync job type.","type":"string","enum":["UNKNOWN_SYNC_TYPE","EXPORT_AND_IMPORT","LIVE_ASYNC_REPLICATION","HYBRID_SYNC"],"default":"UNKNOWN_SYNC_TYPE","title":"Sync type","$$ref":"#/definitions/common_geo_platformSyncType"},"local_assign_role_job_id":{"type":"string","description":"Replication manager local job Id."},"peer_assign_role_job_id":{"type":"string","description":"Replication manager peer job Id."},"local_assign_db_transaction_read_only_job_id":{"type":"string","description":"Repliation manager local job Id."},"local_unassign_db_transaction_read_only_job_id":{"type":"string","description":"Repliation manager local job Id."},"peer_assign_db_transaction_read_only_job_id":{"type":"string","description":"Repliation manager peer job Id."},"peer_unassign_db_transaction_read_only_job_id":{"type":"string","description":"Repliation manager peer job Id."}},"$$ref":"#/definitions/common_geo_platformSyncJobContext"},"showtech_job_context":{"description":"Context to be used for showtech jobs.","type":"object","properties":{"collect_show_tech":{"description":"Request details for showtech.","type":"object","properties":{"show_tech_unit_scope":{"type":"array","items":{"type":"object","properties":{"showtech_component":{"title":"Showtech component","type":"object","properties":{"crosscluster_component":{"type":"object","properties":{"id":{"type":"string","description":"Cluster id is required if component is CROSSWORK_CLUSTER, otherwise it can be left empty."},"name":{"type":"string","description":"CrossCluster component name.\nNOTE: not supported in showtech requests and should be left empty."},"component_type":{"title":"Component for log collection","type":"string","enum":["UNKNOWN_COMPONENT","CROSSWORK_CLUSTER","ARBITER"],"default":"UNKNOWN_COMPONENT","description":"- CROSSWORK_CLUSTER: Crosswork cluster\n - ARBITER: Arbiter node","$$ref":"#/definitions/common_geo_platformComponentType"}},"title":"Crosscluster component","$$ref":"#/definitions/common_geo_platformCrossClusterComponent"}},"$$ref":"#/definitions/common_geo_platformShowTechComponent"},"service_name":{"type":"string","description":"Service name (optional). If populated, showtech_component.id must also be populated to distinguish which cluster to collect from. If not populated and only showtech_component.id is populated then everything will be collected on the given cluster."}},"title":"ShowTechUnitScope - scope of cross cluster log collection","$$ref":"#/definitions/common_geo_platformShowTechUnitScope"},"description":"List of components for which logs are to be collected (optional). Only one log collection per component is allowed. If left empty everything will be collected across all clusters."},"scp_host":{"type":"object","properties":{"remote_location":{"type":"string","title":"File location"},"ssh_config":{"title":"SSH config","type":"object","properties":{"remote_host":{"type":"string","title":"Remote host"},"username":{"type":"string","title":"Remote host user"},"password":{"type":"string","title":"Remote host password"},"port":{"type":"integer","format":"int64","title":"Remote host ssh port"}},"$$ref":"#/definitions/common_geo_platformSshConfig"}},"title":"Location to be used as target for backup and sync","$$ref":"#/definitions/common_geo_platformScpHost"}},"title":"ShowTech options","$$ref":"#/definitions/common_geo_platformCollectShowTech"},"local_showtech_id":{"type":"string","description":"Showtech job Id for local cluster."},"peer_showtech_id":{"type":"string","description":"Showtech job Id for peer cluster. Was only used in 6.0 and 7.0."},"lhs_peer_showtech_id":{"type":"string","description":"Showtech job Id for LHS peer cluster."},"rhs_peer_showtech_id":{"type":"string","description":"Showtech job Id for the RHS peer cluster."}},"$$ref":"#/definitions/common_geo_platformShowtechJobContext"},"set_role_job_context":{"description":"Context to be used for set role jobs.","type":"object","properties":{"preferred_cluster_leadership_state":{"description":"Desired leadership state of the cluster.","type":"string","enum":["UNKNOWN_CLUSTER_LEADER_STATE","ACTIVE","STANDBY","TENTATIVE","STANDBY_WITH_FAILURES","ACTIVE_WITH_FAILURES","TRANSITIONING_TO_ACTIVE","TRANSITIONING_TO_STANDBY"],"default":"UNKNOWN_CLUSTER_LEADER_STATE","title":"CrossCluster leadership state","$$ref":"#/definitions/common_geo_platformCrossClusterLeadershipState"},"force":{"type":"boolean","description":"Indication if the operation was forced or not."},"local_assign_role_job_id":{"type":"string","description":"Replication manager local job Id."},"peer_assign_role_job_id":{"type":"string","description":"Replication manager peer job Id."}},"$$ref":"#/definitions/common_geo_platformSetRoleJobContext"},"repair_replication_job_context":{"description":"Context to be used for repair replication jobs.","type":"object","properties":{"local_repair_replication_job_id":{"type":"string","description":"Repair replication job Id for local cluster."},"peer_repair_replication_job_id":{"type":"string","description":"Repair replication job Id for peer cluster."}},"$$ref":"#/definitions/common_geo_platformRepairReplicationJobContext"},"validate_arbitration_executable_job_context":{"description":"Context to be used for validate arbitration executable jobs.","type":"object","properties":{"dns_server":{"description":"Request details for validation.","type":"object","properties":{"dns_host":{"type":"string","title":"DNS host"},"port":{"type":"integer","format":"int64","title":"Optional port"}},"title":"Authoritative server used for DNS flip","$$ref":"#/definitions/common_geo_platformDNSAuthoritativeServer"},"arbitration_executable_file_location":{"type":"object","properties":{"scp_location":{"title":"SCP location","type":"object","properties":{"remote_file":{"type":"string","title":"file to download"},"ssh_config":{"title":"SSH config for remote Host from which to copy the files from","type":"object","properties":{"remote_host":{"type":"string","title":"Remote host"},"username":{"type":"string","title":"Remote host user"},"password":{"type":"string","title":"Remote host password"},"port":{"type":"integer","format":"int64","title":"Remote host ssh port"}},"$$ref":"#/definitions/common_platformSshConfig"}},"$$ref":"#/definitions/common_platformScpLocation"},"uri_location":{"title":"URI location - Supports http,https or file scheme","type":"object","properties":{"uri":{"type":"string","title":"http or https or file url to download the file , supports ex https://www.foo.com/bar.tar.gz ,\nhttp://192.65.10.20/bar.tar.gz , file:///tmp/bar.tar.gz\nSupports http,https or file scheme"},"basic_auth":{"title":"Optional Basic Auth","type":"object","properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"$$ref":"#/definitions/common_platformBasicAuthentication"},"skip_tls_verify":{"type":"boolean","title":"Skip TLS verification if https"}},"$$ref":"#/definitions/common_platformURILocation"}},"title":"File location to download the file from","$$ref":"#/definitions/common_platformFileLocation"},"process_id":{"type":"string","format":"int64","description":"OS executable PID used during validation to ensure cancellation."},"process_start_time":{"type":"string","format":"int64","description":"Start time in epoch milliseconds to ensure cancellation."}},"$$ref":"#/definitions/common_geo_platformValidateArbitrationExecutableJobContext"},"switchover_job_context":{"description":"Context to be used for switchover jobs.","type":"object","properties":{"crosscluster_switchover_assignments":{"description":"Request details for switchover.","type":"object","properties":{"crosscluster_switchover_assignments":{"type":"array","items":{"type":"object","properties":{"cross_cluster_component":{"type":"object","properties":{"id":{"type":"string","description":"Cluster id is required if component is CROSSWORK_CLUSTER, otherwise it can be left empty."},"name":{"type":"string","description":"CrossCluster component name.\nNOTE: not supported in showtech requests and should be left empty."},"component_type":{"title":"Component for log collection","type":"string","enum":["UNKNOWN_COMPONENT","CROSSWORK_CLUSTER","ARBITER"],"default":"UNKNOWN_COMPONENT","description":"- CROSSWORK_CLUSTER: Crosswork cluster\n - ARBITER: Arbiter node","$$ref":"#/definitions/common_geo_platformComponentType"}},"title":"Crosscluster component","$$ref":"#/definitions/common_geo_platformCrossClusterComponent"},"preferred_cluster_leadership_state":{"title":"Leadership state of the cluster","type":"string","enum":["UNKNOWN_CLUSTER_LEADER_STATE","ACTIVE","STANDBY","TENTATIVE","STANDBY_WITH_FAILURES","ACTIVE_WITH_FAILURES","TRANSITIONING_TO_ACTIVE","TRANSITIONING_TO_STANDBY"],"default":"UNKNOWN_CLUSTER_LEADER_STATE","description":"- ACTIVE: Denotes cluster leadership state\n - STANDBY: Denotes standby cluster\n - TENTATIVE: Tentative - transient state\n - STANDBY_WITH_FAILURES: System is in standby but has failures\n - ACTIVE_WITH_FAILURES: System is in active but has failures\n - TRANSITIONING_TO_ACTIVE: ACTIVE TRANSITION - transient state\n - TRANSITIONING_TO_STANDBY: STANDBY TRANSITION - transient state","$$ref":"#/definitions/common_geo_platformCrossClusterLeadershipState"},"force":{"type":"boolean","description":"Allows switchover to be forced even if errors are encountered."}},"description":"CrossClusterSwitchoverAssignment is a single cluster's leadership assignment\nintent for the cluster identified in the payload.","$$ref":"#/definitions/common_geo_platformCrossClusterSwitchoverAssignment"}}},"$$ref":"#/definitions/common_geo_platformCrossClusterSwitchoverAssignments"},"lhs_assign_role_job_id":{"type":"string","description":"Replication manager LHS (crosscluster_switchover_assignments[0]) job Id."},"rhs_assign_role_job_id":{"type":"string","description":"Replication manager RHS (crosscluster_switchover_assignments[1]) job Id."}},"$$ref":"#/definitions/common_geo_platformSwitchoverJobContext"}},"$$ref":"#/definitions/common_geo_platformJobContext"},"job_type":{"title":"Job Action","type":"string","enum":["UNKNOWN_JOB_TYPE","SWITCH_OVER","ASSIGN_CROSSCLUSTER_ROLE","ON_DEMAND_SYNCHRONIZATION","SYNCHRONIZE_CLUSTERS","SHOW_TECH","ACTIVATE_GEO_MODE","ENABLE_GEO_PAIRING_MODE","SET_GEO_MODE_INVENTORY","REPAIR_FAILURES","ASSIGN_REPLICATION_DATASTORE_ROLE","ASSIGN_DB_TRANSACTION_READ_ONLY","UPGRADE","VALIDATE_ARBITRATION_EXECUTABLE"],"default":"UNKNOWN_JOB_TYPE","description":"- SWITCH_OVER: Switchover cross cluster ClusterLeadershipState ,A active becomes standby, B standby becomes leader in one job\n - ASSIGN_CROSSCLUSTER_ROLE: Assign role for leadership to cross cluster , A active becomes standby (user mainly in manual arbitration)\n - ON_DEMAND_SYNCHRONIZATION: One time synch on demand\n - SYNCHRONIZE_CLUSTERS: Periodic synch for cross clusters\n - SHOW_TECH: Show tech to collect logs\n - ACTIVATE_GEO_MODE: Activate geo mode\n - ENABLE_GEO_PAIRING_MODE: Enable Geo pairing mode\n - SET_GEO_MODE_INVENTORY: Set Geo mode inventory\n - REPAIR_FAILURES: Repair failures\n - ASSIGN_REPLICATION_DATASTORE_ROLE: ASSIGN replication db role\n - ASSIGN_DB_TRANSACTION_READ_ONLY: Assign DB transaction read only\n - UPGRADE: Upgrade job type\n - VALIDATE_ARBITRATION_EXECUTABLE: Validate arbitration executable","$$ref":"#/definitions/common_geo_platformJobType"},"error":{"title":"Error","type":"object","properties":{"message":{"type":"string","title":"Message is a textual description of reason for rejection, and can be safely passed on to operator through logs\nor UI"}},"$$ref":"#/definitions/common_geo_platformError"},"job_description":{"type":"string","title":"Description"}},"title":"Notification object\nContext id : robot.geo_manager.geojob.json","$$ref":"#/definitions/common_geo_platformJob"}},"query_options":{"title":"Query options","type":"object","properties":{"filters":{"title":"Generic key value filter set","type":"object","properties":{"filter_fields":{"type":"array","items":{"type":"object","properties":{"key_value":{"title":"Key Value","type":"object","properties":{"key":{"type":"string"},"string_value":{"type":"string","title":"Commented out is reserved for future use.\nbytes bytes_value = 2;"},"bool_value":{"type":"boolean"},"uint64_value":{"type":"string","format":"uint64","title":"uint32 uint32_value = 5;"},"sint64_value":{"type":"string","format":"int64","title":"sint32 sint32_value = 7;"},"double_value":{"type":"number","format":"double"}},"$$ref":"#/definitions/common_geo_platformKeyValue"},"comparison_operator":{"title":"Comparison operator","type":"string","enum":["COMPARISON_UNKNOWN","CONTAINS","ICONTAINS","EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","GREATER_THAN","GREATER_THAN_OR_EQUAL","NOT_EQUAL"],"default":"COMPARISON_UNKNOWN","description":"- CONTAINS: STRING contains.Case sensitive May not be supported for all data types\n - ICONTAINS: STRING contains.Case Insensitive. May not be supported for all data types\n - EQUAL: Equal.\n - LESS_THAN: Commented ones are for future use\n Less than.\n - LESS_THAN_OR_EQUAL: // Less than or equal.\n - GREATER_THAN: // Greater than.\n - GREATER_THAN_OR_EQUAL: // Greater than or equal.\n - NOT_EQUAL: NOT EQUAL","$$ref":"#/definitions/common_geo_platformComparisonOperator"}},"title":"Key Value filter set","$$ref":"#/definitions/common_geo_platformFilterKeyValue"},"title":"Key Value filters"},"logical_operator":{"title":"The following is applied to all filters\n1. how individual filters are combined\n2. how the filtered result will be sorted\nLogical Operator","type":"string","enum":["OPERATOR_LOGICAL_UNKNOWN","AND","OR"],"default":"OPERATOR_LOGICAL_UNKNOWN","description":"- AND: Logical AND\n - OR: Logical OR","$$ref":"#/definitions/common_geo_platformLogicalOperator"},"sort_operator":{"title":"Implicit sort ordering","type":"string","enum":["SORT_UNSPECIFIED","ASCENDING","DESCENDING"],"default":"SORT_UNSPECIFIED","description":"The sort direction.\n\n - SORT_UNSPECIFIED: Unspecified. This value must not be used.\n - ASCENDING: Ascending.\n - DESCENDING: Descending.","$$ref":"#/definitions/common_geo_platformSortOperator"}},"$$ref":"#/definitions/common_geo_platformFilterKeyValueSet"},"pagination":{"title":"Pagination","type":"object","properties":{"page_token":{"type":"string","title":"Page token to echo back to get next page, is empty or page token is empty,\nthen there is no more results"},"page_size":{"type":"integer","format":"int64","title":"page_size"}},"$$ref":"#/definitions/common_geo_platformPagination"}},"$$ref":"#/definitions/common_geo_platformQueryOptions"},"result":{"title":"Accepted or Rejected","type":"object","properties":{"request_result":{"description":"ResultValue indicated accept/reject for a request, not the outcome of the work itself.","type":"string","enum":["UNKNOWN_RESULT","REJECTED","ACCEPTED"],"default":"UNKNOWN_RESULT","title":"Request - reply\nresponse","$$ref":"#/definitions/common_geo_platformRequestResult"},"error":{"description":"Message is a textual description of reason for rejection, and can be safely passed on to operator through logs\nor UI.","type":"object","properties":{"message":{"type":"string","title":"Message is a textual description of reason for rejection, and can be safely passed on to operator through logs\nor UI"}},"title":"Error associated with an Object","$$ref":"#/definitions/common_geo_platformError"}},"description":"Result is used to convey whether an operation (individual or in a batch)\nhas been accepted or rejected. For sync API's an error or rejection indicates failure of operation.\nA string error message accompanies rejection to support troubleshooting. For notification objects,\nrejection represents failure to do intended operation.","$$ref":"#/definitions/common_geo_platformResult"}},"title":"Response Cross cluster Job status for asynchronous operation","$$ref":"#/definitions/crosscluster_serviceGetCrossClusterServiceJobsResponse"},"examples":{"example":{"jobs":[{"job_id":"DJ5","job_user":"crosscluster","start_time":"1727352000103","completion_time":"1727354069177","progress":100,"job_status":"JOB_COMPLETED","job_context":{"sync_job_context":{"source":{"id":"192.168.5.50","name":"cluster-sjc","component_type":"CROSSWORK_CLUSTER"},"target":{"id":"192.168.6.50","name":"cluster-nyc","component_type":"CROSSWORK_CLUSTER"},"export_start_time":"1727352000120","export_end_time":"1727352797282","import_start_time":"1727352797287","import_end_time":"1727354067814","export_status":"JOB_COMPLETED","import_status":"JOB_COMPLETED","synchronization_status":"JOB_COMPLETED","export_id":"000f9d03-9705-4ee5-a86e-f45bf8ab28f1","import_id":"e9f9e2de-66a5-4dfe-ba5d-7a81bb177533","sync_type":"EXPORT_AND_IMPORT"}},"job_type":"SYNCHRONIZE_CLUSTERS","error":{"message":""},"job_description":"periodic sync"}],"query_options":{"filters":{"filter_fields":[],"logical_operator":"OPERATOR_LOGICAL_UNKNOWN","sort_operator":"SORT_UNSPECIFIED"},"pagination":{"page_token":"1727354069177","page_size":1}},"result":{"request_result":"ACCEPTED","error":{}}}}},"default":{"description":"An unexpected error response.","schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"type_url":{"type":"string","description":"A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics."},"value":{"type":"string","format":"byte","description":"Must be a valid serialized protocol buffer of the above specified type."}},"description":"`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }","$$ref":"#/definitions/protobufAny"}}},"$$ref":"#/definitions/gatewayruntimeError"},"examples":{"example":{"error":"","code":13,"message":"failed to marshal error message","details":[]}}}},"parameters":[{"name":"body","in":"body","required":true,"description":"Cross cluster service jobs request data","schema":{"type":"object","properties":{"job_id":{"type":"string","title":"Job Id"},"query_options":{"title":"Query options","type":"object","properties":{"filters":{"title":"Generic key value filter set","type":"object","properties":{"filter_fields":{"type":"array","items":{"type":"object","properties":{"key_value":{"title":"Key Value","type":"object","properties":{"key":{"type":"string"},"string_value":{"type":"string","title":"Commented out is reserved for future use.\nbytes bytes_value = 2;"},"bool_value":{"type":"boolean"},"uint64_value":{"type":"string","format":"uint64","title":"uint32 uint32_value = 5;"},"sint64_value":{"type":"string","format":"int64","title":"sint32 sint32_value = 7;"},"double_value":{"type":"number","format":"double"}},"$$ref":"#/definitions/common_geo_platformKeyValue"},"comparison_operator":{"title":"Comparison operator","type":"string","enum":["COMPARISON_UNKNOWN","CONTAINS","ICONTAINS","EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","GREATER_THAN","GREATER_THAN_OR_EQUAL","NOT_EQUAL"],"default":"COMPARISON_UNKNOWN","description":"- CONTAINS: STRING contains.Case sensitive May not be supported for all data types\n - ICONTAINS: STRING contains.Case Insensitive. May not be supported for all data types\n - EQUAL: Equal.\n - LESS_THAN: Commented ones are for future use\n Less than.\n - LESS_THAN_OR_EQUAL: // Less than or equal.\n - GREATER_THAN: // Greater than.\n - GREATER_THAN_OR_EQUAL: // Greater than or equal.\n - NOT_EQUAL: NOT EQUAL","$$ref":"#/definitions/common_geo_platformComparisonOperator"}},"title":"Key Value filter set","$$ref":"#/definitions/common_geo_platformFilterKeyValue"},"title":"Key Value filters"},"logical_operator":{"title":"The following is applied to all filters\n1. how individual filters are combined\n2. how the filtered result will be sorted\nLogical Operator","type":"string","enum":["OPERATOR_LOGICAL_UNKNOWN","AND","OR"],"default":"OPERATOR_LOGICAL_UNKNOWN","description":"- AND: Logical AND\n - OR: Logical OR","$$ref":"#/definitions/common_geo_platformLogicalOperator"},"sort_operator":{"title":"Implicit sort ordering","type":"string","enum":["SORT_UNSPECIFIED","ASCENDING","DESCENDING"],"default":"SORT_UNSPECIFIED","description":"The sort direction.\n\n - SORT_UNSPECIFIED: Unspecified. This value must not be used.\n - ASCENDING: Ascending.\n - DESCENDING: Descending.","$$ref":"#/definitions/common_geo_platformSortOperator"}},"$$ref":"#/definitions/common_geo_platformFilterKeyValueSet"},"pagination":{"title":"Pagination","type":"object","properties":{"page_token":{"type":"string","title":"Page token to echo back to get next page, is empty or page token is empty,\nthen there is no more results"},"page_size":{"type":"integer","format":"int64","title":"page_size"}},"$$ref":"#/definitions/common_geo_platformPagination"}},"$$ref":"#/definitions/common_geo_platformQueryOptions"}},"title":"Request Cross cluster Job status for asynchronous operation","$$ref":"#/definitions/crosscluster_serviceGetCrossClusterServiceJobsRequest"}}],"tags":["CrossClusterManager"],"__originalOperationId":"CrossClusterManager_GetCrossClusterServiceJobs","consumes":["application/json"],"produces":["application/json"],"method":"post","path":"/jobs/query"}}