Summary of entries of Methods for cloudtrace.
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient
TraceServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.trace_v1.services.trace_service.transports.base.TraceServiceTransport, typing.Callable[[...], google.cloud.trace_v1.services.trace_service.transports.base.TraceServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the trace service async client.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_billing_account_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_folder_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_location_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_organization_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.common_project_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.from_service_account_file
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.from_service_account_info
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.from_service_account_json
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.get_trace
get_trace(
request: typing.Optional[
typing.Union[google.cloud.trace_v1.types.trace.GetTraceRequest, dict]
] = None,
*,
project_id: typing.Optional[str] = None,
trace_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.trace_v1.types.trace.Trace
Gets a single trace by its ID.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.get_trace
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.trace_v1.services.trace_service.transports.base.TraceServiceTransport
]
Returns an appropriate transport class.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.get_transport_class
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.list_traces
list_traces(
request: typing.Optional[
typing.Union[google.cloud.trace_v1.types.trace.ListTracesRequest, dict]
] = None,
*,
project_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.trace_v1.services.trace_service.pagers.ListTracesAsyncPager
Returns of a list of traces that match the specified filter conditions.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.list_traces
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_folder_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_location_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_organization_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.parse_common_project_path
google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.patch_traces
patch_traces(
request: typing.Optional[
typing.Union[google.cloud.trace_v1.types.trace.PatchTracesRequest, dict]
] = None,
*,
project_id: typing.Optional[str] = None,
traces: typing.Optional[google.cloud.trace_v1.types.trace.Traces] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Sends new traces to Stackdriver Trace or updates existing traces.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceAsyncClient.patch_traces
google.cloud.trace_v1.services.trace_service.TraceServiceClient
TraceServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.trace_v1.services.trace_service.transports.base.TraceServiceTransport, typing.Callable[[...], google.cloud.trace_v1.services.trace_service.transports.base.TraceServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the trace service client.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient
google.cloud.trace_v1.services.trace_service.TraceServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.exit
google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_billing_account_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_folder_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_location_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_organization_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.common_project_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.from_service_account_file
google.cloud.trace_v1.services.trace_service.TraceServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.from_service_account_info
google.cloud.trace_v1.services.trace_service.TraceServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.from_service_account_json
google.cloud.trace_v1.services.trace_service.TraceServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.get_mtls_endpoint_and_cert_source
google.cloud.trace_v1.services.trace_service.TraceServiceClient.get_trace
get_trace(
request: typing.Optional[
typing.Union[google.cloud.trace_v1.types.trace.GetTraceRequest, dict]
] = None,
*,
project_id: typing.Optional[str] = None,
trace_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.trace_v1.types.trace.Trace
Gets a single trace by its ID.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.get_trace
google.cloud.trace_v1.services.trace_service.TraceServiceClient.list_traces
list_traces(
request: typing.Optional[
typing.Union[google.cloud.trace_v1.types.trace.ListTracesRequest, dict]
] = None,
*,
project_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.trace_v1.services.trace_service.pagers.ListTracesPager
Returns of a list of traces that match the specified filter conditions.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.list_traces
google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_billing_account_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_folder_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_location_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_organization_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.parse_common_project_path
google.cloud.trace_v1.services.trace_service.TraceServiceClient.patch_traces
patch_traces(
request: typing.Optional[
typing.Union[google.cloud.trace_v1.types.trace.PatchTracesRequest, dict]
] = None,
*,
project_id: typing.Optional[str] = None,
traces: typing.Optional[google.cloud.trace_v1.types.trace.Traces] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Sends new traces to Stackdriver Trace or updates existing traces.
See more: google.cloud.trace_v1.services.trace_service.TraceServiceClient.patch_traces
google.cloud.trace_v1.services.trace_service.pagers.ListTracesAsyncPager
ListTracesAsyncPager(
method: typing.Callable[
[...], typing.Awaitable[google.cloud.trace_v1.types.trace.ListTracesResponse]
],
request: google.cloud.trace_v1.types.trace.ListTracesRequest,
response: google.cloud.trace_v1.types.trace.ListTracesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.trace_v1.services.trace_service.pagers.ListTracesAsyncPager
google.cloud.trace_v1.services.trace_service.pagers.ListTracesPager
ListTracesPager(
method: typing.Callable[
[...], google.cloud.trace_v1.types.trace.ListTracesResponse
],
request: google.cloud.trace_v1.types.trace.ListTracesRequest,
response: google.cloud.trace_v1.types.trace.ListTracesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.trace_v1.services.trace_service.pagers.ListTracesPager
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient
TraceServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.trace_v2.services.trace_service.transports.base.TraceServiceTransport, typing.Callable[[...], google.cloud.trace_v2.services.trace_service.transports.base.TraceServiceTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the trace service async client.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.batch_write_spans
batch_write_spans(
request: typing.Optional[
typing.Union[google.cloud.trace_v2.types.tracing.BatchWriteSpansRequest, dict]
] = None,
*,
name: typing.Optional[str] = None,
spans: typing.Optional[
typing.MutableSequence[google.cloud.trace_v2.types.trace.Span]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Batch writes new spans to new or existing traces.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.batch_write_spans
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_billing_account_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_folder_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_location_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_organization_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.common_project_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.create_span
create_span(
request: typing.Optional[
typing.Union[google.cloud.trace_v2.types.trace.Span, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.trace_v2.types.trace.Span
Creates a new span.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.create_span
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.from_service_account_file
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.from_service_account_info
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.from_service_account_json
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.trace_v2.services.trace_service.transports.base.TraceServiceTransport
]
Returns an appropriate transport class.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.get_transport_class
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_folder_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_location_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_organization_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_common_project_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_span_path
parse_span_path(path: str) -> typing.Dict[str, str]
Parses a span path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.parse_span_path
google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.span_path
span_path(project: str, trace: str, span: str) -> str
Returns a fully-qualified span string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceAsyncClient.span_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient
TraceServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.trace_v2.services.trace_service.transports.base.TraceServiceTransport, typing.Callable[[...], google.cloud.trace_v2.services.trace_service.transports.base.TraceServiceTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the trace service client.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient
google.cloud.trace_v2.services.trace_service.TraceServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.exit
google.cloud.trace_v2.services.trace_service.TraceServiceClient.batch_write_spans
batch_write_spans(
request: typing.Optional[
typing.Union[google.cloud.trace_v2.types.tracing.BatchWriteSpansRequest, dict]
] = None,
*,
name: typing.Optional[str] = None,
spans: typing.Optional[
typing.MutableSequence[google.cloud.trace_v2.types.trace.Span]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Batch writes new spans to new or existing traces.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.batch_write_spans
google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_billing_account_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_folder_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_location_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_organization_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.common_project_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.create_span
create_span(
request: typing.Optional[
typing.Union[google.cloud.trace_v2.types.trace.Span, dict]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.trace_v2.types.trace.Span
Creates a new span.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.create_span
google.cloud.trace_v2.services.trace_service.TraceServiceClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.from_service_account_file
google.cloud.trace_v2.services.trace_service.TraceServiceClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.from_service_account_info
google.cloud.trace_v2.services.trace_service.TraceServiceClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.from_service_account_json
google.cloud.trace_v2.services.trace_service.TraceServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.get_mtls_endpoint_and_cert_source
google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_billing_account_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_folder_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_location_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_organization_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_common_project_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_span_path
parse_span_path(path: str) -> typing.Dict[str, str]
Parses a span path into its component segments.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.parse_span_path
google.cloud.trace_v2.services.trace_service.TraceServiceClient.span_path
span_path(project: str, trace: str, span: str) -> str
Returns a fully-qualified span string.
See more: google.cloud.trace_v2.services.trace_service.TraceServiceClient.span_path