Creates a KeyRing in the given location (e.g. global).
// Creates an API client for the KMS API.
kms_client = googleapiclient.discovery.build("cloudkms", "v1")
// The resource name of the location associated with the KeyRing.
parent = "projects/{}/locations/{}".format(project_id, location_id)
// Create KeyRing
request = kms_client.projects().locations().keyRings().create(
parent=parent, body={}, keyRingId=key_ring_id)
response = request.execute()
print("Created KeyRing {}.".format(response["name"]))
// [END kms_create_keyring]