Remote Build Execution API . v2

Instance Methods

close()

Close httplib2 connections.

getCapabilities(instanceName, x__xgafv=None)

GetCapabilities returns the server capabilities configuration of the remote endpoint. Only the capabilities of the services supported by the endpoint will be returned: * Execution + CAS + Action Cache endpoints should return both CacheCapabilities and ExecutionCapabilities. * Execution only endpoints should return ExecutionCapabilities. * CAS + Action Cache only endpoints should return CacheCapabilities.

Method Details

close()
Close httplib2 connections.
getCapabilities(instanceName, x__xgafv=None)
GetCapabilities returns the server capabilities configuration of the remote endpoint. Only the capabilities of the services supported by the endpoint will be returned: * Execution + CAS + Action Cache endpoints should return both CacheCapabilities and ExecutionCapabilities. * Execution only endpoints should return ExecutionCapabilities. * CAS + Action Cache only endpoints should return CacheCapabilities.

Args:
  instanceName: string, The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A response message for Capabilities.GetCapabilities.
  "cacheCapabilities": { # Capabilities of the remote cache system. # Capabilities of the remote cache system.
    "actionCacheUpdateCapabilities": { # Describes the server/instance capabilities for updating the action cache. # Capabilities for updating the action cache.
      "updateEnabled": True or False,
    },
    "cachePriorityCapabilities": { # Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for querying both cache and execution valid priority ranges. # Supported cache priority range for both CAS and ActionCache.
      "priorities": [
        { # Supported range of priorities, including boundaries.
          "maxPriority": 42, # The maximum numeric value for this priority range, which represents the least urgent task or shortest retained item.
          "minPriority": 42, # The minimum numeric value for this priority range, which represents the most urgent task or longest retained item.
        },
      ],
    },
    "digestFunction": [ # All the digest functions supported by the remote cache. Remote cache may support multiple digest functions simultaneously.
      "A String",
    ],
    "maxBatchTotalSizeBytes": "A String", # Maximum total size of blobs to be uploaded/downloaded using batch methods. A value of 0 means no limit is set, although in practice there will always be a message size limitation of the protocol in use, e.g. GRPC.
    "supportedCompressor": [ # Compressors supported by the "compressed-blobs" bytestream resources. Servers MUST support identity/no-compression, even if it is not listed here. Note that this does not imply which if any compressors are supported by the server at the gRPC level.
      "A String",
    ],
    "symlinkAbsolutePathStrategy": "A String", # Whether absolute symlink targets are supported.
  },
  "deprecatedApiVersion": { # The full version of a given tool. # Earliest RE API version supported, including deprecated versions.
    "major": 42, # The major version, e.g 10 for 10.2.3.
    "minor": 42, # The minor version, e.g. 2 for 10.2.3.
    "patch": 42, # The patch version, e.g 3 for 10.2.3.
    "prerelease": "A String", # The pre-release version. Either this field or major/minor/patch fields must be filled. They are mutually exclusive. Pre-release versions are assumed to be earlier than any released versions.
  },
  "executionCapabilities": { # Capabilities of the remote execution system. # Capabilities of the remote execution system.
    "digestFunction": "A String", # Remote execution may only support a single digest function.
    "execEnabled": True or False, # Whether remote execution is enabled for the particular server/instance.
    "executionPriorityCapabilities": { # Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for querying both cache and execution valid priority ranges. # Supported execution priority range.
      "priorities": [
        { # Supported range of priorities, including boundaries.
          "maxPriority": 42, # The maximum numeric value for this priority range, which represents the least urgent task or shortest retained item.
          "minPriority": 42, # The minimum numeric value for this priority range, which represents the most urgent task or longest retained item.
        },
      ],
    },
    "supportedNodeProperties": [ # Supported node properties.
      "A String",
    ],
  },
  "highApiVersion": { # The full version of a given tool. # Latest RE API version supported.
    "major": 42, # The major version, e.g 10 for 10.2.3.
    "minor": 42, # The minor version, e.g. 2 for 10.2.3.
    "patch": 42, # The patch version, e.g 3 for 10.2.3.
    "prerelease": "A String", # The pre-release version. Either this field or major/minor/patch fields must be filled. They are mutually exclusive. Pre-release versions are assumed to be earlier than any released versions.
  },
  "lowApiVersion": { # The full version of a given tool. # Earliest non-deprecated RE API version supported.
    "major": 42, # The major version, e.g 10 for 10.2.3.
    "minor": 42, # The minor version, e.g. 2 for 10.2.3.
    "patch": 42, # The patch version, e.g 3 for 10.2.3.
    "prerelease": "A String", # The pre-release version. Either this field or major/minor/patch fields must be filled. They are mutually exclusive. Pre-release versions are assumed to be earlier than any released versions.
  },
}