google-apis-cloudasset_v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23482ced6692a4dcfc43fccb3107a424d76c4c8721404ac7f5797d0b4a21963e
4
- data.tar.gz: fa44315861000f47e36b8f2d1053d8ed3590340e7b3bdb6c0ac27fdb3e890012
3
+ metadata.gz: f251aa71e24f05a6ccbfc3820871fabbc704f0e38b74856f394189aa368a3cbc
4
+ data.tar.gz: 11709ac52f89ca001d2c00d0cef65f601ea76c4aa623d31831221a34debab4da
5
5
  SHA512:
6
- metadata.gz: 512f505d01c6f126f87f358181ae9f28d196684193e44f08815bb8b314bee77b16fbb5ff2eca2b4333bc109b8e1c090c4c8f541fbcd01a2ba244dc559d5c1b13
7
- data.tar.gz: 06145aaaa3933e46ab4099c345e1115243f65e89a657703b13414e93021ab467e3c251aeaa72822638950f39262e36dedc9010d91854359aaeb05c960692d4dd
6
+ metadata.gz: c8804dae4e25875abdfaed2c800a020dc4bd4724efef0cc61d02676a3ade42d6497951441efbf6b712f89032ac68abe1117399bd38ad7bdcf07707c43541f7ce
7
+ data.tar.gz: ef8a3b134b2fba6f3b073ccc26ceebd39b9d9f810c255f39cf9df514a1679c3827c76d6d797a5a4c9f189d752f36450b70b3d9e4b07bd839e46fc2dad9dd13bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudasset_v1
2
2
 
3
+ ### v0.2.0 (2021-02-03)
4
+
5
+ * Regenerated from discovery document revision 20210129
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20210101
@@ -54,8 +54,7 @@ module Google
54
54
  class AnalyzeIamPolicyLongrunningRequest
55
55
  include Google::Apis::Core::Hashable
56
56
 
57
- # ## LINT.IfChange Keep in sync with ## logs/proto/cloud_asset_inventory/
58
- # iam_policy_analyzer_log.proto IAM policy analysis query message.
57
+ # ## IAM policy analysis query message.
59
58
  # Corresponds to the JSON property `analysisQuery`
60
59
  # @return [Google::Apis::CloudassetV1::IamPolicyAnalysisQuery]
61
60
  attr_accessor :analysis_query
@@ -2156,8 +2155,7 @@ module Google
2156
2155
  class IamPolicyAnalysis
2157
2156
  include Google::Apis::Core::Hashable
2158
2157
 
2159
- # ## LINT.IfChange Keep in sync with ## logs/proto/cloud_asset_inventory/
2160
- # iam_policy_analyzer_log.proto IAM policy analysis query message.
2158
+ # ## IAM policy analysis query message.
2161
2159
  # Corresponds to the JSON property `analysisQuery`
2162
2160
  # @return [Google::Apis::CloudassetV1::IamPolicyAnalysisQuery]
2163
2161
  attr_accessor :analysis_query
@@ -2218,8 +2216,7 @@ module Google
2218
2216
  end
2219
2217
  end
2220
2218
 
2221
- # ## LINT.IfChange Keep in sync with ## logs/proto/cloud_asset_inventory/
2222
- # iam_policy_analyzer_log.proto IAM policy analysis query message.
2219
+ # ## IAM policy analysis query message.
2223
2220
  class IamPolicyAnalysisQuery
2224
2221
  include Google::Apis::Core::Hashable
2225
2222
 
@@ -2394,18 +2391,18 @@ module Google
2394
2391
  # @return [Google::Apis::CloudassetV1::Policy]
2395
2392
  attr_accessor :policy
2396
2393
 
2397
- # Optional. The project that the associated GCP resource belongs to, in the form
2398
- # of projects/`PROJECT_NUMBER`. If an IAM policy is set on a resource (like VM
2394
+ # The project that the associated GCP resource belongs to, in the form of
2395
+ # projects/`PROJECT_NUMBER`. If an IAM policy is set on a resource (like VM
2399
2396
  # instance, Cloud Storage bucket), the project field will indicate the project
2400
2397
  # that contains the resource. If an IAM policy is set on a folder or orgnization,
2401
- # the project field will be empty. To search against the `project`: * specify
2402
- # the `scope` field as this project in your search request.
2398
+ # this field will be empty. To search against the `project`: * specify the `
2399
+ # scope` field as this project in your search request.
2403
2400
  # Corresponds to the JSON property `project`
2404
2401
  # @return [String]
2405
2402
  attr_accessor :project
2406
2403
 
2407
- # Required. The full resource name of the resource associated with this IAM
2408
- # policy. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/
2404
+ # The full resource name of the resource associated with this IAM policy.
2405
+ # Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/
2409
2406
  # instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://
2410
2407
  # cloud.google.com/asset-inventory/docs/resource-name-format) for more
2411
2408
  # information. To search against the `resource`: * use a field query. Example: `
@@ -3018,96 +3015,159 @@ module Google
3018
3015
  class ResourceSearchResult
3019
3016
  include Google::Apis::Core::Hashable
3020
3017
 
3021
- # Optional. The additional searchable attributes of this resource. The
3022
- # attributes may vary from one resource type to another. Examples: `projectId`
3023
- # for Project, `dnsName` for DNS ManagedZone. This field contains a subset of
3024
- # the resource metadata fields that are returned by the List or Get APIs
3025
- # provided by the corresponding GCP service (e.g., Compute Engine). see [API
3026
- # references and supported searchable attributes](https://cloud.google.com/asset-
3027
- # inventory/docs/supported-asset-types#searchable_asset_types) for more
3028
- # information. You can search values of these fields through free text search.
3029
- # However, you should not consume the field programically as the field names and
3030
- # values may change as the GCP service updates to a new incompatible API version.
3031
- # To search against the `additional_attributes`: * use a free text query to
3032
- # match the attributes values. Example: to search `additional_attributes = `
3033
- # dnsName: "foobar" ``, you can issue a query `foobar`.
3018
+ # The additional searchable attributes of this resource. The attributes may vary
3019
+ # from one resource type to another. Examples: `projectId` for Project, `dnsName`
3020
+ # for DNS ManagedZone. This field contains a subset of the resource metadata
3021
+ # fields that are returned by the List or Get APIs provided by the corresponding
3022
+ # GCP service (e.g., Compute Engine). see [API references and supported
3023
+ # searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-
3024
+ # asset-types#searchable_asset_types) to see which fields are included. You can
3025
+ # search values of these fields through free text search. However, you should
3026
+ # not consume the field programically as the field names and values may change
3027
+ # as the GCP service updates to a new incompatible API version. To search
3028
+ # against the `additional_attributes`: * use a free text query to match the
3029
+ # attributes values. Example: to search `additional_attributes = ` dnsName: "
3030
+ # foobar" ``, you can issue a query `foobar`.
3034
3031
  # Corresponds to the JSON property `additionalAttributes`
3035
3032
  # @return [Hash<String,Object>]
3036
3033
  attr_accessor :additional_attributes
3037
3034
 
3038
- # Required. The type of this resource. Example: `compute.googleapis.com/Disk`.
3039
- # To search against the `asset_type`: * specify the `asset_type` field in your
3040
- # search request.
3035
+ # The type of this resource. Example: `compute.googleapis.com/Disk`. To search
3036
+ # against the `asset_type`: * specify the `asset_type` field in your search
3037
+ # request.
3041
3038
  # Corresponds to the JSON property `assetType`
3042
3039
  # @return [String]
3043
3040
  attr_accessor :asset_type
3044
3041
 
3045
- # Optional. One or more paragraphs of text description of this resource. Maximum
3046
- # length could be up to 1M bytes. This field is available only when the resource'
3047
- # s proto contains it. To search against the `description`: * use a field query.
3048
- # Example: `description:"*important instance*"` * use a free text query. Example:
3049
- # `"*important instance*"`
3042
+ # The create timestamp of this resource, at which the resource was created. The
3043
+ # granularity is in seconds. Timestamp.nanos will always be 0. This field is
3044
+ # available only when the resource's proto contains it. To search against `
3045
+ # create_time`: * use a field query (value in seconds). Example: `createTime >=
3046
+ # 1594294238`
3047
+ # Corresponds to the JSON property `createTime`
3048
+ # @return [String]
3049
+ attr_accessor :create_time
3050
+
3051
+ # One or more paragraphs of text description of this resource. Maximum length
3052
+ # could be up to 1M bytes. This field is available only when the resource's
3053
+ # proto contains it. To search against the `description`: * use a field query.
3054
+ # Example: `description:"important instance"` * use a free text query. Example: `
3055
+ # "important instance"`
3050
3056
  # Corresponds to the JSON property `description`
3051
3057
  # @return [String]
3052
3058
  attr_accessor :description
3053
3059
 
3054
- # Optional. The display name of this resource. This field is available only when
3055
- # the resource's proto contains it. To search against the `display_name`: * use
3056
- # a field query. Example: `displayName:"My Instance"` * use a free text query.
3060
+ # The display name of this resource. This field is available only when the
3061
+ # resource's proto contains it. To search against the `display_name`: * use a
3062
+ # field query. Example: `displayName:"My Instance"` * use a free text query.
3057
3063
  # Example: `"My Instance"`
3058
3064
  # Corresponds to the JSON property `displayName`
3059
3065
  # @return [String]
3060
3066
  attr_accessor :display_name
3061
3067
 
3062
- # Optional. Labels associated with this resource. See [Labelling and grouping
3063
- # GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-
3064
- # grouping-your-google-cloud-platform-resources) for more information. This
3065
- # field is available only when the resource's proto contains it. To search
3066
- # against the `labels`: * use a field query: - query on any label's key or value.
3067
- # Example: `labels:prod` - query by a given label. Example: `labels.env:prod` -
3068
- # query by a given label's existence. Example: `labels.env:*` * use a free text
3069
- # query. Example: `prod`
3068
+ # The folder(s) that this resource belongs to, in the form of folders/`
3069
+ # FOLDER_NUMBER`. This field is available when the resource belongs to one or
3070
+ # more folders. To search against `folders`: * use a field query. Example: `
3071
+ # folders:(123 OR 456)` * specify the `scope` field as this folder in your
3072
+ # search request.
3073
+ # Corresponds to the JSON property `folders`
3074
+ # @return [Array<String>]
3075
+ attr_accessor :folders
3076
+
3077
+ # The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/
3078
+ # projects.locations.keyRings.cryptoKeys?hl=en) name or [CryptoKeyVersion](https:
3079
+ # //cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.
3080
+ # cryptoKeys.cryptoKeyVersions?hl=en) name. This field is available only when
3081
+ # the resource's proto contains it. To search against the `kms_key`: * use a
3082
+ # field query. Example: `kmsKey:key` * use a free text query. Example: `key`
3083
+ # Corresponds to the JSON property `kmsKey`
3084
+ # @return [String]
3085
+ attr_accessor :kms_key
3086
+
3087
+ # Labels associated with this resource. See [Labelling and grouping GCP
3088
+ # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
3089
+ # your-google-cloud-platform-resources) for more information. This field is
3090
+ # available only when the resource's proto contains it. To search against the `
3091
+ # labels`: * use a field query: - query on any label's key or value. Example: `
3092
+ # labels:prod` - query by a given label. Example: `labels.env:prod` - query by a
3093
+ # given label's existence. Example: `labels.env:*` * use a free text query.
3094
+ # Example: `prod`
3070
3095
  # Corresponds to the JSON property `labels`
3071
3096
  # @return [Hash<String,String>]
3072
3097
  attr_accessor :labels
3073
3098
 
3074
- # Optional. Location can be `global`, regional like `us-east1`, or zonal like `
3075
- # us-west1-b`. This field is available only when the resource's proto contains
3076
- # it. To search against the `location`: * use a field query. Example: `location:
3077
- # us-west*` * use a free text query. Example: `us-west*`
3099
+ # Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
3100
+ # This field is available only when the resource's proto contains it. To search
3101
+ # against the `location`: * use a field query. Example: `location:us-west*` *
3102
+ # use a free text query. Example: `us-west*`
3078
3103
  # Corresponds to the JSON property `location`
3079
3104
  # @return [String]
3080
3105
  attr_accessor :location
3081
3106
 
3082
- # Required. The full resource name of this resource. Example: `//compute.
3083
- # googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [
3084
- # Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-
3085
- # inventory/docs/resource-name-format) for more information. To search against
3086
- # the `name`: * use a field query. Example: `name:instance1` * use a free text
3087
- # query. Example: `instance1`
3107
+ # The full resource name of this resource. Example: `//compute.googleapis.com/
3108
+ # projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset
3109
+ # Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/
3110
+ # resource-name-format) for more information. To search against the `name`: *
3111
+ # use a field query. Example: `name:instance1` * use a free text query. Example:
3112
+ # `instance1`
3088
3113
  # Corresponds to the JSON property `name`
3089
3114
  # @return [String]
3090
3115
  attr_accessor :name
3091
3116
 
3092
- # Optional. Network tags associated with this resource. Like labels, network
3093
- # tags are a type of annotations used to group GCP resources. See [Labelling GCP
3094
- # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
3095
- # your-google-cloud-platform-resources) for more information. This field is
3096
- # available only when the resource's proto contains it. To search against the `
3097
- # network_tags`: * use a field query. Example: `networkTags:internal` * use a
3098
- # free text query. Example: `internal`
3117
+ # Network tags associated with this resource. Like labels, network tags are a
3118
+ # type of annotations used to group GCP resources. See [Labelling GCP resources](
3119
+ # https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-
3120
+ # cloud-platform-resources) for more information. This field is available only
3121
+ # when the resource's proto contains it. To search against the `network_tags`: *
3122
+ # use a field query. Example: `networkTags:internal` * use a free text query.
3123
+ # Example: `internal`
3099
3124
  # Corresponds to the JSON property `networkTags`
3100
3125
  # @return [Array<String>]
3101
3126
  attr_accessor :network_tags
3102
3127
 
3103
- # Optional. The project that this resource belongs to, in the form of projects/`
3128
+ # The organization that this resource belongs to, in the form of organizations/`
3129
+ # ORGANIZATION_NUMBER`. This field is available when the resource belongs to an
3130
+ # organization. To search against `organization`: * use a field query. Example: `
3131
+ # organization:123` * specify the `scope` field as this organization in your
3132
+ # search request.
3133
+ # Corresponds to the JSON property `organization`
3134
+ # @return [String]
3135
+ attr_accessor :organization
3136
+
3137
+ # The project that this resource belongs to, in the form of projects/`
3104
3138
  # PROJECT_NUMBER`. This field is available when the resource belongs to a
3105
- # project. To search against the `project`: * specify the `scope` field as this
3106
- # project in your search request.
3139
+ # project. To search against `project`: * use a field query. Example: `project:
3140
+ # 12345` * specify the `scope` field as this project in your search request.
3107
3141
  # Corresponds to the JSON property `project`
3108
3142
  # @return [String]
3109
3143
  attr_accessor :project
3110
3144
 
3145
+ # The state of this resource. Different resources types have different state
3146
+ # definitions that are mapped from various fields of different resource types.
3147
+ # This field is available only when the resource's proto contains it. Example:
3148
+ # If the resource is an instance provided by Compute Engine, its state will
3149
+ # include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED,
3150
+ # REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://
3151
+ # cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is
3152
+ # a project provided by Cloud Resource Manager, its state will include
3153
+ # LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS.
3154
+ # See `lifecycleState` definition in [API Reference](https://cloud.google.com/
3155
+ # resource-manager/reference/rest/v1/projects). To search against the `state`: *
3156
+ # use a field query. Example: `state:RUNNING` * use a free text query. Example: `
3157
+ # RUNNING`
3158
+ # Corresponds to the JSON property `state`
3159
+ # @return [String]
3160
+ attr_accessor :state
3161
+
3162
+ # The last update timestamp of this resource, at which the resource was last
3163
+ # modified or deleted. The granularity is in seconds. Timestamp.nanos will
3164
+ # always be 0. This field is available only when the resource's proto contains
3165
+ # it. To search against `update_time`: * use a field query (value in seconds).
3166
+ # Example: `updateTime < 1594294238`
3167
+ # Corresponds to the JSON property `updateTime`
3168
+ # @return [String]
3169
+ attr_accessor :update_time
3170
+
3111
3171
  def initialize(**args)
3112
3172
  update!(**args)
3113
3173
  end
@@ -3116,13 +3176,19 @@ module Google
3116
3176
  def update!(**args)
3117
3177
  @additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes)
3118
3178
  @asset_type = args[:asset_type] if args.key?(:asset_type)
3179
+ @create_time = args[:create_time] if args.key?(:create_time)
3119
3180
  @description = args[:description] if args.key?(:description)
3120
3181
  @display_name = args[:display_name] if args.key?(:display_name)
3182
+ @folders = args[:folders] if args.key?(:folders)
3183
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
3121
3184
  @labels = args[:labels] if args.key?(:labels)
3122
3185
  @location = args[:location] if args.key?(:location)
3123
3186
  @name = args[:name] if args.key?(:name)
3124
3187
  @network_tags = args[:network_tags] if args.key?(:network_tags)
3188
+ @organization = args[:organization] if args.key?(:organization)
3125
3189
  @project = args[:project] if args.key?(:project)
3190
+ @state = args[:state] if args.key?(:state)
3191
+ @update_time = args[:update_time] if args.key?(:update_time)
3126
3192
  end
3127
3193
  end
3128
3194
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1
18
18
  # Version of the google-apis-cloudasset_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210101"
25
+ REVISION = "20210129"
26
26
  end
27
27
  end
28
28
  end
@@ -1202,13 +1202,19 @@ module Google
1202
1202
  class Representation < Google::Apis::Core::JsonRepresentation
1203
1203
  hash :additional_attributes, as: 'additionalAttributes'
1204
1204
  property :asset_type, as: 'assetType'
1205
+ property :create_time, as: 'createTime'
1205
1206
  property :description, as: 'description'
1206
1207
  property :display_name, as: 'displayName'
1208
+ collection :folders, as: 'folders'
1209
+ property :kms_key, as: 'kmsKey'
1207
1210
  hash :labels, as: 'labels'
1208
1211
  property :location, as: 'location'
1209
1212
  property :name, as: 'name'
1210
1213
  collection :network_tags, as: 'networkTags'
1214
+ property :organization, as: 'organization'
1211
1215
  property :project, as: 'project'
1216
+ property :state, as: 'state'
1217
+ property :update_time, as: 'updateTime'
1212
1218
  end
1213
1219
  end
1214
1220
 
@@ -525,7 +525,7 @@ module Google
525
525
  # @param [String] scope
526
526
  # Required. A scope can be a project, a folder, or an organization. The search
527
527
  # is limited to the IAM policies within the `scope`. The caller must be granted
528
- # the [`cloudasset.assets.searchAllIamPolicies`](http://cloud.google.com/asset-
528
+ # the [`cloudasset.assets.searchAllIamPolicies`](https://cloud.google.com/asset-
529
529
  # inventory/docs/access-control#required_permissions) permission on the desired
530
530
  # scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
531
531
  # bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
@@ -552,21 +552,24 @@ module Google
552
552
  # policy structure, see [IAM policy doc](https://cloud.google.com/iam/docs/
553
553
  # policies#structure). Examples: * `policy:amy@gmail.com` to find IAM policy
554
554
  # bindings that specify user "amy@gmail.com". * `policy:roles/compute.admin` to
555
- # find IAM policy bindings that specify the Compute Admin role. * `policy.role.
556
- # permissions:storage.buckets.update` to find IAM policy bindings that specify a
557
- # role containing "storage.buckets.update" permission. Note that if callers don'
558
- # t have `iam.roles.get` access to a role's included permissions, policy
559
- # bindings that specify this role will be dropped from the search results. * `
560
- # resource:organizations/123456` to find IAM policy bindings that are set on "
561
- # organizations/123456". * `resource=//cloudresourcemanager.googleapis.com/
562
- # projects/myproject` to find IAM policy bindings that are set on the project
563
- # named "myproject". * `Important` to find IAM policy bindings that contain "
564
- # Important" as a word in any of the searchable fields (except for the included
565
- # permissions). * `*por*` to find IAM policy bindings that contain "por" as a
566
- # substring in any of the searchable fields (except for the included permissions)
567
- # . * `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings
568
- # that are set on resources "instance1" or "instance2" and also specify user "
569
- # amy".
555
+ # find IAM policy bindings that specify the Compute Admin role. * `policy:comp*`
556
+ # to find IAM policy bindings that contain "comp" as a prefix of any word in the
557
+ # binding. * `policy.role.permissions:storage.buckets.update` to find IAM policy
558
+ # bindings that specify a role containing "storage.buckets.update" permission.
559
+ # Note that if callers don't have `iam.roles.get` access to a role's included
560
+ # permissions, policy bindings that specify this role will be dropped from the
561
+ # search results. * `policy.role.permissions:upd*` to find IAM policy bindings
562
+ # that specify a role containing "upd" as a prefix of any word in the role
563
+ # permission. Note that if callers don't have `iam.roles.get` access to a role's
564
+ # included permissions, policy bindings that specify this role will be dropped
565
+ # from the search results. * `resource:organizations/123456` to find IAM policy
566
+ # bindings that are set on "organizations/123456". * `resource=//
567
+ # cloudresourcemanager.googleapis.com/projects/myproject` to find IAM policy
568
+ # bindings that are set on the project named "myproject". * `Important` to find
569
+ # IAM policy bindings that contain "Important" as a word in any of the
570
+ # searchable fields (except for the included permissions). * `resource:(
571
+ # instance1 OR instance2) policy:amy` to find IAM policy bindings that are set
572
+ # on resources "instance1" or "instance2" and also specify user "amy".
570
573
  # @param [String] fields
571
574
  # Selector specifying which fields to include in a partial response.
572
575
  # @param [String] quota_user
@@ -604,7 +607,7 @@ module Google
604
607
  # @param [String] scope
605
608
  # Required. A scope can be a project, a folder, or an organization. The search
606
609
  # is limited to the resources within the `scope`. The caller must be granted the
607
- # [`cloudasset.assets.searchAllResources`](http://cloud.google.com/asset-
610
+ # [`cloudasset.assets.searchAllResources`](https://cloud.google.com/asset-
608
611
  # inventory/docs/access-control#required_permissions) permission on the desired
609
612
  # scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
610
613
  # bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
@@ -640,26 +643,31 @@ module Google
640
643
  # next_page_token` from the previous response. The values of all other method
641
644
  # parameters, must be identical to those in the previous call.
642
645
  # @param [String] query
643
- # Optional. The query statement. See [how to construct a query](http://cloud.
646
+ # Optional. The query statement. See [how to construct a query](https://cloud.
644
647
  # google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
645
648
  # for more information. If not specified or empty, it will search all the
646
649
  # resources within the specified `scope`. Examples: * `name:Important` to find
647
650
  # Cloud resources whose name contains "Important" as a word. * `name=Important`
648
651
  # to find the Cloud resource whose name is exactly "Important". * `displayName:
649
652
  # Impor*` to find Cloud resources whose display name contains "Impor" as a
650
- # prefix. * `description:*por*` to find Cloud resources whose description
651
- # contains "por" as a substring. * `location:us-west*` to find Cloud resources
652
- # whose location is prefixed with "us-west". * `labels:prod` to find Cloud
653
- # resources whose labels contain "prod" as a key or value. * `labels.env:prod`
654
- # to find Cloud resources that have a label "env" and its value is "prod". * `
655
- # labels.env:*` to find Cloud resources that have a label "env". * `Important`
656
- # to find Cloud resources that contain "Important" as a word in any of the
657
- # searchable fields. * `Impor*` to find Cloud resources that contain "Impor" as
658
- # a prefix in any of the searchable fields. * `*por*` to find Cloud resources
659
- # that contain "por" as a substring in any of the searchable fields. * `
660
- # Important location:(us-west1 OR global)` to find Cloud resources that contain "
661
- # Important" as a word in any of the searchable fields and are also located in
662
- # the "us-west1" region or the "global" location.
653
+ # prefix of any word in the field. * `location:us-west*` to find Cloud resources
654
+ # whose location contains both "us" and "west" as prefixes. * `labels:prod` to
655
+ # find Cloud resources whose labels contain "prod" as a key or value. * `labels.
656
+ # env:prod` to find Cloud resources that have a label "env" and its value is "
657
+ # prod". * `labels.env:*` to find Cloud resources that have a label "env". * `
658
+ # kmsKey:key` to find Cloud resources encrypted with a customer-managed
659
+ # encryption key whose name contains the word "key". * `state:ACTIVE` to find
660
+ # Cloud resources whose state contains "ACTIVE" as a word. * `createTime<
661
+ # 1609459200` to find Cloud resources that were created before "2021-01-01 00:00:
662
+ # 00 UTC". 1609459200 is the epoch timestamp of "2021-01-01 00:00:00 UTC" in
663
+ # seconds. * `updateTime>1609459200` to find Cloud resources that were updated
664
+ # after "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of "2021-01-
665
+ # 01 00:00:00 UTC" in seconds. * `Important` to find Cloud resources that
666
+ # contain "Important" as a word in any of the searchable fields. * `Impor*` to
667
+ # find Cloud resources that contain "Impor" as a prefix of any word in any of
668
+ # the searchable fields. * `Important location:(us-west1 OR global)` to find
669
+ # Cloud resources that contain "Important" as a word in any of the searchable
670
+ # fields and are also located in the "us-west1" region or the "global" location.
663
671
  # @param [String] fields
664
672
  # Selector specifying which fields to include in a partial response.
665
673
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Asset API V1