google-apis-logging_v2 0.65.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
@@ -2198,6 +2198,19 @@ module Google
|
|
2198
2198
|
attr_accessor :include_children
|
2199
2199
|
alias_method :include_children?, :include_children
|
2200
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
|
+
|
2201
2214
|
# Output only. The client-assigned sink identifier, unique within the project.
|
2202
2215
|
# For example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
|
2203
2216
|
# characters and can include only the following characters: upper and lower-case
|
@@ -2212,6 +2225,14 @@ module Google
|
|
2212
2225
|
# @return [String]
|
2213
2226
|
attr_accessor :output_version_format
|
2214
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
|
+
|
2215
2236
|
# Output only. The last update timestamp of the sink.This field may not be
|
2216
2237
|
# present for older sinks.
|
2217
2238
|
# Corresponds to the JSON property `updateTime`
|
@@ -2248,8 +2269,10 @@ module Google
|
|
2248
2269
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
2249
2270
|
@filter = args[:filter] if args.key?(:filter)
|
2250
2271
|
@include_children = args[:include_children] if args.key?(:include_children)
|
2272
|
+
@intercept_children = args[:intercept_children] if args.key?(:intercept_children)
|
2251
2273
|
@name = args[:name] if args.key?(:name)
|
2252
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)
|
2253
2276
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2254
2277
|
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
2255
2278
|
end
|
@@ -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
|
@@ -1652,6 +1652,14 @@ module Google
|
|
1652
1652
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
1653
1653
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
1654
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.
|
1655
1663
|
# @param [Fixnum] page_size
|
1656
1664
|
# Optional. The maximum number of results to return from this request. Non-
|
1657
1665
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1678,11 +1686,12 @@ module Google
|
|
1678
1686
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1679
1687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1680
1688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1681
|
-
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)
|
1682
1690
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
1683
1691
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
1684
1692
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
1685
1693
|
command.params['parent'] = parent unless parent.nil?
|
1694
|
+
command.query['filter'] = filter unless filter.nil?
|
1686
1695
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1687
1696
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1688
1697
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3800,6 +3809,14 @@ module Google
|
|
3800
3809
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
3801
3810
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
3802
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.
|
3803
3820
|
# @param [Fixnum] page_size
|
3804
3821
|
# Optional. The maximum number of results to return from this request. Non-
|
3805
3822
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3826,11 +3843,12 @@ module Google
|
|
3826
3843
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3827
3844
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3828
3845
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3829
|
-
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)
|
3830
3847
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
3831
3848
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
3832
3849
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
3833
3850
|
command.params['parent'] = parent unless parent.nil?
|
3851
|
+
command.query['filter'] = filter unless filter.nil?
|
3834
3852
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3835
3853
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3836
3854
|
command.query['fields'] = fields unless fields.nil?
|
@@ -6682,6 +6700,14 @@ module Google
|
|
6682
6700
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
6683
6701
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
6684
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.
|
6685
6711
|
# @param [Fixnum] page_size
|
6686
6712
|
# Optional. The maximum number of results to return from this request. Non-
|
6687
6713
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -6708,11 +6734,12 @@ module Google
|
|
6708
6734
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6709
6735
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6710
6736
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6711
|
-
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)
|
6712
6738
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
6713
6739
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
6714
6740
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
6715
6741
|
command.params['parent'] = parent unless parent.nil?
|
6742
|
+
command.query['filter'] = filter unless filter.nil?
|
6716
6743
|
command.query['pageSize'] = page_size unless page_size.nil?
|
6717
6744
|
command.query['pageToken'] = page_token unless page_token.nil?
|
6718
6745
|
command.query['fields'] = fields unless fields.nil?
|
@@ -8633,6 +8660,14 @@ module Google
|
|
8633
8660
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
8634
8661
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
8635
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.
|
8636
8671
|
# @param [Fixnum] page_size
|
8637
8672
|
# Optional. The maximum number of results to return from this request. Non-
|
8638
8673
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -8659,11 +8694,12 @@ module Google
|
|
8659
8694
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8660
8695
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8661
8696
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8662
|
-
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)
|
8663
8698
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
8664
8699
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
8665
8700
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
8666
8701
|
command.params['parent'] = parent unless parent.nil?
|
8702
|
+
command.query['filter'] = filter unless filter.nil?
|
8667
8703
|
command.query['pageSize'] = page_size unless page_size.nil?
|
8668
8704
|
command.query['pageToken'] = page_token unless page_token.nil?
|
8669
8705
|
command.query['fields'] = fields unless fields.nil?
|
@@ -8940,6 +8976,14 @@ module Google
|
|
8940
8976
|
# Required. The parent resource whose sinks are to be listed: "projects/[
|
8941
8977
|
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
8942
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.
|
8943
8987
|
# @param [Fixnum] page_size
|
8944
8988
|
# Optional. The maximum number of results to return from this request. Non-
|
8945
8989
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -8966,11 +9010,12 @@ module Google
|
|
8966
9010
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8967
9011
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8968
9012
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8969
|
-
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)
|
8970
9014
|
command = make_simple_command(:get, 'v2/{+parent}/sinks', options)
|
8971
9015
|
command.response_representation = Google::Apis::LoggingV2::ListSinksResponse::Representation
|
8972
9016
|
command.response_class = Google::Apis::LoggingV2::ListSinksResponse
|
8973
9017
|
command.params['parent'] = parent unless parent.nil?
|
9018
|
+
command.query['filter'] = filter unless filter.nil?
|
8974
9019
|
command.query['pageSize'] = page_size unless page_size.nil?
|
8975
9020
|
command.query['pageToken'] = page_token unless page_token.nil?
|
8976
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: []
|