google-apis-policyanalyzer_v1beta1 0.12.0 → 0.14.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: d47adfd07895de0be085908366dc43d1d24895ab6487f000719337c7e379daeb
4
- data.tar.gz: a5fca2b153ee4bf462cff50e914f5b6641c49b7847fb1f829c6033588c060d86
3
+ metadata.gz: 17607b31cec4eeb8dfd9f436d8e011dc48fbde47fde4932c78d61dc4fa31ecb7
4
+ data.tar.gz: cd657ba4897e8b97857332ece307dbbbbe0cccf7c259f4cdb5bedb2a345f85e2
5
5
  SHA512:
6
- metadata.gz: 8337058ba47427ab6db403b1e5f0ec798142c8ea6846b40dd0d7c0e5f140f1e99b271d152abc4d87c293d17cbe7dc5f35be3ae889a12126548a3139acc6a74c4
7
- data.tar.gz: 115f8dfd7dfc14891494ce4ecf9a208ef2fb4abb777ee988d029ae87caa3c2881e6340973601f6a64e5f0b03d76d24f56208d87bc1f838f0431dc186c0f49cf7
6
+ metadata.gz: ddef585368b8c57941f18f2cddcd3bbc566d6acf5edba3ef99e2c1914fc475de86935697cdd8804cf67e8716af572f7a1bfb0bff0f541b38ab6b67eec69e9cc3
7
+ data.tar.gz: 4912cdd6fb0066cf3907e497b53689815db8835a5df29c94f2a22596adf333cc480a7d27e4ceff6511fdb2ae7f6e7f529ca08d2cebaddb915c2e7f05e1423644
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-policyanalyzer_v1beta1
2
2
 
3
+ ### v0.14.0 (2025-05-04)
4
+
5
+ * Regenerated using generator version 0.17.0
6
+
7
+ ### v0.13.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240602
10
+
3
11
  ### v0.12.0 (2024-05-19)
4
12
 
5
13
  * Regenerated using generator version 0.15.0
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://www.google.com) may provide guidance regardi
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module PolicyanalyzerV1beta1
24
24
 
25
- #
25
+ # Represents Activity on a GCP resource over specific observation period.
26
26
  class GoogleCloudPolicyanalyzerV1beta1Activity
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -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.12.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210806"
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,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-policyanalyzer_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.12.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policyanalyzer_v1beta1/v0.14.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policyanalyzer_v1beta1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.7'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.8
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Policy Analyzer API V1beta1
82
79
  test_files: []