public class CloudResourceManager.TagValues extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudResourceManager.TagValues.Create |
class |
CloudResourceManager.TagValues.Delete |
class |
CloudResourceManager.TagValues.Get |
class |
CloudResourceManager.TagValues.GetIamPolicy |
class |
CloudResourceManager.TagValues.List |
class |
CloudResourceManager.TagValues.Patch |
class |
CloudResourceManager.TagValues.SetIamPolicy |
class |
CloudResourceManager.TagValues.TagHolds
The "tagHolds" collection of methods.
|
class |
CloudResourceManager.TagValues.TestIamPermissions |
Constructor and Description |
---|
TagValues() |
Modifier and Type | Method and Description |
---|---|
CloudResourceManager.TagValues.Create |
create(TagValue content)
Creates a TagValue as a child of the specified TagKey.
|
CloudResourceManager.TagValues.Delete |
delete(String name)
Deletes a TagValue.
|
CloudResourceManager.TagValues.Get |
get(String name)
Retrieves a TagValue.
|
CloudResourceManager.TagValues.GetIamPolicy |
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for a TagValue.
|
CloudResourceManager.TagValues.List |
list()
Lists all TagValues for a specific TagKey.
|
CloudResourceManager.TagValues.Patch |
patch(String name,
TagValue content)
Updates the attributes of the TagValue resource.
|
CloudResourceManager.TagValues.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on a TagValue, replacing any existing policy.
|
CloudResourceManager.TagValues.TagHolds |
tagHolds()
An accessor for creating requests from the TagHolds collection.
|
CloudResourceManager.TagValues.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified TagValue.
|
public CloudResourceManager.TagValues.Create create(TagValue content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the TagValue
IOException
public CloudResourceManager.TagValues.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. Resource name for TagValue to be deleted in the format tagValues/456.IOException
public CloudResourceManager.TagValues.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. Resource name for TagValue to be fetched in the format `tagValues/456`.IOException
public CloudResourceManager.TagValues.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the GetIamPolicyRequest
IOException
public CloudResourceManager.TagValues.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public CloudResourceManager.TagValues.Patch patch(String name, TagValue content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Immutable. Resource name for TagValue in the format `tagValues/456`.content
- the TagValue
IOException
public CloudResourceManager.TagValues.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the SetIamPolicyRequest
IOException
public CloudResourceManager.TagValues.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the TestIamPermissionsRequest
IOException
public CloudResourceManager.TagValues.TagHolds tagHolds()
The typical use is:
CloudResourceManager cloudresourcemanager = new CloudResourceManager(...);
CloudResourceManager.TagHolds.List request = cloudresourcemanager.tagHolds().list(parameters ...)
Copyright © 2011–2023 Google. All rights reserved.