google-apis-logging_v2 0.64.0 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98ce1ead67d482864f6edee32cac89919bbc1427a5e70cab3429ca059bf709f6
|
4
|
+
data.tar.gz: 9258b6628680055c9eb1b474bbbc93db02935410863dcd7fffc80c31dad0457b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24b7d2acea83b82224c8caa58b00a1b725b85b850cfdaa4c9cb3c25944390ef9d2ea96449b57f4b69948598d3af9d46590290425311ba44c3750816eae0ff655
|
7
|
+
data.tar.gz: 0a65946b198719843ebc9f54eed521beb71c3630d7ff1b844c27c5fa3d3fc069e79525041b5812642b0bd2ffd871062439569adc79e8cdca3395f3afa4d26423
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.66.0 (2024-03-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240311
|
6
|
+
|
7
|
+
### v0.65.0 (2024-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240301
|
10
|
+
|
3
11
|
### v0.64.0 (2024-03-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240223
|
@@ -404,7 +404,8 @@ module Google
|
|
404
404
|
|
405
405
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
406
406
|
# limited to 100 characters and can include only letters, digits, underscores,
|
407
|
-
# hyphens, and periods.
|
407
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
408
|
+
# character.
|
408
409
|
# Corresponds to the JSON property `bucketId`
|
409
410
|
# @return [String]
|
410
411
|
attr_accessor :bucket_id
|
@@ -1452,8 +1453,8 @@ module Google
|
|
1452
1453
|
class LogBucket
|
1453
1454
|
include Google::Apis::Core::Hashable
|
1454
1455
|
|
1455
|
-
#
|
1456
|
-
#
|
1456
|
+
# Whether log analytics is enabled for this bucket.Once enabled, log analytics
|
1457
|
+
# features cannot be disabled.
|
1457
1458
|
# Corresponds to the JSON property `analyticsEnabled`
|
1458
1459
|
# @return [Boolean]
|
1459
1460
|
attr_accessor :analytics_enabled
|
@@ -2197,6 +2198,19 @@ module Google
|
|
2197
2198
|
attr_accessor :include_children
|
2198
2199
|
alias_method :include_children?, :include_children
|
2199
2200
|
|
2201
|
+
# Optional. This field applies only to sinks owned by organizations and folders.
|
2202
|
+
# When the value of 'intercept_children' is true, the following restrictions
|
2203
|
+
# apply: The sink must have the include_children flag set to true. The sink
|
2204
|
+
# destination must be a Cloud project.Also, the following behaviors apply: Any
|
2205
|
+
# logs matched by the sink won't be included by non-_Required sinks owned by
|
2206
|
+
# child resources. The sink appears in the results of a ListSinks call from a
|
2207
|
+
# child resource if the value of the filter field in its request is either '
|
2208
|
+
# in_scope("ALL")' or 'in_scope("ANCESTOR")'.
|
2209
|
+
# Corresponds to the JSON property `interceptChildren`
|
2210
|
+
# @return [Boolean]
|
2211
|
+
attr_accessor :intercept_children
|
2212
|
+
alias_method :intercept_children?, :intercept_children
|
2213
|
+
|
2200
2214
|
# Output only. The client-assigned sink identifier, unique within the project.
|
2201
2215
|
# For example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
|
2202
2216
|
# characters and can include only the following characters: upper and lower-case
|
@@ -2211,6 +2225,14 @@ module Google
|
|
2211
2225
|
# @return [String]
|
2212
2226
|
attr_accessor :output_version_format
|
2213
2227
|
|
2228
|
+
# Output only. The resource name of the sink. "projects/[PROJECT_ID]/sinks/[
|
2229
|
+
# SINK_NAME] "organizations/[ORGANIZATION_ID]/sinks/[SINK_NAME] "billingAccounts/
|
2230
|
+
# [BILLING_ACCOUNT_ID]/sinks/[SINK_NAME] "folders/[FOLDER_ID]/sinks/[SINK_NAME]
|
2231
|
+
# For example: projects/my_project/sinks/SINK_NAME
|
2232
|
+
# Corresponds to the JSON property `resourceName`
|
2233
|
+
# @return [String]
|
2234
|
+
attr_accessor :resource_name
|
2235
|
+
|
2214
2236
|
# Output only. The last update timestamp of the sink.This field may not be
|
2215
2237
|
# present for older sinks.
|
2216
2238
|
# Corresponds to the JSON property `updateTime`
|
@@ -2247,8 +2269,10 @@ module Google
|
|
2247
2269
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
2248
2270
|
@filter = args[:filter] if args.key?(:filter)
|
2249
2271
|
@include_children = args[:include_children] if args.key?(:include_children)
|
2272
|
+
@intercept_children = args[:intercept_children] if args.key?(:intercept_children)
|
2250
2273
|
@name = args[:name] if args.key?(:name)
|
2251
2274
|
@output_version_format = args[:output_version_format] if args.key?(:output_version_format)
|
2275
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2252
2276
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2253
2277
|
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
2254
2278
|
end
|
@@ -3082,7 +3106,7 @@ module Google
|
|
3082
3106
|
# @return [String]
|
3083
3107
|
attr_accessor :description
|
3084
3108
|
|
3085
|
-
#
|
3109
|
+
# Required. The user specified title for the SavedQuery.
|
3086
3110
|
# Corresponds to the JSON property `displayName`
|
3087
3111
|
# @return [String]
|
3088
3112
|
attr_accessor :display_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.
|
19
|
+
GEM_VERSION = "0.66.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240311"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -956,8 +956,10 @@ module Google
|
|
956
956
|
|
957
957
|
property :filter, as: 'filter'
|
958
958
|
property :include_children, as: 'includeChildren'
|
959
|
+
property :intercept_children, as: 'interceptChildren'
|
959
960
|
property :name, as: 'name'
|
960
961
|
property :output_version_format, as: 'outputVersionFormat'
|
962
|
+
property :resource_name, as: 'resourceName'
|
961
963
|
property :update_time, as: 'updateTime'
|
962
964
|
property :writer_identity, as: 'writerIdentity'
|
963
965
|
end
|
@@ -406,7 +406,8 @@ module Google
|
|
406
406
|
# @param [String] bucket_id
|
407
407
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
408
408
|
# limited to 100 characters and can include only letters, digits, underscores,
|
409
|
-
# hyphens, and periods.
|
409
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
410
|
+
# character.
|
410
411
|
# @param [String] fields
|
411
412
|
# Selector specifying which fields to include in a partial response.
|
412
413
|
# @param [String] quota_user
|
@@ -447,7 +448,8 @@ module Google
|
|
447
448
|
# @param [String] bucket_id
|
448
449
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
449
450
|
# limited to 100 characters and can include only letters, digits, underscores,
|
450
|
-
# hyphens, and periods.
|
451
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
452
|
+
# character.
|
451
453
|
# @param [String] fields
|
452
454
|
# Selector specifying which fields to include in a partial response.
|
453
455
|
# @param [String] quota_user
|
@@ -1650,6 +1652,14 @@ module Google
|
|
1650
1652
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
1651
1653
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
1652
1654
|
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
1655
|
+
# @param [String] filter
|
1656
|
+
# Optional. A filter expression to constrain the sinks returned. Today, this
|
1657
|
+
# only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR"
|
1658
|
+
# )', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of
|
1659
|
+
# the sinks which can be returned in any other scope. ANCESTOR: Includes
|
1660
|
+
# intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned
|
1661
|
+
# by parent.When the empty string is provided, then the filter 'in_scope("
|
1662
|
+
# DEFAULT")' is applied.
|
1653
1663
|
# @param [Fixnum] page_size
|
1654
1664
|
# Optional. The maximum number of results to return from this request. Non-
|
1655
1665
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1676,11 +1686,12 @@ module Google
|
|
1676
1686
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1677
1687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1678
1688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1679
|
-
def list_billing_account_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1689
|
+
def list_billing_account_sinks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1680
1690
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
1681
1691
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
1682
1692
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
1683
1693
|
command.params['parent'] = parent unless parent.nil?
|
1694
|
+
command.query['filter'] = filter unless filter.nil?
|
1684
1695
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1685
1696
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1686
1697
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2552,7 +2563,8 @@ module Google
|
|
2552
2563
|
# @param [String] bucket_id
|
2553
2564
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
2554
2565
|
# limited to 100 characters and can include only letters, digits, underscores,
|
2555
|
-
# hyphens, and periods.
|
2566
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
2567
|
+
# character.
|
2556
2568
|
# @param [String] fields
|
2557
2569
|
# Selector specifying which fields to include in a partial response.
|
2558
2570
|
# @param [String] quota_user
|
@@ -2593,7 +2605,8 @@ module Google
|
|
2593
2605
|
# @param [String] bucket_id
|
2594
2606
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
2595
2607
|
# limited to 100 characters and can include only letters, digits, underscores,
|
2596
|
-
# hyphens, and periods.
|
2608
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
2609
|
+
# character.
|
2597
2610
|
# @param [String] fields
|
2598
2611
|
# Selector specifying which fields to include in a partial response.
|
2599
2612
|
# @param [String] quota_user
|
@@ -3796,6 +3809,14 @@ module Google
|
|
3796
3809
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
3797
3810
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
3798
3811
|
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
3812
|
+
# @param [String] filter
|
3813
|
+
# Optional. A filter expression to constrain the sinks returned. Today, this
|
3814
|
+
# only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR"
|
3815
|
+
# )', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of
|
3816
|
+
# the sinks which can be returned in any other scope. ANCESTOR: Includes
|
3817
|
+
# intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned
|
3818
|
+
# by parent.When the empty string is provided, then the filter 'in_scope("
|
3819
|
+
# DEFAULT")' is applied.
|
3799
3820
|
# @param [Fixnum] page_size
|
3800
3821
|
# Optional. The maximum number of results to return from this request. Non-
|
3801
3822
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3822,11 +3843,12 @@ module Google
|
|
3822
3843
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3823
3844
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3824
3845
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3825
|
-
def list_folder_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3846
|
+
def list_folder_sinks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3826
3847
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
3827
3848
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
3828
3849
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
3829
3850
|
command.params['parent'] = parent unless parent.nil?
|
3851
|
+
command.query['filter'] = filter unless filter.nil?
|
3830
3852
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3831
3853
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3832
3854
|
command.query['fields'] = fields unless fields.nil?
|
@@ -4055,7 +4077,8 @@ module Google
|
|
4055
4077
|
# @param [String] bucket_id
|
4056
4078
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
4057
4079
|
# limited to 100 characters and can include only letters, digits, underscores,
|
4058
|
-
# hyphens, and periods.
|
4080
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
4081
|
+
# character.
|
4059
4082
|
# @param [String] fields
|
4060
4083
|
# Selector specifying which fields to include in a partial response.
|
4061
4084
|
# @param [String] quota_user
|
@@ -4096,7 +4119,8 @@ module Google
|
|
4096
4119
|
# @param [String] bucket_id
|
4097
4120
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
4098
4121
|
# limited to 100 characters and can include only letters, digits, underscores,
|
4099
|
-
# hyphens, and periods.
|
4122
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
4123
|
+
# character.
|
4100
4124
|
# @param [String] fields
|
4101
4125
|
# Selector specifying which fields to include in a partial response.
|
4102
4126
|
# @param [String] quota_user
|
@@ -5430,7 +5454,8 @@ module Google
|
|
5430
5454
|
# @param [String] bucket_id
|
5431
5455
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
5432
5456
|
# limited to 100 characters and can include only letters, digits, underscores,
|
5433
|
-
# hyphens, and periods.
|
5457
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
5458
|
+
# character.
|
5434
5459
|
# @param [String] fields
|
5435
5460
|
# Selector specifying which fields to include in a partial response.
|
5436
5461
|
# @param [String] quota_user
|
@@ -5471,7 +5496,8 @@ module Google
|
|
5471
5496
|
# @param [String] bucket_id
|
5472
5497
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
5473
5498
|
# limited to 100 characters and can include only letters, digits, underscores,
|
5474
|
-
# hyphens, and periods.
|
5499
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
5500
|
+
# character.
|
5475
5501
|
# @param [String] fields
|
5476
5502
|
# Selector specifying which fields to include in a partial response.
|
5477
5503
|
# @param [String] quota_user
|
@@ -6674,6 +6700,14 @@ module Google
|
|
6674
6700
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
6675
6701
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
6676
6702
|
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
6703
|
+
# @param [String] filter
|
6704
|
+
# Optional. A filter expression to constrain the sinks returned. Today, this
|
6705
|
+
# only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR"
|
6706
|
+
# )', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of
|
6707
|
+
# the sinks which can be returned in any other scope. ANCESTOR: Includes
|
6708
|
+
# intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned
|
6709
|
+
# by parent.When the empty string is provided, then the filter 'in_scope("
|
6710
|
+
# DEFAULT")' is applied.
|
6677
6711
|
# @param [Fixnum] page_size
|
6678
6712
|
# Optional. The maximum number of results to return from this request. Non-
|
6679
6713
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -6700,11 +6734,12 @@ module Google
|
|
6700
6734
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6701
6735
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6702
6736
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6703
|
-
def list_organization_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6737
|
+
def list_organization_sinks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6704
6738
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
6705
6739
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
6706
6740
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
6707
6741
|
command.params['parent'] = parent unless parent.nil?
|
6742
|
+
command.query['filter'] = filter unless filter.nil?
|
6708
6743
|
command.query['pageSize'] = page_size unless page_size.nil?
|
6709
6744
|
command.query['pageToken'] = page_token unless page_token.nil?
|
6710
6745
|
command.query['fields'] = fields unless fields.nil?
|
@@ -7205,7 +7240,8 @@ module Google
|
|
7205
7240
|
# @param [String] bucket_id
|
7206
7241
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
7207
7242
|
# limited to 100 characters and can include only letters, digits, underscores,
|
7208
|
-
# hyphens, and periods.
|
7243
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
7244
|
+
# character.
|
7209
7245
|
# @param [String] fields
|
7210
7246
|
# Selector specifying which fields to include in a partial response.
|
7211
7247
|
# @param [String] quota_user
|
@@ -7246,7 +7282,8 @@ module Google
|
|
7246
7282
|
# @param [String] bucket_id
|
7247
7283
|
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
7248
7284
|
# limited to 100 characters and can include only letters, digits, underscores,
|
7249
|
-
# hyphens, and periods.
|
7285
|
+
# hyphens, and periods. Bucket identifiers must start with an alphanumeric
|
7286
|
+
# character.
|
7250
7287
|
# @param [String] fields
|
7251
7288
|
# Selector specifying which fields to include in a partial response.
|
7252
7289
|
# @param [String] quota_user
|
@@ -8623,6 +8660,14 @@ module Google
|
|
8623
8660
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
8624
8661
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
8625
8662
|
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
8663
|
+
# @param [String] filter
|
8664
|
+
# Optional. A filter expression to constrain the sinks returned. Today, this
|
8665
|
+
# only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR"
|
8666
|
+
# )', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of
|
8667
|
+
# the sinks which can be returned in any other scope. ANCESTOR: Includes
|
8668
|
+
# intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned
|
8669
|
+
# by parent.When the empty string is provided, then the filter 'in_scope("
|
8670
|
+
# DEFAULT")' is applied.
|
8626
8671
|
# @param [Fixnum] page_size
|
8627
8672
|
# Optional. The maximum number of results to return from this request. Non-
|
8628
8673
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -8649,11 +8694,12 @@ module Google
|
|
8649
8694
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8650
8695
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8651
8696
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8652
|
-
def list_project_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
8697
|
+
def list_project_sinks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
8653
8698
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
8654
8699
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
8655
8700
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
8656
8701
|
command.params['parent'] = parent unless parent.nil?
|
8702
|
+
command.query['filter'] = filter unless filter.nil?
|
8657
8703
|
command.query['pageSize'] = page_size unless page_size.nil?
|
8658
8704
|
command.query['pageToken'] = page_token unless page_token.nil?
|
8659
8705
|
command.query['fields'] = fields unless fields.nil?
|
@@ -8930,6 +8976,14 @@ module Google
|
|
8930
8976
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
8931
8977
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
8932
8978
|
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
8979
|
+
# @param [String] filter
|
8980
|
+
# Optional. A filter expression to constrain the sinks returned. Today, this
|
8981
|
+
# only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR"
|
8982
|
+
# )', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of
|
8983
|
+
# the sinks which can be returned in any other scope. ANCESTOR: Includes
|
8984
|
+
# intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned
|
8985
|
+
# by parent.When the empty string is provided, then the filter 'in_scope("
|
8986
|
+
# DEFAULT")' is applied.
|
8933
8987
|
# @param [Fixnum] page_size
|
8934
8988
|
# Optional. The maximum number of results to return from this request. Non-
|
8935
8989
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -8956,11 +9010,12 @@ module Google
|
|
8956
9010
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8957
9011
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8958
9012
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8959
|
-
def list_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
9013
|
+
def list_sinks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
8960
9014
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
8961
9015
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
8962
9016
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
8963
9017
|
command.params['parent'] = parent unless parent.nil?
|
9018
|
+
command.query['filter'] = filter unless filter.nil?
|
8964
9019
|
command.query['pageSize'] = page_size unless page_size.nil?
|
8965
9020
|
command.query['pageToken'] = page_token unless page_token.nil?
|
8966
9021
|
command.query['fields'] = fields unless fields.nil?
|
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.
|
4
|
+
version: 0.66.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: 2024-03-
|
11
|
+
date: 2024-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.66.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|