Class: Google::Apis::ServicenetworkingV1beta::PhpSettings
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1beta::PhpSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicenetworking_v1beta/classes.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb
Overview
Settings for Php client libraries.
Instance Attribute Summary collapse
-
#common ⇒ Google::Apis::ServicenetworkingV1beta::CommonLanguageSettings
Required information for every language.
-
#library_package ⇒ String
The package name to use in Php.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PhpSettings
constructor
A new instance of PhpSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PhpSettings
Returns a new instance of PhpSettings.
3503 3504 3505 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 3503 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common ⇒ Google::Apis::ServicenetworkingV1beta::CommonLanguageSettings
Required information for every language.
Corresponds to the JSON property common
3491 3492 3493 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 3491 def common @common end |
#library_package ⇒ 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
Corresponds to the JSON property libraryPackage
3501 3502 3503 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 3501 def library_package @library_package end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3508 3509 3510 3511 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 3508 def update!(**args) @common = args[:common] if args.key?(:common) @library_package = args[:library_package] if args.key?(:library_package) end |