Class: Google::Apis::CloudbillingV1::Service
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudbillingV1::Service
 
- Defined in:
- generated/google/apis/cloudbilling_v1/classes.rb,
 generated/google/apis/cloudbilling_v1/representations.rb,
 generated/google/apis/cloudbilling_v1/representations.rb
Overview
Encapsulates a single service in Google Cloud Platform.
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A human readable display name for this service. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource name for the service. 
- 
  
    
      #service_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier for the service. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Service 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Service. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Service
Returns a new instance of Service
| 732 733 734 | # File 'generated/google/apis/cloudbilling_v1/classes.rb', line 732 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#display_name ⇒ String
A human readable display name for this service.
Corresponds to the JSON property displayName
| 718 719 720 | # File 'generated/google/apis/cloudbilling_v1/classes.rb', line 718 def display_name @display_name end | 
#name ⇒ String
The resource name for the service.
Example: "services/DA34-426B-A397"
Corresponds to the JSON property name
| 724 725 726 | # File 'generated/google/apis/cloudbilling_v1/classes.rb', line 724 def name @name end | 
#service_id ⇒ String
The identifier for the service.
Example: "DA34-426B-A397"
Corresponds to the JSON property serviceId
| 730 731 732 | # File 'generated/google/apis/cloudbilling_v1/classes.rb', line 730 def service_id @service_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 737 738 739 740 741 | # File 'generated/google/apis/cloudbilling_v1/classes.rb', line 737 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @service_id = args[:service_id] if args.key?(:service_id) end |