
    O                     V   S r SSKJ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\R(                  " \SS5        \R*                  " \R,                  SS5        \R*                  " \R,                  SS5        g) zGenerated message classes for cloudasset version v1p7beta1.

The cloud asset API manages the history and inventory of cloud resources.
    )absolute_import)messages)encoding)extra_types
cloudassetc                       \ rS rSrSr\R                  " S5      r\R                  " S5      r	\R                  " SS5      r\R                  " S5      r\R                  " S5      rS	rg
)BigQueryDestination   a  A BigQuery destination for exporting assets to.

Fields:
  dataset: Required. The BigQuery dataset in format
    "projects/projectId/datasets/datasetId", to which the snapshot result
    should be exported. If this dataset does not exist, the export call
    returns an INVALID_ARGUMENT error.
  force: If the destination table already exists and this flag is `TRUE`,
    the table will be overwritten by the contents of assets snapshot. If the
    flag is `FALSE` or unset and the destination table already exists, the
    export call returns an INVALID_ARGUMEMT error.
  partitionSpec: [partition_spec] determines whether to export to
    partitioned table(s) and how to partition the data. If [partition_spec]
    is unset or [partition_spec.partition_key] is unset or
    `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to
    non-partitioned table(s). [force] will decide whether to overwrite
    existing table(s). If [partition_spec] is specified. First, the snapshot
    results will be written to partitioned table(s) with two additional
    timestamp columns, readTime and requestTime, one of which will be the
    partition key. Secondly, in the case when any destination table already
    exists, it will first try to update existing table's schema as necessary
    by appending additional columns. Then, if [force] is `TRUE`, the
    corresponding partition will be overwritten by the snapshot results
    (data in different partitions will remain intact); if [force] is unset
    or `FALSE`, it will append the data. An error will be returned if the
    schema update or data appension fails.
  separateTablesPerAssetType: If this flag is `TRUE`, the snapshot results
    will be written to one or multiple tables, each of which contains
    results of one asset type. The [force] and [partition_spec] fields will
    apply to each of them. Field [table] will be concatenated with "_" and
    the asset type names (see https://cloud.google.com/asset-
    inventory/docs/supported-asset-types for supported asset types) to
    construct per-asset-type table names, in which all non-alphanumeric
    characters like "." and "/" will be substituted by "_". Example: if
    field [table] is "mytable" and snapshot results contain
    "storage.googleapis.com/Bucket" assets, the corresponding table name
    will be "mytable_storage_googleapis_com_Bucket". If any of these tables
    does not exist, a new table with the concatenated name will be created.
    When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema
    of each table will include RECORD-type columns mapped to the nested
    fields in the Asset.resource.data field of that asset type (up to the 15
    nested level BigQuery supports
    (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)).
    The fields in >15 nested levels will be stored in JSON format string as
    a child column of its parent RECORD column. If error occurs when
    exporting to any table, the whole export call will return an error but
    the export results that already succeed will persist. Example: if
    exporting to table_type_A succeeds when exporting to table_type_B fails
    during one export call, the results in table_type_A will persist and
    there will not be partial results persisting in a table.
  table: Required. The BigQuery table to which the snapshot result should be
    written. If this table does not exist, a new table with the given name
    will be created.
      PartitionSpec          N)__name__
__module____qualname____firstlineno____doc__	_messagesStringFielddatasetBooleanFieldforceMessageFieldpartitionSpecseparateTablesPerAssetTypetable__static_attributes__r       _lib/googlecloudsdk/generated_clients/apis/cloudasset/v1p7beta1/cloudasset_v1p7beta1_messages.pyr	   r	      s]    5n !!!$'

 
 
#%((!<-(55a8



"%r!   r	   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
CloudassetExportAssetsRequestP   a  A CloudassetExportAssetsRequest object.

Fields:
  exportAssetsRequest: A ExportAssetsRequest resource to be passed as the
    request body.
  parent: Required. The relative name of the root asset. This can only be an
    organization number (such as "organizations/123"), a project ID (such as
    "projects/my-project-id"), or a project number (such as
    "projects/12345"), or a folder number (such as "folders/123").
ExportAssetsRequestr   r   T)requiredr   N)r   r   r   r   r   r   r   exportAssetsRequestr   parentr    r   r!   r"   r$   r$   P   s/    	 "../DaH  T2&r!   r$   c                       \ rS rSrSr " S S\R                  5      r\R                  " SSS9r	\R                  " SS5      r\R                  " S	S
5      r\R                  " S5      r\R                  " SSS9rSrg)r&   `   a  Export asset request.

Enums:
  ContentTypeValueValuesEnum: Asset content type. If not specified, no
    content but the asset name will be returned.

Fields:
  assetTypes: A list of asset types to take a snapshot for. For example:
    "compute.googleapis.com/Disk". Regular expressions are also supported.
    For example: * "compute.googleapis.com.*" snapshots resources whose
    asset type starts with "compute.googleapis.com". * ".*Instance"
    snapshots resources whose asset type ends with "Instance". *
    ".*Instance.*" snapshots resources whose asset type contains "Instance".
    See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
    regular expression syntax. If the regular expression does not match any
    supported asset type, an INVALID_ARGUMENT error will be returned. If
    specified, only matching assets will be returned, otherwise, it will
    snapshot all asset types. See [Introduction to Cloud Asset
    Inventory](https://cloud.google.com/asset-inventory/docs/overview) for
    all supported asset types.
  contentType: Asset content type. If not specified, no content but the
    asset name will be returned.
  outputConfig: Required. Output configuration indicating where the results
    will be output to.
  readTime: Timestamp to take an asset snapshot. This can only be set to a
    timestamp between the current time and the current time minus 35 days
    (inclusive). If not specified, the current time will be used. Due to
    delays in resource data collection and indexing, there is a volatile
    window during which running the same query may get different results.
  relationshipTypes: A list of relationship types to export, for example:
    `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
    content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]'
    specified relationships, or give errors if any relationship_types'
    supported types are not in [asset_types]. If not specified, it will
    snapshot all [asset_types]' supported relationships. An unspecified
    [asset_types] field means all supported asset_types. See [Introduction
    to Cloud Asset Inventory](https://cloud.google.com/asset-
    inventory/docs/overview) for all supported asset types and relationship
    types.
c                   0    \ rS rSrSrSrSrSrSrSr	Sr
S	rg
).ExportAssetsRequest.ContentTypeValueValuesEnum   a  Asset content type. If not specified, no content but the asset name
will be returned.

Values:
  CONTENT_TYPE_UNSPECIFIED: Unspecified content type.
  RESOURCE: Resource metadata.
  IAM_POLICY: The actual IAM policy set on a resource.
  ORG_POLICY: The Cloud Organization Policy set on an asset.
  ACCESS_POLICY: The Cloud Access context manager Policy set on an asset.
  RELATIONSHIP: The related resources.
r   r   r   r   r   r   r   N)r   r   r   r   r   CONTENT_TYPE_UNSPECIFIEDRESOURCE
IAM_POLICY
ORG_POLICYACCESS_POLICYRELATIONSHIPr    r   r!   r"   ContentTypeValueValuesEnumr-      s(    
  !HJJMLr!   r5   r   Trepeatedr   OutputConfigr   r   r   r   N)r   r   r   r   r   r   Enumr5   r   
assetTypes	EnumFieldcontentTyper   outputConfigreadTimerelationshipTypesr    r   r!   r"   r&   r&   `   st    'R9>> & $$Q6*##$@!D+'':,""1%(++A=r!   r&   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)GcsDestination   az  A Cloud Storage location.

Fields:
  uri: The uri of the Cloud Storage object. It's the same uri that is used
    by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
    Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-
    editing-metadata) for more information.
  uriPrefix: The uri prefix of all generated Cloud Storage objects. Example:
    "gs://bucket_name/object_name_prefix". Each object uri is in format:
    "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and
    only contains assets for that type. starts from 0. Example:
    "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
    the first shard of output objects containing all
    compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
    returned if file with the same name
    "gs://bucket_name/object_name_prefix" already exists.
r   r   r   N)
r   r   r   r   r   r   r   uri	uriPrefixr    r   r!   r"   rA   rA      s)    $ 	a ###A&)r!   rA   c                   z   \ 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5      r\R                  " S	S
5      r\R                  " SS5      r\R                   " S5      r\R                  " SS5      rSrg)	Operation   a  This resource represents a long-running operation that is the result of
a network API call.

Messages:
  MetadataValue: Service-specific metadata associated with the operation. It
    typically contains progress information and common metadata such as
    create time. Some services might not provide such metadata. Any method
    that returns a long-running operation should document the metadata type,
    if any.
  ResponseValue: The normal response of the operation in case of success. If
    the original method returns no data on success, such as `Delete`, the
    response is `google.protobuf.Empty`. If the original method is standard
    `Get`/`Create`/`Update`, the response should be the resource. For other
    methods, the response should have the type `XxxResponse`, where `Xxx` is
    the original method name. For example, if the original method name is
    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

Fields:
  done: If the value is `false`, it means the operation is still in
    progress. If `true`, the operation is completed, and either `error` or
    `response` is available.
  error: The error result of the operation in case of failure or
    cancellation.
  metadata: Service-specific metadata associated with the operation. It
    typically contains progress information and common metadata such as
    create time. Some services might not provide such metadata. Any method
    that returns a long-running operation should document the metadata type,
    if any.
  name: The server-assigned name, which is only unique within the same
    service that originally returns it. If you use the default HTTP mapping,
    the `name` should be a resource name ending with
    `operations/{unique_id}`.
  response: The normal response of the operation in case of success. If the
    original method returns no data on success, such as `Delete`, the
    response is `google.protobuf.Empty`. If the original method is standard
    `Get`/`Create`/`Update`, the response should be the resource. For other
    methods, the response should have the type `XxxResponse`, where `Xxx` is
    the original method name. For example, if the original method name is
    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
additionalPropertiesc                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
Operation.MetadataValue   a  Service-specific metadata associated with the operation. It typically
contains progress information and common metadata such as create time.
Some services might not provide such metadata. Any method that returns a
long-running operation should document the metadata type, if any.

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

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)*Operation.MetadataValue.AdditionalProperty   zAn additional property for a MetadataValue object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   extra_types.JsonValuer   r   Nr   r   r   r   r   r   r   keyr   valuer    r   r!   r"   AdditionalPropertyrM      ,    
 !!!$c$$%<a@er!   rS   r   Tr6   r   Nr   r   r   r   r   r   MessagerS   r   rH   r    r   r!   r"   MetadataValuerJ      s4    	AY.. 	A %112FTXYr!   rW   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
Operation.ResponseValuei  a  The normal response of the operation in case of success. If the
original method returns no data on success, such as `Delete`, the response
is `google.protobuf.Empty`. If the original method is standard
`Get`/`Create`/`Update`, the response should be the resource. For other
methods, the response should have the type `XxxResponse`, where `Xxx` is
the original method name. For example, if the original method name is
`TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

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

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)*Operation.ResponseValue.AdditionalPropertyi  zAn additional property for a ResponseValue object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   rO   r   r   NrP   r   r!   r"   rS   r[     rT   r!   rS   r   Tr6   r   NrU   r   r!   r"   ResponseValuerY     s4     	AY.. 	A %112FTXYr!   r\   r   Statusr   r   r   r   r   N)r   r   r   r   r   r   MapUnrecognizedFieldsr   rV   rW   r\   r   doner   errormetadatar   nameresponser    r   r!   r"   rF   rF      s    'R !!"89Zi'' Z :Z6 !!"89Zi'' Z :Z< 
			"$

 
 1
-%##OQ7(			q	!$##OQ7(r!   rF   c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)	r8   i'  zOutput configuration for export assets destination.

Fields:
  bigqueryDestination: Destination on BigQuery. The output table stores the
    fields in asset proto as columns in BigQuery.
  gcsDestination: Destination on Cloud Storage.
r	   r   rA   r   r   N)
r   r   r   r   r   r   r   bigqueryDestinationgcsDestinationr    r   r!   r"   r8   r8   '  s0     "../DaH))*:A>.r!   r8   c                   h    \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	Sr
g)r   i4  zSpecifications of BigQuery partitioned table as export destination.

Enums:
  PartitionKeyValueValuesEnum: The partition key for BigQuery partitioned
    table.

Fields:
  partitionKey: The partition key for BigQuery partitioned table.
c                   $    \ rS rSrSrSrSrSrSrg))PartitionSpec.PartitionKeyValueValuesEnumi?  a  The partition key for BigQuery partitioned table.

Values:
  PARTITION_KEY_UNSPECIFIED: Unspecified partition key. If used, it means
    using non-partitioned table.
  READ_TIME: The time when the snapshot is taken. If specified as
    partition key, the result table(s) is partitoned by the additional
    timestamp column, readTime. If [read_time] in ExportAssetsRequest is
    specified, the readTime column's value will be the same as it.
    Otherwise, its value will be the current time that is used to take the
    snapshot.
  REQUEST_TIME: The time when the request is received and started to be
    processed. If specified as partition key, the result table(s) is
    partitoned by the requestTime column, an additional timestamp column
    representing when the request was received.
r   r   r   r   N)	r   r   r   r   r   PARTITION_KEY_UNSPECIFIED	READ_TIMEREQUEST_TIMEr    r   r!   r"   PartitionKeyValueValuesEnumri   ?  s      !"ILr!   rm   r   r   N)r   r   r   r   r   r   r9   rm   r;   partitionKeyr    r   r!   r"   r   r   4  s,    INN * $$%BAF,r!   r   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)StandardQueryParametersiW  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.AltValueValuesEnumir  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"   AltValueValuesEnumrr   r  s     DEEr!   rv   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"   FXgafvValueValuesEnumrx   ~  s     
B	
Br!   r{   r   r   r   rs   )defaultr   r            T	   
         r   N)r   r   r   r   r   r   r9   rv   r{   r;   f__xgafvr   access_tokenaltcallbackfieldsrQ   oauth_tokenr   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr    r   r!   r"   rp   rp   W  s    4
9>> 
inn    !8!<(&&q),0!VD#""1%(  #&a #%%a(+&&q$7+##A&)



#%$$R(*))"-/r!   rp   c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S\R                  R                  S9r\R                  " SSS	S
9r\R                   " S5      rSrg)r]   i  a  The `Status` type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by [gRPC](https://github.com/grpc). Each `Status` message contains
three pieces of data: error code, error message, and error details. You can
find out more about this error model and how to work with it in the [API
Design Guide](https://cloud.google.com/apis/design/errors).

Messages:
  DetailsValueListEntry: A DetailsValueListEntry object.

Fields:
  code: The status code, which should be an enum value of google.rpc.Code.
  details: A list of messages that carry the error details. There is a
    common set of message types for APIs to use.
  message: A developer-facing error message, which should be in English. Any
    user-facing error message should be localized and sent in the
    google.rpc.Status.details field, or localized by the client.
rH   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
Status.DetailsValueListEntryi  zA DetailsValueListEntry object.

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

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)/Status.DetailsValueListEntry.AdditionalPropertyi  zAn additional property for a DetailsValueListEntry object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   rO   r   r   NrP   r   r!   r"   rS   r     rT   r!   rS   r   Tr6   r   NrU   r   r!   r"   DetailsValueListEntryr     s4    		AY.. 	A %112FTXYr!   r   r   )variantr   Tr6   r   r   N)r   r   r   r   r   r   r^   r   rV   r   IntegerFieldVariantINT32coder   detailsr   messager    r   r!   r"   r]   r]     s|    & !!"89Zi// Z :Z2 
		9+<+<+B+B	C$""#:AM'!!!$'r!   r]   r   z$.xgafvry   1rz   2N)r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   r   packagerV   r	   r$   r&   rA   rF   r8   r   rp   r]   AddCustomJsonFieldMappingAddCustomJsonEnumMappingr{   r   r!   r"   <module>r      s   ' < % ( <#)++ <#~3I$5$5 3 A>)++ A>H'Y&& '.i8	!! i8X
?9$$ 
? GI%%  GF<.i// <.~0%Y 0%f 	 " "Z4  ! !114>  ! !114>r!   