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
2497 2498 2499 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2497 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
2470 2471 2472 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 2470 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
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 |