Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo (v0.7.1)

Reference documentation and code samples for the Service Control API V1 API class Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo.

ConsumerInfo provides information about the consumer.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#consumer_number

def consumer_number() -> ::Integer
Returns
  • (::Integer) — The consumer identity number, can be Google cloud project number, folder number or organization number e.g. 1234567890. A value of 0 indicates no consumer number is found.

#consumer_number=

def consumer_number=(value) -> ::Integer
Parameter
  • value (::Integer) — The consumer identity number, can be Google cloud project number, folder number or organization number e.g. 1234567890. A value of 0 indicates no consumer number is found.
Returns
  • (::Integer) — The consumer identity number, can be Google cloud project number, folder number or organization number e.g. 1234567890. A value of 0 indicates no consumer number is found.

#project_number

def project_number() -> ::Integer
Returns
  • (::Integer) — The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found.

    NOTE: This field is deprecated after we support flexible consumer id. New code should not depend on this field anymore.

#project_number=

def project_number=(value) -> ::Integer
Parameter
  • value (::Integer) — The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found.

    NOTE: This field is deprecated after we support flexible consumer id. New code should not depend on this field anymore.

Returns
  • (::Integer) — The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found.

    NOTE: This field is deprecated after we support flexible consumer id. New code should not depend on this field anymore.

#type

def type() -> ::Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo::ConsumerType
Returns

#type=

def type=(value) -> ::Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo::ConsumerType
Parameter
Returns