Google Cloud Identity and Access Management (IAM) v1 API - Class TestIamPermissionsRequest (3.2.0)

public sealed class TestIamPermissionsRequest : IMessage<TestIamPermissionsRequest>, IEquatable<TestIamPermissionsRequest>, IDeepCloneable<TestIamPermissionsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Identity and Access Management (IAM) v1 API class TestIamPermissionsRequest.

Request message for TestIamPermissions method.

Inheritance

object > TestIamPermissionsRequest

Namespace

Google.Cloud.Iam.V1

Assembly

Google.Cloud.Iam.V1.dll

Constructors

TestIamPermissionsRequest()

public TestIamPermissionsRequest()

TestIamPermissionsRequest(TestIamPermissionsRequest)

public TestIamPermissionsRequest(TestIamPermissionsRequest other)
Parameter
NameDescription
otherTestIamPermissionsRequest

Properties

Permissions

public RepeatedField<string> Permissions { get; }

The set of permissions to check for the resource. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

Property Value
TypeDescription
RepeatedFieldstring

Resource

public string Resource { get; set; }

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

Property Value
TypeDescription
string

ResourceAsResourceName

public IResourceName ResourceAsResourceName { get; set; }

IResourceName-typed view over the Resource resource name property.

Property Value
TypeDescription
IResourceName