Class: Google::Apis::ServiceuserV1::PublishedService
- Inherits:
-
Object
- Object
- Google::Apis::ServiceuserV1::PublishedService
- 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
-
#name ⇒ String
The resource name of the service.
-
#service ⇒ Google::Apis::ServiceuserV1::Service
Service
is the root object of Google service configuration schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublishedService
constructor
A new instance of PublishedService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#name ⇒ String
The resource name of the service. A valid name would be:
- services/serviceuser.googleapis.com
Corresponds to the JSON property
name
3218 3219 3220 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 3218 def name @name end |
#service ⇒ Google::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:
- name: google.calendar.v3.Calendar authentication: providers:
- id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules:
- selector: "*"
requirements:
provider_id: google_calendar_auth
Corresponds to the JSON property
service
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 |