google-cloud-security_center 2.0.2 → 2.1.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: f5d07ee74ddb658c8f019539af17eabbd8f978a6cd1d8e07eb20ce71cf0dd760
4
- data.tar.gz: f9d9fd73d17fbfc4b9dad8c1ac757f89fd1eb3fa04a04da8e982365e552874b9
3
+ metadata.gz: 3513179b87e700174c1e170727629b608e66ca965022366f9a5e48a1040623a2
4
+ data.tar.gz: 9c224ae9c862fb52af7792d1ec5d291fd3d4dca2716e6a673919375e0a4376e9
5
5
  SHA512:
6
- metadata.gz: 3bb14e996cbcdfa43503c1fe4988c22670cf68fcffb846b6e108930038bef0672e3218fbbfb7d28931c59d220bd9cc96f731af8440b621fd9ce92a91bfd66e39
7
- data.tar.gz: d06cb295a74be1e8654183967bcbba7ba20d54323f8b884274aa99ca065595ad226aae3e06c6d42a759114c4feac363ecfe58b6fee85139cb5918858d14d186f
6
+ metadata.gz: b6e3b83b2745b243c169dbee051098f92a7d4437904fbc3f973e134c36778770983354f92b4dbce93576dff8947a95eca31ea329fd68522d20af1e0e47eb134e
7
+ data.tar.gz: caf054bd8ebb85e1497a336bf34971bc2704350fa44a688272c12219c6fbf67bc397d849d92d7572a41223d845095332c40ae7cde157f6f5f5cebb2659fe3c0d
data/README.md CHANGED
@@ -35,6 +35,14 @@ In order to use this library, you first need to go through the following steps:
35
35
  1. [Enable the API.](https://console.cloud.google.com/apis/library/securitycenter.googleapis.com)
36
36
  1. {file:AUTHENTICATION.md Set up authentication.}
37
37
 
38
+ ```ruby
39
+ require "google/cloud/security_center"
40
+
41
+ client = Google::Cloud::SecurityCenter.security_center
42
+ request = ::Google::Cloud::SecurityCenter::V2::BatchCreateResourceValueConfigsRequest.new # (request fields as keyword arguments...)
43
+ response = client.batch_create_resource_value_configs request
44
+ ```
45
+
38
46
  ## Debug Logging
39
47
 
40
48
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
- VERSION = "2.0.2"
23
+ VERSION = "2.1.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '3.0'
79
+ version: '3.2'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="