Cloud Resource Manager API (cloudresourcemanager:v3)

2022-04-06

3 new methods

Additions

    Methods
  • cloudresourcemanager.tagValues.tagHolds.delete

      Parameters:

        validateOnly

          Description: Optional. Set to true to perform the validations necessary for deleting the resource, but not actually perform the action.

          Location: query

          Type: boolean

        name

          Type: string

          Required: Yes

          Description: Required. The resource name of the TagHold to delete. Must be of the form: `tagValues/{tag-value-id}/tagHolds/{tag-hold-id}`.

          Location: path

          Pattern: ^tagValues/[^/]+/tagHolds/[^/]+$

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Path: v3/{+name}

      Flat Path: v3/tagValues/{tagValuesId}/tagHolds/{tagHoldsId}

      Description: Deletes a TagHold.

      HTTP Method: DELETE

      Parameter Order: name

  • cloudresourcemanager.tagValues.tagHolds.create

      Parameter Order: parent

      HTTP Method: POST

      Flat Path: v3/tagValues/{tagValuesId}/tagHolds

      Path: v3/{+parent}/tagHolds

      Parameters:

        validateOnly

          Type: boolean

          Description: Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.

          Location: query

        parent

          Pattern: ^tagValues/[^/]+$

          Required: Yes

          Location: path

          Description: Required. The resource name of the TagHold's parent TagValue. Must be of the form: `tagValues/{tag-value-id}`.

          Type: string

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.

  • cloudresourcemanager.tagValues.tagHolds.list

      Parameters:

        pageToken

          Type: string

          Location: query

          Description: Optional. A pagination token returned from a previous call to `ListTagHolds` that indicates where this listing should continue from.

        parent

          Required: Yes

          Pattern: ^tagValues/[^/]+$

          Location: path

          Type: string

          Description: Required. The resource name of the parent TagValue. Must be of the form: `tagValues/{tag-value-id}`.

        pageSize

          Format: int32

          Description: Optional. The maximum number of TagHolds to return in the response. The server allows a maximum of 300 TagHolds to return. If unspecified, the server will use 100 as the default.

          Location: query

          Type: integer

        filter

          Description: Optional. Criteria used to select a subset of TagHolds parented by the TagValue to return. This field follows the syntax defined by aip.dev/160; the `holder` and `origin` fields are supported for filtering. Currently only `AND` syntax is supported. Some example queries are: * `holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group` * `origin = 35678234` * `holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group AND origin = 35678234`

          Type: string

          Location: query

      Parameter Order: parent

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • Path: v3/{+parent}/tagHolds

      Flat Path: v3/tagValues/{tagValuesId}/tagHolds

      HTTP Method: GET

      Description: Lists TagHolds under a TagValue.