Class: Google::Apis::ServicecontrolV1::ConsumerInfo
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::ConsumerInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb
Overview
ConsumerInfo
provides information about the consumer project.
Instance Attribute Summary collapse
-
#project_number ⇒ Fixnum
The Google cloud project number, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConsumerInfo
constructor
A new instance of ConsumerInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ConsumerInfo
Returns a new instance of ConsumerInfo
508 509 510 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 508 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_number ⇒ Fixnum
The Google cloud project number, e.g. 1234567890. A value of 0 indicates
no project number is found.
Corresponds to the JSON property projectNumber
506 507 508 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 506 def project_number @project_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
513 514 515 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 513 def update!(**args) @project_number = args[:project_number] if args.key?(:project_number) end |