Class: Google::Apis::ServicemanagementV1::ManagedService

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ManagedService

Returns a new instance of ManagedService.



2429
2430
2431
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2429

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#producer_project_idString

ID of the project that produces and owns this service. Corresponds to the JSON property producerProjectId

Returns:

  • (String)


2421
2422
2423
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2421

def producer_project_id
  @producer_project_id
end

#service_nameString

The name of the service. See the overview for naming requirements. Corresponds to the JSON property serviceName

Returns:

  • (String)


2427
2428
2429
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2427

def service_name
  @service_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2434
2435
2436
2437
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 2434

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