Searched refs:JsonToMessage (Results 1 – 10 of 10) sorted by relevance
/external/python/apitools/apitools/base/py/ |
D | encoding_test.py | 169 msg, encoding.JsonToMessage(BytesMessage, urlsafe_b64_msg)) 170 self.assertEqual(msg, encoding.JsonToMessage(BytesMessage, b64_msg)) 177 rep_msg, encoding.JsonToMessage(BytesMessage, enc_rep_msg)) 230 new_msg = encoding.JsonToMessage(type(msg), encoded_msg) 242 msg = encoding.JsonToMessage(HasNestedMessage, json_msg) 247 msg = encoding.JsonToMessage(AdditionalIntPropertiesMessage, json_msg) 257 result = encoding.JsonToMessage( 264 result = encoding.JsonToMessage( 285 new_msg = encoding.JsonToMessage(type(msg), encoded_msg) 296 message = encoding.JsonToMessage(MessageWithEnum, message_json) [all …]
|
D | extra_types_test.py | 86 value = encoding.JsonToMessage(extra_types.JsonValue, array_json) 93 value = encoding.JsonToMessage(extra_types.JsonValue, obj_json) 141 encoding.JsonToMessage(HasJsonValueMsg, msg_json)) 162 msg, encoding.JsonToMessage(DateMsg, json.dumps(msg_dict))) 179 return encoding.JsonToMessage(class_type, json_str)
|
D | encoding.py | 105 def JsonToMessage(message_type, message): function 113 return JsonToMessage(message_type, json.dumps(d)) 135 return JsonToMessage(message_type, json.dumps(value))
|
D | base_api.py | 442 message = encoding.JsonToMessage(response_type, data)
|
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/ |
D | servicemanagement_v1.py | 277 …request.configSpec = apitools_base.JsonToMessage(messages.ConvertConfigRequest.ConfigSpecValue, FL… 279 request.openApiSpec = apitools_base.JsonToMessage(messages.OpenApiSpec, FLAGS.openApiSpec) 283 request.swaggerSpec = apitools_base.JsonToMessage(messages.SwaggerSpec, FLAGS.swaggerSpec) 372 request.configSource = apitools_base.JsonToMessage(messages.ConfigSource, FLAGS.configSource) 376 …request.operations = [apitools_base.JsonToMessage(messages.Operation, x) for x in FLAGS.operations] 380 …request.projectSettings = apitools_base.JsonToMessage(messages.ProjectSettings, FLAGS.projectSetti… 382 request.serviceConfig = apitools_base.JsonToMessage(messages.Service, FLAGS.serviceConfig) 447 …request.disableServiceRequest = apitools_base.JsonToMessage(messages.DisableServiceRequest, FLAGS.… 485 …request.enableServiceRequest = apitools_base.JsonToMessage(messages.EnableServiceRequest, FLAGS.en… 744 …request.managedService = apitools_base.JsonToMessage(messages.ManagedService, FLAGS.managedService) [all …]
|
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/ |
D | fusiontables_v1.py | 245 request.column = apitools_base.JsonToMessage(messages.Column, FLAGS.column) 326 request.column = apitools_base.JsonToMessage(messages.Column, FLAGS.column) 362 request.column = apitools_base.JsonToMessage(messages.Column, FLAGS.column) 617 request.markerOptions = apitools_base.JsonToMessage(messages.PointStyle, FLAGS.markerOptions) 621 … request.polygonOptions = apitools_base.JsonToMessage(messages.PolygonStyle, FLAGS.polygonOptions) 623 … request.polylineOptions = apitools_base.JsonToMessage(messages.LineStyle, FLAGS.polylineOptions) 737 request.markerOptions = apitools_base.JsonToMessage(messages.PointStyle, FLAGS.markerOptions) 741 … request.polygonOptions = apitools_base.JsonToMessage(messages.PolygonStyle, FLAGS.polygonOptions) 743 … request.polylineOptions = apitools_base.JsonToMessage(messages.LineStyle, FLAGS.polylineOptions) 811 request.markerOptions = apitools_base.JsonToMessage(messages.PointStyle, FLAGS.markerOptions) [all …]
|
/external/python/apitools/samples/bigquery_sample/bigquery_v2/ |
D | bigquery_v2.py | 261 request.dataset = apitools_base.JsonToMessage(messages.Dataset, FLAGS.dataset) 369 request.dataset = apitools_base.JsonToMessage(messages.Dataset, FLAGS.dataset) 407 request.dataset = apitools_base.JsonToMessage(messages.Dataset, FLAGS.dataset) 581 request.job = apitools_base.JsonToMessage(messages.Job, FLAGS.job) 698 request.queryRequest = apitools_base.JsonToMessage(messages.QueryRequest, FLAGS.queryRequest) 779 …request.tableDataInsertAllRequest = apitools_base.JsonToMessage(messages.TableDataInsertAllRequest… 930 request.table = apitools_base.JsonToMessage(messages.Table, FLAGS.table) 1018 request.table = apitools_base.JsonToMessage(messages.Table, FLAGS.table) 1058 request.table = apitools_base.JsonToMessage(messages.Table, FLAGS.table)
|
/external/python/apitools/samples/storage_sample/storage_v1/ |
D | storage_v1.py | 336 …request.projectTeam = apitools_base.JsonToMessage(messages.BucketAccessControl.ProjectTeamValue, F… 472 …request.projectTeam = apitools_base.JsonToMessage(messages.BucketAccessControl.ProjectTeamValue, F… 583 …request.projectTeam = apitools_base.JsonToMessage(messages.BucketAccessControl.ProjectTeamValue, F… 775 request.bucket = apitools_base.JsonToMessage(messages.Bucket, FLAGS.bucket) 917 request.bucketResource = apitools_base.JsonToMessage(messages.Bucket, FLAGS.bucketResource) 961 request.policy = apitools_base.JsonToMessage(messages.Policy, FLAGS.policy) 1063 request.bucketResource = apitools_base.JsonToMessage(messages.Bucket, FLAGS.bucketResource) 1176 request.params = apitools_base.JsonToMessage(messages.Channel.ParamsValue, FLAGS.params) 1378 …request.projectTeam = apitools_base.JsonToMessage(messages.ObjectAccessControl.ProjectTeamValue, F… 1550 …request.projectTeam = apitools_base.JsonToMessage(messages.ObjectAccessControl.ProjectTeamValue, F… [all …]
|
/external/python/apitools/samples/iam_sample/iam_v1/ |
D | iam_v1.py | 293 …request.createServiceAccountRequest = apitools_base.JsonToMessage(messages.CreateServiceAccountReq… 478 …request.setIamPolicyRequest = apitools_base.JsonToMessage(messages.SetIamPolicyRequest, FLAGS.setI… 517 …request.signBlobRequest = apitools_base.JsonToMessage(messages.SignBlobRequest, FLAGS.signBlobRequ… 559 …request.signJwtRequest = apitools_base.JsonToMessage(messages.SignJwtRequest, FLAGS.signJwtRequest) 600 …request.testIamPermissionsRequest = apitools_base.JsonToMessage(messages.TestIamPermissionsRequest… 738 …request.createServiceAccountKeyRequest = apitools_base.JsonToMessage(messages.CreateServiceAccount…
|
/external/python/apitools/samples/dns_sample/dns_v1/ |
D | dns_v1.py | 196 request.change = apitools_base.JsonToMessage(messages.Change, FLAGS.change) 326 request.managedZone = apitools_base.JsonToMessage(messages.ManagedZone, FLAGS.managedZone)
|