
    #G                     (   d Z ddlmZ ddlmZ ddlmZ ddlmZ dZ	 G d dej                        Z G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z ej2                  ed#d$        ej4                  ej6                  d%d&        ej4                  ej6                  d'd(       y))*zGenerated message classes for eventarcpublishing version v1.

Processes events generated by an event provider and delivers them to a
subscriber.
    )absolute_import)messages)encoding)extra_typeseventarcpublishingc                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)IEventarcpublishingProjectsLocationsChannelConnectionsPublishEventsRequesta  A
  EventarcpublishingProjectsLocationsChannelConnectionsPublishEventsRequest
  object.

  Fields:
    channelConnection: The channel_connection that the events are published
      from. For example: `projects/{partner_project_id}/locations/{location}/c
      hannelConnections/{channel_connection_id}`.
    googleCloudEventarcPublishingV1PublishChannelConnectionEventsRequest: A
      GoogleCloudEventarcPublishingV1PublishChannelConnectionEventsRequest
      resource to be passed as the request body.
     TrequiredDGoogleCloudEventarcPublishingV1PublishChannelConnectionEventsRequest   N)	__name__
__module____qualname____doc__	_messagesStringFieldchannelConnectionMessageFieldDgoogleCloudEventarcPublishingV1PublishChannelConnectionEventsRequest     alib/googlecloudsdk/generated_clients/apis/eventarcpublishing/v1/eventarcpublishing_v1_messages.pyr	   r	      sA     ,i++A=I_I_I_  ag  ij  JkFr   r	   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)?EventarcpublishingProjectsLocationsChannelsPublishEventsRequesta  A EventarcpublishingProjectsLocationsChannelsPublishEventsRequest
  object.

  Fields:
    channel: The full name of the channel to publish to. For example:
      `projects/{project}/locations/{location}/channels/{channel-id}`.
    googleCloudEventarcPublishingV1PublishEventsRequest: A
      GoogleCloudEventarcPublishingV1PublishEventsRequest resource to be
      passed as the request body.
  r
   Tr   3GoogleCloudEventarcPublishingV1PublishEventsRequestr   N)	r   r   r   r   r   r   channelr   3googleCloudEventarcPublishingV1PublishEventsRequestr   r   r   r   r   $   s?    	 "I!!!d3'8N	8N8N  PE  GH  9I5r   r   c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)=EventarcpublishingProjectsLocationsMessageBusesPublishRequesta  A EventarcpublishingProjectsLocationsMessageBusesPublishRequest object.

  Fields:
    googleCloudEventarcPublishingV1PublishRequest: A
      GoogleCloudEventarcPublishingV1PublishRequest resource to be passed as
      the request body.
    messageBus: Required. The full name of the message bus to publish events
      to. Format:
      `projects/{project}/locations/{location}/messageBuses/{messageBus}`.
  -GoogleCloudEventarcPublishingV1PublishRequestr
   r   Tr   N)	r   r   r   r   r   r   -googleCloudEventarcPublishingV1PublishRequestr   
messageBusr   r   r   r!   r!   4   s5    	 3I)2H2HIxz{2|/$y$$Q6*r   r!   c                      e Zd ZdZ ej
                  d       G d dej                               Z ej
                  d       G d dej                               Z	 ej                  dd      Z ej                  d      Z ej                  d	      Z ej                  dd
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Zy))GoogleCloudEventarcPublishingV1CloudEventa  CloudEvent represents a vendor-neutral specification for defining the
  format of event data.

  Messages:
    AttributesValue: Optional. Used for Optional & Extension Attributes
    ProtoDataValue: Optional. Proto data. NOTE: The `protoData` field only
      functions as expected when the payload is specifically a `CloudEvent`
      message type, and can't be used for arbitrary protocol buffer messages.
      For any other protocol buffer type, you must serialize your proto
      message into bytes, and use the `binaryData` field instead.

  Fields:
    attributes: Optional. Used for Optional & Extension Attributes
    binaryData: Optional. Binary data.
    id: Required. Identifies the event. Producers MUST ensure that source + id
      is unique for each distinct event.
    protoData: Optional. Proto data. NOTE: The `protoData` field only
      functions as expected when the payload is specifically a `CloudEvent`
      message type, and can't be used for arbitrary protocol buffer messages.
      For any other protocol buffer type, you must serialize your proto
      message into bytes, and use the `binaryData` field instead.
    source: Required. Identifies the context in which an event happened. URI-
      reference
    specVersion: Required. The version of the CloudEvents specification which
      the event uses.
    textData: Optional. Text data.
    type: Required. This attribute contains a value describing the type of
      event related to the originating occurrence.
  additionalPropertiesc                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)9GoogleCloudEventarcPublishingV1CloudEvent.AttributesValuezOptional. Used for Optional & Extension Attributes

    Messages:
      AdditionalProperty: An additional property for a AttributesValue object.

    Fields:
      additionalProperties: Additional properties of type AttributesValue
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)LGoogleCloudEventarcPublishingV1CloudEvent.AttributesValue.AdditionalPropertyzAn additional property for a AttributesValue object.

      Fields:
        key: Name of the additional property.
        value: A
          GoogleCloudEventarcPublishingV1CloudEventCloudEventAttributeValue
          attribute.
      r
   AGoogleCloudEventarcPublishingV1CloudEventCloudEventAttributeValuer   N	r   r   r   r   r   r   keyr   valuer   r   r   AdditionalPropertyr+   n   s1    
 "I!!!$c$i$$%hjkler   r0   r
   TrepeatedN	r   r   r   r   r   Messager0   r   r'   r   r   r   AttributesValuer)   c   s6    mY.. m 29112FTXYr   r5   c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)8GoogleCloudEventarcPublishingV1CloudEvent.ProtoDataValuea#  Optional. Proto data. NOTE: The `protoData` field only functions as
    expected when the payload is specifically a `CloudEvent` message type, and
    can't be used for arbitrary protocol buffer messages. For any other
    protocol buffer type, you must serialize your proto message into bytes,
    and use the `binaryData` field instead.

    Messages:
      AdditionalProperty: An additional property for a ProtoDataValue object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)KGoogleCloudEventarcPublishingV1CloudEvent.ProtoDataValue.AdditionalPropertyAn additional property for a ProtoDataValue object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r
   extra_types.JsonValuer   Nr-   r   r   r   r0   r9      0    
 "I!!!$c$i$$%<a@er   r0   r
   Tr1   Nr3   r   r   r   ProtoDataValuer7   }   s6    	AY.. 	A 29112FTXYr   r=   r
   r                     Nr   r   r   r   r   MapUnrecognizedFieldsr   r4   r5   r=   r   
attributes
BytesField
binaryDatar   id	protoDatasourcespecVersiontextDatatyper   r   r   r&   r&   D   s   < "8!!"89Z	)) Z :Z2 "8!!"89Zy(( Z :Z8 &y%%&7;*#y##A&*yQ"$i$$%5q9) 9  #&%	%%a(+"Y""1%(			q	!$r   r&   c                   8   e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  dej                  j                        Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d	      Zy
)r,   a!  The following abstract data types are available for use in attributes.

  Fields:
    ceBoolean: Boolean value.
    ceBytes: Bytes value.
    ceInteger: Integer value.
    ceString: String value.
    ceTimestamp: Timestamp value.
    ceUri: URI value.
    ceUriRef: URI-reference value.
  r
   r   r>   variantr?   r@   rA   rB   Nr   r   r   r   r   BooleanField	ceBooleanrG   ceBytesIntegerFieldVariantINT32	ceIntegerr   ceStringceTimestampceUriceUriRefr   r   r   r,   r,          
 %i$$Q') I  #'$i$$Q	0A0A0G0GH)"Y""1%(%	%%a(+
)


"%"Y""1%(r   r,   c                       e Zd ZdZ ej
                  d       G d dej                               Z ej                  ddd      Z
 ej                  dd      Zy	)
r   av  The request message for the PublishChannelConnectionEvents method.

  Messages:
    EventsValueListEntry: A EventsValueListEntry object.

  Fields:
    events: The CloudEvents v1.0 events to publish. No other types are
      allowed. If this field is set, then the `text_events` fields must not be
      set.
    textEvents: The text representation of events to publish. CloudEvent v1.0
      in JSON format is the only allowed type. Refer to https://github.com/clo
      udevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for
      specification. If this field is set, then the `events` fields must not
      be set.
  r'   c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)YGoogleCloudEventarcPublishingV1PublishChannelConnectionEventsRequest.EventsValueListEntryA EventsValueListEntry object.

    Messages:
      AdditionalProperty: An additional property for a EventsValueListEntry
        object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)lGoogleCloudEventarcPublishingV1PublishChannelConnectionEventsRequest.EventsValueListEntry.AdditionalPropertyAn additional property for a EventsValueListEntry object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r
   r;   r   Nr-   r   r   r   r0   rd      r<   r   r0   r
   Tr1   Nr3   r   r   r   EventsValueListEntryra      6    		AY.. 	A 29112FTXYr   rf   r
   Tr1   r   Nr   r   r   r   r   rE   r   r4   rf   r   eventsr   
textEventsr   r   r   r   r      f      "8!!"89ZY.. Z :Z2 "9!!"8!dK&$y$$Q6*r   r   c                       e Zd ZdZy)EGoogleCloudEventarcPublishingV1PublishChannelConnectionEventsResponsezCThe response message for the PublishChannelConnectionEvents method.Nr   r   r   r   r   r   r   rm   rm      s    Lr   rm   c                       e Zd ZdZ ej
                  d       G d dej                               Z ej                  ddd      Z
 ej                  dd      Zy	)
r   ae  The request message for the PublishEvents method.

  Messages:
    EventsValueListEntry: A EventsValueListEntry object.

  Fields:
    events: The CloudEvents v1.0 events to publish. No other types are
      allowed. If this field is set, then the `text_events` fields must not be
      set.
    textEvents: The text representation of events to publish. CloudEvent v1.0
      in JSON format is the only allowed type. Refer to https://github.com/clo
      udevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for
      specification. If this field is set, then the `events` fields must not
      be set.
  r'   c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)HGoogleCloudEventarcPublishingV1PublishEventsRequest.EventsValueListEntryrb   c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)[GoogleCloudEventarcPublishingV1PublishEventsRequest.EventsValueListEntry.AdditionalPropertyre   r
   r;   r   Nr-   r   r   r   r0   rs     r<   r   r0   r
   Tr1   Nr3   r   r   r   rf   rq      rg   r   rf   r
   Tr1   r   Nrh   r   r   r   r   r      rk   r   r   c                       e Zd ZdZy)4GoogleCloudEventarcPublishingV1PublishEventsResponsez2The response message for the PublishEvents method.Nrn   r   r   r   ru   ru     s    ;r   ru   c                       e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  d      Z	 ej                  dd      Zy)r"   ai  The request message for the Publish method.

  Fields:
    avroMessage: The Avro format of the CloudEvent being published.
      Specification can be found here: https://github.com/cloudevents/spec/blo
      b/v1.0.2/cloudevents/formats/avro-format.md
    jsonMessage: The JSON format of the CloudEvent being published.
      Specification can be found here: https://github.com/cloudevents/spec/blo
      b/v1.0.2/cloudevents/formats/json-format.md
    messageUid: Optional. This field provides a message_uid override uniquely
      associated with a message in Eventarc Advanced systems, and should be
      propagated by the first ingestion point of the message.
    protoMessage: The Protobuf format of the CloudEvent being published.
      Specification can be found here: https://github.com/cloudevents/spec/blo
      b/v1.0.2/cloudevents/formats/protobuf-format.md
  r
   r   r>   r&   r?   N)r   r   r   r   r   rG   avroMessager   jsonMessage
messageUidr   protoMessager   r   r   r"   r"      sU    " %	$$Q'+%	%%a(+$y$$Q'*'''(SUVW,r   r"   c                   X    e Zd ZdZ ej
                  d      Z ej                  d      Zy).GoogleCloudEventarcPublishingV1PublishResponsea  The response message for the Publish method.

  Fields:
    dropped: Whether the message was dropped by the message bus. This could
      happen if there are no subscribers interested in the message that was
      published.
    messageUid: The message_uid of the published message. This can be used to
      correlate the response with logs that are generated by Eventarc Advanced
      systems.
  r
   r   N)	r   r   r   r   r   rS   droppedr   ry   r   r   r   r|   r|   8  s-    	 #I""1%'$y$$Q'*r   r|   c                      e Zd ZdZ ej
                  d       G d dej                               Z ej
                  d       G d dej                               Z	 ej                  dd      Z ej                  d      Z ej                  d	      Z ej                  dd
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Zy)IoCloudeventsV1CloudEventa  -- CloudEvent Context Attributes

  Messages:
    AttributesValue: Optional & Extension Attributes
    ProtoDataValue: A ProtoDataValue object.

  Fields:
    attributes: Optional & Extension Attributes
    binaryData: A byte attribute.
    id: Required Attributes
    protoData: A ProtoDataValue attribute.
    source: URI-reference
    specVersion: A string attribute.
    textData: A string attribute.
    type: A string attribute.
  r'   c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy))IoCloudeventsV1CloudEvent.AttributesValuezOptional & Extension Attributes

    Messages:
      AdditionalProperty: An additional property for a AttributesValue object.

    Fields:
      additionalProperties: Additional properties of type AttributesValue
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)<IoCloudeventsV1CloudEvent.AttributesValue.AdditionalPropertyzAn additional property for a AttributesValue object.

      Fields:
        key: Name of the additional property.
        value: A IoCloudeventsV1CloudEventCloudEventAttributeValue attribute.
      r
   1IoCloudeventsV1CloudEventCloudEventAttributeValuer   Nr-   r   r   r   r0   r   e  s1    
 "I!!!$c$i$$%XZ[\er   r0   r
   Tr1   Nr3   r   r   r   r5   r   Z  s6    	]Y.. 	] 29112FTXYr   r5   c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)(IoCloudeventsV1CloudEvent.ProtoDataValuezA ProtoDataValue object.

    Messages:
      AdditionalProperty: An additional property for a ProtoDataValue object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy);IoCloudeventsV1CloudEvent.ProtoDataValue.AdditionalPropertyr:   r
   r;   r   Nr-   r   r   r   r0   r   ~  r<   r   r0   r
   Tr1   Nr3   r   r   r   r=   r   r  s6    	AY.. 	A 29112FTXYr   r=   r
   r   r>   r?   r@   rA   rB   rC   NrD   r   r   r   r   r   H  s   " "8!!"89Z	)) Z :Z. "8!!"89Zy(( Z :Z0 &y%%&7;*#y##A&*yQ"$i$$%5q9) 9  #&%	%%a(+"Y""1%(			q	!$r   r   c                   8   e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  dej                  j                        Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d	      Zy
)r   a8  A IoCloudeventsV1CloudEventCloudEventAttributeValue object.

  Fields:
    ceBoolean: A boolean attribute.
    ceBytes: A byte attribute.
    ceInteger: A integer attribute.
    ceString: A string attribute.
    ceTimestamp: A string attribute.
    ceUri: A string attribute.
    ceUriRef: A string attribute.
  r
   r   r>   rP   r?   r@   rA   rB   NrR   r   r   r   r   r     r^   r   r   c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  d      Z ej                  ddd	
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej"                  dd
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Zy)StandardQueryParametersa4  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                       e Zd ZdZdZdZdZy)*StandardQueryParameters.AltValueValuesEnumzData 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   N)r   r   r   r   jsonmediaprotor   r   r   AltValueValuesEnumr     s     DEEr   r   c                       e Zd ZdZdZdZy)-StandardQueryParameters.FXgafvValueValuesEnumzVV1 error format.

    Values:
      _1: v1 error format
      _2: v2 error format
    r   r
   N)r   r   r   r   _1_2r   r   r   FXgafvValueValuesEnumr     s     
B	
Br   r   r
   r   r>   r   )defaultr?   r@   rA   rB   rC   T	   
         N)r   r   r   r   r   Enumr   r   	EnumFieldf__xgafvr   access_tokenaltcallbackfieldsr.   oauth_tokenrS   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r   r     s   4
9>> 
inn  !Y  !8!<(&&&q),	0!VD#"Y""1%( 9  #&	a #%	%%a(+&	&&q$7+#i##A&)
)


#%$y$$R(*)I))"-/r   r   r   z$.xgafvr   1r   2N)r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   r   packager4   r	   r   r!   r&   r,   r   rm   r   ru   r"   r|   r   r   r   AddCustomJsonFieldMappingAddCustomJsonEnumMappingr   r   r   r   <module>r      s   ' < % ( kPYPaPa k$IiFWFW I 7IDUDU 7 ]"	0A0A ]"@&	HYHY &,,79K\K\ ,7^MIL]L] M,7):K:K ,7^<9;L;L <XI4E4E X0(Y5F5F ( J"	 1 1 J"Z&	8I8I &,<.i// <.~ # " "Z4 ! ! !114> ! ! !114>r   