
    *                        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 ej$                  edd        ej&                  ej(                  dd        ej&                  ej(                  dd       y)z:Generated message classes for policyanalyzer version v1.

    )absolute_import)messages)encoding)extra_typespolicyanalyzerc                       e Zd Zd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y
)#GoogleCloudPolicyanalyzerV1Activitya?  Represents Activity on a GCP resource over specific observation period.

  Messages:
    ActivityValue: A struct of custom fields to explain the activity.

  Fields:
    activity: A struct of custom fields to explain the activity.
    activityType: The type of the activity.
    fullResourceName: The full resource name that identifies the resource. For
      examples of full resource names for Google Cloud services, see
      https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
    observationPeriod: The data observation period to build the activity.
  additionalPropertiesc                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)1GoogleCloudPolicyanalyzerV1Activity.ActivityValuezA struct of custom fields to explain the activity.

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

    Fields:
      additionalProperties: Properties of the object.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)DGoogleCloudPolicyanalyzerV1Activity.ActivityValue.AdditionalPropertyzAn additional property for a ActivityValue object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
         zextra_types.JsonValue   N)	__name__
__module____qualname____doc__	_messagesStringFieldkeyMessageFieldvalue     Ylib/googlecloudsdk/generated_clients/apis/policyanalyzer/v1/policyanalyzer_v1_messages.pyAdditionalPropertyr   *   s0    
 "I!!!$c$i$$%<a@er   r   r   TrepeatedN)	r   r   r   r   r   Messager   r   r
   r   r   r   ActivityValuer      s6    	AY.. 	A 29112FTXYr   r!   r   r      ,GoogleCloudPolicyanalyzerV1ObservationPeriod   N)r   r   r   r   r   MapUnrecognizedFieldsr   r    r!   r   activityr   activityTypefullResourceNameobservationPeriodr   r   r   r	   r	      s     "8!!"89Zi'' Z :Z. $Y##OQ7(&&&q),*Y**1-,i,,-[]^_r   r	   c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r#   zRepresents data observation period.

  Fields:
    endTime: The observation end time. The time in this timestamp is always
      `07:00:00Z`.
    startTime: The observation start time. The time in this timestamp is
      always `07:00:00Z`.
  r   r   N)r   r   r   r   r   r   endTime	startTimer   r   r   r#   r#   =   s-     "I!!!$'#i##A&)r   r#   c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)0GoogleCloudPolicyanalyzerV1QueryActivityResponsea  Response to the `QueryActivity` method.

  Fields:
    activities: The set of activities that match the filter included in the
      request.
    nextPageToken: If there might be more results than those appearing in this
      response, then `nextPageToken` is included. To get the next set of
      results, call this method again using the value of `nextPageToken` as
      `pageToken`.
  r	   r   Tr   r   N)	r   r   r   r   r   r   
activitiesr   nextPageTokenr   r   r   r.   r.   K   s3    	 &y%%&KQY]^*')''*-r   r.   c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej
                  d      Z ej
                  dd      Zy	)
APolicyanalyzerFoldersLocationsActivityTypesActivitiesQueryRequesta  A PolicyanalyzerFoldersLocationsActivityTypesActivitiesQueryRequest
  object.

  Fields:
    filter: Optional. Filter expression to restrict the activities returned.
      For serviceAccountLastAuthentication activities, supported filters are:
      - `activities.full_resource_name {=} [STRING]` -
      `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full
      resource name of the service account. For
      serviceAccountKeyLastAuthentication activities, supported filters are: -
      `activities.full_resource_name {=} [STRING]` -
      `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full
      resource name of the service account key.
    pageSize: Optional. The maximum number of results to return from this
      request. Max limit is 1000. Non-positive values are ignored. The
      presence of `nextPageToken` in the response indicates that more results
      might be available.
    pageToken: Optional. If present, then retrieve the next batch of results
      from the preceding call to this method. `pageToken` must be the value of
      `nextPageToken` from the previous response. The values of other method
      parameters should be identical to those in the previous call.
    parent: Required. The container resource on which to execute the request.
      Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOC
      ATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google
      Cloud Locations: https://cloud.google.com/about/locations/
  r   r   variantr"   r$   TrequiredNr   r   r   r   r   r   filterIntegerFieldVariantINT32pageSize	pageTokenparentr   r   r   r2   r2   [   a    6 !9  #&#Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   r2   c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej
                  d      Z ej
                  dd      Zy	)
GPolicyanalyzerOrganizationsLocationsActivityTypesActivitiesQueryRequesta  A
  PolicyanalyzerOrganizationsLocationsActivityTypesActivitiesQueryRequest
  object.

  Fields:
    filter: Optional. Filter expression to restrict the activities returned.
      For serviceAccountLastAuthentication activities, supported filters are:
      - `activities.full_resource_name {=} [STRING]` -
      `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full
      resource name of the service account. For
      serviceAccountKeyLastAuthentication activities, supported filters are: -
      `activities.full_resource_name {=} [STRING]` -
      `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full
      resource name of the service account key.
    pageSize: Optional. The maximum number of results to return from this
      request. Max limit is 1000. Non-positive values are ignored. The
      presence of `nextPageToken` in the response indicates that more results
      might be available.
    pageToken: Optional. If present, then retrieve the next batch of results
      from the preceding call to this method. `pageToken` must be the value of
      `nextPageToken` from the previous response. The values of other method
      parameters should be identical to those in the previous call.
    parent: Required. The container resource on which to execute the request.
      Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOC
      ATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google
      Cloud Locations: https://cloud.google.com/about/locations/
  r   r   r3   r"   r$   Tr5   Nr7   r   r   r   rA   rA   }   sa    8 !9  #&#Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   rA   c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej
                  d      Z ej
                  dd      Zy	)
BPolicyanalyzerProjectsLocationsActivityTypesActivitiesQueryRequesta  A PolicyanalyzerProjectsLocationsActivityTypesActivitiesQueryRequest
  object.

  Fields:
    filter: Optional. Filter expression to restrict the activities returned.
      For serviceAccountLastAuthentication activities, supported filters are:
      - `activities.full_resource_name {=} [STRING]` -
      `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full
      resource name of the service account. For
      serviceAccountKeyLastAuthentication activities, supported filters are: -
      `activities.full_resource_name {=} [STRING]` -
      `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full
      resource name of the service account key.
    pageSize: Optional. The maximum number of results to return from this
      request. Max limit is 1000. Non-positive values are ignored. The
      presence of `nextPageToken` in the response indicates that more results
      might be available.
    pageToken: Optional. If present, then retrieve the next batch of results
      from the preceding call to this method. `pageToken` must be the value of
      `nextPageToken` from the previous response. The values of other method
      parameters should be identical to those in the previous call.
    parent: Required. The container resource on which to execute the request.
      Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOC
      ATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google
      Cloud Locations: https://cloud.google.com/about/locations/
  r   r   r3   r"   r$   Tr5   Nr7   r   r   r   rC   rC      r?   r   rC   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   AltValueValuesEnumrG      s     DEEr   rK   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   FXgafvValueValuesEnumrM      s     
B	
Br   rP   r   r   r"   rH   )defaultr$               T	   
         N)r   r   r   r   r   EnumrK   rP   	EnumFieldf__xgafvr   access_tokenaltcallbackfieldsr   oauth_tokenBooleanFieldprettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   rE   rE      s   4
9>> 
inn  !Y  !8!<(&&&q),	0!VD#"Y""1%( 9  #&	a #%	%%a(+&	&&q$7+#i##A&)
)


#%$y$$R(*)I))"-/r   rE   r\   z$.xgafvrN   1rO   2N)r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   r   packager    r	   r#   r.   r2   rA   rC   rE   AddCustomJsonFieldMappingAddCustomJsonEnumMappingrP   r   r   r   <module>rp      s   
 ' < % ( *`)*;*; *`Z'93D3D '+y7H7H + 3	HYHY 3D 3iN_N_  3F3IZIZ 3D<.i// <.~ # " "Z4 ! ! !114> ! ! !114>r   