Class TagKeysResource.GetNamespacedRequest
Retrieves a TagKey by its namespaced name. This method will return PERMISSION_DENIED
if the key does not
exist or the user does not have permission to view it.
Inheritance
TagKeysResource.GetNamespacedRequest
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class TagKeysResource.GetNamespacedRequest : CloudResourceManagerBaseServiceRequest<TagKey>, IClientServiceRequest<TagKey>, IClientServiceRequest
Constructors
GetNamespacedRequest(IClientService)
Constructs a new GetNamespaced request.
Declaration
public GetNamespacedRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.TagKey>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.TagKey>.MethodName
Name
Required. A namespaced tag key name in the format {parentId}/{tagKeyShort}
, such as 42/foo
for a key
with short name "foo" under the organization with ID 42 or r2-d2/bar
for a key with short name "bar"
under the project r2-d2
.
Declaration
[RequestParameter("name", RequestParameterType.Query)]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.TagKey>.RestPath
Methods
InitParameters()
Initializes GetNamespaced parameter list.
Declaration
protected override void InitParameters()