Class TagValuesResource.TagHoldsResource
The "tagHolds" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class TagValuesResource.TagHoldsResource
Constructors
TagHoldsResource(IClientService)
Constructs a new resource.
Declaration
public TagHoldsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(TagHold, string)
Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.
Declaration
public virtual TagValuesResource.TagHoldsResource.CreateRequest Create(TagHold body, string parent)
Parameters
Type | Name | Description |
---|---|---|
TagHold | body | The body of the request. |
string | parent | Required. The resource name of the TagHold's parent TagValue. Must be of the form:
|
Returns
Type | Description |
---|---|
TagValuesResource.TagHoldsResource.CreateRequest |
Delete(string)
Deletes a TagHold.
Declaration
public virtual TagValuesResource.TagHoldsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the TagHold to delete. Must be of the form:
|
Returns
Type | Description |
---|---|
TagValuesResource.TagHoldsResource.DeleteRequest |
List(string)
Lists TagHolds under a TagValue.
Declaration
public virtual TagValuesResource.TagHoldsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent TagValue. Must be of the form: |
Returns
Type | Description |
---|---|
TagValuesResource.TagHoldsResource.ListRequest |