Class: Google::Apis::ServiceusageV1::ClientLibrarySettings

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

Overview

Details about how and where to publish client libraries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientLibrarySettings

Returns a new instance of ClientLibrarySettings.



727
728
729
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 727

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

Instance Attribute Details

#cpp_settingsGoogle::Apis::ServiceusageV1::CppSettings

Settings for C++ client libraries. Corresponds to the JSON property cppSettings



673
674
675
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 673

def cpp_settings
  @cpp_settings
end

#dotnet_settingsGoogle::Apis::ServiceusageV1::DotnetSettings

Settings for Dotnet client libraries. Corresponds to the JSON property dotnetSettings



678
679
680
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 678

def dotnet_settings
  @dotnet_settings
end

#go_settingsGoogle::Apis::ServiceusageV1::GoSettings

Settings for Go client libraries. Corresponds to the JSON property goSettings



683
684
685
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 683

def go_settings
  @go_settings
end

#java_settingsGoogle::Apis::ServiceusageV1::JavaSettings

Settings for Java client libraries. Corresponds to the JSON property javaSettings



688
689
690
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 688

def java_settings
  @java_settings
end

#launch_stageString

Launch stage of this version of the API. Corresponds to the JSON property launchStage

Returns:

  • (String)


693
694
695
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 693

def launch_stage
  @launch_stage
end

#node_settingsGoogle::Apis::ServiceusageV1::NodeSettings

Settings for Node client libraries. Corresponds to the JSON property nodeSettings



698
699
700
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 698

def node_settings
  @node_settings
end

#php_settingsGoogle::Apis::ServiceusageV1::PhpSettings

Settings for Php client libraries. Corresponds to the JSON property phpSettings



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

def php_settings
  @php_settings
end

#python_settingsGoogle::Apis::ServiceusageV1::PythonSettings

Settings for Python client libraries. Corresponds to the JSON property pythonSettings



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

def python_settings
  @python_settings
end

#rest_numeric_enumsBoolean Also known as: rest_numeric_enums?

When using transport=rest, the client request will encode enums as numbers rather than strings. Corresponds to the JSON property restNumericEnums

Returns:

  • (Boolean)


714
715
716
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 714

def rest_numeric_enums
  @rest_numeric_enums
end

#ruby_settingsGoogle::Apis::ServiceusageV1::RubySettings

Settings for Ruby client libraries. Corresponds to the JSON property rubySettings



720
721
722
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 720

def ruby_settings
  @ruby_settings
end

#versionString

Version of the API to apply these settings to. Corresponds to the JSON property version

Returns:

  • (String)


725
726
727
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 725

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



732
733
734
735
736
737
738
739
740
741
742
743
744
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 732

def update!(**args)
  @cpp_settings = args[:cpp_settings] if args.key?(:cpp_settings)
  @dotnet_settings = args[:dotnet_settings] if args.key?(:dotnet_settings)
  @go_settings = args[:go_settings] if args.key?(:go_settings)
  @java_settings = args[:java_settings] if args.key?(:java_settings)
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
  @node_settings = args[:node_settings] if args.key?(:node_settings)
  @php_settings = args[:php_settings] if args.key?(:php_settings)
  @python_settings = args[:python_settings] if args.key?(:python_settings)
  @rest_numeric_enums = args[:rest_numeric_enums] if args.key?(:rest_numeric_enums)
  @ruby_settings = args[:ruby_settings] if args.key?(:ruby_settings)
  @version = args[:version] if args.key?(:version)
end