Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource

The "workloads" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceDirectory.v1beta1
Assembly: Google.Apis.ServiceDirectory.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource

Constructors

WorkloadsResource(IClientService)

Constructs a new resource.

Declaration
public WorkloadsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

GetIamPolicy(GetIamPolicyRequest, string)

Gets the IAM Policy for a resource

Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type Name Description
GetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource.GetIamPolicyRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the IAM Policy for a resource

Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource.SetIamPolicyRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Tests IAM permissions for a resource (namespace, service or service workload only).

Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.NamespacesResource.WorkloadsResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX