# Dataform V1beta1 API - Class Google::Api::PhpSettings (v0.15.0)

0.15.0 (latest) 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Dataform V1beta1 API class Google::Api::PhpSettings.

Settings for Php client libraries.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #common

    def common() -> ::Google::Api::CommonLanguageSettings

**Returns**

- ([::Google::Api::CommonLanguageSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Api-CommonLanguageSettings)) --- Some settings.

### #common=

    def common=(value) -> ::Google::Api::CommonLanguageSettings

**Parameter**

- **value** ([::Google::Api::CommonLanguageSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Api-CommonLanguageSettings)) --- Some settings.
**Returns**

- ([::Google::Api::CommonLanguageSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Api-CommonLanguageSettings)) --- Some settings.

### #library_package

    def library_package() -> ::String

**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

### #library_package=

    def library_package=(value) -> ::String

**Parameter**

- **value** (::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

**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