public class CloudResourceManager.TagKeys extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudResourceManager.TagKeys.Create |
class |
CloudResourceManager.TagKeys.Delete |
class |
CloudResourceManager.TagKeys.Get |
class |
CloudResourceManager.TagKeys.GetIamPolicy |
class |
CloudResourceManager.TagKeys.GetNamespaced |
class |
CloudResourceManager.TagKeys.List |
class |
CloudResourceManager.TagKeys.Patch |
class |
CloudResourceManager.TagKeys.SetIamPolicy |
class |
CloudResourceManager.TagKeys.TestIamPermissions |
Constructor and Description |
---|
TagKeys() |
public CloudResourceManager.TagKeys.Create create(TagKey content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the TagKey
IOException
public CloudResourceManager.TagKeys.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of a TagKey to be deleted in the format `tagKeys/123`. The TagKey cannot
be a parent of any existing TagValues or it will not be deleted successfully.IOException
public CloudResourceManager.TagKeys.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. A resource name in the format `tagKeys/{id}`, such as `tagKeys/123`.IOException
public CloudResourceManager.TagKeys.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.TagKeys.GetNamespaced getNamespaced() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.IOException
public CloudResourceManager.TagKeys.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public CloudResourceManager.TagKeys.Patch patch(String name, TagKey content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Immutable. The resource name for a TagKey. Must be in the format `tagKeys/{tag_key_id}`, where
`tag_key_id` is the generated numeric id for the TagKey.content
- the TagKey
IOException
public CloudResourceManager.TagKeys.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.TagKeys.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
Copyright © 2011–2024 Google. All rights reserved.