Class: Google::Apis::DnsV2beta1::Project
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DnsV2beta1::Project
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v2beta1/classes.rb,
 generated/google/apis/dns_v2beta1/representations.rb,
 generated/google/apis/dns_v2beta1/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.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User assigned unique identifier for the resource (output only). 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #number  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique numeric identifier for the resource; defined by the server (output only) . 
- 
  
    
      #quota  ⇒ Google::Apis::DnsV2beta1::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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Project
Returns a new instance of Project
| 703 704 705 | # File 'generated/google/apis/dns_v2beta1/classes.rb', line 703 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
| 684 685 686 | # File 'generated/google/apis/dns_v2beta1/classes.rb', line 684 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
| 690 691 692 | # File 'generated/google/apis/dns_v2beta1/classes.rb', line 690 def kind @kind end | 
#number ⇒ Fixnum
Unique numeric identifier for the resource; defined by the server (output only)
.
Corresponds to the JSON property number
| 696 697 698 | # File 'generated/google/apis/dns_v2beta1/classes.rb', line 696 def number @number end | 
#quota ⇒ Google::Apis::DnsV2beta1::Quota
Limits associated with a Project.
Corresponds to the JSON property quota
| 701 702 703 | # File 'generated/google/apis/dns_v2beta1/classes.rb', line 701 def quota @quota end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 708 709 710 711 712 713 | # File 'generated/google/apis/dns_v2beta1/classes.rb', line 708 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 |