google-apis-logging_v2 0.6.0 → 0.7.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: 2235549ccaecb279d535064c52d919e46a39d79ee92c9e7b56599ddc02b18291
4
- data.tar.gz: d6d3cbb21ffeec08594375d7752bccfa49c97e98d46b13334404da2021728637
3
+ metadata.gz: 8896161aace5be666f320d504abf5f2259cd3ae5bf3caff9e47e0df579cf3f92
4
+ data.tar.gz: 3ca80f196fe1abd7d91f9db5c2cdbc1171a5b3094c50c3d324ff230dec429bc6
5
5
  SHA512:
6
- metadata.gz: ca0b3b8a23d3ccf99c8915f217431c811203014809b27d9db9fc7dc835c59dd727b72a989479807479ad2b6cb224cd1440025f9dee07f26504d1a799b21b09e4
7
- data.tar.gz: bd537ca6d5d629003da688cc13a17d31f530ecaae0492dcc212bd76b9ae439dadcec5c1a888dd2d6ee07fce03ee0a25be66f7cde462deae4407013556801eb89
6
+ metadata.gz: 76bb08cc5369e6a70f4bb9f778343ef979830ddee6454139e8ff3d410e12766e00285b6300529efcffa5f73b1b7e9ceb87fad189949e424a765a7c8f89a538e8
7
+ data.tar.gz: 16f0b176d156795ac4b81da99ff868536e7b7516007f5b48beee923903a0ef209ab4f3ddac771d0a9adb245b10ffdc9db1637e9b2bea620f5de5ec7776eee09d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.7.0 (2021-05-15)
4
+
5
+ * Regenerated from discovery document revision 20210507
6
+
3
7
  ### v0.6.0 (2021-04-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20210325
@@ -560,14 +560,14 @@ module Google
560
560
  attr_accessor :project_ids
561
561
 
562
562
  # Required. Names of one or more parent resources from which to retrieve log
563
- # entries: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "
564
- # billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" May alternatively
565
- # be one or more views projects/PROJECT_ID/locations/LOCATION_ID/buckets/
566
- # BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/locations/LOCATION_ID/
567
- # buckets/BUCKET_ID/views/VIEW_ID billingAccounts/BILLING_ACCOUNT_ID/locations/
568
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID folders/FOLDER_ID/locations/
569
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDProjects listed in the project_ids
570
- # field are added to this list.
563
+ # entries: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/
564
+ # [BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views:
565
+ # projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[
566
+ # VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[
567
+ # BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
568
+ # LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/
569
+ # [LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]Projects listed in the
570
+ # project_ids field are added to this list.
571
571
  # Corresponds to the JSON property `resourceNames`
572
572
  # @return [Array<String>]
573
573
  attr_accessor :resource_names
@@ -841,6 +841,15 @@ module Google
841
841
  # @return [String]
842
842
  attr_accessor :name
843
843
 
844
+ # Log entry field paths that are denied access in this bucket. The following
845
+ # fields and their children are eligible: textPayload, jsonPayload, protoPayload,
846
+ # httpRequest, labels, sourceLocation. Restricting a repeated field will
847
+ # restrict all values. Adding a parent will block all child fields e.g. foo.bar
848
+ # will block foo.bar.baz.
849
+ # Corresponds to the JSON property `restrictedFields`
850
+ # @return [Array<String>]
851
+ attr_accessor :restricted_fields
852
+
844
853
  # Logs will be retained by default for this amount of time, after which they
845
854
  # will automatically be deleted. The minimum retention period is 1 day. If this
846
855
  # value is set to zero at bucket creation time, the default time of 30 days will
@@ -865,6 +874,7 @@ module Google
865
874
  @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
866
875
  @locked = args[:locked] if args.key?(:locked)
867
876
  @name = args[:name] if args.key?(:name)
877
+ @restricted_fields = args[:restricted_fields] if args.key?(:restricted_fields)
868
878
  @retention_days = args[:retention_days] if args.key?(:retention_days)
869
879
  @update_time = args[:update_time] if args.key?(:update_time)
870
880
  end
@@ -899,11 +909,15 @@ module Google
899
909
  # @return [Hash<String,Object>]
900
910
  attr_accessor :json_payload
901
911
 
902
- # Optional. A set of user-defined (key, value) data that provides additional
903
- # information about the log entry.Cloud Logging truncates label keys that exceed
904
- # 512 B and label values that exceed 64 KB upon their associated log entry being
905
- # written. The truncation is indicated by an ellipsis at the end of the
906
- # character string.
912
+ # Optional. A map of key, value pairs that provides additional information about
913
+ # the log entry. The labels can be user-defined or system-defined.User-defined
914
+ # labels are arbitrary key, value pairs that you can use to classify logs.System-
915
+ # defined labels are defined by GCP services for platform logs. They have two
916
+ # components - a service namespace component and the attribute name. For example:
917
+ # compute.googleapis.com/resource_name.Cloud Logging truncates label keys that
918
+ # exceed 512 B and label values that exceed 64 KB upon their associated log
919
+ # entry being written. The truncation is indicated by an ellipsis at the end of
920
+ # the character string.
907
921
  # Corresponds to the JSON property `labels`
908
922
  # @return [Hash<String,String>]
909
923
  attr_accessor :labels
@@ -915,12 +929,12 @@ module Google
915
929
  # The project number is translated to its corresponding PROJECT_ID internally
916
930
  # and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID]
917
931
  # must be URL-encoded within log_name. Example: "organizations/1234567890/logs/
918
- # cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than
919
- # 512 characters long and can only include the following characters: upper and
920
- # lower case alphanumeric characters, forward-slash, underscore, hyphen, and
921
- # period.For backward compatibility, if log_name begins with a forward-slash,
922
- # such as /projects/..., then the log entry is ingested as usual but the forward-
923
- # slash is removed. Listing the log entry will not show the leading slash and
932
+ # cloudresourcemanager.googleapis.com%2Factivity".[LOG_ID] must be less than 512
933
+ # characters long and can only include the following characters: upper and lower
934
+ # case alphanumeric characters, forward-slash, underscore, hyphen, and period.
935
+ # For backward compatibility, if log_name begins with a forward-slash, such as /
936
+ # projects/..., then the log entry is ingested as usual, but the forward-slash
937
+ # is removed. Listing the log entry will not show the leading slash and
924
938
  # filtering for a log name with a leading slash will never return any results.
925
939
  # Corresponds to the JSON property `logName`
926
940
  # @return [String]
@@ -1273,6 +1287,13 @@ module Google
1273
1287
  # @return [String]
1274
1288
  attr_accessor :description
1275
1289
 
1290
+ # Optional. If set to True, then this metric is disabled and it does not
1291
+ # generate any points.
1292
+ # Corresponds to the JSON property `disabled`
1293
+ # @return [Boolean]
1294
+ attr_accessor :disabled
1295
+ alias_method :disabled?, :disabled
1296
+
1276
1297
  # Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
1277
1298
  # advanced_filters) which is used to match log entries. Example: "resource.type=
1278
1299
  # gae_app AND severity>=ERROR" The maximum length of the filter is 20000
@@ -1353,6 +1374,7 @@ module Google
1353
1374
  @bucket_options = args[:bucket_options] if args.key?(:bucket_options)
1354
1375
  @create_time = args[:create_time] if args.key?(:create_time)
1355
1376
  @description = args[:description] if args.key?(:description)
1377
+ @disabled = args[:disabled] if args.key?(:disabled)
1356
1378
  @filter = args[:filter] if args.key?(:filter)
1357
1379
  @label_extractors = args[:label_extractors] if args.key?(:label_extractors)
1358
1380
  @metric_descriptor = args[:metric_descriptor] if args.key?(:metric_descriptor)
@@ -2193,14 +2215,14 @@ module Google
2193
2215
  # @return [String]
2194
2216
  attr_accessor :filter
2195
2217
 
2196
- # Required. Name of a parent resource from which to retrieve log entries: "
2197
- # projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
2198
- # BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" May alternatively be one or more
2199
- # views: "projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/
2200
- # VIEW_ID" "organization/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
2201
- # views/VIEW_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/
2202
- # buckets/BUCKET_ID/views/VIEW_ID" "folders/FOLDER_ID/locations/LOCATION_ID/
2203
- # buckets/BUCKET_ID/views/VIEW_ID"
2218
+ # Required. Name of a parent resource from which to retrieve log entries:
2219
+ # projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
2220
+ # BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views:
2221
+ # projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[
2222
+ # VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[
2223
+ # BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
2224
+ # LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/
2225
+ # [LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
2204
2226
  # Corresponds to the JSON property `resourceNames`
2205
2227
  # @return [Array<String>]
2206
2228
  attr_accessor :resource_names
@@ -2302,14 +2324,14 @@ module Google
2302
2324
  attr_accessor :labels
2303
2325
 
2304
2326
  # Optional. A default log resource name that is assigned to all log entries in
2305
- # entries that do not specify a value for log_name: "projects/[PROJECT_ID]/logs/[
2306
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
2307
- # BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
2327
+ # entries that do not specify a value for log_name: projects/[PROJECT_ID]/logs/[
2328
+ # LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
2329
+ # BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
2308
2330
  # must be URL-encoded. For example: "projects/my-project-id/logs/syslog" "
2309
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
2310
- # The permission logging.logEntries.create is needed on each project,
2311
- # organization, billing account, or folder that is receiving new log entries,
2312
- # whether the resource is specified in logName or in an individual log entry.
2331
+ # organizations/123/logs/cloudaudit.googleapis.com%2Factivity" The permission
2332
+ # logging.logEntries.create is needed on each project, organization, billing
2333
+ # account, or folder that is receiving new log entries, whether the resource is
2334
+ # specified in logName or in an individual log entry.
2313
2335
  # Corresponds to the JSON property `logName`
2314
2336
  # @return [String]
2315
2337
  attr_accessor :log_name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module LoggingV2
18
18
  # Version of the google-apis-logging_v2 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210325"
25
+ REVISION = "20210507"
26
26
  end
27
27
  end
28
28
  end
@@ -481,6 +481,7 @@ module Google
481
481
  property :lifecycle_state, as: 'lifecycleState'
482
482
  property :locked, as: 'locked'
483
483
  property :name, as: 'name'
484
+ collection :restricted_fields, as: 'restrictedFields'
484
485
  property :retention_days, as: 'retentionDays'
485
486
  property :update_time, as: 'updateTime'
486
487
  end
@@ -563,6 +564,7 @@ module Google
563
564
 
564
565
  property :create_time, as: 'createTime'
565
566
  property :description, as: 'description'
567
+ property :disabled, as: 'disabled'
566
568
  property :filter, as: 'filter'
567
569
  hash :label_extractors, as: 'labelExtractors'
568
570
  property :metric_descriptor, as: 'metricDescriptor', class: Google::Apis::LoggingV2::MetricDescriptor, decorator: Google::Apis::LoggingV2::MetricDescriptor::Representation
@@ -351,7 +351,7 @@ module Google
351
351
  # accepts strings like "displayName=tokyo", and is documented in more detail in
352
352
  # AIP-160 (https://google.aip.dev/160).
353
353
  # @param [Fixnum] page_size
354
- # The maximum number of results to return. If not set, the service will select a
354
+ # The maximum number of results to return. If not set, the service selects a
355
355
  # default.
356
356
  # @param [String] page_token
357
357
  # A page token received from the next_page_token field in the response. Send
@@ -763,12 +763,12 @@ module Google
763
763
  # delete operation might not be deleted. Entries received after the delete
764
764
  # operation with a timestamp before the operation will be deleted.
765
765
  # @param [String] log_name
766
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
767
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
768
- # BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
766
+ # Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
767
+ # LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
768
+ # BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
769
769
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
770
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
771
- # For more information about log names, see LogEntry.
770
+ # organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
771
+ # information about log names, see LogEntry.
772
772
  # @param [String] fields
773
773
  # Selector specifying which fields to include in a partial response.
774
774
  # @param [String] quota_user
@@ -799,9 +799,9 @@ module Google
799
799
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
800
800
  # logs that have entries are listed.
801
801
  # @param [String] parent
802
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
803
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
804
- # folders/[FOLDER_ID]"
802
+ # Required. The resource name that owns the logs: projects/[PROJECT_ID]
803
+ # organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
804
+ # FOLDER_ID]
805
805
  # @param [Fixnum] page_size
806
806
  # Optional. The maximum number of results to return from this request. Non-
807
807
  # positive values are ignored. The presence of nextPageToken in the response
@@ -812,13 +812,14 @@ module Google
812
812
  # from the previous response. The values of other method parameters should be
813
813
  # identical to those in the previous call.
814
814
  # @param [Array<String>, String] resource_names
815
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
816
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
817
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
818
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
819
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
820
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
821
- # ORGANIZATION_ID" "billingAccounts/BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
815
+ # Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
816
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
817
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
818
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
819
+ # BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
820
+ # [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
821
+ # projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
822
+ # BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
822
823
  # @param [String] fields
823
824
  # Selector specifying which fields to include in a partial response.
824
825
  # @param [String] quota_user
@@ -1651,7 +1652,7 @@ module Google
1651
1652
  # accepts strings like "displayName=tokyo", and is documented in more detail in
1652
1653
  # AIP-160 (https://google.aip.dev/160).
1653
1654
  # @param [Fixnum] page_size
1654
- # The maximum number of results to return. If not set, the service will select a
1655
+ # The maximum number of results to return. If not set, the service selects a
1655
1656
  # default.
1656
1657
  # @param [String] page_token
1657
1658
  # A page token received from the next_page_token field in the response. Send
@@ -2130,12 +2131,12 @@ module Google
2130
2131
  # delete operation might not be deleted. Entries received after the delete
2131
2132
  # operation with a timestamp before the operation will be deleted.
2132
2133
  # @param [String] log_name
2133
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
2134
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
2135
- # BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
2134
+ # Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
2135
+ # LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
2136
+ # BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
2136
2137
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
2137
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
2138
- # For more information about log names, see LogEntry.
2138
+ # organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
2139
+ # information about log names, see LogEntry.
2139
2140
  # @param [String] fields
2140
2141
  # Selector specifying which fields to include in a partial response.
2141
2142
  # @param [String] quota_user
@@ -2166,9 +2167,9 @@ module Google
2166
2167
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
2167
2168
  # logs that have entries are listed.
2168
2169
  # @param [String] parent
2169
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
2170
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
2171
- # folders/[FOLDER_ID]"
2170
+ # Required. The resource name that owns the logs: projects/[PROJECT_ID]
2171
+ # organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
2172
+ # FOLDER_ID]
2172
2173
  # @param [Fixnum] page_size
2173
2174
  # Optional. The maximum number of results to return from this request. Non-
2174
2175
  # positive values are ignored. The presence of nextPageToken in the response
@@ -2179,13 +2180,14 @@ module Google
2179
2180
  # from the previous response. The values of other method parameters should be
2180
2181
  # identical to those in the previous call.
2181
2182
  # @param [Array<String>, String] resource_names
2182
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
2183
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
2184
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
2185
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
2186
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
2187
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
2188
- # ORGANIZATION_ID" "billingAccounts/BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
2183
+ # Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
2184
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
2185
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
2186
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
2187
+ # BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
2188
+ # [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
2189
+ # projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
2190
+ # BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
2189
2191
  # @param [String] fields
2190
2192
  # Selector specifying which fields to include in a partial response.
2191
2193
  # @param [String] quota_user
@@ -2533,7 +2535,7 @@ module Google
2533
2535
  # accepts strings like "displayName=tokyo", and is documented in more detail in
2534
2536
  # AIP-160 (https://google.aip.dev/160).
2535
2537
  # @param [Fixnum] page_size
2536
- # The maximum number of results to return. If not set, the service will select a
2538
+ # The maximum number of results to return. If not set, the service selects a
2537
2539
  # default.
2538
2540
  # @param [String] page_token
2539
2541
  # A page token received from the next_page_token field in the response. Send
@@ -3012,12 +3014,12 @@ module Google
3012
3014
  # delete operation might not be deleted. Entries received after the delete
3013
3015
  # operation with a timestamp before the operation will be deleted.
3014
3016
  # @param [String] log_name
3015
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
3016
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
3017
- # BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
3017
+ # Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
3018
+ # LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
3019
+ # BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
3018
3020
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
3019
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
3020
- # For more information about log names, see LogEntry.
3021
+ # organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
3022
+ # information about log names, see LogEntry.
3021
3023
  # @param [String] fields
3022
3024
  # Selector specifying which fields to include in a partial response.
3023
3025
  # @param [String] quota_user
@@ -3048,9 +3050,9 @@ module Google
3048
3050
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
3049
3051
  # logs that have entries are listed.
3050
3052
  # @param [String] parent
3051
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
3052
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
3053
- # folders/[FOLDER_ID]"
3053
+ # Required. The resource name that owns the logs: projects/[PROJECT_ID]
3054
+ # organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
3055
+ # FOLDER_ID]
3054
3056
  # @param [Fixnum] page_size
3055
3057
  # Optional. The maximum number of results to return from this request. Non-
3056
3058
  # positive values are ignored. The presence of nextPageToken in the response
@@ -3061,13 +3063,14 @@ module Google
3061
3063
  # from the previous response. The values of other method parameters should be
3062
3064
  # identical to those in the previous call.
3063
3065
  # @param [Array<String>, String] resource_names
3064
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
3065
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
3066
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
3067
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
3068
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
3069
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
3070
- # ORGANIZATION_ID" "billingAccounts/BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
3066
+ # Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
3067
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
3068
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
3069
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
3070
+ # BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
3071
+ # [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
3072
+ # projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
3073
+ # BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
3071
3074
  # @param [String] fields
3072
3075
  # Selector specifying which fields to include in a partial response.
3073
3076
  # @param [String] quota_user
@@ -3458,7 +3461,7 @@ module Google
3458
3461
  # accepts strings like "displayName=tokyo", and is documented in more detail in
3459
3462
  # AIP-160 (https://google.aip.dev/160).
3460
3463
  # @param [Fixnum] page_size
3461
- # The maximum number of results to return. If not set, the service will select a
3464
+ # The maximum number of results to return. If not set, the service selects a
3462
3465
  # default.
3463
3466
  # @param [String] page_token
3464
3467
  # A page token received from the next_page_token field in the response. Send
@@ -3937,12 +3940,12 @@ module Google
3937
3940
  # delete operation might not be deleted. Entries received after the delete
3938
3941
  # operation with a timestamp before the operation will be deleted.
3939
3942
  # @param [String] log_name
3940
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
3941
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
3942
- # BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
3943
+ # Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
3944
+ # LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
3945
+ # BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
3943
3946
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
3944
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
3945
- # For more information about log names, see LogEntry.
3947
+ # organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
3948
+ # information about log names, see LogEntry.
3946
3949
  # @param [String] fields
3947
3950
  # Selector specifying which fields to include in a partial response.
3948
3951
  # @param [String] quota_user
@@ -3973,9 +3976,9 @@ module Google
3973
3976
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
3974
3977
  # logs that have entries are listed.
3975
3978
  # @param [String] parent
3976
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
3977
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
3978
- # folders/[FOLDER_ID]"
3979
+ # Required. The resource name that owns the logs: projects/[PROJECT_ID]
3980
+ # organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
3981
+ # FOLDER_ID]
3979
3982
  # @param [Fixnum] page_size
3980
3983
  # Optional. The maximum number of results to return from this request. Non-
3981
3984
  # positive values are ignored. The presence of nextPageToken in the response
@@ -3986,13 +3989,14 @@ module Google
3986
3989
  # from the previous response. The values of other method parameters should be
3987
3990
  # identical to those in the previous call.
3988
3991
  # @param [Array<String>, String] resource_names
3989
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
3990
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
3991
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
3992
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
3993
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
3994
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
3995
- # ORGANIZATION_ID" "billingAccounts/BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
3992
+ # Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
3993
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
3994
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
3995
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
3996
+ # BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
3997
+ # [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
3998
+ # projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
3999
+ # BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
3996
4000
  # @param [String] fields
3997
4001
  # Selector specifying which fields to include in a partial response.
3998
4002
  # @param [String] quota_user
@@ -4534,7 +4538,7 @@ module Google
4534
4538
  # accepts strings like "displayName=tokyo", and is documented in more detail in
4535
4539
  # AIP-160 (https://google.aip.dev/160).
4536
4540
  # @param [Fixnum] page_size
4537
- # The maximum number of results to return. If not set, the service will select a
4541
+ # The maximum number of results to return. If not set, the service selects a
4538
4542
  # default.
4539
4543
  # @param [String] page_token
4540
4544
  # A page token received from the next_page_token field in the response. Send
@@ -5013,12 +5017,12 @@ module Google
5013
5017
  # delete operation might not be deleted. Entries received after the delete
5014
5018
  # operation with a timestamp before the operation will be deleted.
5015
5019
  # @param [String] log_name
5016
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
5017
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
5018
- # BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
5020
+ # Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
5021
+ # LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
5022
+ # BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
5019
5023
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
5020
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
5021
- # For more information about log names, see LogEntry.
5024
+ # organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
5025
+ # information about log names, see LogEntry.
5022
5026
  # @param [String] fields
5023
5027
  # Selector specifying which fields to include in a partial response.
5024
5028
  # @param [String] quota_user
@@ -5049,9 +5053,9 @@ module Google
5049
5053
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
5050
5054
  # logs that have entries are listed.
5051
5055
  # @param [String] parent
5052
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
5053
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
5054
- # folders/[FOLDER_ID]"
5056
+ # Required. The resource name that owns the logs: projects/[PROJECT_ID]
5057
+ # organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
5058
+ # FOLDER_ID]
5055
5059
  # @param [Fixnum] page_size
5056
5060
  # Optional. The maximum number of results to return from this request. Non-
5057
5061
  # positive values are ignored. The presence of nextPageToken in the response
@@ -5062,13 +5066,14 @@ module Google
5062
5066
  # from the previous response. The values of other method parameters should be
5063
5067
  # identical to those in the previous call.
5064
5068
  # @param [Array<String>, String] resource_names
5065
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
5066
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
5067
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
5068
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
5069
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
5070
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
5071
- # ORGANIZATION_ID" "billingAccounts/BILLING_ACCOUNT_ID" "folders/FOLDER_ID"
5069
+ # Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
5070
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
5071
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
5072
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
5073
+ # BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
5074
+ # [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
5075
+ # projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
5076
+ # BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
5072
5077
  # @param [String] fields
5073
5078
  # Selector specifying which fields to include in a partial response.
5074
5079
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-logging_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 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-logging_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.6.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-logging_v2
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.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Logging API V2