# Remote Build Execution API . v2

## Instance Methods

Close httplib2 connections.

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.
        "executionCapabilities": { # Capabilities of the remote execution system. # Capabilities of the remote execution system.
          "supportedNodeProperties": [ # Supported node properties.
            "A String",
          ],
          "digestFunction": "A String", # Remote execution may only support a single digest function.
          "executionPriorityCapabilities": { # Allowed values for priority in ResultsCachePolicy Used for querying both cache and execution valid priority ranges. # Supported execution priority range.
            "priorities": [
              { # Supported range of priorities, including boundaries.
                "maxPriority": 42,
                "minPriority": 42,
              },
            ],
          },
          "execEnabled": True or False, # Whether remote execution is enabled for the particular server/instance.
        },
        "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.
          "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.
          "patch": 42, # The patch version, e.g 3 for 10.2.3.
          "minor": 42, # The minor version, e.g. 2 for 10.2.3.
        },
        "cacheCapabilities": { # Capabilities of the remote cache system. # Capabilities of the remote cache system.
          "symlinkAbsolutePathStrategy": "A String", # Whether absolute symlink targets are supported.
          "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.
          "actionCacheUpdateCapabilities": { # Describes the server/instance capabilities for updating the action cache. # Capabilities for updating the action cache.
            "updateEnabled": True or False,
          },
          "digestFunction": [ # All the digest functions supported by the remote cache. Remote cache may support multiple digest functions simultaneously.
            "A String",
          ],
          "cachePriorityCapabilities": { # Allowed values for priority in ResultsCachePolicy 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,
                "minPriority": 42,
              },
            ],
          },
        },
        "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.
          "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.
          "patch": 42, # The patch version, e.g 3 for 10.2.3.
          "minor": 42, # The minor version, e.g. 2 for 10.2.3.
        },
        "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.
          "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.
          "patch": 42, # The patch version, e.g 3 for 10.2.3.
          "minor": 42, # The minor version, e.g. 2 for 10.2.3.
        },
      }