
    J1                        S r SSKJr  SSKJr  SSKJr  Sr " S S\R                  5      r
 " S S	\R                  5      r " S
 S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r\R.                  " \S S!5        \R0                  " \R2                  S"S#5        \R0                  " \R2                  S$S%5        g&)'a  Generated message classes for cloudtrace version v2beta1.

Sends application trace data to Cloud Trace for viewing. Trace data is
collected for all App Engine applications by default. Trace data from other
applications can be provided using this API. This library is used to interact
with the Cloud Trace API directly. If you are looking to instrument your
application for Cloud Trace, we recommend using OpenTelemetry.
    )absolute_import)messages)encoding
cloudtracec                   h    \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	Sr
g)BigQueryOutputConfig   aP  Configuration for the output that is specific to BigQuery when choosing
a BigQuery dataset as the output destination.

Enums:
  VariantValueValuesEnum: Optional. Schema variant that should be used when
    exporting data to BigQuery.

Fields:
  variant: Optional. Schema variant that should be used when exporting data
    to BigQuery.
c                   $    \ rS rSrSrSrSrSrSrg)+BigQueryOutputConfig.VariantValueValuesEnum!   a^  Optional. Schema variant that should be used when exporting data to
BigQuery.

Values:
  SCHEMA_VARIANT_UNSPECIFIED: (Input only) sentinel indicating that the
    API should choose automatically. On create, a value will be selected
    and persisted. Subsequent reads from the API will return a non-default
    value indicating what was selected.
  FIELDS_EXPANDED_AS_COLUMNS: Export data with all attributes and label
    keys of the span expanded as columns dynamically, and each span as a
    row. The attribute/label columns are assigned their associated values
    in that row. We recommend this mode of operation when the number of
    unique label keys are relatively small and stable, as it provides a
    simpler, more convenient query experience.
  CONDENSED_STATIC_JSON: Export data as condensed, json-formatted columns.
    Choose this mode when unique label keys have high cardinality and/or
    change frequently. This schema variant is more scalable and lacks the
    potential issue of reaching the maximum column limit in BigQuery. At
    the same time, this variant is more difficult to query compared with
    `FIELDS_EXPANDED_AS_COLUMNS` mode, often requiring the use of BigQuery
    JSON functions
    (https://cloud.google.com/bigquery/docs/reference/standard-
    sql/json_functions) in order to extract particular labels and use them
    in queries.
r          N)	__name__
__module____qualname____firstlineno____doc__SCHEMA_VARIANT_UNSPECIFIEDFIELDS_EXPANDED_AS_COLUMNSCONDENSED_STATIC_JSON__static_attributes__r       [lib/googlecloudsdk/generated_clients/apis/cloudtrace/v2beta1/cloudtrace_v2beta1_messages.pyVariantValueValuesEnumr   !   s    2 "#!"r   r   r   r   N)r   r   r   r   r   	_messagesEnumr   	EnumFieldvariantr   r   r   r   r   r      s,    
y~~ <  8!<'r   r   c                   `    \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	Sr
g	)
)CloudtraceProjectsTraceSinksCreateRequestB   aM  A CloudtraceProjectsTraceSinksCreateRequest object.

Fields:
  parent: Required. The resource in which to create the sink (currently only
    project sinks are supported): "projects/[PROJECT_ID]" Examples:
    `"projects/my-trace-project"`, `"projects/123456789"`.
  traceSink: A TraceSink resource to be passed as the request body.
r   Trequired	TraceSinkr   r   N)r   r   r   r   r   r   StringFieldparentMessageField	traceSinkr   r   r   r   r!   r!   B   s-       T2&$$[!4)r   r!   c                   :    \ rS rSrSr\R                  " SSS9rSrg))CloudtraceProjectsTraceSinksDeleteRequestP   a$  A CloudtraceProjectsTraceSinksDeleteRequest object.

Fields:
  name: Required. The full resource name of the sink to delete, including
    the parent resource and the sink identifier:
    "projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]" Example:
    `"projects/12345/traceSinks/my-sink-id"`.
r   Tr#   r   N	r   r   r   r   r   r   r&   namer   r   r   r   r+   r+   P   s     
		q4	0$r   r+   c                   :    \ rS rSrSr\R                  " SSS9rSrg)&CloudtraceProjectsTraceSinksGetRequest]   zA CloudtraceProjectsTraceSinksGetRequest object.

Fields:
  name: Required. The resource name of the sink:
    "projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]" Example:
    `"projects/12345/traceSinks/my-sink-id"`.
r   Tr#   r   Nr-   r   r   r   r0   r0   ]   s     
		q4	0$r   r0   c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S5      r\R                  " SSS9rS	rg
)'CloudtraceProjectsTraceSinksListRequesti   a  A CloudtraceProjectsTraceSinksListRequest object.

Fields:
  pageSize: Optional. The maximum number of results to return from this
    request. Non-positive values are ignored. The presence of
    `next_page_token` in the response indicates that more results might be
    available.
  pageToken: Optional. If present, then retrieve the next batch of results
    from the preceding call to this method. `page_token` must be the value
    of `next_page_token` from the previous response. The values of other
    method parameters should be identical to those in the previous call.
  parent: Required. The parent resource whose sinks are to be listed
    (currently only project parent resources are supported):
    "projects/[PROJECT_ID]"
r   )r   r      Tr#   r   N)r   r   r   r   r   r   IntegerFieldVariantINT32pageSizer&   	pageTokenr'   r   r   r   r   r3   r3   i   sI      ##Ay/@/@/F/FG(##A&)  T2&r   r3   c                       \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	\R                  " S5      r
S	rg
)(CloudtraceProjectsTraceSinksPatchRequest   a:  A CloudtraceProjectsTraceSinksPatchRequest object.

Fields:
  name: Required. The full resource name of the sink to update, including
    the parent resource and the sink identifier:
    "projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]" Example:
    `"projects/12345/traceSinks/my-sink-id"`.
  traceSink: A TraceSink resource to be passed as the request body.
  updateMask: Required. Field mask that specifies the fields in `trace_sink`
    that are to be updated. A sink field is overwritten if, and only if, it
    is in the update mask. `name` and `writer_identity` fields cannot be
    updated. An empty `update_mask` is considered an error. For a detailed
    `FieldMask` definition, see https://developers.google.com/protocol-
    buffers/docs/reference/google.protobuf#fieldmask Example:
    `updateMask=output_config`.
r   Tr#   r%   r   r5   r   N)r   r   r   r   r   r   r&   r.   r(   r)   
updateMaskr   r   r   r   r<   r<      s=    " 
		q4	0$$$[!4)$$Q'*r   r<   c                       \ rS rSrSrSrg)Empty   a  A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs. A typical example is to use it as the request
or the response type of an API method. For instance: service Foo { rpc
Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
r   N)r   r   r   r   r   r   r   r   r   r@   r@      s    r   r@   c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
ListTraceSinksResponse   a(  Result returned from `ListTraceSinks`.

Fields:
  nextPageToken: A paginated response where more pages might be available
    has `next_page_token` set. To get the next set of results, call the same
    method again using the value of `next_page_token` as `page_token`.
  sinks: A list of sinks.
r   r%   r   T)repeatedr   N)r   r   r   r   r   r   r&   nextPageTokenr(   sinksr   r   r   r   rC   rC      s-     ''*-

 
 a$
?%r   rC   c                   <    \ rS rSrSr\R                  " S5      rSrg)OpenTelemetryFormat   a  OpenTelemetryFormat contains metadata to help convert Cloud Trace trace
format to OpenTelemetry trace format.

Fields:
  version: Optional. OpenTelemetry format defined by
    https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentele
    metry/proto/collector/trace/v1/trace_service.proto Version of the
    OpenTelemetry schema as it appears in the defining proto package.
    Currently, only "v1" is supported, but support for more version may
    added in the future.
r   r   N)	r   r   r   r   r   r   r&   versionr   r   r   r   rI   rI      s    
 !!!$'r   rI   c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " SS5      r
Srg	)
OutputConfig   a  OutputConfig contains a destination for writing trace data.

Fields:
  bigqueryConfig: Optional. Additional options governing the export behavior
    when the selected destination is a BigQuery dataset.
  destination: Required. The destination for writing trace data. Supported
    formats include:
    "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
  pubsubConfig: Optional. Additional options governing the export behavior
    when the selected destination is a Pub/Sub queue.
r   r   r   PubsubOutputConfigr5   r   N)r   r   r   r   r   r   r(   bigqueryConfigr&   destinationpubsubConfigr   r   r   r   rM   rM      s?    
 ))*@!D.%%a(+''(<a@,r   rM   c                   >    \ rS rSrSr\R                  " SS5      rSrg)rO      zConfiguration for the output that is specific to Pub/Sub when choosing a
Pub/Sub queue as the output destination.

Fields:
  openTelemetryFormat: open_telemetry_format contains additional information
    needed to convert Cloud Trace data.
rI   r   r   N)	r   r   r   r   r   r   r(   openTelemetryFormatr   r   r   r   rO   rO      s     "../DaHr   rO   c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " SS	S
S9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R$                  " SSS9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)StandardQueryParameters   a  Query parameters accepted by all methods.

Enums:
  FXgafvValueValuesEnum: V1 error format.
  AltValueValuesEnum: Data format for response.

Fields:
  f__xgafv: V1 error format.
  access_token: OAuth access token.
  alt: Data format for response.
  callback: JSONP
  fields: Selector specifying which fields to include in a partial response.
  key: API key. Your API key identifies your project and provides you with
    API access, quota, and reports. Required unless you provide an OAuth 2.0
    token.
  oauth_token: OAuth 2.0 token for the current user.
  prettyPrint: Returns response with indentations and line breaks.
  quotaUser: Available to use for quota purposes for server-side
    applications. Can be any arbitrary string assigned to a user, but should
    not exceed 40 characters.
  trace: A tracing token of the form "token:<tokenid>" to include in api
    requests.
  uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
  upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
c                   $    \ rS rSrSrSrSrSrSrg)*StandardQueryParameters.AltValueValuesEnum   zData format for response.

Values:
  json: Responses with Content-Type of application/json
  media: Media download with context-dependent Content-Type
  proto: Responses with Content-Type of application/x-protobuf
r   r   r   r   N)	r   r   r   r   r   jsonmediaprotor   r   r   r   AltValueValuesEnumrZ      s     DEEr   r_   c                        \ rS rSrSrSrSrSrg)-StandardQueryParameters.FXgafvValueValuesEnumi  zFV1 error format.

Values:
  _1: v1 error format
  _2: v2 error format
r   r   r   N)r   r   r   r   r   _1_2r   r   r   r   FXgafvValueValuesEnumra     s     
B	
Br   rd   r   r   r5   r\   )default               T	   
         r   N)r   r   r   r   r   r   r   r_   rd   r   f__xgafvr&   access_tokenaltcallbackfieldskeyoauth_tokenBooleanFieldprettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r   rW   rW      s    4
9>> 
inn    !8!<(&&q),0!VD#""1%(  #&a #%%a(+&&q$7+##A&)



#%$$R(*))"-/r   rW   c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r
Srg)	r%   i  a  Describes a sink used to export traces to a BigQuery dataset. The sink
must be created within a project.

Fields:
  name: Identifier. The canonical sink resource name, unique within the
    project. Must be of the form:
    projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.:
    `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers
    are limited to 256 characters and can include only the following
    characters: upper and lower-case alphanumeric characters, underscores,
    hyphens, and periods.
  outputConfig: Required. The export destination.
  writerIdentity: Output only. A service account name for exporting the
    data. This field is set by sinks.create and sinks.update. The service
    account will need to be granted write access to the destination
    specified in the output configuration, see [Granting access for a
    resource](/iam/docs/granting-roles-to-service-
    accounts#granting_access_to_a_service_account_for_a_resource). To create
    tables and to write data, this account needs the `dataEditor` role. Read
    more about roles in the [BigQuery
    documentation](https://cloud.google.com/bigquery/docs/access-control).
    E.g.: "service-00000001@00000002.iam.gserviceaccount.com"
r   rM   r   r5   r   N)r   r   r   r   r   r   r&   r.   r(   outputConfigwriterIdentityr   r   r   r   r%   r%     s;    0 
		q	!$'':,((+.r   r%   ro   z$.xgafvrb   1rc   2N)r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   packageMessager   r!   r+   r0   r3   r<   r@   rC   rI   rM   rO   rW   r%   AddCustomJsonFieldMappingAddCustomJsonEnumMappingrd   r   r   r   <module>r      s[   ' < % +=9,, +=\5	0A0A 5
1	0A0A 
1	1Y->-> 	13i.?.? 3,(y/@/@ (.I @Y.. @%)++ % A9$$ A$	I** 	I<.i// <.~,	!! ,< 	 " "Z4  ! !114>  ! !114>r   