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



3220
3221
3222
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3220

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)


3218
3219
3220
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3218

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:



3211
3212
3213
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3211

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3225
3226
3227
3228
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3225

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