google-apis-policyanalyzer_v1beta1 0.12.0 → 0.13.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: 87a1c6d15d313d2262be97ef69525bea5caca964c6a718161b2be8e18fb8f5b8
|
4
|
+
data.tar.gz: 708f78b5d54ea78138b29b68dd6c31e9e4413c659e36061280d8059d4a8198e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b989d659857132355f8e2432b470e0d6db2674e154cf1eb12809fc4df3c35119dbd935ee6d9e6b0a60471e9b6179b371ad0a2c065f4f8c45f65a7a4b50c4193e
|
7
|
+
data.tar.gz: c4e410b39b0fe59c45a0559abc549b202916ee65813b9a53c2cc25fb0c7a3ff9859370d1c63d5e06dfbefad4120e2c2cf4c7fcf730351497e780d89b9a9255de
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicyanalyzerV1beta1
|
18
18
|
# Version of the google-apis-policyanalyzer_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240602"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -51,6 +51,104 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
+
# Queries policy activities on GCP resources.
|
55
|
+
# @param [String] parent
|
56
|
+
# Required. The container resource on which to execute the request. Acceptable
|
57
|
+
# formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/
|
58
|
+
# activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to GCP Locations: https://
|
59
|
+
# cloud.google.com/about/locations/
|
60
|
+
# @param [String] filter
|
61
|
+
# Optional. Optional filter expression to restrict the activities returned.
|
62
|
+
# Supported filters are: - service_account_last_authn.full_resource_name `=` -
|
63
|
+
# service_account_key_last_authn.full_resource_name `=`
|
64
|
+
# @param [Fixnum] page_size
|
65
|
+
# Optional. The maximum number of results to return from this request. Max limit
|
66
|
+
# is 1000. Non-positive values are ignored. The presence of `nextPageToken` in
|
67
|
+
# the response indicates that more results might be available.
|
68
|
+
# @param [String] page_token
|
69
|
+
# Optional. If present, then retrieve the next batch of results from the
|
70
|
+
# preceding call to this method. `pageToken` must be the value of `nextPageToken`
|
71
|
+
# from the previous response. The values of other method parameters should be
|
72
|
+
# identical to those in the previous call.
|
73
|
+
# @param [String] fields
|
74
|
+
# Selector specifying which fields to include in a partial response.
|
75
|
+
# @param [String] quota_user
|
76
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
77
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
78
|
+
# @param [Google::Apis::RequestOptions] options
|
79
|
+
# Request-specific options
|
80
|
+
#
|
81
|
+
# @yield [result, err] Result & error if block supplied
|
82
|
+
# @yieldparam result [Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse] parsed result object
|
83
|
+
# @yieldparam err [StandardError] error object if request failed
|
84
|
+
#
|
85
|
+
# @return [Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse]
|
86
|
+
#
|
87
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
88
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
89
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
90
|
+
def query_folder_location_activity_type_activity(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
91
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/activities:query', options)
|
92
|
+
command.response_representation = Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse::Representation
|
93
|
+
command.response_class = Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse
|
94
|
+
command.params['parent'] = parent unless parent.nil?
|
95
|
+
command.query['filter'] = filter unless filter.nil?
|
96
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
97
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
98
|
+
command.query['fields'] = fields unless fields.nil?
|
99
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
100
|
+
execute_or_queue_command(command, &block)
|
101
|
+
end
|
102
|
+
|
103
|
+
# Queries policy activities on GCP resources.
|
104
|
+
# @param [String] parent
|
105
|
+
# Required. The container resource on which to execute the request. Acceptable
|
106
|
+
# formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/
|
107
|
+
# activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to GCP Locations: https://
|
108
|
+
# cloud.google.com/about/locations/
|
109
|
+
# @param [String] filter
|
110
|
+
# Optional. Optional filter expression to restrict the activities returned.
|
111
|
+
# Supported filters are: - service_account_last_authn.full_resource_name `=` -
|
112
|
+
# service_account_key_last_authn.full_resource_name `=`
|
113
|
+
# @param [Fixnum] page_size
|
114
|
+
# Optional. The maximum number of results to return from this request. Max limit
|
115
|
+
# is 1000. Non-positive values are ignored. The presence of `nextPageToken` in
|
116
|
+
# the response indicates that more results might be available.
|
117
|
+
# @param [String] page_token
|
118
|
+
# Optional. If present, then retrieve the next batch of results from the
|
119
|
+
# preceding call to this method. `pageToken` must be the value of `nextPageToken`
|
120
|
+
# from the previous response. The values of other method parameters should be
|
121
|
+
# identical to those in the previous call.
|
122
|
+
# @param [String] fields
|
123
|
+
# Selector specifying which fields to include in a partial response.
|
124
|
+
# @param [String] quota_user
|
125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
127
|
+
# @param [Google::Apis::RequestOptions] options
|
128
|
+
# Request-specific options
|
129
|
+
#
|
130
|
+
# @yield [result, err] Result & error if block supplied
|
131
|
+
# @yieldparam result [Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse] parsed result object
|
132
|
+
# @yieldparam err [StandardError] error object if request failed
|
133
|
+
#
|
134
|
+
# @return [Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse]
|
135
|
+
#
|
136
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
137
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
138
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
139
|
+
def query_organization_location_activity_type_activity(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
140
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/activities:query', options)
|
141
|
+
command.response_representation = Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse::Representation
|
142
|
+
command.response_class = Google::Apis::PolicyanalyzerV1beta1::GoogleCloudPolicyanalyzerV1beta1QueryActivityResponse
|
143
|
+
command.params['parent'] = parent unless parent.nil?
|
144
|
+
command.query['filter'] = filter unless filter.nil?
|
145
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
146
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
147
|
+
command.query['fields'] = fields unless fields.nil?
|
148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
149
|
+
execute_or_queue_command(command, &block)
|
150
|
+
end
|
151
|
+
|
54
152
|
# Queries policy activities on GCP resources.
|
55
153
|
# @param [String] parent
|
56
154
|
# Required. The container resource on which to execute the request. Acceptable
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policyanalyzer_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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-
|
11
|
+
date: 2024-06-16 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-policyanalyzer_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policyanalyzer_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policyanalyzer_v1beta1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policyanalyzer_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|