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
@gguuss
I found that many parameters in demo do not exist
# device.gateway_config if device.credentials is not None: for credential in device.credentials: keyinfo = credential.public_key print('\tcertificate: \n{}'.format(keyinfo.key)) if keyinfo.format == 4: keyformat = 'ES256_X509_PEM' elif keyinfo.format == 3: keyformat = 'RSA_PEM' elif keyinfo.format == 2: keyformat = 'ES256_PEM' elif keyinfo.format == 1: keyformat = 'RSA_X509_PEM' else: keyformat = 'UNSPECIFIED_PUBLIC_KEY_FORMAT' print('\tformat : {}'.format(keyformat)) print('\texpiration: {}'.format(credential.expiration_time)) print('Config:') print('\tdata: {}'.format(device.config.binary_data)) print('\tversion: {}'.format(device.config.version)) print('\tcloudUpdateTime: {}'.format(device.config.cloud_update_time)) return device # [END iot_get_device]
device.config.binary_data and device.config.cloud_update_time Is a non-existent parameter
The text was updated successfully, but these errors were encountered:
The file with the code above is https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/iot/api-client/manager/manager.py
Sorry, something went wrong.
Resolved in this PR
gguuss
No branches or pull requests
@gguuss
I found that many parameters in demo do not exist
device.config.binary_data and device.config.cloud_update_time Is a non-existent parameter
The text was updated successfully, but these errors were encountered: