diff --git a/trace/google/cloud/trace_v1/__init__.py b/trace/google/cloud/trace_v1/__init__.py index c0a11689a6be..85a41797cf86 100644 --- a/trace/google/cloud/trace_v1/__init__.py +++ b/trace/google/cloud/trace_v1/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v1/gapic/enums.py b/trace/google/cloud/trace_v1/gapic/enums.py index b5d2728f8869..0f4f3f9c01ef 100644 --- a/trace/google/cloud/trace_v1/gapic/enums.py +++ b/trace/google/cloud/trace_v1/gapic/enums.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v1/gapic/trace_service_client.py b/trace/google/cloud/trace_v1/gapic/trace_service_client.py index 3e1af53d4a62..96799342c43a 100644 --- a/trace/google/cloud/trace_v1/gapic/trace_service_client.py +++ b/trace/google/cloud/trace_v1/gapic/trace_service_client.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v1/gapic/transports/trace_service_grpc_transport.py b/trace/google/cloud/trace_v1/gapic/transports/trace_service_grpc_transport.py index 63239085778e..9359bbc2171f 100644 --- a/trace/google/cloud/trace_v1/gapic/transports/trace_service_grpc_transport.py +++ b/trace/google/cloud/trace_v1/gapic/transports/trace_service_grpc_transport.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v1/proto/trace_pb2.py b/trace/google/cloud/trace_v1/proto/trace_pb2.py index bbd1d7f1c54b..7963c9f71677 100644 --- a/trace/google/cloud/trace_v1/proto/trace_pb2.py +++ b/trace/google/cloud/trace_v1/proto/trace_pb2.py @@ -791,9 +791,9 @@ dict( DESCRIPTOR=_TRACE, __module__="google.devtools.cloudtrace_v1.proto.trace_pb2", - __doc__="""A trace describes how long it takes for an application to perform an - operation. It consists of a set of spans, each of which represent a - single timed event within the operation. + __doc__="""A trace describes how long it takes for an application to + perform an operation. It consists of a set of spans, each of which + represent a single timed event within the operation. Attributes: @@ -845,11 +845,11 @@ ), DESCRIPTOR=_TRACESPAN, __module__="google.devtools.cloudtrace_v1.proto.trace_pb2", - __doc__="""A span represents a single timed event within a trace. Spans can be - nested and form a trace tree. Often, a trace contains a root span that - describes the end-to-end latency of an operation and, optionally, one or - more subspans for its suboperations. Spans do not need to be contiguous. - There may be gaps between spans in a trace. + __doc__="""A span represents a single timed event within a trace. + Spans can be nested and form a trace tree. Often, a trace contains a + root span that describes the end-to-end latency of an operation and, + optionally, one or more subspans for its suboperations. Spans do not + need to be contiguous. There may be gaps between spans in a trace. Attributes: @@ -908,8 +908,8 @@ dict( DESCRIPTOR=_LISTTRACESREQUEST, __module__="google.devtools.cloudtrace_v1.proto.trace_pb2", - __doc__="""The request message for the ``ListTraces`` method. All fields are - required unless specified. + __doc__="""The request message for the ``ListTraces`` method. All + fields are required unless specified. Attributes: diff --git a/trace/google/cloud/trace_v1/types.py b/trace/google/cloud/trace_v1/types.py index 6fa160d2e012..07c3af3b65c6 100644 --- a/trace/google/cloud/trace_v1/types.py +++ b/trace/google/cloud/trace_v1/types.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v2/__init__.py b/trace/google/cloud/trace_v2/__init__.py index 474880ac694c..3b8c71c2f08f 100644 --- a/trace/google/cloud/trace_v2/__init__.py +++ b/trace/google/cloud/trace_v2/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v2/gapic/enums.py b/trace/google/cloud/trace_v2/gapic/enums.py index cea4e1d732ff..7f811f4c1ff6 100644 --- a/trace/google/cloud/trace_v2/gapic/enums.py +++ b/trace/google/cloud/trace_v2/gapic/enums.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v2/gapic/trace_service_client.py b/trace/google/cloud/trace_v2/gapic/trace_service_client.py index 1e7fa7e245fa..ba3400d82b05 100644 --- a/trace/google/cloud/trace_v2/gapic/trace_service_client.py +++ b/trace/google/cloud/trace_v2/gapic/trace_service_client.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -87,6 +87,16 @@ def project_path(cls, project): "projects/{project}", project=project, ) + @classmethod + def span_path(cls, project, trace, span): + """Return a fully-qualified span string.""" + return google.api_core.path_template.expand( + "projects/{project}/traces/{trace}/spans/{span}", + project=project, + trace=trace, + span=span, + ) + def __init__( self, transport=None, @@ -304,8 +314,7 @@ def create_span( >>> >>> client = trace_v2.TraceServiceClient() >>> - >>> # TODO: Initialize `name`: - >>> name = '' + >>> name = client.span_path('[PROJECT]', '[TRACE]', '[SPAN]') >>> >>> # TODO: Initialize `span_id`: >>> span_id = '' diff --git a/trace/google/cloud/trace_v2/gapic/transports/trace_service_grpc_transport.py b/trace/google/cloud/trace_v2/gapic/transports/trace_service_grpc_transport.py index efc84d0e6418..31953ace3579 100644 --- a/trace/google/cloud/trace_v2/gapic/transports/trace_service_grpc_transport.py +++ b/trace/google/cloud/trace_v2/gapic/transports/trace_service_grpc_transport.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/google/cloud/trace_v2/proto/trace_pb2.py b/trace/google/cloud/trace_v2/proto/trace_pb2.py index 4a117d94f01a..d4e3444d9033 100644 --- a/trace/google/cloud/trace_v2/proto/trace_pb2.py +++ b/trace/google/cloud/trace_v2/proto/trace_pb2.py @@ -1608,9 +1608,9 @@ dict( DESCRIPTOR=_SPAN_TIMEEVENTS, __module__="google.devtools.cloudtrace_v2.proto.trace_pb2", - __doc__="""A collection of ``TimeEvent``\ s. A ``TimeEvent`` is a time-stamped - annotation on the span, consisting of either user-supplied key:value - pairs, or details of a message sent/received between Spans. + __doc__="""A collection of ``TimeEvent``\ s. A ``TimeEvent`` is a + time-stamped annotation on the span, consisting of either user-supplied + key:value pairs, or details of a message sent/received between Spans. Attributes: @@ -1633,10 +1633,11 @@ dict( DESCRIPTOR=_SPAN_LINK, __module__="google.devtools.cloudtrace_v2.proto.trace_pb2", - __doc__="""A pointer from the current span to another span in the same trace or in - a different trace. For example, this can be used in batching operations, - where a single batch handler processes multiple requests from different - traces or when the handler receives a request from a different project. + __doc__="""A pointer from the current span to another span in the + same trace or in a different trace. For example, this can be used in + batching operations, where a single batch handler processes multiple + requests from different traces or when the handler receives a request + from a different project. Attributes: @@ -1660,8 +1661,8 @@ dict( DESCRIPTOR=_SPAN_LINKS, __module__="google.devtools.cloudtrace_v2.proto.trace_pb2", - __doc__="""A collection of links, which are references from this span to a span in - the same or different trace. + __doc__="""A collection of links, which are references from this span + to a span in the same or different trace. Attributes: @@ -1676,12 +1677,12 @@ ), DESCRIPTOR=_SPAN, __module__="google.devtools.cloudtrace_v2.proto.trace_pb2", - __doc__="""A span represents a single operation within a trace. Spans can be nested - to form a trace tree. Often, a trace contains a root span that describes - the end-to-end latency, and one or more subspans for its sub-operations. - A trace can also contain multiple root spans, or none at all. Spans do - not need to be contiguous—there may be gaps or overlaps between spans in - a trace. + __doc__="""A span represents a single operation within a trace. Spans + can be nested to form a trace tree. Often, a trace contains a root span + that describes the end-to-end latency, and one or more subspans for its + sub-operations. A trace can also contain multiple root spans, or none at + all. Spans do not need to be contiguous—there may be gaps or overlaps + between spans in a trace. Attributes: @@ -1758,7 +1759,8 @@ dict( DESCRIPTOR=_ATTRIBUTEVALUE, __module__="google.devtools.cloudtrace_v2.proto.trace_pb2", - __doc__="""The allowed types for [VALUE] in a ``[KEY]:[VALUE]`` attribute. + __doc__="""The allowed types for [VALUE] in a ``[KEY]:[VALUE]`` + attribute. Attributes: diff --git a/trace/google/cloud/trace_v2/types.py b/trace/google/cloud/trace_v2/types.py index 3e7a67042e25..ddbb681bbd0b 100644 --- a/trace/google/cloud/trace_v2/types.py +++ b/trace/google/cloud/trace_v2/types.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/synth.metadata b/trace/synth.metadata index ba87b6341691..37dbb48f4558 100644 --- a/trace/synth.metadata +++ b/trace/synth.metadata @@ -1,19 +1,20 @@ { - "updateTime": "2020-01-08T13:34:12.157097Z", + "updateTime": "2020-01-29T13:29:59.158861Z", "sources": [ { "generator": { "name": "artman", - "version": "0.43.0", - "dockerImage": "googleapis/artman@sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20" + "version": "0.44.4", + "dockerImage": "googleapis/artman@sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "08b488e0660c59842a7dee0e3e2b65d9e3a514a9", - "internalRef": "288625007" + "sha": "cf3b61102ed5f36b827bc82ec39be09525f018c8", + "internalRef": "292034635", + "log": "cf3b61102ed5f36b827bc82ec39be09525f018c8\n Fix to protos for v1p1beta1 release of Cloud Security Command Center\n\nPiperOrigin-RevId: 292034635\n\n4e1cfaa7c0fede9e65d64213ca3da1b1255816c0\nUpdate the public proto to support UTF-8 encoded id for CatalogService API, increase the ListCatalogItems deadline to 300s and some minor documentation change\n\nPiperOrigin-RevId: 292030970\n\n9c483584f8fd5a1b862ae07973f4cc7bb3e46648\nasset: add annotations to v1p1beta1\n\nPiperOrigin-RevId: 292009868\n\ne19209fac29731d0baf6d9ac23da1164f7bdca24\nAdd the google.rpc.context.AttributeContext message to the open source\ndirectories.\n\nPiperOrigin-RevId: 291999930\n\nae5662960573f279502bf98a108a35ba1175e782\noslogin API: move file level option on top of the file to avoid protobuf.js bug.\n\nPiperOrigin-RevId: 291990506\n\neba3897fff7c49ed85d3c47fc96fe96e47f6f684\nAdd cc_proto_library and cc_grpc_library targets for Spanner and IAM protos.\n\nPiperOrigin-RevId: 291988651\n\n8e981acfd9b97ea2f312f11bbaa7b6c16e412dea\nBeta launch for PersonDetection and FaceDetection features.\n\nPiperOrigin-RevId: 291821782\n\n994e067fae3b21e195f7da932b08fff806d70b5d\nasset: add annotations to v1p2beta1\n\nPiperOrigin-RevId: 291815259\n\n244e1d2c89346ca2e0701b39e65552330d68545a\nAdd Playable Locations service\n\nPiperOrigin-RevId: 291806349\n\n909f8f67963daf45dd88d020877fb9029b76788d\nasset: add annotations to v1beta2\n\nPiperOrigin-RevId: 291805301\n\n3c39a1d6e23c1ef63c7fba4019c25e76c40dfe19\nKMS: add file-level message for CryptoKeyPath, it is defined in gapic yaml but not\nin proto files.\n\nPiperOrigin-RevId: 291420695\n\nc6f3f350b8387f8d1b85ed4506f30187ebaaddc3\ncontaineranalysis: update v1beta1 and bazel build with annotations\n\nPiperOrigin-RevId: 291401900\n\n92887d74b44e4e636252b7b8477d0d2570cd82db\nfix: fix the location of grpc config file.\n\nPiperOrigin-RevId: 291396015\n\ne26cab8afd19d396b929039dac5d874cf0b5336c\nexpr: add default_host and method_signature annotations to CelService\n\nPiperOrigin-RevId: 291240093\n\n06093ae3952441c34ec176d1f7431b8765cec0be\nirm: fix v1alpha2 bazel build by adding missing proto imports\n\nPiperOrigin-RevId: 291227940\n\na8a2514af326e4673063f9a3c9d0ef1091c87e6c\nAdd proto annotation for cloud/irm API\n\nPiperOrigin-RevId: 291217859\n\n8d16f76de065f530d395a4c7eabbf766d6a120fd\nGenerate Memcache v1beta2 API protos and gRPC ServiceConfig files\n\nPiperOrigin-RevId: 291008516\n\n3af1dabd93df9a9f17bf3624d3b875c11235360b\ngrafeas: Add containeranalysis default_host to Grafeas service\n\nPiperOrigin-RevId: 290965849\n\nbe2663fa95e31cba67d0cd62611a6674db9f74b7\nfix(google/maps/roads): add missing opening bracket\n\nPiperOrigin-RevId: 290964086\n\nfacc26550a0af0696e0534bc9cae9df14275aa7c\nUpdating v2 protos with the latest inline documentation (in comments) and adding a per-service .yaml file.\n\nPiperOrigin-RevId: 290952261\n\ncda99c1f7dc5e4ca9b1caeae1dc330838cbc1461\nChange api_name to 'asset' for v1p1beta1\n\nPiperOrigin-RevId: 290800639\n\n94e9e90c303a820ce40643d9129e7f0d2054e8a1\nAdds Google Maps Road service\n\nPiperOrigin-RevId: 290795667\n\na3b23dcb2eaecce98c600c7d009451bdec52dbda\nrpc: new message ErrorInfo, other comment updates\n\nPiperOrigin-RevId: 290781668\n\n26420ef4e46c37f193c0fbe53d6ebac481de460e\nAdd proto definition for Org Policy v1.\n\nPiperOrigin-RevId: 290771923\n\n7f0dab8177cf371ae019a082e2512de7ac102888\nPublish Routes Preferred API v1 service definitions.\n\nPiperOrigin-RevId: 290326986\n\nad6e508d0728e1d1bca6e3f328cd562718cb772d\nFix: Qualify resource type references with \"jobs.googleapis.com/\"\n\nPiperOrigin-RevId: 290285762\n\n58e770d568a2b78168ddc19a874178fee8265a9d\ncts client library\n\nPiperOrigin-RevId: 290146169\n\naf9daa4c3b4c4a8b7133b81588dd9ffd37270af2\nAdd more programming language options to public proto\n\nPiperOrigin-RevId: 290144091\n\nd9f2bbf2df301ef84641d4cec7c828736a0bd907\ntalent: add missing resource.proto dep to Bazel build target\n\nPiperOrigin-RevId: 290143164\n\n3b3968237451d027b42471cd28884a5a1faed6c7\nAnnotate Talent API.\nAdd gRPC service config for retry.\nUpdate bazel file with google.api.resource dependency.\n\nPiperOrigin-RevId: 290125172\n\n0735b4b096872960568d1f366bfa75b7b0e1f1a3\nWeekly library update.\n\nPiperOrigin-RevId: 289939042\n\n8760d3d9a4543d7f9c0d1c7870aca08b116e4095\nWeekly library update.\n\nPiperOrigin-RevId: 289939020\n\n8607df842f782a901805187e02fff598145b0b0e\nChange Talent API timeout to 30s.\n\nPiperOrigin-RevId: 289912621\n\n908155991fe32570653bcb72ecfdcfc896642f41\nAdd Recommendations AI V1Beta1\n\nPiperOrigin-RevId: 289901914\n\n5c9a8c2bebd8b71aa66d1cc473edfaac837a2c78\nAdding no-arg method signatures for ListBillingAccounts and ListServices\n\nPiperOrigin-RevId: 289891136\n\n50b0e8286ac988b0593bd890eb31fef6ea2f5767\nlongrunning: add grpc service config and default_host annotation to operations.proto\n\nPiperOrigin-RevId: 289876944\n\n6cac27dabe51c54807b0401698c32d34998948a9\n Updating default deadline for Cloud Security Command Center's v1 APIs.\n\nPiperOrigin-RevId: 289875412\n\nd99df0d67057a233c711187e0689baa4f8e6333d\nFix: Correct spelling in C# namespace option\n\nPiperOrigin-RevId: 289709813\n\n2fa8d48165cc48e35b0c62e6f7bdade12229326c\nfeat: Publish Recommender v1 to GitHub.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289619243\n\n9118db63d1ab493a2e44a3b4973fde810a835c49\nfirestore: don't retry reads that fail with Aborted\n\nFor transaction reads that fail with ABORTED, we need to rollback and start a new transaction. Our current configuration makes it so that GAPIC retries ABORTED reads multiple times without making any progress. Instead, we should retry at the transaction level.\n\nPiperOrigin-RevId: 289532382\n\n1dbfd3fe4330790b1e99c0bb20beb692f1e20b8a\nFix bazel build\nAdd other langauges (Java was already there) for bigquery/storage/v1alpha2 api.\n\nPiperOrigin-RevId: 289519766\n\nc06599cdd7d11f8d3fd25f8d3249e5bb1a3d5d73\nInitial commit of google.cloud.policytroubleshooter API, The API helps in troubleshooting GCP policies. Refer https://cloud.google.com/iam/docs/troubleshooting-access for more information\n\nPiperOrigin-RevId: 289491444\n\nfce7d80fa16ea241e87f7bc33d68595422e94ecd\nDo not pass samples option for Artman config of recommender v1 API.\n\nPiperOrigin-RevId: 289477403\n\nef179e8c61436297e6bb124352e47e45c8c80cb1\nfix: Address missing Bazel dependency.\n\nBazel builds stopped working in 06ec6d5 because\nthe google/longrunning/operations.proto file took\nan import from google/api/client.proto, but that\nimport was not added to BUILD.bazel.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289446074\n\n8841655b242c84fd691d77d7bcf21b61044f01ff\nMigrate Data Labeling v1beta1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289446026\n\n06ec6d5d053fff299eaa6eaa38afdd36c5e2fc68\nAdd annotations to google.longrunning.v1\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289413169\n\n0480cf40be1d3cc231f4268a2fdb36a8dd60e641\nMigrate IAM Admin v1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289411084\n\n1017173e9adeb858587639af61889ad970c728b1\nSpecify a C# namespace for BigQuery Connection v1beta1\n\nPiperOrigin-RevId: 289396763\n\nb08714b378e8e5b0c4ecdde73f92c36d6303b4b6\nfix: Integrate latest proto-docs-plugin fix.\nFixes dialogflow v2\n\nPiperOrigin-RevId: 289189004\n\n51217a67e79255ee1f2e70a6a3919df082513327\nCreate BUILD file for recommender v1\n\nPiperOrigin-RevId: 289183234\n\nacacd87263c0a60e458561b8b8ce9f67c760552a\nGenerate recommender v1 API protos and gRPC ServiceConfig files\n\nPiperOrigin-RevId: 289177510\n\n9d2f7133b97720b1fa3601f6dcd30760ba6d8a1e\nFix kokoro build script\n\nPiperOrigin-RevId: 289166315\n\nc43a67530d2a47a0220cad20ca8de39b3fbaf2c5\ncloudtasks: replace missing RPC timeout config for v2beta2 and v2beta3\n\nPiperOrigin-RevId: 289162391\n\n4cefc229a9197236fc0adf02d69b71c0c5cf59de\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 289158456\n\n56f263fe959c50786dab42e3c61402d32d1417bd\nCatalog API: Adding config necessary to build client libraries\n\nPiperOrigin-RevId: 289149879\n\n4543762b23a57fc3c53d409efc3a9affd47b6ab3\nFix Bazel build\nbilling/v1 and dialogflow/v2 remain broken (not bazel-related issues).\nBilling has wrong configuration, dialogflow failure is caused by a bug in documentation plugin.\n\nPiperOrigin-RevId: 289140194\n\nc9dce519127b97e866ca133a01157f4ce27dcceb\nUpdate Bigtable docs\n\nPiperOrigin-RevId: 289114419\n\n802c5c5f2bf94c3facb011267d04e71942e0d09f\nMigrate DLP to proto annotations (but not GAPIC v2).\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289102579\n\n6357f30f2ec3cff1d8239d18b707ff9d438ea5da\nRemove gRPC configuration file that was in the wrong place.\n\nPiperOrigin-RevId: 289096111\n\n360a8792ed62f944109d7e22d613a04a010665b4\n Protos for v1p1beta1 release of Cloud Security Command Center\n\nPiperOrigin-RevId: 289011995\n\na79211c20c4f2807eec524d00123bf7c06ad3d6e\nRoll back containeranalysis v1 to GAPIC v1.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288999068\n\n9e60345ba603e03484a8aaa33ce5ffa19c1c652b\nPublish Routes Preferred API v1 proto definitions.\n\nPiperOrigin-RevId: 288941399\n\nd52885b642ad2aa1f42b132ee62dbf49a73e1e24\nMigrate the service management API to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288909426\n\n6ace586805c08896fef43e28a261337fcf3f022b\ncloudtasks: replace missing RPC timeout config\n\nPiperOrigin-RevId: 288783603\n\n51d906cabee4876b12497054b15b05d4a50ad027\nImport of Grafeas from Github.\n\nUpdate BUILD.bazel accordingly.\n\nPiperOrigin-RevId: 288783426\n\n5ef42bcd363ba0440f0ee65b3c80b499e9067ede\nMigrate Recommender v1beta1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288713066\n\n94f986afd365b7d7e132315ddcd43d7af0e652fb\nMigrate Container Analysis v1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288708382\n\n7a751a279184970d3b6ba90e4dd4d22a382a0747\nRemove Container Analysis v1alpha1 (nobody publishes it).\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288707473\n\n3c0d9c71242e70474b2b640e15bb0a435fd06ff0\nRemove specious annotation from BigQuery Data Transfer before\nanyone accidentally does anything that uses it.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288701604\n\n1af307a4764bd415ef942ac5187fa1def043006f\nMigrate BigQuery Connection to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 288698681\n\n" } }, { @@ -45,5 +46,223 @@ "config": "google/devtools/cloudtrace/artman_cloudtrace_v2.yaml" } } + ], + "newFiles": [ + { + "path": ".coveragerc" + }, + { + "path": ".flake8" + }, + { + "path": ".repo-metadata.json" + }, + { + "path": "CHANGELOG.md" + }, + { + "path": "LICENSE" + }, + { + "path": "MANIFEST.in" + }, + { + "path": "PUBLISHING.rst" + }, + { + "path": "README.rst" + }, + { + "path": "docs/README.rst" + }, + { + "path": "docs/_static/custom.css" + }, + { + "path": "docs/_templates/layout.html" + }, + { + "path": "docs/changelog.md" + }, + { + "path": "docs/conf.py" + }, + { + "path": "docs/gapic/v1/api.rst" + }, + { + "path": "docs/gapic/v1/types.rst" + }, + { + "path": "docs/gapic/v2/api.rst" + }, + { + "path": "docs/gapic/v2/types.rst" + }, + { + "path": "docs/index.rst" + }, + { + "path": "docs/starting.html" + }, + { + "path": "google/__init__.py" + }, + { + "path": "google/cloud/__init__.py" + }, + { + "path": "google/cloud/trace.py" + }, + { + "path": "google/cloud/trace/__init__.py" + }, + { + "path": "google/cloud/trace/_gapic.py" + }, + { + "path": "google/cloud/trace/client.py" + }, + { + "path": "google/cloud/trace/v1/__init__.py" + }, + { + "path": "google/cloud/trace/v1/_gapic.py" + }, + { + "path": "google/cloud/trace/v1/client.py" + }, + { + "path": "google/cloud/trace_v1/__init__.py" + }, + { + "path": "google/cloud/trace_v1/gapic/__init__.py" + }, + { + "path": "google/cloud/trace_v1/gapic/enums.py" + }, + { + "path": "google/cloud/trace_v1/gapic/trace_service_client.py" + }, + { + "path": "google/cloud/trace_v1/gapic/trace_service_client_config.py" + }, + { + "path": "google/cloud/trace_v1/gapic/transports/__init__.py" + }, + { + "path": "google/cloud/trace_v1/gapic/transports/trace_service_grpc_transport.py" + }, + { + "path": "google/cloud/trace_v1/proto/__init__.py" + }, + { + "path": "google/cloud/trace_v1/proto/trace.proto" + }, + { + "path": "google/cloud/trace_v1/proto/trace_pb2.py" + }, + { + "path": "google/cloud/trace_v1/proto/trace_pb2_grpc.py" + }, + { + "path": "google/cloud/trace_v1/proto/tracing.proto" + }, + { + "path": "google/cloud/trace_v1/types.py" + }, + { + "path": "google/cloud/trace_v2/__init__.py" + }, + { + "path": "google/cloud/trace_v2/gapic/__init__.py" + }, + { + "path": "google/cloud/trace_v2/gapic/enums.py" + }, + { + "path": "google/cloud/trace_v2/gapic/trace_service_client.py" + }, + { + "path": "google/cloud/trace_v2/gapic/trace_service_client_config.py" + }, + { + "path": "google/cloud/trace_v2/gapic/transports/__init__.py" + }, + { + "path": "google/cloud/trace_v2/gapic/transports/trace_service_grpc_transport.py" + }, + { + "path": "google/cloud/trace_v2/proto/__init__.py" + }, + { + "path": "google/cloud/trace_v2/proto/trace.proto" + }, + { + "path": "google/cloud/trace_v2/proto/trace_pb2.py" + }, + { + "path": "google/cloud/trace_v2/proto/trace_pb2_grpc.py" + }, + { + "path": "google/cloud/trace_v2/proto/tracing.proto" + }, + { + "path": "google/cloud/trace_v2/proto/tracing_pb2.py" + }, + { + "path": "google/cloud/trace_v2/proto/tracing_pb2_grpc.py" + }, + { + "path": "google/cloud/trace_v2/types.py" + }, + { + "path": "noxfile.py" + }, + { + "path": "setup.cfg" + }, + { + "path": "setup.py" + }, + { + "path": "synth.metadata" + }, + { + "path": "synth.py" + }, + { + "path": "tests/__init__.py" + }, + { + "path": "tests/system/gapic/v1/test_system_trace_service_v1.py" + }, + { + "path": "tests/system/gapic/v1/test_system_trace_service_v1_vpcsc.py" + }, + { + "path": "tests/system/gapic/v2/test_system_trace_service_v2.py" + }, + { + "path": "tests/system/gapic/v2/test_system_trace_service_v2_vpcsc.py" + }, + { + "path": "tests/unit/gapic/v1/test_trace_service_client_v1.py" + }, + { + "path": "tests/unit/gapic/v2/test_trace_service_client_v2.py" + }, + { + "path": "tests/unit/v1/test__gapic_v1.py" + }, + { + "path": "tests/unit/v1/test_client_v1.py" + }, + { + "path": "tests/unit/v2/test__gapic_v2.py" + }, + { + "path": "tests/unit/v2/test_client_v2.py" + } ] } \ No newline at end of file diff --git a/trace/tests/unit/gapic/v1/test_trace_service_client_v1.py b/trace/tests/unit/gapic/v1/test_trace_service_client_v1.py index a2601fb1848d..5b488459ea92 100644 --- a/trace/tests/unit/gapic/v1/test_trace_service_client_v1.py +++ b/trace/tests/unit/gapic/v1/test_trace_service_client_v1.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/trace/tests/unit/gapic/v2/test_trace_service_client_v2.py b/trace/tests/unit/gapic/v2/test_trace_service_client_v2.py index 69c087966bd0..53091b03de1a 100644 --- a/trace/tests/unit/gapic/v2/test_trace_service_client_v2.py +++ b/trace/tests/unit/gapic/v2/test_trace_service_client_v2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -116,7 +116,7 @@ def test_create_span(self): client = trace_v2.TraceServiceClient() # Setup Request - name = "name3373707" + name = client.span_path("[PROJECT]", "[TRACE]", "[SPAN]") span_id = "spanId-2011840976" display_name = {} start_time = {} @@ -145,7 +145,7 @@ def test_create_span_exception(self): client = trace_v2.TraceServiceClient() # Setup request - name = "name3373707" + name = client.span_path("[PROJECT]", "[TRACE]", "[SPAN]") span_id = "spanId-2011840976" display_name = {} start_time = {}