Class ProjectsResource.LocationsResource.WorkerpoolsResource
The "workerpools" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class ProjectsResource.LocationsResource.WorkerpoolsResource
Constructors
WorkerpoolsResource(IClientService)
Constructs a new resource.
Declaration
public WorkerpoolsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
GetIamPolicy(string)
Get the IAM Access Control policy currently in effect for the given worker pool. This result does not include any inherited policies.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerpoolsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
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.WorkerpoolsResource.GetIamPolicyRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the IAM Access control policy for the specified worker pool. Overwrites any existing policy.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerpoolsResource.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.WorkerpoolsResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified worker pool. There are no permissions required for making this API call.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerpoolsResource.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.WorkerpoolsResource.TestIamPermissionsRequest |