google-apis-policyanalyzer_v1 0.14.0 → 0.15.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: 9307de1f44971b84e963c7003f873496b959c6d8e57e1fef850126326204b498
4
- data.tar.gz: cea3fae962052570c2f78039dd6cad074dc568d775fccfc94ca029b28c775e48
3
+ metadata.gz: 8ed3cbbea12e6f13459815a88b0875c81d8fd79ab79e1a4073be0ee8e18672f8
4
+ data.tar.gz: 10de9ba63df1dc0983b321805b15275ec1e51817f98c5f3ff5116a722d0a6e1c
5
5
  SHA512:
6
- metadata.gz: d953a63295923f38a48ade2863565475b682ab16f09132ccc31eb196ce3a4e71faafa91442bf69fde9bb8119d66ed67025815fb1167554babdc8e6f4c306be2e
7
- data.tar.gz: 5535362a924a89a3eb5cbbe6246e0d63d8c0275e1d524922cda5102a4d0dbabbbac17154b22c7d2236e1adcb637712daa2060d5024a64b359f8897a37634ae41
6
+ metadata.gz: a5f92e3a15260573aff707a1c30279809888aa9974d64d597b508bd0bf8baa0b9e30a3ceaf80c119d781e212f41491c6281b0102d0976326d661b9d08c552271
7
+ data.tar.gz: c761a15750ed7c21ad5a301f3b5e57cb05bc2b6880907ac2a62b17ed214e3794be7eadb47b027c574d123f8150383590848f52c9a9dcd859c51f9403434bbd80
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-policyanalyzer_v1
2
2
 
3
+ ### v0.15.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240602
6
+
3
7
  ### v0.14.0 (2024-05-19)
4
8
 
5
9
  * Regenerated using generator version 0.15.0
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module PolicyanalyzerV1
24
24
 
25
- #
25
+ # Represents Activity on a GCP resource over specific observation period.
26
26
  class GoogleCloudPolicyanalyzerV1Activity
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PolicyanalyzerV1
18
18
  # Version of the google-apis-policyanalyzer_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.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 = "20210910"
25
+ REVISION = "20240602"
26
26
  end
27
27
  end
28
28
  end
@@ -51,6 +51,114 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Queries policy activities on Google Cloud 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 Google Cloud Locations:
59
+ # https://cloud.google.com/about/locations/
60
+ # @param [String] filter
61
+ # Optional. Filter expression to restrict the activities returned. For
62
+ # serviceAccountLastAuthentication activities, supported filters are: - `
63
+ # activities.full_resource_name `=` [STRING]` - `activities.fullResourceName `=`
64
+ # [STRING]` where `[STRING]` is the full resource name of the service account.
65
+ # For serviceAccountKeyLastAuthentication activities, supported filters are: - `
66
+ # activities.full_resource_name `=` [STRING]` - `activities.fullResourceName `=`
67
+ # [STRING]` where `[STRING]` is the full resource name of the service account
68
+ # key.
69
+ # @param [Fixnum] page_size
70
+ # Optional. The maximum number of results to return from this request. Max limit
71
+ # is 1000. Non-positive values are ignored. The presence of `nextPageToken` in
72
+ # the response indicates that more results might be available.
73
+ # @param [String] page_token
74
+ # Optional. If present, then retrieve the next batch of results from the
75
+ # preceding call to this method. `pageToken` must be the value of `nextPageToken`
76
+ # from the previous response. The values of other method parameters should be
77
+ # identical to those in the previous call.
78
+ # @param [String] fields
79
+ # Selector specifying which fields to include in a partial response.
80
+ # @param [String] quota_user
81
+ # Available to use for quota purposes for server-side applications. Can be any
82
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
83
+ # @param [Google::Apis::RequestOptions] options
84
+ # Request-specific options
85
+ #
86
+ # @yield [result, err] Result & error if block supplied
87
+ # @yieldparam result [Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse] parsed result object
88
+ # @yieldparam err [StandardError] error object if request failed
89
+ #
90
+ # @return [Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse]
91
+ #
92
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
93
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
94
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
95
+ def query_folder_location_activity_type_activity(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
96
+ command = make_simple_command(:get, 'v1/{+parent}/activities:query', options)
97
+ command.response_representation = Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse::Representation
98
+ command.response_class = Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse
99
+ command.params['parent'] = parent unless parent.nil?
100
+ command.query['filter'] = filter unless filter.nil?
101
+ command.query['pageSize'] = page_size unless page_size.nil?
102
+ command.query['pageToken'] = page_token unless page_token.nil?
103
+ command.query['fields'] = fields unless fields.nil?
104
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
105
+ execute_or_queue_command(command, &block)
106
+ end
107
+
108
+ # Queries policy activities on Google Cloud resources.
109
+ # @param [String] parent
110
+ # Required. The container resource on which to execute the request. Acceptable
111
+ # formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/
112
+ # activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud Locations:
113
+ # https://cloud.google.com/about/locations/
114
+ # @param [String] filter
115
+ # Optional. Filter expression to restrict the activities returned. For
116
+ # serviceAccountLastAuthentication activities, supported filters are: - `
117
+ # activities.full_resource_name `=` [STRING]` - `activities.fullResourceName `=`
118
+ # [STRING]` where `[STRING]` is the full resource name of the service account.
119
+ # For serviceAccountKeyLastAuthentication activities, supported filters are: - `
120
+ # activities.full_resource_name `=` [STRING]` - `activities.fullResourceName `=`
121
+ # [STRING]` where `[STRING]` is the full resource name of the service account
122
+ # key.
123
+ # @param [Fixnum] page_size
124
+ # Optional. The maximum number of results to return from this request. Max limit
125
+ # is 1000. Non-positive values are ignored. The presence of `nextPageToken` in
126
+ # the response indicates that more results might be available.
127
+ # @param [String] page_token
128
+ # Optional. If present, then retrieve the next batch of results from the
129
+ # preceding call to this method. `pageToken` must be the value of `nextPageToken`
130
+ # from the previous response. The values of other method parameters should be
131
+ # identical to those in the previous call.
132
+ # @param [String] fields
133
+ # Selector specifying which fields to include in a partial response.
134
+ # @param [String] quota_user
135
+ # Available to use for quota purposes for server-side applications. Can be any
136
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
137
+ # @param [Google::Apis::RequestOptions] options
138
+ # Request-specific options
139
+ #
140
+ # @yield [result, err] Result & error if block supplied
141
+ # @yieldparam result [Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse] parsed result object
142
+ # @yieldparam err [StandardError] error object if request failed
143
+ #
144
+ # @return [Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse]
145
+ #
146
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
147
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
149
+ def query_organization_location_activity_type_activity(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
150
+ command = make_simple_command(:get, 'v1/{+parent}/activities:query', options)
151
+ command.response_representation = Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse::Representation
152
+ command.response_class = Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1QueryActivityResponse
153
+ command.params['parent'] = parent unless parent.nil?
154
+ command.query['filter'] = filter unless filter.nil?
155
+ command.query['pageSize'] = page_size unless page_size.nil?
156
+ command.query['pageToken'] = page_token unless page_token.nil?
157
+ command.query['fields'] = fields unless fields.nil?
158
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
159
+ execute_or_queue_command(command, &block)
160
+ end
161
+
54
162
  # Queries policy activities on Google Cloud resources.
55
163
  # @param [String] parent
56
164
  # 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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-09 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policyanalyzer_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policyanalyzer_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policyanalyzer_v1
63
63
  post_install_message:
64
64
  rdoc_options: []