
    2[                     F   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 " S  S!\R                  5      r " S" S#\R                  5      r\R2                  " \S$S%5        \R4                  " \R6                  S&S'5        \R4                  " \R6                  S(S)5        g*)+zGenerated message classes for eventflow version v1beta2.

Creates and manages flows, each of which that specifies a trigger condition
for emitting an event and a resulting action that should happen.
    )absolute_import)messages)encoding	eventflowc                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)Action   aB  A consumer of events running in a Processor, for example a particular
Google Cloud Function.

Fields:
  name: Where the event will be delivered to, for example "projects/my-
    project-id/locations/mordor-central1/functions/functionName"
  processor: Where the action runs. For example "google.serverless" or
    "http".
       N)
__name__
__module____qualname____firstlineno____doc__	_messagesStringFieldname	processor__static_attributes__r       Ylib/googlecloudsdk/generated_clients/apis/eventflow/v1beta2/eventflow_v1beta2_messages.pyr   r      s)     
		q	!$##A&)r   r   c                   H   \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " S5      r
\R                  " S5      r\R                  " S	5      r\R                  " S
5      r\R                  " SS5      r\R                  " SS5      rSrg)	Condition    a:  The different dimensions of the status.

Enums:
  StatusValueValuesEnum: Required. The actual status.
  TypeValueValuesEnum: Required. What type of condition is this.

Fields:
  lastHeartbeatTime: Last time we got an update on a given condition.
  lastTransitionTime: Last time the condition transit from one status to
    another.
  message: Human-readable message indicating details about last transition.
  reason: One-word CamelCase reason for the condition's last transition.
  status: Required. The actual status.
  type: Required. What type of condition is this.
c                   $    \ rS rSrSrSrSrSrSrg)Condition.StatusValueValuesEnum1   zRequired. The actual status.

Values:
  UNKNOWN: Should never be set in the API.
  TRUE: The condition is active.
  FALSE: The condition is inactive.
r   r
   r   r   N)	r   r   r   r   r   UNKNOWNTRUEFALSEr   r   r   r   StatusValueValuesEnumr   1   s     GDEr   r"   c                   0    \ rS rSrSrSrSrSrSrSr	Sr
S	rg
)Condition.TypeValueValuesEnum=   a  Required. What type of condition is this.

Values:
  UNKNOWN_TYPE: Never set by the API.
  SERVER_ERROR: Whether there is an error caused by the server hosting
    this API. The reason field will be the error code. The message field
    will be the error message.
  CLIENT_ERROR: Whether there is an error caused by how the client calls
    this API. The reason field will be the error code. The message field
    will be the error message.
  DEPLOYED: Whether the flow is deployed to all regions. The reason field
    will be of the following form: 0of4RegionsDeployed 1of4RegionsDeployed
    4of4RegionsDeployed The message field will be a comma-separated list
    of regions deployed. For example "us-west1,europe-west1,us-east1,asia-
    east1"
  SOURCE_ACTIVATED: Whether the source is activated. The reason field will
    be one of: DoesNotNeedActivation AwaitingResponse
    AcknowledgedActivation ActivationFailed The message field will be the
    error code and message in case of error.
  ACTION_ACTIVATED: Whether the action is activated. The reason field will
    be one of: DoesNotNeedActivation AwaitingResponse
    AcknowledgedActivation ActivationFailed The message field will be the
    error code and message in case of error.
r   r
   r            r   N)r   r   r   r   r   UNKNOWN_TYPESERVER_ERRORCLIENT_ERRORDEPLOYEDSOURCE_ACTIVATEDACTION_ACTIVATEDr   r   r   r   TypeValueValuesEnumr$   =   s)    0 LLLHr   r/   r
   r   r&   r'   r(      r   N)r   r   r   r   r   r   Enumr"   r/   r   lastHeartbeatTimelastTransitionTimemessagereason	EnumFieldstatustyper   r   r   r   r   r       s     
inn 
INN @  ++A. ,,Q/!!!$'  #&6:&			2A	6$r   r   c                       \ rS rSrSrSrg)Emptye   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:   e   s    r   r:   c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	Sr
g)EventTriggern   a)  An EventTrigger represents an interest in a subset of events occurring
in a service.

Fields:
  eventType: Required. The type of event to observe. For example:
    `google.storage.object.finalize` and
    `google.firebase.analytics.event.log`. Event type consists of three
    parts: 1. namespace: The domain name of the organization in reverse-
    domain notation (e.g. `acme.net` appears as `net.acme`) and any
    organization specific subdivisions. If the organization's top-level
    domain is `com`, the top-level domain is omitted (e.g. `google.com`
    appears as `google`). For example, `google.storage` and
    `google.firebase.analytics`. 2. resource type: The type of resource on
    which event occurs. For example, the Google Cloud Storage API includes
    the types `object` and `bucket`. 3. action: The action that generates
    the event. For example, actions for a Google Cloud Storage Object
    include 'finalize' and 'delete'. These parts are lower case and joined
    by '.'.
  resource: Required. The resource(s) from which to observe events, for
    example, `projects/_/buckets/myBucket/objects/{objectPath=**}`. Can be a
    specific resource or use wildcards to match a set of resources.
    Wildcards can either match a single segment in the resource name, using
    '*', or multiple segments, using '**'. For example,
    `projects/myProject/buckets/*/objects/**` would match all objects in all
    buckets in the 'myProject' project. The contents of wildcards can also
    be captured. This is done by assigning it to a variable name in braces.
    For example,
    `projects/myProject/buckets/{bucket_id=*}/objects/{object_path=**}`.
    Additionally, a single segment capture can omit `=*` and a multiple
    segment capture can specify additional structure. For example, the
    following all match the same buckets, but capture different data:
    `projects/myProject/buckets/*/objects/users/*/data/**` `projects/myProje
    ct/buckets/{bucket_id=*}/objects/users/{user_id}/data/{data_path=**}` `p
    rojects/myProject/buckets/{bucket_id}/objects/{object_path=users/*/data/
    **}` Not all syntactically correct values are accepted by all services.
    For example: 1. The authorization model must support it. Google Cloud
    Functions only allows EventTriggers to be deployed that observe
    resources in the same project as the `CloudFunction`. 2. The resource
    type must match the pattern expected for an `event_type`. For example,
    an `EventTrigger` that has an `event_type` of
    "google.pubsub.topic.publish" should have a resource that matches Google
    Cloud Pub/Sub topics. Additionally, some services may support short
    names when creating an `EventTrigger`. These will always be returned in
    the normalized "long" format. See each *service's* documentation for
    supported formats.
  service: The hostname of the service that should be observed. If no string
    is provided, the default service implementing the API will be used. For
    example, `storage.googleapis.com` is the default for all event types in
    the 'google.storage` namespace.
r
   r   r&   r   N)r   r   r   r   r   r   r   	eventTyperesourceservicer   r   r   r   r=   r=   n   s:    1f ##A&)""1%(!!!$'r   r=   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
#EventflowProjectsFlowsCreateRequest   a  A EventflowProjectsFlowsCreateRequest object.

Fields:
  flow: A Flow resource to be passed as the request body.
  namespace: Namespace defines the space within each name must be unique. An
    empty namespace is equivalent to the "default" namespace, but "default"
    is the canonical representation. Not all objects are required to be
    scoped to a namespace - the value of this field for those objects will
    be empty. Must be a DNS_LABEL. Cannot be updated. More info:
    http://kubernetes.io/docs/user-guide/namespaces +optional
Flowr
   r   Trequiredr   N)r   r   r   r   r   r   MessageFieldflowr   	namespacer   r   r   r   rC   rC      s-    
 
			*$##A5)r   rC   c                   :    \ rS rSrSr\R                  " SSS9rSrg)#EventflowProjectsFlowsDeleteRequest   zA EventflowProjectsFlowsDeleteRequest object.

Fields:
  name: The name of the flow, of the form
    "projects/{projectId}/flows/{flowId}". (Note, this is different from the
    flowId that is stored in flow.metadata.name.)
r
   TrF   r   N	r   r   r   r   r   r   r   r   r   r   r   r   rL   rL           
		q4	0$r   rL   c                   :    \ rS rSrSr\R                  " SSS9rSrg) EventflowProjectsFlowsGetRequest   zA EventflowProjectsFlowsGetRequest object.

Fields:
  name: The name of the flow, of the form
    "projects/{projectId}/flows/{flowId}". (Note, this is different from the
    flowId that is stored in flow.metadata.name.)
r
   TrF   r   NrN   r   r   r   rQ   rQ      rO   r   rQ   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
)!EventflowProjectsFlowsListRequest   an  A EventflowProjectsFlowsListRequest object.

Fields:
  pageSize: Requested page size. Server may return more items than
    requested. If unspecified, server will pick an appropriate default.
  pageToken: A token identifying a page of results the server should return.
  parent: The parent, of form "projects/{projectId}", from which the flows
    should be listed.
r
   )variantr   r&   TrF   r   N)r   r   r   r   r   r   IntegerFieldVariantINT32pageSizer   	pageTokenparentr   r   r   r   rT   rT      sI     ##Ay/@/@/F/FG(##A&)  T2&r   rT   c                       \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	\R                  " SSS9r
S	rg
)#EventflowProjectsFlowsUpdateRequest   a  A EventflowProjectsFlowsUpdateRequest object.

Fields:
  flow: A Flow resource to be passed as the request body.
  name: Name must be unique within a namespace. Is required when creating
    resources, although some resources may allow a client to request the
    generation of an appropriate name automatically. Name is primarily
    intended for creation idempotence and configuration definition. Cannot
    be updated. More info: http://kubernetes.io/docs/user-
    guide/identifiers#names +optional
  namespace: Namespace defines the space within each name must be unique. An
    empty namespace is equivalent to the "default" namespace, but "default"
    is the canonical representation. Not all objects are required to be
    scoped to a namespace - the value of this field for those objects will
    be empty. Must be a DNS_LABEL. Cannot be updated. More info:
    http://kubernetes.io/docs/user-guide/namespaces +optional
rE   r
   r   TrF   r&   r   N)r   r   r   r   r   r   rH   rI   r   r   rJ   r   r   r   r   r^   r^      s?    $ 
			*$			q4	0$##A5)r   r^   c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SS5      r
\R                  " SS5      r\R                  " S	S
5      rSrg)rE      aH  A binding of a Source to an Action specifying the trigger condition and
the event type.

Fields:
  apiVersion: The version of the schema the object should have. e.g.
    "eventing.dev/v1beta2".
  kind: Always "Flow".
  metadata: Kubernates-style standard metadata. The Google Hosted version of
    this API uses the flow metadata fields as follows: name: is of the form
    "flowId" (does not include project ID or slashes) generate_name: is
    optionally used on creation if name is not set, in which case it is a
    prefix of a system-generated name. namespace: the project ID for the
    project storing owning this flow (not necessarily the project of the
    event source) creation_timestamp: The time at which the flow was first
    created in the underlying database. Output only. labels["event_type"]:
    Set by the system on creation time to be the same as
    spec.trigger.event_type Output only. labels["source"]: Set by the system
    on creation time to be the same as spec.trigger.resource Output only.
    labels["action"]: Set by the system on creation time to be the same as
    spec.action.name Output only. labels["processor"]: Set by the system on
    creation time to be the same as spec.action.processor
  spec: Desired state of the flow.
  status: Output only. A set of status conditions and when they were last
    observed.
r
   r   
ObjectMetar&   FlowSpecr'   
FlowStatusr(   r   N)r   r   r   r   r   r   r   
apiVersionkindrH   metadataspecr7   r   r   r   r   rE   rE      s_    4 $$Q'*			q	!$##L!4(			
A	.$!!,2&r   rE   c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)	rc   i  a_  Desired state of a Flow.

Fields:
  action: Where an action gets delivered to. For example an HTTP endpoint.
  trigger: Contains the event_type, the "resource" path, and the hostname of
    the service hosting the event source. The "resource" includes the event
    source and a path match expression specifying a condition for emitting
    an event.
r   r
   r=   r   r   N)
r   r   r   r   r   r   rH   actiontriggerr   r   r   r   rc   rc     s-     !!(A.&"">15'r   rc   c                   `    \ rS rSrSr\R                  " SSSS9r\R                  " S5      r	Sr
g	)
rd   i)  a  Current status of a flow.

Fields:
  conditions: The latest available observations of an object's current
    state.
  observedGeneration: The generation most recently observed by the component
    responsible for acting upon changes to the desired state of the
    resource.
r   r
   Trepeatedr   r   N)r   r   r   r   r   r   rH   
conditionsrW   observedGenerationr   r   r   r   rd   rd   )  s.     %%k1tD* --a0r   rd   c                   `    \ rS rSrSr\R                  " SSSS9r\R                  " S5      r	Sr
g	)
ListFlowsResponsei8  zResponse message for EventingFlow.ListFlows.

Fields:
  flows: The list of items.
  nextPageToken: A token to retrieve next page of results.
rE   r
   Trm   r   r   N)r   r   r   r   r   r   rH   flowsr   nextPageTokenr   r   r   r   rr   rr   8  s-     
 
 T
:%''*-r   rr   c                   ,   \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S5       " S S\R                  5      5       r
\R                  " SS5      r\R                  " S	5      r\R                  " S
5      r\R                   " S5      r\R                  " SS5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)rb   iD  a  ObjectMeta is metadata that all persisted resources must have, which
includes all objects users must create.

Messages:
  AnnotationsValue: Annotations is an unstructured key value map stored with
    a resource that may be set by external tools to store and retrieve
    arbitrary metadata. They are not queryable and should be preserved when
    modifying objects. More info: http://kubernetes.io/docs/user-
    guide/annotations +optional
  LabelsValue: Map of string keys and values that can be used to organize
    and categorize (scope and select) objects. May match selectors of
    replication controllers and routes. More info:
    http://kubernetes.io/docs/user-guide/labels +optional

Fields:
  annotations: Annotations is an unstructured key value map stored with a
    resource that may be set by external tools to store and retrieve
    arbitrary metadata. They are not queryable and should be preserved when
    modifying objects. More info: http://kubernetes.io/docs/user-
    guide/annotations +optional
  creationTimestamp: CreationTimestamp is a timestamp representing the
    server time when this object was created. It is not guaranteed to be set
    in happens-before order across separate operations. Clients may not set
    this value. It is represented in RFC3339 form and is in UTC. Populated
    by the system. Read-only. Null for lists. More info:
    https://git.k8s.io/community/contributors/devel/api-
    conventions.md#metadata +optional
  generateName: GenerateName is an optional prefix, used by the server, to
    generate a unique name ONLY IF the Name field has not been provided. If
    this field is used, the name returned to the client will be different
    than the name passed. This value will also be combined with a unique
    suffix. The provided value has the same validation rules as the Name
    field, and may be truncated by the length of the suffix required to make
    the value unique on the server. If this field is specified and the
    generated name exists, the server will NOT return a 409 - instead, it
    will either return 201 Created or 500 with Reason ServerTimeout
    indicating a unique name could not be found in the time allotted, and
    the client should retry (optionally after the time indicated in the
    Retry-After header). Applied only if Name is not specified. More info:
    https://git.k8s.io/community/contributors/devel/api-
    conventions.md#idempotency +optional string generateName = 2;
  generation: A sequence number representing a specific generation of the
    desired state. Populated by the system. Read-only. +optional
  labels: Map of string keys and values that can be used to organize and
    categorize (scope and select) objects. May match selectors of
    replication controllers and routes. More info:
    http://kubernetes.io/docs/user-guide/labels +optional
  name: Name must be unique within a namespace. Is required when creating
    resources, although some resources may allow a client to request the
    generation of an appropriate name automatically. Name is primarily
    intended for creation idempotence and configuration definition. Cannot
    be updated. More info: http://kubernetes.io/docs/user-
    guide/identifiers#names +optional
  namespace: Namespace defines the space within each name must be unique. An
    empty namespace is equivalent to the "default" namespace, but "default"
    is the canonical representation. Not all objects are required to be
    scoped to a namespace - the value of this field for those objects will
    be empty. Must be a DNS_LABEL. Cannot be updated. More info:
    http://kubernetes.io/docs/user-guide/namespaces +optional
  resourceVersion: An opaque value that represents the internal version of
    this object that can be used by clients to determine when objects have
    changed. May be used for optimistic concurrency, change detection, and
    the watch operation on a resource or set of resources. Clients must
    treat these values as opaque and passed unmodified back to the server.
    They may only be valid for a particular resource or set of resources.
    Populated by the system. Read-only. Value must be treated as opaque by
    clients and . More info: https://github.com/kubernetes/community/blob/ma
    ster/contributors/devel/sig-architecture/api-conventions.md#concurrency-
    control-and-consistency +optional
  selfLink: SelfLink is a URL representing this object. Populated by the
    system. Read-only. +optional string selfLink = 4;
  uid: UID is the unique in time and space value for this object. It is
    typically generated by the server on successful creation of a resource
    and is not allowed to change on PUT operations. Populated by the system.
    Read-only. More info: http://kubernetes.io/docs/user-
    guide/identifiers#uids +optional
additionalPropertiesc                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
ObjectMeta.AnnotationsValuei  a  Annotations is an unstructured key value map stored with a resource
that may be set by external tools to store and retrieve arbitrary
metadata. They are not queryable and should be preserved when modifying
objects. More info: http://kubernetes.io/docs/user-guide/annotations
+optional

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

Fields:
  additionalProperties: Additional properties of type AnnotationsValue
c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g).ObjectMeta.AnnotationsValue.AdditionalPropertyi  zAn additional property for a AnnotationsValue object.

Fields:
  key: Name of the additional property.
  value: A string attribute.
r
   r   r   N
r   r   r   r   r   r   r   keyvaluer   r   r   r   AdditionalPropertyrz     )    
 !!!$c##A&er   r~   r
   Trm   r   Nr   r   r   r   r   r   Messager~   rH   rv   r   r   r   r   AnnotationsValuerx     s2    	'Y.. 	' %112FTXYr   r   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
ObjectMeta.LabelsValuei  a  Map of string keys and values that can be used to organize and
categorize (scope and select) objects. May match selectors of replication
controllers and routes. More info: http://kubernetes.io/docs/user-
guide/labels +optional

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

Fields:
  additionalProperties: Additional properties of type LabelsValue
c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g))ObjectMeta.LabelsValue.AdditionalPropertyi  zAn additional property for a LabelsValue object.

Fields:
  key: Name of the additional property.
  value: A string attribute.
r
   r   r   Nr{   r   r   r   r~   r     r   r   r~   r
   Trm   r   Nr   r   r   r   LabelsValuer     s2    
	'Y.. 	' %112FTXYr   r   r
   r   r&   r'   r(   r0         	   
   r   N)r   r   r   r   r   r   MapUnrecognizedFieldsr   r   r   r   rH   annotationsr   creationTimestampgenerateName
FloatField
generationlabelsr   rJ   resourceVersionselfLinkuidr   r   r   r   rb   rb   D  s   L\ !!"89Z** Z :Z8 !!"89ZI%% Z :Z4 &&'91=+++A.&&q),##A&*!!-3&			q	!$##A&)))!,/""1%(b!#r   rb   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)StandardQueryParametersi  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.AltValueValuesEnumi  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   AltValueValuesEnumr     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   FXgafvValueValuesEnumr     s     
B	
Br   r   r
   r   r&   r   )defaultr'   r(   r0   r   r   Tr   r         r   N)r   r   r   r   r   r   r1   r   r   r6   f__xgafvr   access_tokenaltcallbackfieldsr|   oauth_tokenBooleanFieldprettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r   r   r     s    4
9>> 
inn    !8!<(&&q),0!VD#""1%(  #&a #%%a(+&&q$7+##A&)



#%$$R(*))"-/r   r   r   z$.xgafvr   1r   2N)r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   packager   r   r   r:   r=   rC   rL   rQ   rT   r^   rE   rc   rd   rr   rb   r   AddCustomJsonFieldMappingAddCustomJsonEnumMappingr   r   r   r   <module>r      s   ' < % 'Y 'B7	!! B7JI 6%9$$ 6%r6)*;*; 6"	1)*;*; 	1	1y'8'8 	13	(9(9 3 6)*;*; 6039 3D6y   61"" 1	+	)) 	+P""" P"f<.i// <.~ 	 " "Z4  ! !114>  ! !114>r   