google-cloud-security_center-v1 0.25.0 → 0.26.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.
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/security_center/v1/version"
24
+
25
+ require "google/cloud/security_center/v1/security_center/credentials"
26
+ require "google/cloud/security_center/v1/security_center/paths"
27
+ require "google/cloud/security_center/v1/security_center/rest/operations"
28
+ require "google/cloud/security_center/v1/security_center/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module SecurityCenter
33
+ module V1
34
+ ##
35
+ # V1 APIs for Security Center service.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/cloud/security_center/v1/security_center/rest"
40
+ # client = ::Google::Cloud::SecurityCenter::V1::SecurityCenter::Rest::Client.new
41
+ #
42
+ module SecurityCenter
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
53
+ require "google/cloud/security_center/v1/security_center/rest/helpers" if ::File.file? helper_path
@@ -26,6 +26,7 @@ require "google/cloud/security_center/v1/security_center/credentials"
26
26
  require "google/cloud/security_center/v1/security_center/paths"
27
27
  require "google/cloud/security_center/v1/security_center/operations"
28
28
  require "google/cloud/security_center/v1/security_center/client"
29
+ require "google/cloud/security_center/v1/security_center/rest"
29
30
 
30
31
  module Google
31
32
  module Cloud
@@ -34,11 +35,16 @@ module Google
34
35
  ##
35
36
  # V1 APIs for Security Center service.
36
37
  #
37
- # To load this service and instantiate a client:
38
+ # @example Load this service and instantiate a gRPC client
38
39
  #
39
40
  # require "google/cloud/security_center/v1/security_center"
40
41
  # client = ::Google::Cloud::SecurityCenter::V1::SecurityCenter::Client.new
41
42
  #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/security_center/v1/security_center/rest"
46
+ # client = ::Google::Cloud::SecurityCenter::V1::SecurityCenter::Rest::Client.new
47
+ #
42
48
  module SecurityCenter
43
49
  end
44
50
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
23
  module V1
24
- VERSION = "0.25.0"
24
+ VERSION = "0.26.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,13 +23,18 @@ module Google
23
23
  module Cloud
24
24
  module SecurityCenter
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
26
+ # API client module.
27
27
  #
28
- # @example
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
29
  #
30
30
  # require "google/cloud/security_center/v1"
31
31
  # client = ::Google::Cloud::SecurityCenter::V1::SecurityCenter::Client.new
32
32
  #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/security_center/v1"
36
+ # client = ::Google::Cloud::SecurityCenter::V1::SecurityCenter::Rest::Client.new
37
+ #
33
38
  module V1
34
39
  end
35
40
  end
@@ -228,8 +228,8 @@ module Google
228
228
  # @!attribute [rw] parent
229
229
  # @return [::String]
230
230
  # Required. The name of the parent to group the assets by. Its format is
231
- # "organizations/[organization_id], folders/[folder_id], or
232
- # projects/[project_id]".
231
+ # "organizations/[organization_id]", "folders/[folder_id]", or
232
+ # "projects/[project_id]".
233
233
  # @!attribute [rw] filter
234
234
  # @return [::String]
235
235
  # Expression that defines the filter to apply across assets.
@@ -643,8 +643,8 @@ module Google
643
643
  # @!attribute [rw] parent
644
644
  # @return [::String]
645
645
  # Required. Resource name of the parent of sources to list. Its format should
646
- # be "organizations/[organization_id], folders/[folder_id], or
647
- # projects/[project_id]".
646
+ # be "organizations/[organization_id]", "folders/[folder_id]", or
647
+ # "projects/[project_id]".
648
648
  # @!attribute [rw] page_token
649
649
  # @return [::String]
650
650
  # The value returned by the last `ListSourcesResponse`; indicates
@@ -675,9 +675,11 @@ module Google
675
675
  # Request message for listing assets.
676
676
  # @!attribute [rw] parent
677
677
  # @return [::String]
678
- # Required. The name of the parent that the listed assets belong to. Its
679
- # format is "organizations/[organization_id], folders/[folder_id], or
680
- # projects/[project_id]".
678
+ # Required. The name of the parent resource that contains the assets. The
679
+ # value that you can specify on parent depends on the method in which you
680
+ # specify parent. You can specify one of the following values:
681
+ # "organizations/[organization_id]", "folders/[folder_id]", or
682
+ # "projects/[project_id]".
681
683
  # @!attribute [rw] filter
682
684
  # @return [::String]
683
685
  # Expression that defines the filter to apply across assets.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.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-12-14 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: 0.18.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.12'
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.26.1
67
+ version: 1.26.3
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.26.1
74
+ version: 1.26.3
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -185,11 +185,16 @@ files:
185
185
  - README.md
186
186
  - lib/google-cloud-security_center-v1.rb
187
187
  - lib/google/cloud/security_center/v1.rb
188
+ - lib/google/cloud/security_center/v1/rest.rb
188
189
  - lib/google/cloud/security_center/v1/security_center.rb
189
190
  - lib/google/cloud/security_center/v1/security_center/client.rb
190
191
  - lib/google/cloud/security_center/v1/security_center/credentials.rb
191
192
  - lib/google/cloud/security_center/v1/security_center/operations.rb
192
193
  - lib/google/cloud/security_center/v1/security_center/paths.rb
194
+ - lib/google/cloud/security_center/v1/security_center/rest.rb
195
+ - lib/google/cloud/security_center/v1/security_center/rest/client.rb
196
+ - lib/google/cloud/security_center/v1/security_center/rest/operations.rb
197
+ - lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb
193
198
  - lib/google/cloud/security_center/v1/version.rb
194
199
  - lib/google/cloud/securitycenter/v1/access_pb.rb
195
200
  - lib/google/cloud/securitycenter/v1/asset_pb.rb
@@ -288,8 +293,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
293
  - !ruby/object:Gem::Version
289
294
  version: '0'
290
295
  requirements: []
291
- rubygems_version: 3.3.14
296
+ rubygems_version: 3.4.2
292
297
  signing_key:
293
298
  specification_version: 4
294
- summary: API Client library for the Cloud Security Command Center V1 API
299
+ summary: Security Command Center API provides access to temporal views of assets and
300
+ findings within an organization.
295
301
  test_files: []