Class: Google::Apis::ServicemanagementV1::ManagedService
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServicemanagementV1::ManagedService
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicemanagement_v1/classes.rb,
 generated/google/apis/servicemanagement_v1/representations.rb,
 generated/google/apis/servicemanagement_v1/representations.rb
Overview
The full representation of a Service that is managed by Google Service Management.
Instance Attribute Summary collapse
- 
  
    
      #producer_project_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ID of the project that produces and owns this service. 
- 
  
    
      #service_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the service. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ManagedService 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ManagedService. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManagedService
Returns a new instance of ManagedService
| 2198 2199 2200 | # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2198 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#producer_project_id ⇒ String
ID of the project that produces and owns this service.
Corresponds to the JSON property producerProjectId
| 2190 2191 2192 | # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2190 def producer_project_id @producer_project_id end | 
#service_name ⇒ String
The name of the service. See the overview
for naming requirements.
Corresponds to the JSON property serviceName
| 2196 2197 2198 | # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2196 def service_name @service_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2203 2204 2205 2206 | # File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2203 def update!(**args) @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id) @service_name = args[:service_name] if args.key?(:service_name) end |