Class: Google::Api::PhpSettings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/client.rb

Overview

Settings for Php client libraries.

Instance Attribute Summary collapse

Instance Attribute Details

#common::Google::Api::CommonLanguageSettings

Returns Some settings.

Returns:



208
209
210
211
# File 'proto_docs/google/api/client.rb', line 208

class PhpSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#library_package::String

Returns 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.

Returns:

  • (::String)

    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
    


208
209
210
211
# File 'proto_docs/google/api/client.rb', line 208

class PhpSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end