Copied!

To where should client libraries be published?

Protobuf type google.api.ClientLibraryDestination

CloneableInstantiable
Constants
public Google\Api\ClientLibraryDestination::CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
 

Client libraries will neither be generated nor published to package managers.

Generated from protobuf enum CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;

public Google\Api\ClientLibraryDestination::GITHUB = 10
 

Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.

Generated from protobuf enum GITHUB = 10;

public Google\Api\ClientLibraryDestination::PACKAGE_MANAGER = 20
 

Publish the library to package managers like nuget.org and npmjs.com.

Generated from protobuf enum PACKAGE_MANAGER = 20;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName = ['CLIENT_LIBRARY_DESTINATION_UNSPECIFIED', 10 => 'GITHUB', 20 => 'PACKAGE_MANAGER']
Properties
private static $valueToName = ['CLIENT_LIBRARY_DESTINATION_UNSPECIFIED', 10 => 'GITHUB', 20 => 'PACKAGE_MANAGER']
Methods
public static name( $value)
public static value( $name)
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration