Class: Google::Apis::ServiceconsumermanagementV1beta1::PhpSettings

Inherits:
Object
  • Object
show all
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 Php client libraries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PhpSettings

Returns a new instance of PhpSettings.



2870
2871
2872
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 2870

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

Instance Attribute Details

#commonGoogle::Apis::ServiceconsumermanagementV1beta1::CommonLanguageSettings

Required information for every language. Corresponds to the JSON property common



2858
2859
2860
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 2858

def common
  @common
end

#library_packageString

The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used only by APIs who have already set the language_settings.php.package_name" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible. Example of a YAML configuration:: publishing: library_settings: php_settings: library_package: Google\Cloud\PubSub\V1 Corresponds to the JSON property libraryPackage

Returns:

  • (String)


2868
2869
2870
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 2868

def library_package
  @library_package
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2875
2876
2877
2878
# File 'lib/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 2875

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