com.google.iam.v1.iam_policy

Members list

Concise view

Type members

Classlikes

final case class GetIamPolicyRequest(resource: String, options: Option[GetPolicyOptions], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[GetIamPolicyRequest]

Request message for GetIamPolicy method.

Request message for GetIamPolicy method.

Attributes

options

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. This field is only used by Cloud IAM.

resource

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

Companion:
object
Source:
GetIamPolicyRequest.scala
Graph
Supertypes
trait Updatable[GetIamPolicyRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object GetIamPolicyRequest extends GeneratedMessageCompanion[GetIamPolicyRequest]

Attributes

Companion:
class
Source:
GetIamPolicyRequest.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[GetIamPolicyRequest]
trait Serializable
class Object
trait Matchable
class Any
Self type
trait IAMPolicy[F[_]]

Manages Identity and Access Management (IAM) policies.

API Overview

Manages Identity and Access Management (IAM) policies.

Any implementation of an API that offers access control features implements the google.iam.v1.IAMPolicy interface.

Data model

Access control is applied when a principal (user or service account), takes some action on a resource exposed by a service. Resources, identified by URI-like names, are the unit of access control specification. Service implementations can choose the granularity of access control and the supported permissions for their resources. For example one database service may allow access control to be specified only at the Table level, whereas another might allow access control to also be specified at the Column level.

Policy Structure

See google.iam.v1.Policy

This is intentionally not a CRUD style API because access control policies are created and deleted implicitly with the resources to which they are attached.

Attributes

Companion:
object
Source:
IAMPolicy.scala
Graph
Supertypes
class Object
trait Matchable
class Any
object IAMPolicy

Attributes

Companion:
trait
Source:
IAMPolicy.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object IamPolicyProto extends GeneratedFileObject

Attributes

Source:
IamPolicyProto.scala
Graph
Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type
final case class SetIamPolicyRequest(resource: String, policy: Option[Policy], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[SetIamPolicyRequest]

Request message for SetIamPolicy method.

Request message for SetIamPolicy method.

Attributes

policy

REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.

resource

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

Companion:
object
Source:
SetIamPolicyRequest.scala
Graph
Supertypes
trait Updatable[SetIamPolicyRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object SetIamPolicyRequest extends GeneratedMessageCompanion[SetIamPolicyRequest]

Attributes

Companion:
class
Source:
SetIamPolicyRequest.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[SetIamPolicyRequest]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class TestIamPermissionsRequest(resource: String, permissions: Seq[String], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[TestIamPermissionsRequest]

Request message for TestIamPermissions method.

Request message for TestIamPermissions method.

Attributes

permissions

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.

resource

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

Companion:
object
Source:
TestIamPermissionsRequest.scala
Graph
Supertypes
trait Updatable[TestIamPermissionsRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object TestIamPermissionsRequest extends GeneratedMessageCompanion[TestIamPermissionsRequest]

Attributes

Companion:
class
Source:
TestIamPermissionsRequest.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[TestIamPermissionsRequest]
trait Serializable
class Object
trait Matchable
class Any
Self type
final case class TestIamPermissionsResponse(permissions: Seq[String], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[TestIamPermissionsResponse]

Response message for TestIamPermissions method.

Response message for TestIamPermissions method.

Attributes

permissions

A subset of TestPermissionsRequest.permissions that the caller is allowed.

Companion:
object
Source:
TestIamPermissionsResponse.scala
Graph
Supertypes
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object TestIamPermissionsResponse extends GeneratedMessageCompanion[TestIamPermissionsResponse]

Attributes

Companion:
class
Source:
TestIamPermissionsResponse.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[TestIamPermissionsResponse]
trait Serializable
class Object
trait Matchable
class Any
Self type