
    O                    d   S SK Jr  S SKrS SKrS SKrS SKJrJrJrJ	r	J
r
JrJrJrJrJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S S	KJr  S S
KJr  S SK J!r!  S SK"J#r#  S SK$J%r%  S SK&J'r'   \\RP                  \RR                  RT                  4   r+S SK.J/r/  S SK.J0r0  S SK1J2r2  S SK1J3r3  S SK4J5r5  S SK6J7r7  S SK6J8r8  S SK9r9SSK:J;r;J<r<  SSK=J>r>  SSK?J@r@  SSKAJBrB   " S S\C5      rD " S S\DS9rE\R                  R                  \R                  S 9r<S!rIg! \, a    \\RP                  \-4   r+ Nf = f)"    )OrderedDictN)
DictMappingMutableMappingMutableSequenceOptionalSequenceTupleTypeUnioncast)gapic_version)client_options)
exceptions)gapic_v1)retry)timeout)credentials)mtls)SslCredentials)MutualTLSChannelError)service_account)iam_policy_pb2)
policy_pb2)duration_pb2)field_mask_pb2)pagers)pubsub)TimeoutType   )PublisherTransportDEFAULT_CLIENT_INFO)PublisherGrpcTransport)PublisherGrpcAsyncIOTransport)PublisherRestTransportc                   h    \ rS rSrSr\" 5       r\\S'   \\S'   \	\S'    SS\
\   S\\   4S	 jjrS
rg)PublisherClientMetaB   zMetaclass for the Publisher client.

This provides class-level methods for building and retrieving
support objects (e.g. transport) without polluting the client instance
objects.
grpcgrpc_asynciorestNlabelreturnc                     U(       a  U R                   U   $ [        [        U R                   R                  5       5      5      $ )zReturns an appropriate transport class.

Args:
    label: The name of the desired transport. If none is
        provided, then the first transport in the registry is used.

Returns:
    The transport class to use.
)_transport_registrynextitervalues)clsr,   s     =lib/third_party/google/pubsub_v1/services/publisher/client.pyget_transport_class'PublisherClientMeta.get_transport_classO   s9     **511 D00779:;;     N)__name__
__module____qualname____firstlineno____doc__r   r/   r#   r$   r%   r   strr   r!   r5   __static_attributes__r8   r7   r4   r'   r'   B   s]     &-"8*G'"8  $<}< 
 	!< <r7   r'   c                      \ rS rSrSr\S 5       rSrSr Sr	\R                  \	5      r\S\4S j5       r\S	\4S
 j5       r\r\S\4S j5       r\S\S\S\4S j5       r\S\S\\\4   4S j5       r\S\S\S\4S j5       r\S\S\\\4   4S j5       r\S\S\S\4S j5       r\S\S\\\4   4S j5       r\S\S\4S j5       r\S\S\\\4   4S j5       r\S\S\4S j5       r\S\S\\\4   4S j5       r\S\S\4S j5       r \S\S\\\4   4S  j5       r!\S\S\4S! j5       r"\S\S\\\4   4S" j5       r#\S\S#\S\4S$ j5       r$\S\S\\\4   4S% j5       r%\ SKS'\&\'RP                     4S( jj5       r)S&S&S&\*S).S*\&\+RX                     S+\&\-\\4      S'\&\-\'RP                  \4      S,\.R^                  R`                  SS&4
S- jjr1 SKS&\.Rd                  Rf                  \.Rd                  Rf                  S.S/.S0\&\-\4Rj                  \4      S1\&\   S2\6S3\7S4\8\9\\4      S\4Rj                  4S5 jjjr: SKS&S&\.Rd                  Rf                  \.Rd                  Rf                  S.S6.S0\&\-\4Rv                  \4      S\&\4Rj                     S7\&\<Rz                     S2\6S3\7S4\8\9\\4      S\4Rj                  4S8 jjjr> SKS&S&\.Rd                  Rf                  \.Rd                  Rf                  S.S9.S0\&\-\4R~                  \4      S\&\   S:\&\@\4R                        S2\6S3\7S4\8\9\\4      S\4R                  4S; jjjrC SKS&\.Rd                  Rf                  \.Rd                  Rf                  S.S<.S0\&\-\4R                  \4      S\&\   S2\6S3\7S4\8\9\\4      S\4Rj                  4S= jjjrE SKS&\.Rd                  Rf                  \.Rd                  Rf                  S.S>.S0\&\-\4R                  \4      S\&\   S2\6S3\7S4\8\9\\4      S\GR                  4S? jjjrI SKS&\.Rd                  Rf                  \.Rd                  Rf                  S.S<.S0\&\-\4R                  \4      S\&\   S2\6S3\7S4\8\9\\4      S\GR                  4S@ jjjrL SKS&\.Rd                  Rf                  \.Rd                  Rf                  S.S<.S0\&\-\4R                  \4      S\&\   S2\6S3\7S4\8\9\\4      S\GR                  4SA jjjrO SKS&\.Rd                  Rf                  \.Rd                  Rf                  S.S<.S0\&\-\4R                  \4      S\&\   S2\6S3\7S4\8\9\\4      SS&4SB jjjrQ SK\.Rd                  Rf                  \.Rd                  Rf                  S.SC.S0\&\-\4R                  \4      S2\6S3\7S4\8\9\\4      S\4R                  4
SD jjjrTSLSE jrUSF rV SK\.Rd                  Rf                  \.Rd                  Rf                  S.SC.S0\&\WR                     S2\6S3\7S4\8\9\\4      S\YR                  4
SG jjjr[ SK\.Rd                  Rf                  \.Rd                  Rf                  S.SC.S0\&\WR                     S2\6S3\7S4\8\9\\4      S\YR                  4
SH jjjr] SK\.Rd                  Rf                  \.Rd                  Rf                  S.SC.S0\&\WR                     S2\6S3\7S4\8\9\\4      S\WR                  4
SI jjjr`SJrag&)MPublisherCliente   z\The service that an application uses to manipulate topics,
and to send messages to a topic.
c                     U (       d  U $ [         R                  " S5      nUR                  U 5      nUR                  5       u  p4pVU(       d  U(       d  U $ U(       a  U R	                  SS5      $ U R	                  SS5      $ )a$  Converts api endpoint to mTLS endpoint.

Convert "*.sandbox.googleapis.com" and "*.googleapis.com" to
"*.mtls.sandbox.googleapis.com" and "*.mtls.googleapis.com" respectively.
Args:
    api_endpoint (Optional[str]): the api endpoint to convert.
Returns:
    str: converted mTLS api endpoint.
z[(?P<name>[^.]+)(?P<mtls>\.mtls)?(?P<sandbox>\.sandbox)?(?P<googledomain>\.googleapis\.com)?zsandbox.googleapis.comzmtls.sandbox.googleapis.comz.googleapis.comz.mtls.googleapis.com)recompilematchgroupsreplace)api_endpointmtls_endpoint_remnamer   sandboxgoogledomains          r4   _get_default_mtls_endpoint*PublisherClient._get_default_mtls_endpointj   s     ::j
 ""<0,-HHJ)G|''(*G  ##$57MNNr7   )z.https://www.googleapis.com/auth/cloud-platformz&https://www.googleapis.com/auth/pubsubzpubsub.googleapis.com:443zpubsub.googleapis.cominfoc                 X    [         R                  R                  U5      nXCS'   U " U0 UD6$ )a9  Creates an instance of this client using the provided credentials
    info.

Args:
    info (dict): The service account private key info.
    args: Additional arguments to pass to the constructor.
    kwargs: Additional arguments to pass to the constructor.

Returns:
    PublisherClient: The constructed client.
r   )r   Credentialsfrom_service_account_info)r3   rR   argskwargsr   s        r4   rU   )PublisherClient.from_service_account_info   s2     &11KKDQ +}D#F##r7   filenamec                 X    [         R                  R                  U5      nXCS'   U " U0 UD6$ )aU  Creates an instance of this client using the provided credentials
    file.

Args:
    filename (str): The path to the service account private key json
        file.
    args: Additional arguments to pass to the constructor.
    kwargs: Additional arguments to pass to the constructor.

Returns:
    PublisherClient: The constructed client.
r   )r   rT   from_service_account_file)r3   rY   rV   rW   r   s        r4   r[   )PublisherClient.from_service_account_file   s2     &11KKHU +}D#F##r7   r-   c                     U R                   $ )zReturns the transport used by the client instance.

Returns:
    PublisherTransport: The transport used by the client
        instance.

_transportselfs    r4   	transportPublisherClient.transport   s     r7   projectschemac                 "    SR                  U US9$ )z(Returns a fully-qualified schema string.z#projects/{project}/schemas/{schema}rd   re   formatrg   s     r4   schema_pathPublisherClient.schema_path   s"     5;; < 
 	
r7   pathc                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z1Parses a schema path into its component segments.z3^projects/(?P<project>.+?)/schemas/(?P<schema>.+?)$rE   rG   	groupdictrl   rL   s     r4   parse_schema_path!PublisherClient.parse_schema_path   s(     HHKTR !q{{})r)r7   subscriptionc                 "    SR                  U US9$ )z.Returns a fully-qualified subscription string.z/projects/{project}/subscriptions/{subscription}rd   rs   rh   ru   s     r4   subscription_path!PublisherClient.subscription_path   s$     AGG% H 
 	
r7   c                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z7Parses a subscription path into its component segments.z?^projects/(?P<project>.+?)/subscriptions/(?P<subscription>.+?)$rn   rp   s     r4   parse_subscription_path'PublisherClient.parse_subscription_path   s-     HHNPT
 !"q{{})r)r7   topicc                 "    SR                  U US9$ )z'Returns a fully-qualified topic string.z!projects/{project}/topics/{topic}rd   r{   rh   r}   s     r4   
topic_pathPublisherClient.topic_path   s"     399 : 
 	
r7   c                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z0Parses a topic path into its component segments.z1^projects/(?P<project>.+?)/topics/(?P<topic>.+?)$rn   rp   s     r4   parse_topic_path PublisherClient.parse_topic_path   s(     HHI4P !q{{})r)r7   billing_accountc                      SR                  U S9$ )z1Returns a fully-qualified billing_account string.z!billingAccounts/{billing_account}r   rh   r   s    r4   common_billing_account_path+PublisherClient.common_billing_account_path   s    
 399+ : 
 	
r7   c                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z9Parse a billing_account path into its component segments.z*^billingAccounts/(?P<billing_account>.+?)$rn   rp   s     r4   !parse_common_billing_account_path1PublisherClient.parse_common_billing_account_path  s(     HHBDI !q{{})r)r7   folderc                      SR                  U S9$ )z(Returns a fully-qualified folder string.zfolders/{folder}r   rh   r   s    r4   common_folder_path"PublisherClient.common_folder_path
  s    
 "(( ) 
 	
r7   c                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z0Parse a folder path into its component segments.z^folders/(?P<folder>.+?)$rn   rp   s     r4   parse_common_folder_path(PublisherClient.parse_common_folder_path  s(     HH148 !q{{})r)r7   organizationc                      SR                  U S9$ )z.Returns a fully-qualified organization string.zorganizations/{organization}r   rh   r   s    r4   common_organization_path(PublisherClient.common_organization_path  s    
 .44% 5 
 	
r7   c                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z6Parse a organization path into its component segments.z%^organizations/(?P<organization>.+?)$rn   rp   s     r4   parse_common_organization_path.PublisherClient.parse_common_organization_path"  s(     HH=tD !q{{})r)r7   c                      SR                  U S9$ )z)Returns a fully-qualified project string.zprojects/{project}rd   rh   r   s    r4   common_project_path#PublisherClient.common_project_path(  s    
 $** + 
 	
r7   c                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z1Parse a project path into its component segments.z^projects/(?P<project>.+?)$rn   rp   s     r4   parse_common_project_path)PublisherClient.parse_common_project_path1  s(     HH3T: !q{{})r)r7   locationc                 "    SR                  U US9$ )z*Returns a fully-qualified location string.z'projects/{project}/locations/{location}rd   r   rh   r   s     r4   common_location_path$PublisherClient.common_location_path7  s#     9?? @ 
 	
r7   c                 b    [         R                  " SU 5      nU(       a  UR                  5       $ 0 $ )z2Parse a location path into its component segments.z7^projects/(?P<project>.+?)/locations/(?P<location>.+?)$rn   rp   s     r4   parse_common_location_path*PublisherClient.parse_common_location_pathB  s)     HHOQUV !q{{})r)r7   Nr   c                    Uc  [         R                  " 5       n[        R                  " SS5      n[        R                  " SS5      nUS;  a  [	        S5      eUS;  a  [        S	5      eSnUS
:X  aM  UR                  (       a  UR                  nO/[        R                  " 5       (       a  [        R                  " 5       nUR                  b  UR                  nXT4$ US:X  d  US:X  a  U(       a  U R                  nXT4$ U R                  nXT4$ )a'  Return the API endpoint and client cert source for mutual TLS.

The client cert source is determined in the following order:
(1) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is not "true", the
client cert source is None.
(2) if `client_options.client_cert_source` is provided, use the provided one; if the
default client cert source exists, use the default one; otherwise the client cert
source is None.

The API endpoint is determined in the following order:
(1) if `client_options.api_endpoint` if provided, use the provided one.
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
default mTLS endpoint; if the environment variable is "never", use the default API
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
use the default API endpoint.

More details can be found at https://google.aip.dev/auth/4114.

Args:
    client_options (google.api_core.client_options.ClientOptions): Custom options for the
        client. Only the `api_endpoint` and `client_cert_source` properties may be used
        in this method.

Returns:
    Tuple[str, Callable[[], Tuple[bytes, bytes]]]: returns the API endpoint and the
        client cert source to use.

Raises:
    google.auth.exceptions.MutualTLSChannelError: If any errors happen.
N!GOOGLE_API_USE_CLIENT_CERTIFICATEfalseGOOGLE_API_USE_MTLS_ENDPOINTauto)truer   zYEnvironment variable `GOOGLE_API_USE_CLIENT_CERTIFICATE` must be either `true` or `false`)r   neveralwayszWEnvironment variable `GOOGLE_API_USE_MTLS_ENDPOINT` must be `never`, `auto` or `always`r   r   )client_options_libClientOptionsosgetenv
ValueErrorr   client_cert_sourcer   has_default_client_cert_sourcedefault_client_cert_sourcerJ   DEFAULT_MTLS_ENDPOINTDEFAULT_ENDPOINT)r3   r   use_client_certuse_mtls_endpointr   rJ   s         r4   !get_mtls_endpoint_and_cert_source1PublisherClient.get_mtls_endpoint_and_cert_sourceH  s   D !/==?N))$GQII&DfM"33k  $??'i 
 "f$00%3%F%F"4466%)%D%D%F" &&2)66L // (*',>44L // //L//r7   )r   rb   r   client_infor   rb   r   c                n   [        U[        5      (       a  [        R                  " U5      nUc  [        R                  " 5       n[        [        R                  U5      nU R                  U5      u  pV[        USS5      nU(       a  U(       a  [        S5      e[        U[        5      (       aM  U(       d  UR                  (       d  U(       a  [        S5      eUR                  (       a  [        S5      eX l        gSSKnU(       aJ  [        UR                  R                   S5      (       a%  UR                  R                   R#                  U5      n[%        U 5      R'                  U5      n	[(        R*                  R-                  S5      n
U
(       am  [/        U	[%        U 5      R0                  S	   5      (       a  [2        R4                  " U
S
9nO[2        R6                  R5                  U
S
9n[8        R:                  " XS9n	U	" UUR                  UUR                  UUR<                  USUR>                  S9	U l        g)a  Instantiates the publisher client.

Args:
    credentials (Optional[google.auth.credentials.Credentials]): The
        authorization credentials to attach to requests. These
        credentials identify the application to the service; if none
        are specified, the client will attempt to ascertain the
        credentials from the environment.
    transport (Union[str, PublisherTransport]): The
        transport to use. If set to None, a transport is chosen
        automatically.
    client_options (Optional[Union[google.api_core.client_options.ClientOptions, dict]]): Custom options for the
        client. It won't take effect if a ``transport`` instance is provided.
        (1) The ``api_endpoint`` property can be used to override the
        default endpoint provided by the client. GOOGLE_API_USE_MTLS_ENDPOINT
        environment variable can also be used to override the endpoint:
        "always" (always use the default mTLS endpoint), "never" (always
        use the default regular endpoint) and "auto" (auto switch to the
        default mTLS endpoint if client certificate is present, this is
        the default value). However, the ``api_endpoint`` property takes
        precedence if provided.
        (2) If GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable
        is "true", then the ``client_cert_source`` property can be used
        to provide client certificate for mutual TLS transport. If
        not provided, the default SSL client certificate will be used if
        present. If GOOGLE_API_USE_CLIENT_CERTIFICATE is "false" or not
        set, no client certificate will be used.
    client_info (google.api_core.gapic_v1.client_info.ClientInfo):
        The client info used to send a user-agent string along with
        API requests. If ``None``, then default info will be used.
        Generally, you only need to set this if you're developing
        your own client library.

Raises:
    google.auth.exceptions.MutualTLSChannelError: If mutual TLS transport
        creation failed for any reason.
Napi_keyz=client_options.api_key and credentials are mutually exclusivezFWhen providing a transport instance, provide its credentials directly.zAWhen providing a transport instance, provide its scopes directly.r   get_api_key_credentialsPUBSUB_EMULATOR_HOSTr)   )target)channelT)	r   credentials_filehostscopesclient_cert_source_for_mtlsquota_project_idr   always_use_jwt_accessapi_audience) 
isinstancedictr   	from_dictr   r   r   getattrr   r!   r   r   r_   google.auth._defaulthasattrauth_defaultr   typer5   r   environget
issubclassr/   r)   insecure_channelaio	functoolspartialr   r   )ra   r   rb   r   r   rJ   client_cert_source_funcapi_key_valuegoogle	Transportemulator_hostr   s               r4   __init__PublisherClient.__init__  s   Z nd++/99.IN!/==?N0>>O040V0V1
-  	4@[O  i!344n== 8  $$    (O'$$&?" " %kk22JJ! T
66yAIJJNN+ABMid)G)G)OPP"33=IG"hh77}7MG%--iI	''!/!@!@!%,,,C!/!@!@'&*+88
DOr7   r8   )rM   r   r   metadatarequestrM   r   r   r   c                   [        U/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d  [        R                  " U5      nUb  X!l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  445      4-   nU" UUUUS9nU$ )a  Creates the given topic with the given name. See the [resource
name rules]
(https://cloud.google.com/pubsub/docs/admin#resource_names).

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_create_topic():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.Topic(
            name="name_value",
        )

        # Make the request
        response = client.create_topic(request=request)

        # Handle the response
        print(response)

Args:
    request (Union[google.pubsub_v1.types.Topic, dict]):
        The request object. A topic resource.
    name (str):
        Required. The name of the topic. It must have the format
        ``"projects/{project}/topics/{topic}"``. ``{topic}``
        must start with a letter, and contain only letters
        (``[A-Za-z]``), numbers (``[0-9]``), dashes (``-``),
        underscores (``_``), periods (``.``), tildes (``~``),
        plus (``+``) or percent signs (``%``). It must be
        between 3 and 255 characters in length, and it must not
        start with ``"goog"``.

        This corresponds to the ``name`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.types.Topic:
        A topic resource.
\If the `request` argument is set, then none of the individual field arguments should be set.rM   r   r   r   )anyr   r   r   TopicrM   r_   _wrapped_methodscreate_topictupler   routing_headerto_grpc_metadata)	ra   r   rM   r   r   r   has_flattened_paramsrpcresponses	            r4   r   PublisherClient.create_topic  s    J  #D6{#7@  '6<<00ll7+G # oo..t/K/KL ?##44vw||6L5NO&
 

 	
 r7   )r{   update_maskr   r   r   r   c                   [        X#/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d(  [        R                  " U5      nUb  X!l        Ub  X1l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  R                  445      4-   nU" UUUUS9n	U	$ )a	  Updates an existing topic. Note that certain
properties of a topic are not modifiable.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_update_topic():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        topic = pubsub_v1.Topic()
        topic.name = "name_value"

        request = pubsub_v1.UpdateTopicRequest(
            topic=topic,
        )

        # Make the request
        response = client.update_topic(request=request)

        # Handle the response
        print(response)

Args:
    request (Union[google.pubsub_v1.types.UpdateTopicRequest, dict]):
        The request object. Request for the UpdateTopic method.
    topic (google.pubsub_v1.types.Topic):
        Required. The updated topic object.
        This corresponds to the ``topic`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    update_mask (google.protobuf.field_mask_pb2.FieldMask):
        Required. Indicates which fields in the provided topic
        to update. Must be specified and non-empty. Note that if
        ``update_mask`` contains "message_storage_policy" but
        the ``message_storage_policy`` is not set in the
        ``topic`` provided above, then the updated value is
        determined by the policy configured at the project or
        organization level.

        This corresponds to the ``update_mask`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.types.Topic:
        A topic resource.
r   z
topic.namer   )r   r   r   r   UpdateTopicRequestr{   r   r_   r   update_topicr   r   r   r   rM   )
ra   r   r{   r   r   r   r   r   r   r   s
             r4   r   PublisherClient.update_topicd  s    X  #E#78#7@  '6#<#<==//8G   %&&1# oo..t/K/KL ?##44 2 235&
 
 	
 r7   )r{   messagesr   r   r   r   c                   [        X#/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d(  [        R                  " U5      nUb  X!l        Ub  X1l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  445      4-   nU" UUUUS9n	U	$ )a  Adds one or more messages to the topic. Returns ``NOT_FOUND`` if
the topic does not exist.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_publish():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.PublishRequest(
            topic="topic_value",
        )

        # Make the request
        response = client.publish(request=request)

        # Handle the response
        print(response)

Args:
    request (Union[google.pubsub_v1.types.PublishRequest, dict]):
        The request object. Request for the Publish method.
    topic (str):
        Required. The messages in the request will be published
        on this topic. Format is
        ``projects/{project}/topics/{topic}``.

        This corresponds to the ``topic`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    messages (MutableSequence[google.pubsub_v1.types.PubsubMessage]):
        Required. The messages to publish.
        This corresponds to the ``messages`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.types.PublishResponse:
        Response for the Publish method.
r   r{   r   )r   r   r   r   PublishRequestr{   r   r_   r   publishr   r   r   r   )
ra   r   r{   r   r   r   r   r   r   r   s
             r4   r   PublisherClient.publish  s    J  #E#45#7@  '6#8#899++G4G   %##+  oo..t/F/FG ?##44w6N5PQ&
 

 	
 r7   )r{   r   r   r   c                   [        U/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d  [        R                  " U5      nUb  X!l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  445      4-   nU" UUUUS9nU$ )a^  Gets the configuration of a topic.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_get_topic():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.GetTopicRequest(
            topic="topic_value",
        )

        # Make the request
        response = client.get_topic(request=request)

        # Handle the response
        print(response)

Args:
    request (Union[google.pubsub_v1.types.GetTopicRequest, dict]):
        The request object. Request for the GetTopic method.
    topic (str):
        Required. The name of the topic to get. Format is
        ``projects/{project}/topics/{topic}``.

        This corresponds to the ``topic`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.types.Topic:
        A topic resource.
r   r{   r   )r   r   r   r   GetTopicRequestr{   r_   r   	get_topicr   r   r   r   	ra   r   r{   r   r   r   r   r   r   s	            r4   r  PublisherClient.get_topicI  s    z  #E7|#7@  '6#9#9::,,W5G   % oo..t/H/HI ?##44w6N5PQ&
 

 	
 r7   )rd   r   r   r   c                   [        U/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d  [        R                  " U5      nUb  X!l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  445      4-   nU" UUUUS9n[        R                  " UUUUS9nU$ )a7  Lists matching topics.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_list_topics():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.ListTopicsRequest(
            project="project_value",
        )

        # Make the request
        page_result = client.list_topics(request=request)

        # Handle the response
        for response in page_result:
            print(response)

Args:
    request (Union[google.pubsub_v1.types.ListTopicsRequest, dict]):
        The request object. Request for the ``ListTopics`` method.
    project (str):
        Required. The name of the project in which to list
        topics. Format is ``projects/{project-id}``.

        This corresponds to the ``project`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.services.publisher.pagers.ListTopicsPager:
        Response for the ListTopics method.

        Iterating over this object will yield results and
        resolve additional pages automatically.

r   rd   r   methodr   r   r   )r   r   r   r   ListTopicsRequestrd   r_   r   list_topicsr   r   r   r   r   ListTopicsPager)	ra   r   rd   r   r   r   r   r   r   s	            r4   r  PublisherClient.list_topics  s    D  #G9~#7@  '6#;#;<<..w7G "") oo..t/J/JK ?##44y'//6R5TU&
 

 	
 ))	
 r7   c                   [        U/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d  [        R                  " U5      nUb  X!l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  445      4-   nU" UUUUS9n[        R                  " UUUUS9nU$ )a  Lists the names of the attached subscriptions on this
topic.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_list_topic_subscriptions():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.ListTopicSubscriptionsRequest(
            topic="topic_value",
        )

        # Make the request
        page_result = client.list_topic_subscriptions(request=request)

        # Handle the response
        for response in page_result:
            print(response)

Args:
    request (Union[google.pubsub_v1.types.ListTopicSubscriptionsRequest, dict]):
        The request object. Request for the ``ListTopicSubscriptions`` method.
    topic (str):
        Required. The name of the topic that subscriptions are
        attached to. Format is
        ``projects/{project}/topics/{topic}``.

        This corresponds to the ``topic`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.services.publisher.pagers.ListTopicSubscriptionsPager:
        Response for the ListTopicSubscriptions method.

        Iterating over this object will yield results and
        resolve additional pages automatically.

r   r{   r   r  )r   r   r   r   ListTopicSubscriptionsRequestr{   r_   r   list_topic_subscriptionsr   r   r   r   r   ListTopicSubscriptionsPagerr  s	            r4   r  (PublisherClient.list_topic_subscriptions  s    H  #E7|#7@  '6#G#GHH::7CG   % oo..t/W/WX ?##44w6N5PQ&
 

 	
 55	
 r7   c                   [        U/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d  [        R                  " U5      nUb  X!l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  445      4-   nU" UUUUS9n[        R                  " UUUUS9nU$ )a  Lists the names of the snapshots on this topic. Snapshots are
used in
`Seek <https://cloud.google.com/pubsub/docs/replay-overview>`__
operations, which allow you to manage message acknowledgments in
bulk. That is, you can set the acknowledgment state of messages
in an existing subscription to the state captured by a snapshot.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_list_topic_snapshots():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.ListTopicSnapshotsRequest(
            topic="topic_value",
        )

        # Make the request
        page_result = client.list_topic_snapshots(request=request)

        # Handle the response
        for response in page_result:
            print(response)

Args:
    request (Union[google.pubsub_v1.types.ListTopicSnapshotsRequest, dict]):
        The request object. Request for the ``ListTopicSnapshots`` method.
    topic (str):
        Required. The name of the topic that snapshots are
        attached to. Format is
        ``projects/{project}/topics/{topic}``.

        This corresponds to the ``topic`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.services.publisher.pagers.ListTopicSnapshotsPager:
        Response for the ListTopicSnapshots method.

        Iterating over this object will yield results and
        resolve additional pages automatically.

r   r{   r   r  )r   r   r   r   ListTopicSnapshotsRequestr{   r_   r   list_topic_snapshotsr   r   r   r   r   ListTopicSnapshotsPagerr  s	            r4   r  $PublisherClient.list_topic_snapshots  s    P  #E7|#7@  '6#C#CDD66w?G   % oo..t/S/ST ?##44w6N5PQ&
 

 	
 11	
 r7   c                   [        U/5      nUb  U(       a  [        S5      e[        U[        R                  5      (       d  [        R                  " U5      nUb  X!l        U R                  R                  U R                  R                     n[        U5      [        R                  R                  SUR
                  445      4-   nU" UUUUS9  g)a*  Deletes the topic with the given name. Returns ``NOT_FOUND`` if
the topic does not exist. After a topic is deleted, a new topic
may be created with the same name; this is an entirely new topic
with none of the old configuration or subscriptions. Existing
subscriptions to this topic are not deleted, but their ``topic``
field is set to ``_deleted-topic_``.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_delete_topic():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.DeleteTopicRequest(
            topic="topic_value",
        )

        # Make the request
        client.delete_topic(request=request)

Args:
    request (Union[google.pubsub_v1.types.DeleteTopicRequest, dict]):
        The request object. Request for the ``DeleteTopic`` method.
    topic (str):
        Required. Name of the topic to delete. Format is
        ``projects/{project}/topics/{topic}``.

        This corresponds to the ``topic`` field
        on the ``request`` instance; if ``request`` is provided, this
        should not be set.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.
Nr   r{   r   )r   r   r   r   DeleteTopicRequestr{   r_   r   delete_topicr   r   r   r   )ra   r   r{   r   r   r   r   r   s           r4   r  PublisherClient.delete_topic  s    v  #E7|#7@  '6#<#<==//8G   % oo..t/K/KL ?##44w6N5PQ&
 

 			
r7   r   c                N   [        U[        R                  5      (       d  [        R                  " U5      nU R                  R                  U R                  R
                     n[        U5      [        R                  R                  SUR                  445      4-   nU" UUUUS9nU$ )a  Detaches a subscription from this topic. All messages retained
in the subscription are dropped. Subsequent ``Pull`` and
``StreamingPull`` requests will return FAILED_PRECONDITION. If
the subscription is a push subscription, pushes to the endpoint
will stop.

.. code-block:: python

    # This snippet has been automatically generated and should be regarded as a
    # code template only.
    # It will require modifications to work:
    # - It may require correct/in-range values for request initialization.
    # - It may require specifying regional endpoints when creating the service
    #   client as shown in:
    #   https://googleapis.dev/python/google-api-core/latest/client_options.html
    from google import pubsub_v1

    def sample_detach_subscription():
        # Create a client
        client = pubsub_v1.PublisherClient()

        # Initialize request argument(s)
        request = pubsub_v1.DetachSubscriptionRequest(
            subscription="subscription_value",
        )

        # Make the request
        response = client.detach_subscription(request=request)

        # Handle the response
        print(response)

Args:
    request (Union[google.pubsub_v1.types.DetachSubscriptionRequest, dict]):
        The request object. Request for the DetachSubscription
        method.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.

Returns:
    google.pubsub_v1.types.DetachSubscriptionResponse:
        Response for the DetachSubscription
        method. Reserved for future use.

rs   r   )r   r   DetachSubscriptionRequestr_   r   detach_subscriptionr   r   r   r   rs   ra   r   r   r   r   r   r   s          r4   r  #PublisherClient.detach_subscriptionj  s    | '6#C#CDD66w?G oo..t/R/RS ?##44 '"6"679&
 
 	
 r7   c                     U $ r9   r8   r`   s    r4   	__enter__PublisherClient.__enter__  s    r7   c                 8    U R                   R                  5         g)zReleases underlying transport's resources.

.. warning::
    ONLY use as a context manager if the transport is NOT shared
    with other clients! Exiting the with block will CLOSE the transport
    and may cause errors in other clients!
N)rb   close)ra   r   value	tracebacks       r4   __exit__PublisherClient.__exit__  s     	r7   c                N   [        U[        5      (       a  [        R                  " S0 UD6n[        R
                  R                  U R                  R                  S[        S9n[        U5      [        R                  R                  SUR                  445      4-   nU" UUUUS9nU$ )a  Sets the IAM access control policy on the specified function.

Replaces any existing policy.

Args:
    request (:class:`~.iam_policy_pb2.SetIamPolicyRequest`):
        The request object. Request message for `SetIamPolicy`
        method.
    retry (google.api_core.retry.Retry): Designation of what errors, if any,
        should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.
Returns:
    ~.policy_pb2.Policy:
        Defines an Identity and Access Management (IAM) policy.
        It is used to specify access control policies for Cloud
        Platform resources.
        A ``Policy`` is a collection of ``bindings``. A
        ``binding`` binds one or more ``members`` to a single
        ``role``. Members can be user accounts, service
        accounts, Google groups, and domains (such as G Suite).
        A ``role`` is a named list of permissions (defined by
        IAM or configured by users). A ``binding`` can
        optionally specify a ``condition``, which is a logic
        expression that further constrains the role binding
        based on attributes about the request and/or target
        resource.

        **JSON Example**

        ::

            {
              "bindings": [
                {
                  "role": "roles/resourcemanager.organizationAdmin",
                  "members": [
                    "user:mike@example.com",
                    "group:admins@example.com",
                    "domain:google.com",
                    "serviceAccount:my-project-id@appspot.gserviceaccount.com"
                  ]
                },
                {
                  "role": "roles/resourcemanager.organizationViewer",
                  "members": ["user:eve@example.com"],
                  "condition": {
                    "title": "expirable access",
                    "description": "Does not grant access after Sep 2020",
                    "expression": "request.time <
                    timestamp('2020-10-01T00:00:00.000Z')",
                  }
                }
              ]
            }

        **YAML Example**

        ::

            bindings:
            - members:
              - user:mike@example.com
              - group:admins@example.com
              - domain:google.com
              - serviceAccount:my-project-id@appspot.gserviceaccount.com
              role: roles/resourcemanager.organizationAdmin
            - members:
              - user:eve@example.com
              role: roles/resourcemanager.organizationViewer
              condition:
                title: expirable access
                description: Does not grant access after Sep 2020
                expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

        For a description of IAM and its features, see the `IAM
        developer's
        guide <https://cloud.google.com/iam/docs>`__.
Ndefault_timeoutr   resourcer   r8   )r   r   r   SetIamPolicyRequestr   r  wrap_methodr_   set_iam_policyr"   r   r   r   r*  r  s          r4   r-  PublisherClient.set_iam_policy  s    z gt$$$88C7CG oo))OO** + * 
 ?##44z7CSCS6T5VW&
 

 	
 r7   c                N   [        U[        5      (       a  [        R                  " S0 UD6n[        R
                  R                  U R                  R                  S[        S9n[        U5      [        R                  R                  SUR                  445      4-   nU" UUUUS9nU$ )a  Gets the IAM access control policy for a function.

Returns an empty policy if the function exists and does not have a
policy set.

Args:
    request (:class:`~.iam_policy_pb2.GetIamPolicyRequest`):
        The request object. Request message for `GetIamPolicy`
        method.
    retry (google.api_core.retry.Retry): Designation of what errors, if
        any, should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.
Returns:
    ~.policy_pb2.Policy:
        Defines an Identity and Access Management (IAM) policy.
        It is used to specify access control policies for Cloud
        Platform resources.
        A ``Policy`` is a collection of ``bindings``. A
        ``binding`` binds one or more ``members`` to a single
        ``role``. Members can be user accounts, service
        accounts, Google groups, and domains (such as G Suite).
        A ``role`` is a named list of permissions (defined by
        IAM or configured by users). A ``binding`` can
        optionally specify a ``condition``, which is a logic
        expression that further constrains the role binding
        based on attributes about the request and/or target
        resource.

        **JSON Example**

        ::

            {
              "bindings": [
                {
                  "role": "roles/resourcemanager.organizationAdmin",
                  "members": [
                    "user:mike@example.com",
                    "group:admins@example.com",
                    "domain:google.com",
                    "serviceAccount:my-project-id@appspot.gserviceaccount.com"
                  ]
                },
                {
                  "role": "roles/resourcemanager.organizationViewer",
                  "members": ["user:eve@example.com"],
                  "condition": {
                    "title": "expirable access",
                    "description": "Does not grant access after Sep 2020",
                    "expression": "request.time <
                    timestamp('2020-10-01T00:00:00.000Z')",
                  }
                }
              ]
            }

        **YAML Example**

        ::

            bindings:
            - members:
              - user:mike@example.com
              - group:admins@example.com
              - domain:google.com
              - serviceAccount:my-project-id@appspot.gserviceaccount.com
              role: roles/resourcemanager.organizationAdmin
            - members:
              - user:eve@example.com
              role: roles/resourcemanager.organizationViewer
              condition:
                title: expirable access
                description: Does not grant access after Sep 2020
                expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

        For a description of IAM and its features, see the `IAM
        developer's
        guide <https://cloud.google.com/iam/docs>`__.
Nr(  r*  r   r8   )r   r   r   GetIamPolicyRequestr   r  r,  r_   get_iam_policyr"   r   r   r   r*  r  s          r4   r1  PublisherClient.get_iam_policyH  s    | gt$$$88C7CG oo))OO** + * 
 ?##44z7CSCS6T5VW&
 

 	
 r7   c                N   [        U[        5      (       a  [        R                  " S0 UD6n[        R
                  R                  U R                  R                  S[        S9n[        U5      [        R                  R                  SUR                  445      4-   nU" UUUUS9nU$ )a  Tests the specified IAM permissions against the IAM access control
    policy for a function.

If the function does not exist, this will return an empty set
of permissions, not a NOT_FOUND error.

Args:
    request (:class:`~.iam_policy_pb2.TestIamPermissionsRequest`):
        The request object. Request message for
        `TestIamPermissions` method.
    retry (google.api_core.retry.Retry): Designation of what errors,
         if any, should be retried.
    timeout (TimeoutType):
        The timeout for this request.
    metadata (Sequence[Tuple[str, str]]): Strings which should be
        sent along with the request as metadata.
Returns:
    ~.iam_policy_pb2.TestIamPermissionsResponse:
        Response message for ``TestIamPermissions`` method.
Nr(  r*  r   r8   )r   r   r   TestIamPermissionsRequestr   r  r,  r_   test_iam_permissionsr"   r   r   r   r*  r  s          r4   r5  $PublisherClient.test_iam_permissions  s    @ gt$$$>>IIG oo))OO00 + * 
 ?##44z7CSCS6T5VW&
 

 	
 r7   r^   r9   )r-   rB   )br:   r;   r<   r=   r>   staticmethodrP   _DEFAULT_SCOPESSERVICE_ADDRESSr   __func__r   classmethodr   rU   r?   r[   from_service_account_jsonpropertyr!   rb   rj   r   rq   rv   ry   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r"   ga_credentialsrT   r   r   r   
ClientInfor   r  DEFAULTr   r   OptionalRetryr   r	   r
   r   r   r   	FieldMaskr   r   r   PubsubMessagePublishResponser   r   r  r  r   r	  r  r  r  r  r  r  r  r  r  r  DetachSubscriptionResponser  r  r%  r   r+  r   Policyr-  r0  r1  r4  TestIamPermissionsResponser5  r@   r8   r7   r4   rB   rB   e   sV    O O>O
 2O-.6?? $T $ $  $ $ $" !:-   


 

 
 * *S#X * *
 


 

 
 *c *d38n * * 


 

 
 *s *tCH~ * *
 

	
 
 * *S#X * *
 

	
 
 *s *tCH~ * *
 

	
 
 *S *T#s(^ * *
 

	
 
 * *S#X * *
 


 

 
 * *c3h * *
 JN@0%&8&F&FG@0 @0J =A>BRV7Jk n889k E#'9"9:;	k
 !'9'G'G'M!NOk ))44k 
k^ 8<j #'66'66.0j%d 234j sm	j
 j j 5c?+j 
j\ EIu )-:>'66'66.0u% 9 94 ?@Au %	u
 n667u u u 5c?+u 
ur AEl  $DH'66'66.0l% 5 5t ;<=l }	l
 ?6+?+?@Al l l 5c?+l 
		l` BFb  $'66'66.0b% 6 6 <=>b }	b
 b b 5c?+b 
bL DHp "&'66'66.0p% 8 8$ >?@p #	p
 p p 5c?+p 
		ph PTr  $'66'66.0r% D Dd JKLr }	r
 r r 5c?+r 
	+	+rl LPv  $'66'66.0v% @ @$ FGHv }	v
 v v 5c?+v 
	'	'vt EI]
  $'66'66.0]
% 9 94 ?@A]
 }	]

 ]
 ]
 5c?+]
 
]
B LPV  (66'66.0V% @ @$ FGHV 	V
 V 5c?+V 
	*	*Vp AEw  (66'66.0w.<<=w 	w
 w 5c?+w 
		wv AEx  (66'66.0x.<<=x 	x
 x 5c?+x 
		xx GK:  (66'66.0:.BBC: 	:
 : 5c?+: 
	2	2: :r7   rB   )	metaclass)client_library_version)rB   )Jcollectionsr   r   r   rE   typingr   r   r   r   r   r	   r
   r   r   r   google.pubsub_v1r   package_versiongoogle.api_corer   r   r   core_exceptionsr   r   retriesr   timeoutsgoogle.authr   r>  google.auth.transportr   google.auth.transport.grpcr   google.auth.exceptionsr   google.oauth2r   Retryr  _MethodDefaultrA  AttributeErrorobjectgoogle.iam.v1r   r   cloudsdk.google.protobufr   r   #google.pubsub_v1.services.publisherr   google.pubsub_v1.typesr   r   r)   transports.baser!   r"   transports.grpcr#   transports.grpc_asyncior$   transports.restr%   r   r'   rB   r   r?  __version____all__r8   r7   r4   <module>re     s     $  	 	   > @ 9 $ , / 5 & 5 8 )1'--)G)GGHM ) $ 1 3 6 ) .  D 3 B 3 <$  <FW 3 Wt4 **55*66 6  
 i6  1'--/0M1s   .%D D/.D/