We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's easier to instantiate the client using the newer Cloud Client library so it's a good idea to migrate.
The following example code shows how to do it:
def list_registries(service_account_json, project_id, cloud_region): """List all registries in the project.""" # [START iot_list_registries] print('Listing Registries') client = iot_v1.DeviceManagerClient() parent = client.location_path(project_id, cloud_region) registries = client.list_device_registries(parent) for registry in registries: print('id: {}\n\tname: {}'.format( registry.id, registry.name)) return registries # [END iot_list_registries]
The text was updated successfully, but these errors were encountered:
We're pretty close here, after this PR closes, we'll just have the Cloud => Device functionality remaining.
Sorry, something went wrong.
We can close this when this PR merges.
Resolved!
gguuss
No branches or pull requests
It's easier to instantiate the client using the newer Cloud Client library so it's a good idea to migrate.
The following example code shows how to do it:
The text was updated successfully, but these errors were encountered: