# Genomics API . callsets

## Instance Methods

Creates a new call set.

Deletes a call set.

Gets a call set by ID.

Updates a call set. This method supports patch semantics.

Gets a list of call sets matching the criteria.

Updates a call set.

### Method Details

`create(body)`

    Creates a new call set.

    Args:
      body: object, The request body. (required)
        The object takes the form of:

    { # A CallSet is a collection of variant calls. It belongs to a variant set.
      "info": { # A map of additional callset information.
        "a_key": [ # A string which maps to an array of values.
          "A String",
        ],
      },
      "name": "A String", # The callset name.
      "created": "A String", # The date this call set was created in milliseconds from the epoch.
      "sampleId": "A String", # The sample ID this call set corresponds to.
      "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
        "A String",
      ],
      "id": "A String", # The Google generated ID of the call set, immutable.
    }

    Returns:
      An object of the form:

        { # A CallSet is a collection of variant calls. It belongs to a variant set.
        "info": { # A map of additional callset information.
          "a_key": [ # A string which maps to an array of values.
            "A String",
          ],
        },
        "name": "A String", # The callset name.
        "created": "A String", # The date this call set was created in milliseconds from the epoch.
        "sampleId": "A String", # The sample ID this call set corresponds to.
        "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
          "A String",
        ],
        "id": "A String", # The Google generated ID of the call set, immutable.
      }

`delete(callSetId)`

    Deletes a call set.

    Args:
      callSetId: string, The ID of the callset to be deleted. (required)

`get(callSetId)`

    Gets a call set by ID.

    Args:
      callSetId: string, The ID of the callset. (required)

    Returns:
      An object of the form:

        { # A CallSet is a collection of variant calls. It belongs to a variant set.
        "info": { # A map of additional callset information.
          "a_key": [ # A string which maps to an array of values.
            "A String",
          ],
        },
        "name": "A String", # The callset name.
        "created": "A String", # The date this call set was created in milliseconds from the epoch.
        "sampleId": "A String", # The sample ID this call set corresponds to.
        "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
          "A String",
        ],
        "id": "A String", # The Google generated ID of the call set, immutable.
      }

`patch(callSetId, body)`

    Updates a call set. This method supports patch semantics.

    Args:
      callSetId: string, The ID of the callset to be updated. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # A CallSet is a collection of variant calls. It belongs to a variant set.
      "info": { # A map of additional callset information.
        "a_key": [ # A string which maps to an array of values.
          "A String",
        ],
      },
      "name": "A String", # The callset name.
      "created": "A String", # The date this call set was created in milliseconds from the epoch.
      "sampleId": "A String", # The sample ID this call set corresponds to.
      "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
        "A String",
      ],
      "id": "A String", # The Google generated ID of the call set, immutable.
    }

    Returns:
      An object of the form:

        { # A CallSet is a collection of variant calls. It belongs to a variant set.
        "info": { # A map of additional callset information.
          "a_key": [ # A string which maps to an array of values.
            "A String",
          ],
        },
        "name": "A String", # The callset name.
        "created": "A String", # The date this call set was created in milliseconds from the epoch.
        "sampleId": "A String", # The sample ID this call set corresponds to.
        "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
          "A String",
        ],
        "id": "A String", # The Google generated ID of the call set, immutable.
      }

`search(body)`

    Gets a list of call sets matching the criteria.

    Args:
      body: object, The request body. (required)
        The object takes the form of:

    { # The call set search request.
        "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
        "variantSetIds": [ # Restrict the query to call sets within the given variant sets. At least one ID must be provided.
          "A String",
        ],
        "name": "A String", # Only return call sets for which a substring of the name matches this string.
        "pageSize": 42, # The maximum number of call sets to return.
      }

    Returns:
      An object of the form:

        { # The call set search response.
        "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
        "callSets": [ # The list of matching call sets.
          { # A CallSet is a collection of variant calls. It belongs to a variant set.
            "info": { # A map of additional callset information.
              "a_key": [ # A string which maps to an array of values.
                "A String",
              ],
            },
            "name": "A String", # The callset name.
            "created": "A String", # The date this call set was created in milliseconds from the epoch.
            "sampleId": "A String", # The sample ID this call set corresponds to.
            "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
              "A String",
            ],
            "id": "A String", # The Google generated ID of the call set, immutable.
          },
        ],
      }

`update(callSetId, body)`

    Updates a call set.

    Args:
      callSetId: string, The ID of the callset to be updated. (required)
      body: object, The request body. (required)
        The object takes the form of:

    { # A CallSet is a collection of variant calls. It belongs to a variant set.
      "info": { # A map of additional callset information.
        "a_key": [ # A string which maps to an array of values.
          "A String",
        ],
      },
      "name": "A String", # The callset name.
      "created": "A String", # The date this call set was created in milliseconds from the epoch.
      "sampleId": "A String", # The sample ID this call set corresponds to.
      "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
        "A String",
      ],
      "id": "A String", # The Google generated ID of the call set, immutable.
    }

    Returns:
      An object of the form:

        { # A CallSet is a collection of variant calls. It belongs to a variant set.
        "info": { # A map of additional callset information.
          "a_key": [ # A string which maps to an array of values.
            "A String",
          ],
        },
        "name": "A String", # The callset name.
        "created": "A String", # The date this call set was created in milliseconds from the epoch.
        "sampleId": "A String", # The sample ID this call set corresponds to.
        "variantSetIds": [ # The IDs of the variant sets this call set belongs to.
          "A String",
        ],
        "id": "A String", # The Google generated ID of the call set, immutable.
      }