google-apis-logging_v2 0.27.0 → 0.28.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/logging_v2/gem_version.rb +2 -2
- data/lib/google/apis/logging_v2/service.rb +216 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2c5e2856e96c69c93b8d05fa850aa73e4148a953132472716fb0e600298b015
|
4
|
+
data.tar.gz: bbc7ad58d3ec8f61878c8f3a52485392d98819833bc0b9d8441b3f51f2333838
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92242c9cc1b0f0562ec5bcee6de514b0d4510cec1acd2677ddab819c7b9f7351ca73eb8f9589151a7a75f0553619e44c7e3f1c1efcee2043a89fdf2f18a88e94
|
7
|
+
data.tar.gz: 45cf4ac363398b9069bf3db0ae70d9d980611c518912afe8ee5865fca6247a38922b889047139c5f1cc498d0ba105ece828386544ce3ddc83034cc7dd6e4e4d6
|
data/CHANGELOG.md
CHANGED
@@ -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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220408"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -840,6 +840,60 @@ module Google
|
|
840
840
|
execute_or_queue_command(command, &block)
|
841
841
|
end
|
842
842
|
|
843
|
+
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
844
|
+
# logs that have entries are listed.
|
845
|
+
# @param [String] parent
|
846
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
847
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
848
|
+
# FOLDER_ID]
|
849
|
+
# @param [Fixnum] page_size
|
850
|
+
# Optional. The maximum number of results to return from this request. Non-
|
851
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
852
|
+
# indicates that more results might be available.
|
853
|
+
# @param [String] page_token
|
854
|
+
# Optional. If present, then retrieve the next batch of results from the
|
855
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
856
|
+
# from the previous response. The values of other method parameters should be
|
857
|
+
# identical to those in the previous call.
|
858
|
+
# @param [Array<String>, String] resource_names
|
859
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
860
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
861
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
862
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
863
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
864
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
865
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
866
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
867
|
+
# @param [String] fields
|
868
|
+
# Selector specifying which fields to include in a partial response.
|
869
|
+
# @param [String] quota_user
|
870
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
871
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
872
|
+
# @param [Google::Apis::RequestOptions] options
|
873
|
+
# Request-specific options
|
874
|
+
#
|
875
|
+
# @yield [result, err] Result & error if block supplied
|
876
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object
|
877
|
+
# @yieldparam err [StandardError] error object if request failed
|
878
|
+
#
|
879
|
+
# @return [Google::Apis::LoggingV2::ListLogsResponse]
|
880
|
+
#
|
881
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
882
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
883
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
884
|
+
def list_billing_account_location_bucket_view_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
885
|
+
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
886
|
+
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
887
|
+
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
888
|
+
command.params['parent'] = parent unless parent.nil?
|
889
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
890
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
891
|
+
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
892
|
+
command.query['fields'] = fields unless fields.nil?
|
893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
894
|
+
execute_or_queue_command(command, &block)
|
895
|
+
end
|
896
|
+
|
843
897
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
844
898
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
845
899
|
# server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
@@ -2493,6 +2547,60 @@ module Google
|
|
2493
2547
|
execute_or_queue_command(command, &block)
|
2494
2548
|
end
|
2495
2549
|
|
2550
|
+
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
2551
|
+
# logs that have entries are listed.
|
2552
|
+
# @param [String] parent
|
2553
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
2554
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
2555
|
+
# FOLDER_ID]
|
2556
|
+
# @param [Fixnum] page_size
|
2557
|
+
# Optional. The maximum number of results to return from this request. Non-
|
2558
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
2559
|
+
# indicates that more results might be available.
|
2560
|
+
# @param [String] page_token
|
2561
|
+
# Optional. If present, then retrieve the next batch of results from the
|
2562
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
2563
|
+
# from the previous response. The values of other method parameters should be
|
2564
|
+
# identical to those in the previous call.
|
2565
|
+
# @param [Array<String>, String] resource_names
|
2566
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
2567
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
2568
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
2569
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
2570
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
2571
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
2572
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
2573
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
2574
|
+
# @param [String] fields
|
2575
|
+
# Selector specifying which fields to include in a partial response.
|
2576
|
+
# @param [String] quota_user
|
2577
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2578
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2579
|
+
# @param [Google::Apis::RequestOptions] options
|
2580
|
+
# Request-specific options
|
2581
|
+
#
|
2582
|
+
# @yield [result, err] Result & error if block supplied
|
2583
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object
|
2584
|
+
# @yieldparam err [StandardError] error object if request failed
|
2585
|
+
#
|
2586
|
+
# @return [Google::Apis::LoggingV2::ListLogsResponse]
|
2587
|
+
#
|
2588
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2589
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2590
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2591
|
+
def list_folder_location_bucket_view_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2592
|
+
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
2593
|
+
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
2594
|
+
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
2595
|
+
command.params['parent'] = parent unless parent.nil?
|
2596
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2597
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2598
|
+
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
2599
|
+
command.query['fields'] = fields unless fields.nil?
|
2600
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2601
|
+
execute_or_queue_command(command, &block)
|
2602
|
+
end
|
2603
|
+
|
2496
2604
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2497
2605
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2498
2606
|
# server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
@@ -4638,6 +4746,60 @@ module Google
|
|
4638
4746
|
execute_or_queue_command(command, &block)
|
4639
4747
|
end
|
4640
4748
|
|
4749
|
+
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
4750
|
+
# logs that have entries are listed.
|
4751
|
+
# @param [String] parent
|
4752
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
4753
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
4754
|
+
# FOLDER_ID]
|
4755
|
+
# @param [Fixnum] page_size
|
4756
|
+
# Optional. The maximum number of results to return from this request. Non-
|
4757
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
4758
|
+
# indicates that more results might be available.
|
4759
|
+
# @param [String] page_token
|
4760
|
+
# Optional. If present, then retrieve the next batch of results from the
|
4761
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
4762
|
+
# from the previous response. The values of other method parameters should be
|
4763
|
+
# identical to those in the previous call.
|
4764
|
+
# @param [Array<String>, String] resource_names
|
4765
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
4766
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
4767
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
4768
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
4769
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
4770
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
4771
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
4772
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
4773
|
+
# @param [String] fields
|
4774
|
+
# Selector specifying which fields to include in a partial response.
|
4775
|
+
# @param [String] quota_user
|
4776
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4777
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4778
|
+
# @param [Google::Apis::RequestOptions] options
|
4779
|
+
# Request-specific options
|
4780
|
+
#
|
4781
|
+
# @yield [result, err] Result & error if block supplied
|
4782
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object
|
4783
|
+
# @yieldparam err [StandardError] error object if request failed
|
4784
|
+
#
|
4785
|
+
# @return [Google::Apis::LoggingV2::ListLogsResponse]
|
4786
|
+
#
|
4787
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4788
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4789
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4790
|
+
def list_organization_location_bucket_view_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4791
|
+
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
4792
|
+
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
4793
|
+
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
4794
|
+
command.params['parent'] = parent unless parent.nil?
|
4795
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4796
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4797
|
+
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
4798
|
+
command.query['fields'] = fields unless fields.nil?
|
4799
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4800
|
+
execute_or_queue_command(command, &block)
|
4801
|
+
end
|
4802
|
+
|
4641
4803
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4642
4804
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4643
4805
|
# server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
@@ -5919,6 +6081,60 @@ module Google
|
|
5919
6081
|
execute_or_queue_command(command, &block)
|
5920
6082
|
end
|
5921
6083
|
|
6084
|
+
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
6085
|
+
# logs that have entries are listed.
|
6086
|
+
# @param [String] parent
|
6087
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
6088
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
6089
|
+
# FOLDER_ID]
|
6090
|
+
# @param [Fixnum] page_size
|
6091
|
+
# Optional. The maximum number of results to return from this request. Non-
|
6092
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
6093
|
+
# indicates that more results might be available.
|
6094
|
+
# @param [String] page_token
|
6095
|
+
# Optional. If present, then retrieve the next batch of results from the
|
6096
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
6097
|
+
# from the previous response. The values of other method parameters should be
|
6098
|
+
# identical to those in the previous call.
|
6099
|
+
# @param [Array<String>, String] resource_names
|
6100
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
6101
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
6102
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
6103
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
6104
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
6105
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
6106
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
6107
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
6108
|
+
# @param [String] fields
|
6109
|
+
# Selector specifying which fields to include in a partial response.
|
6110
|
+
# @param [String] quota_user
|
6111
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6112
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6113
|
+
# @param [Google::Apis::RequestOptions] options
|
6114
|
+
# Request-specific options
|
6115
|
+
#
|
6116
|
+
# @yield [result, err] Result & error if block supplied
|
6117
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLogsResponse] parsed result object
|
6118
|
+
# @yieldparam err [StandardError] error object if request failed
|
6119
|
+
#
|
6120
|
+
# @return [Google::Apis::LoggingV2::ListLogsResponse]
|
6121
|
+
#
|
6122
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6123
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6124
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6125
|
+
def list_project_location_bucket_view_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6126
|
+
command = make_simple_command(:get, 'v2/{+parent}/logs', options)
|
6127
|
+
command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation
|
6128
|
+
command.response_class = Google::Apis::LoggingV2::ListLogsResponse
|
6129
|
+
command.params['parent'] = parent unless parent.nil?
|
6130
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6131
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6132
|
+
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
6133
|
+
command.query['fields'] = fields unless fields.nil?
|
6134
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6135
|
+
execute_or_queue_command(command, &block)
|
6136
|
+
end
|
6137
|
+
|
5922
6138
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
5923
6139
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
5924
6140
|
# server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
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.28.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: 2022-04-
|
11
|
+
date: 2022-04-18 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.28.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: []
|