TagValues

google.cloud.resourcemanager.v3. TagValues

Represents a TagValues

Constructor

new TagValues(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new TagValues service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

createTagValue(request, callback) → {undefined}

Calls CreateTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.ICreateTagValueRequest

CreateTagValueRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.CreateTagValueCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

createTagValue(request) → {Promise.<google.longrunning.Operation>}

Calls CreateTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.ICreateTagValueRequest

CreateTagValueRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

deleteTagValue(request, callback) → {undefined}

Calls DeleteTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IDeleteTagValueRequest

DeleteTagValueRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.DeleteTagValueCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

deleteTagValue(request) → {Promise.<google.longrunning.Operation>}

Calls DeleteTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IDeleteTagValueRequest

DeleteTagValueRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

getIamPolicy(request, callback) → {undefined}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.GetIamPolicyCallback

Node-style callback called with the error, if any, and Policy

Returns:
Type Description
undefined

getIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

getNamespacedTagValue(request, callback) → {undefined}

Calls GetNamespacedTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest

GetNamespacedTagValueRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.GetNamespacedTagValueCallback

Node-style callback called with the error, if any, and TagValue

Returns:
Type Description
undefined

getNamespacedTagValue(request) → {Promise.<google.cloud.resourcemanager.v3.TagValue>}

Calls GetNamespacedTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IGetNamespacedTagValueRequest

GetNamespacedTagValueRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.resourcemanager.v3.TagValue>

Promise

getTagValue(request, callback) → {undefined}

Calls GetTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IGetTagValueRequest

GetTagValueRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.GetTagValueCallback

Node-style callback called with the error, if any, and TagValue

Returns:
Type Description
undefined

getTagValue(request) → {Promise.<google.cloud.resourcemanager.v3.TagValue>}

Calls GetTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IGetTagValueRequest

GetTagValueRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.resourcemanager.v3.TagValue>

Promise

listTagValues(request, callback) → {undefined}

Calls ListTagValues.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IListTagValuesRequest

ListTagValuesRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.ListTagValuesCallback

Node-style callback called with the error, if any, and ListTagValuesResponse

Returns:
Type Description
undefined

listTagValues(request) → {Promise.<google.cloud.resourcemanager.v3.ListTagValuesResponse>}

Calls ListTagValues.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IListTagValuesRequest

ListTagValuesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.resourcemanager.v3.ListTagValuesResponse>

Promise

setIamPolicy(request, callback) → {undefined}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.SetIamPolicyCallback

Node-style callback called with the error, if any, and Policy

Returns:
Type Description
undefined

setIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

testIamPermissions(request, callback) → {undefined}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.TestIamPermissionsCallback

Node-style callback called with the error, if any, and TestIamPermissionsResponse

Returns:
Type Description
undefined

testIamPermissions(request) → {Promise.<google.iam.v1.TestIamPermissionsResponse>}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.TestIamPermissionsResponse>

Promise

updateTagValue(request, callback) → {undefined}

Calls UpdateTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IUpdateTagValueRequest

UpdateTagValueRequest message or plain object

callback google.cloud.resourcemanager.v3.TagValues.UpdateTagValueCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

updateTagValue(request) → {Promise.<google.longrunning.Operation>}

Calls UpdateTagValue.

Parameters:
Name Type Description
request google.cloud.resourcemanager.v3.IUpdateTagValueRequest

UpdateTagValueRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {TagValues}

Creates new TagValues service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
TagValues

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

CreateTagValueCallback(error, responseopt)

Callback as used by createTagValue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeleteTagValueCallback(error, responseopt)

Callback as used by deleteTagValue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

GetIamPolicyCallback(error, responseopt)

Callback as used by getIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

GetNamespacedTagValueCallback(error, responseopt)

Callback as used by getNamespacedTagValue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.resourcemanager.v3.TagValue <optional>

TagValue

GetTagValueCallback(error, responseopt)

Callback as used by getTagValue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.resourcemanager.v3.TagValue <optional>

TagValue

ListTagValuesCallback(error, responseopt)

Callback as used by listTagValues.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.resourcemanager.v3.ListTagValuesResponse <optional>

ListTagValuesResponse

SetIamPolicyCallback(error, responseopt)

Callback as used by setIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

TestIamPermissionsCallback(error, responseopt)

Callback as used by testIamPermissions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.TestIamPermissionsResponse <optional>

TestIamPermissionsResponse

UpdateTagValueCallback(error, responseopt)

Callback as used by updateTagValue.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation