SetIamPolicyRequest

com.google.iam.v1.iam_policy.SetIamPolicyRequest
See theSetIamPolicyRequest companion object
final case class SetIamPolicyRequest(resource: String, policy: Option[Policy], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[SetIamPolicyRequest]

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

Members list

Concise view

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
SetIamPolicyRequest.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
SetIamPolicyRequest.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
SetIamPolicyRequest.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
SetIamPolicyRequest.scala
def withUnknownFields(`__v`: UnknownFieldSet): SetIamPolicyRequest

Attributes

Source:
SetIamPolicyRequest.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
SetIamPolicyRequest.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala