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



2497
2498
2499
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2497

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)


2470
2471
2472
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2470

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:



2495
2496
2497
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2495

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2502
2503
2504
2505
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2502

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