Class: Google::Apis::ServiceconsumermanagementV1beta1::GoSettings
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1beta1::GoSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb,
lib/google/apis/serviceconsumermanagement_v1beta1/representations.rb,
lib/google/apis/serviceconsumermanagement_v1beta1/representations.rb
Overview
Settings for Go client libraries.
Instance Attribute Summary collapse
-
#common ⇒ Google::Apis::ServiceconsumermanagementV1beta1::CommonLanguageSettings
Required information for every language.
-
#renamed_services ⇒ Hash<String,String>
Map of service names to renamed services.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoSettings
constructor
A new instance of GoSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoSettings
Returns a new instance of GoSettings.
1328 1329 1330 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 1328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common ⇒ Google::Apis::ServiceconsumermanagementV1beta1::CommonLanguageSettings
Required information for every language.
Corresponds to the JSON property common
1319 1320 1321 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 1319 def common @common end |
#renamed_services ⇒ Hash<String,String>
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client and
call options. publishing: go_settings: renamed_services: Publisher: TopicAdmin
Corresponds to the JSON property renamedServices
1326 1327 1328 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 1326 def renamed_services @renamed_services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1333 1334 1335 1336 |
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 1333 def update!(**args) @common = args[:common] if args.key?(:common) @renamed_services = args[:renamed_services] if args.key?(:renamed_services) end |