def make_gax_sinks_api(client):
 channel = make_secure_channel(client._connection.credentials, DEFAULT_USER_AGENT, ConfigServiceV2Client.SERVICE_ADDRESS)
 generated = ConfigServiceV2Client(channel=channel)
 return _SinksAPI(generated, client)

def make_gax_sinks_api ( client ) : channel = make_secure_channel ( client . _connection . credentials , DEFAULT_USER_AGENT , ConfigServiceV2Client . SERVICE_ADDRESS ) generated = ConfigServiceV2Client ( channel = channel ) return _SinksAPI ( generated , client )
create an instance of the gax sinks api .