Class: Google::Apis::DnsV1beta2::Project
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::Project
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dns_v1beta2/classes.rb,
lib/google/apis/dns_v1beta2/representations.rb,
lib/google/apis/dns_v1beta2/representations.rb
Overview
A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console. Next tag: 7.
Instance Attribute Summary collapse
-
#id ⇒ String
User assigned unique identifier for the resource (output only).
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#number ⇒ Fixnum
Unique numeric identifier for the resource; defined by the server (output only) .
-
#quota ⇒ Google::Apis::DnsV1beta2::Quota
Limits associated with a Project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Project
constructor
A new instance of Project.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Project
Returns a new instance of Project.
1305 1306 1307 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
User assigned unique identifier for the resource (output only).
Corresponds to the JSON property id
1287 1288 1289 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1287 def id @id end |
#kind ⇒ String
Corresponds to the JSON property kind
1292 1293 1294 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1292 def kind @kind end |
#number ⇒ Fixnum
Unique numeric identifier for the resource; defined by the server (output only)
.
Corresponds to the JSON property number
1298 1299 1300 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1298 def number @number end |
#quota ⇒ Google::Apis::DnsV1beta2::Quota
Limits associated with a Project.
Corresponds to the JSON property quota
1303 1304 1305 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1303 def quota @quota end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1310 1311 1312 1313 1314 1315 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1310 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 |