Пример #1
0
 def __init__(self):
     self.client = util.GetClientInstance()
     self.messages = util.GetMessagesModule()
     self.service = self.client.entries
Пример #2
0
 def __init__(self, version_label):
     self.version_label = version_label
     self.client = util.GetClientInstance(version_label)
     self.messages = util.GetMessagesModule(version_label)
     self.service = self.client.catalog
Пример #3
0
 def __init__(self):
     self.client = util.GetClientInstance(api_version=_CRAWLER_API_VERSION)
     self.messages = util.GetMessagesModule(
         api_version=_CRAWLER_API_VERSION)
     self.service = self.client.projects_crawlers
Пример #4
0
 def __init__(self):
     self.client = util.GetClientInstance(VERSION)
     self.messages = util.GetMessagesModule(VERSION)
     self.service = self.client.projects_locations_tagTemplates
Пример #5
0
 def __init__(self, version_label):
     self.version_label = version_label
     self.client = util.GetClientInstance(version_label)
     self.messages = util.GetMessagesModule(version_label)
     self.service = self.client.projects_locations_taxonomies
Пример #6
0
 def __init__(self):
     self.client = util.GetClientInstance()
     self.messages = util.GetMessagesModule()
     self.entry_lookup_service = self.client.entries
     self.entry_service = self.client.projects_locations_entryGroups_entries