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
- (::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
- 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.
- (::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
-
(::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
-
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.
-
(::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
- (::Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo::ConsumerType) — The type of the consumer which should have been defined in Google Resource Manager.
#type=
def type=(value) -> ::Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo::ConsumerType
- value (::Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo::ConsumerType) — The type of the consumer which should have been defined in Google Resource Manager.
- (::Google::Cloud::ServiceControl::V1::CheckResponse::ConsumerInfo::ConsumerType) — The type of the consumer which should have been defined in Google Resource Manager.