Class: Google::Apis::ServiceconsumermanagementV1::CommonLanguageSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/serviceconsumermanagement_v1/classes.rb,
lib/google/apis/serviceconsumermanagement_v1/representations.rb,
lib/google/apis/serviceconsumermanagement_v1/representations.rb

Overview

Required information for every language.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonLanguageSettings

Returns a new instance of CommonLanguageSettings.



703
704
705
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 703

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destinationsArray<String>

The destination where API teams want this client library to be published. Corresponds to the JSON property destinations

Returns:

  • (Array<String>)


695
696
697
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 695

def destinations
  @destinations
end

#reference_docs_uriString

Link to automatically generated reference documentation. Example: https:// cloud.google.com/nodejs/docs/reference/asset/latest Corresponds to the JSON property referenceDocsUri

Returns:

  • (String)


701
702
703
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 701

def reference_docs_uri
  @reference_docs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



708
709
710
711
# File 'lib/google/apis/serviceconsumermanagement_v1/classes.rb', line 708

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