google-apis-logging_v2 0.3.0 → 0.8.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: 91c45219f70d8e42ccc50d958bc67cff51b2635433cc0525c0dc623ffc61cfcd
4
- data.tar.gz: 799815613b6077ba119d1015b34cc520495d93a0155689f3d34851422907238a
3
+ metadata.gz: 613cc5b3e691f8ba48a59bc00623b5119960e97a71a1e64d4513ae7fd61362b4
4
+ data.tar.gz: 8dbdeab1ce11772bf35a12edf70d150f648d543d1d69ae860f4700f88314194d
5
5
  SHA512:
6
- metadata.gz: 99673ce463f424fad7b49da28c7d828bd1d036f15fe3dea67a4622a0acdda66a0a2cc3a785bb90f6474442ef925a577586d6c0c67df3c54d745a21a92f8fc9fc
7
- data.tar.gz: 1d121e9126a8ce0b98b5e465b2acfb9c54286edab891ac3a1e49497bed2f87a7ea54d60e992e920de92d538a78b071c79c54aa89a4dc3aa7b90578e83e1ed93c
6
+ metadata.gz: 85e7c4991db55a479de5f7cf1f24f333a780a1ff714fbb1e63b96194e7b4bb6245774d5c5f2f19320a5268bb8cd6cb4bb950ff81aeb496baa4b73d7139082ba5
7
+ data.tar.gz: '09337a5c2b6a534f8396729cbf3211734632ca89208f02e14ca14307c3fc07194396560a677b1e5e24e63d4c9610bc767540cba378acdd9e9a574ded85f2942e'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.8.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.7.0 (2021-05-15)
8
+
9
+ * Regenerated from discovery document revision 20210507
10
+
11
+ ### v0.6.0 (2021-04-03)
12
+
13
+ * Regenerated from discovery document revision 20210325
14
+
15
+ ### v0.5.0 (2021-03-20)
16
+
17
+ * Regenerated from discovery document revision 20210312
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.4.0 (2021-03-04)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.3.0 (2021-02-27)
4
25
 
5
26
  * Regenerated from discovery document revision 20210217
@@ -32,7 +32,7 @@ module Google
32
32
  # This is NOT the gem version.
33
33
  VERSION = 'V2'
34
34
 
35
- # View and manage your data across Google Cloud Platform services
35
+ # See, edit, configure, and delete your Google Cloud Platform data
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
37
 
38
38
  # View your data across Google Cloud Platform services
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210217"
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
@@ -347,11 +347,15 @@ module Google
347
347
  # @param [String] name
348
348
  # The resource that owns the locations collection, if applicable.
349
349
  # @param [String] filter
350
- # The standard list filter.
350
+ # A filter to narrow down results to a preferred subset. The filtering language
351
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
352
+ # AIP-160 (https://google.aip.dev/160).
351
353
  # @param [Fixnum] page_size
352
- # The standard list page size.
354
+ # The maximum number of results to return. If not set, the service selects a
355
+ # default.
353
356
  # @param [String] page_token
354
- # The standard list page token.
357
+ # A page token received from the next_page_token field in the response. Send
358
+ # that page token to receive the subsequent page.
355
359
  # @param [String] fields
356
360
  # Selector specifying which fields to include in a partial response.
357
361
  # @param [String] quota_user
@@ -759,12 +763,12 @@ module Google
759
763
  # delete operation might not be deleted. Entries received after the delete
760
764
  # operation with a timestamp before the operation will be deleted.
761
765
  # @param [String] log_name
762
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
763
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
764
- # 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]
765
769
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
766
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
767
- # 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.
768
772
  # @param [String] fields
769
773
  # Selector specifying which fields to include in a partial response.
770
774
  # @param [String] quota_user
@@ -795,9 +799,9 @@ module Google
795
799
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
796
800
  # logs that have entries are listed.
797
801
  # @param [String] parent
798
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
799
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
800
- # 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]
801
805
  # @param [Fixnum] page_size
802
806
  # Optional. The maximum number of results to return from this request. Non-
803
807
  # positive values are ignored. The presence of nextPageToken in the response
@@ -808,13 +812,14 @@ module Google
808
812
  # from the previous response. The values of other method parameters should be
809
813
  # identical to those in the previous call.
810
814
  # @param [Array<String>, String] resource_names
811
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
812
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
813
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
814
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
815
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
816
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
817
- # 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]
818
823
  # @param [String] fields
819
824
  # Selector specifying which fields to include in a partial response.
820
825
  # @param [String] quota_user
@@ -1643,11 +1648,15 @@ module Google
1643
1648
  # @param [String] name
1644
1649
  # The resource that owns the locations collection, if applicable.
1645
1650
  # @param [String] filter
1646
- # The standard list filter.
1651
+ # A filter to narrow down results to a preferred subset. The filtering language
1652
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
1653
+ # AIP-160 (https://google.aip.dev/160).
1647
1654
  # @param [Fixnum] page_size
1648
- # The standard list page size.
1655
+ # The maximum number of results to return. If not set, the service selects a
1656
+ # default.
1649
1657
  # @param [String] page_token
1650
- # The standard list page token.
1658
+ # A page token received from the next_page_token field in the response. Send
1659
+ # that page token to receive the subsequent page.
1651
1660
  # @param [String] fields
1652
1661
  # Selector specifying which fields to include in a partial response.
1653
1662
  # @param [String] quota_user
@@ -2122,12 +2131,12 @@ module Google
2122
2131
  # delete operation might not be deleted. Entries received after the delete
2123
2132
  # operation with a timestamp before the operation will be deleted.
2124
2133
  # @param [String] log_name
2125
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
2126
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
2127
- # 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]
2128
2137
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
2129
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
2130
- # 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.
2131
2140
  # @param [String] fields
2132
2141
  # Selector specifying which fields to include in a partial response.
2133
2142
  # @param [String] quota_user
@@ -2158,9 +2167,9 @@ module Google
2158
2167
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
2159
2168
  # logs that have entries are listed.
2160
2169
  # @param [String] parent
2161
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
2162
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
2163
- # 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]
2164
2173
  # @param [Fixnum] page_size
2165
2174
  # Optional. The maximum number of results to return from this request. Non-
2166
2175
  # positive values are ignored. The presence of nextPageToken in the response
@@ -2171,13 +2180,14 @@ module Google
2171
2180
  # from the previous response. The values of other method parameters should be
2172
2181
  # identical to those in the previous call.
2173
2182
  # @param [Array<String>, String] resource_names
2174
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
2175
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
2176
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
2177
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
2178
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
2179
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
2180
- # 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]
2181
2191
  # @param [String] fields
2182
2192
  # Selector specifying which fields to include in a partial response.
2183
2193
  # @param [String] quota_user
@@ -2521,11 +2531,15 @@ module Google
2521
2531
  # @param [String] name
2522
2532
  # The resource that owns the locations collection, if applicable.
2523
2533
  # @param [String] filter
2524
- # The standard list filter.
2534
+ # A filter to narrow down results to a preferred subset. The filtering language
2535
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
2536
+ # AIP-160 (https://google.aip.dev/160).
2525
2537
  # @param [Fixnum] page_size
2526
- # The standard list page size.
2538
+ # The maximum number of results to return. If not set, the service selects a
2539
+ # default.
2527
2540
  # @param [String] page_token
2528
- # The standard list page token.
2541
+ # A page token received from the next_page_token field in the response. Send
2542
+ # that page token to receive the subsequent page.
2529
2543
  # @param [String] fields
2530
2544
  # Selector specifying which fields to include in a partial response.
2531
2545
  # @param [String] quota_user
@@ -3000,12 +3014,12 @@ module Google
3000
3014
  # delete operation might not be deleted. Entries received after the delete
3001
3015
  # operation with a timestamp before the operation will be deleted.
3002
3016
  # @param [String] log_name
3003
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
3004
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
3005
- # 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]
3006
3020
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
3007
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
3008
- # 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.
3009
3023
  # @param [String] fields
3010
3024
  # Selector specifying which fields to include in a partial response.
3011
3025
  # @param [String] quota_user
@@ -3036,9 +3050,9 @@ module Google
3036
3050
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
3037
3051
  # logs that have entries are listed.
3038
3052
  # @param [String] parent
3039
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
3040
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
3041
- # 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]
3042
3056
  # @param [Fixnum] page_size
3043
3057
  # Optional. The maximum number of results to return from this request. Non-
3044
3058
  # positive values are ignored. The presence of nextPageToken in the response
@@ -3049,13 +3063,14 @@ module Google
3049
3063
  # from the previous response. The values of other method parameters should be
3050
3064
  # identical to those in the previous call.
3051
3065
  # @param [Array<String>, String] resource_names
3052
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
3053
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
3054
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
3055
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
3056
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
3057
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
3058
- # 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]
3059
3074
  # @param [String] fields
3060
3075
  # Selector specifying which fields to include in a partial response.
3061
3076
  # @param [String] quota_user
@@ -3442,11 +3457,15 @@ module Google
3442
3457
  # @param [String] name
3443
3458
  # The resource that owns the locations collection, if applicable.
3444
3459
  # @param [String] filter
3445
- # The standard list filter.
3460
+ # A filter to narrow down results to a preferred subset. The filtering language
3461
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
3462
+ # AIP-160 (https://google.aip.dev/160).
3446
3463
  # @param [Fixnum] page_size
3447
- # The standard list page size.
3464
+ # The maximum number of results to return. If not set, the service selects a
3465
+ # default.
3448
3466
  # @param [String] page_token
3449
- # The standard list page token.
3467
+ # A page token received from the next_page_token field in the response. Send
3468
+ # that page token to receive the subsequent page.
3450
3469
  # @param [String] fields
3451
3470
  # Selector specifying which fields to include in a partial response.
3452
3471
  # @param [String] quota_user
@@ -3921,12 +3940,12 @@ module Google
3921
3940
  # delete operation might not be deleted. Entries received after the delete
3922
3941
  # operation with a timestamp before the operation will be deleted.
3923
3942
  # @param [String] log_name
3924
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
3925
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
3926
- # 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]
3927
3946
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
3928
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
3929
- # 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.
3930
3949
  # @param [String] fields
3931
3950
  # Selector specifying which fields to include in a partial response.
3932
3951
  # @param [String] quota_user
@@ -3957,9 +3976,9 @@ module Google
3957
3976
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
3958
3977
  # logs that have entries are listed.
3959
3978
  # @param [String] parent
3960
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
3961
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
3962
- # 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]
3963
3982
  # @param [Fixnum] page_size
3964
3983
  # Optional. The maximum number of results to return from this request. Non-
3965
3984
  # positive values are ignored. The presence of nextPageToken in the response
@@ -3970,13 +3989,14 @@ module Google
3970
3989
  # from the previous response. The values of other method parameters should be
3971
3990
  # identical to those in the previous call.
3972
3991
  # @param [Array<String>, String] resource_names
3973
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
3974
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
3975
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
3976
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
3977
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
3978
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
3979
- # 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]
3980
4000
  # @param [String] fields
3981
4001
  # Selector specifying which fields to include in a partial response.
3982
4002
  # @param [String] quota_user
@@ -4514,11 +4534,15 @@ module Google
4514
4534
  # @param [String] name
4515
4535
  # The resource that owns the locations collection, if applicable.
4516
4536
  # @param [String] filter
4517
- # The standard list filter.
4537
+ # A filter to narrow down results to a preferred subset. The filtering language
4538
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
4539
+ # AIP-160 (https://google.aip.dev/160).
4518
4540
  # @param [Fixnum] page_size
4519
- # The standard list page size.
4541
+ # The maximum number of results to return. If not set, the service selects a
4542
+ # default.
4520
4543
  # @param [String] page_token
4521
- # The standard list page token.
4544
+ # A page token received from the next_page_token field in the response. Send
4545
+ # that page token to receive the subsequent page.
4522
4546
  # @param [String] fields
4523
4547
  # Selector specifying which fields to include in a partial response.
4524
4548
  # @param [String] quota_user
@@ -4993,12 +5017,12 @@ module Google
4993
5017
  # delete operation might not be deleted. Entries received after the delete
4994
5018
  # operation with a timestamp before the operation will be deleted.
4995
5019
  # @param [String] log_name
4996
- # Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
4997
- # LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
4998
- # 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]
4999
5023
  # must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
5000
- # organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
5001
- # 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.
5002
5026
  # @param [String] fields
5003
5027
  # Selector specifying which fields to include in a partial response.
5004
5028
  # @param [String] quota_user
@@ -5029,9 +5053,9 @@ module Google
5029
5053
  # Lists the logs in projects, organizations, folders, or billing accounts. Only
5030
5054
  # logs that have entries are listed.
5031
5055
  # @param [String] parent
5032
- # Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
5033
- # organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
5034
- # 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]
5035
5059
  # @param [Fixnum] page_size
5036
5060
  # Optional. The maximum number of results to return from this request. Non-
5037
5061
  # positive values are ignored. The presence of nextPageToken in the response
@@ -5042,13 +5066,14 @@ module Google
5042
5066
  # from the previous response. The values of other method parameters should be
5043
5067
  # identical to those in the previous call.
5044
5068
  # @param [Array<String>, String] resource_names
5045
- # Optional. The resource name that owns the logs: projects/PROJECT_ID/locations/
5046
- # LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID organization/ORGANIZATION_ID/
5047
- # locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID billingAccounts/
5048
- # BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
5049
- # folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_IDTo
5050
- # support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/
5051
- # 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]
5052
5077
  # @param [String] fields
5053
5078
  # Selector specifying which fields to include in a partial response.
5054
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.3.0
4
+ version: 0.8.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-03-01 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.8.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.11
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