google-apis-logging_v2 0.26.0 → 0.29.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 892e81f5fcc177d49fbc2e3f7ce1d030054574893d2bd3233bac84fa2db59897
|
4
|
+
data.tar.gz: 86955da5f9e215a3677cb24740fdc5395879b9c15021d505665e598e2e904c72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 616fadc54bd3cd95a6d28419b210e24e4d6da2e56c4721cd31bf3c69fa572b39988944ec17c74d5fc06612320796b92080efe1c8349d8dd90ff141d3d7e0eaab
|
7
|
+
data.tar.gz: ad45e74411e6cdad0ea876c6ba8edbf44356e6e114f44ba706953ea08e520334a1c36fa663721bae6e390388ee2e5f09705ba18b8c2a0ed7f8383c39406d4675
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.29.0 (2022-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220414
|
6
|
+
|
7
|
+
### v0.28.0 (2022-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220408
|
10
|
+
|
11
|
+
### v0.27.0 (2022-04-09)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220401
|
14
|
+
|
3
15
|
### v0.26.0 (2022-03-26)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220318
|
@@ -502,6 +502,41 @@ module Google
|
|
502
502
|
end
|
503
503
|
end
|
504
504
|
|
505
|
+
# Configuration for an indexed field.
|
506
|
+
class IndexConfig
|
507
|
+
include Google::Apis::Core::Hashable
|
508
|
+
|
509
|
+
# Output only. The timestamp when the index was last modified.This is used to
|
510
|
+
# return the timestamp, and will be ignored if supplied during update.
|
511
|
+
# Corresponds to the JSON property `createTime`
|
512
|
+
# @return [String]
|
513
|
+
attr_accessor :create_time
|
514
|
+
|
515
|
+
# Required. The LogEntry field path to index.Note that some paths are
|
516
|
+
# automatically indexed, and other paths are not eligible for indexing. See
|
517
|
+
# indexing documentation( https://cloud.google.com/logging/docs/view/advanced-
|
518
|
+
# queries#indexed-fields) for details.For example: jsonPayload.request.status
|
519
|
+
# Corresponds to the JSON property `fieldPath`
|
520
|
+
# @return [String]
|
521
|
+
attr_accessor :field_path
|
522
|
+
|
523
|
+
# Required. The type of data in this index.
|
524
|
+
# Corresponds to the JSON property `type`
|
525
|
+
# @return [String]
|
526
|
+
attr_accessor :type
|
527
|
+
|
528
|
+
def initialize(**args)
|
529
|
+
update!(**args)
|
530
|
+
end
|
531
|
+
|
532
|
+
# Update properties of this object
|
533
|
+
def update!(**args)
|
534
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
535
|
+
@field_path = args[:field_path] if args.key?(:field_path)
|
536
|
+
@type = args[:type] if args.key?(:type)
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
505
540
|
# A description of a label.
|
506
541
|
class LabelDescriptor
|
507
542
|
include Google::Apis::Core::Hashable
|
@@ -990,6 +1025,11 @@ module Google
|
|
990
1025
|
# @return [String]
|
991
1026
|
attr_accessor :description
|
992
1027
|
|
1028
|
+
# A list of indexed fields and related configuration data.
|
1029
|
+
# Corresponds to the JSON property `indexConfigs`
|
1030
|
+
# @return [Array<Google::Apis::LoggingV2::IndexConfig>]
|
1031
|
+
attr_accessor :index_configs
|
1032
|
+
|
993
1033
|
# Output only. The bucket lifecycle state.
|
994
1034
|
# Corresponds to the JSON property `lifecycleState`
|
995
1035
|
# @return [String]
|
@@ -1042,6 +1082,7 @@ module Google
|
|
1042
1082
|
@cmek_settings = args[:cmek_settings] if args.key?(:cmek_settings)
|
1043
1083
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1044
1084
|
@description = args[:description] if args.key?(:description)
|
1085
|
+
@index_configs = args[:index_configs] if args.key?(:index_configs)
|
1045
1086
|
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
1046
1087
|
@locked = args[:locked] if args.key?(:locked)
|
1047
1088
|
@name = args[:name] if args.key?(:name)
|
@@ -2727,11 +2768,12 @@ module Google
|
|
2727
2768
|
# @return [String]
|
2728
2769
|
attr_accessor :log_name
|
2729
2770
|
|
2730
|
-
# Optional. Whether valid entries should be written even if some other
|
2731
|
-
#
|
2732
|
-
#
|
2733
|
-
#
|
2734
|
-
# zero-based index in the entries.
|
2771
|
+
# Optional. Whether a batch's valid entries should be written even if some other
|
2772
|
+
# entry failed due to a permanent error such as INVALID_ARGUMENT or
|
2773
|
+
# PERMISSION_DENIED. If any entry failed, then the response status is the
|
2774
|
+
# response status is the status of one of the failed entries. The response will
|
2775
|
+
# include error details keyed by the entries' zero-based index in the entries.
|
2776
|
+
# write method.
|
2735
2777
|
# Corresponds to the JSON property `partialSuccess`
|
2736
2778
|
# @return [Boolean]
|
2737
2779
|
attr_accessor :partial_success
|
@@ -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.29.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 = "20220414"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class IndexConfig
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class LabelDescriptor
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -443,6 +449,15 @@ module Google
|
|
443
449
|
end
|
444
450
|
end
|
445
451
|
|
452
|
+
class IndexConfig
|
453
|
+
# @private
|
454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
455
|
+
property :create_time, as: 'createTime'
|
456
|
+
property :field_path, as: 'fieldPath'
|
457
|
+
property :type, as: 'type'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
446
461
|
class LabelDescriptor
|
447
462
|
# @private
|
448
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -580,6 +595,8 @@ module Google
|
|
580
595
|
|
581
596
|
property :create_time, as: 'createTime'
|
582
597
|
property :description, as: 'description'
|
598
|
+
collection :index_configs, as: 'indexConfigs', class: Google::Apis::LoggingV2::IndexConfig, decorator: Google::Apis::LoggingV2::IndexConfig::Representation
|
599
|
+
|
583
600
|
property :lifecycle_state, as: 'lifecycleState'
|
584
601
|
property :locked, as: 'locked'
|
585
602
|
property :name, as: 'name'
|
@@ -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.29.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-
|
11
|
+
date: 2022-04-25 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.29.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: []
|