Class: Google::Apis::ServiceuserV1::PublishedService

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/serviceuser_v1/classes.rb,
generated/google/apis/serviceuser_v1/representations.rb,
generated/google/apis/serviceuser_v1/representations.rb

Overview

The published version 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) ⇒ PublishedService

Returns a new instance of PublishedService



2507
2508
2509
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2507

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

Instance Attribute Details

#nameString

The resource name of the service. A valid name would be:

  • services/serviceuser.googleapis.com Corresponds to the JSON property name

Returns:

  • (String)


2480
2481
2482
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2480

def name
  @name
end

#serviceGoogle::Apis::ServiceuserV1::Service

Service is the root object of Google service configuration schema. It describes basic information about a service, such as the name and the title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. See each proto message definition for details. Example: type: google.api.Service config_version: 3 name: calendar.googleapis.com title: Google Calendar API apis:



2505
2506
2507
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2505

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2512
2513
2514
2515
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2512

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @service = args[:service] if args.key?(:service)
end