Class: Google::Apis::DnsV1beta2::Project
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::Project
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1beta2/classes.rb,
generated/google/apis/dns_v1beta2/representations.rb,
generated/google/apis/dns_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Corresponds to the JSON property
id
. -
#kind ⇒ String
Identifies what kind of resource this is.
-
#number ⇒ Fixnum
Corresponds to the JSON property
number
. -
#quota ⇒ Google::Apis::DnsV1beta2::Quota
Corresponds to the JSON property
quota
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Project
constructor
A new instance of Project.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Project
Returns a new instance of Project
1035 1036 1037 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
1017 1018 1019 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1017 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#project"
.
Corresponds to the JSON property kind
1023 1024 1025 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1023 def kind @kind end |
#number ⇒ Fixnum
Corresponds to the JSON property number
1028 1029 1030 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1028 def number @number end |
#quota ⇒ Google::Apis::DnsV1beta2::Quota
Corresponds to the JSON property quota
1033 1034 1035 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1033 def quota @quota end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1040 1041 1042 1043 1044 1045 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1040 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @number = args[:number] if args.key?(:number) @quota = args[:quota] if args.key?(:quota) end |