google-apis-dlp_v2 0.69.0 → 0.70.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: 456235150646e8158cc09d3cb0d30cd1bac1ec0f1792bfb7b5a2e536f5417a25
4
- data.tar.gz: b1498ab12ec7be5699b6e39de6771e4918ecf7b6ec4a3b629eba2860be4e19db
3
+ metadata.gz: 70425493c8cbf114ac741ef2705f5b2eeca185ad6826fdb76d944e780a2a6dff
4
+ data.tar.gz: de38fa6c6a7da9e1395f635a9dc7180bab5c642f47f821eec546249e175a0011
5
5
  SHA512:
6
- metadata.gz: 7b2179fb581c8ff886a5ab63d33c71ec7c12fd2682931756f5c0da211350efb9e71f95234e60a026401a7e34627539febddcb633ea24cb6e76e25f32c0884cba
7
- data.tar.gz: 14647f7e8896e4aa37ca0e429974ecfe588443cdf2f69d40e66e1b6608f06659801bc1921f1dd60dfe54fc09dbc78289008640dc20aecfa6a1ddb9d9c800a36a
6
+ metadata.gz: 04dedf17a029127f1693f7134c419a5eb0606f9a82cda03e8445fbb4a71f61cb8e3bc947af6c1778d91ef62f9e242dc4f3f3c0163130a7dfd826893de1d38d6f
7
+ data.tar.gz: ec73dabe3310c6e8d0f2f9849bd42d67b1560c45c71ca4a3b7e7abc5c213dd0ee98a17d5e6ec1b1a3662941d9766417a12090829be5bf556cae0c18a40ee3c21
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.70.0 (2024-08-04)
4
+
5
+ * Regenerated from discovery document revision 20240721
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.69.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240707
@@ -3732,6 +3732,12 @@ module Google
3732
3732
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence]
3733
3733
  attr_accessor :inspect_template_modified_cadence
3734
3734
 
3735
+ # Frequency to update profiles regardless of whether the underlying resource has
3736
+ # changed. Defaults to never.
3737
+ # Corresponds to the JSON property `refreshFrequency`
3738
+ # @return [String]
3739
+ attr_accessor :refresh_frequency
3740
+
3735
3741
  # The cadence at which to update data profiles when a schema is modified.
3736
3742
  # Corresponds to the JSON property `schemaModifiedCadence`
3737
3743
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence]
@@ -3749,6 +3755,7 @@ module Google
3749
3755
  # Update properties of this object
3750
3756
  def update!(**args)
3751
3757
  @inspect_template_modified_cadence = args[:inspect_template_modified_cadence] if args.key?(:inspect_template_modified_cadence)
3758
+ @refresh_frequency = args[:refresh_frequency] if args.key?(:refresh_frequency)
3752
3759
  @schema_modified_cadence = args[:schema_modified_cadence] if args.key?(:schema_modified_cadence)
3753
3760
  @table_modified_cadence = args[:table_modified_cadence] if args.key?(:table_modified_cadence)
3754
3761
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DlpV2
18
18
  # Version of the google-apis-dlp_v2 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.70.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.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240707"
25
+ REVISION = "20240721"
26
26
  end
27
27
  end
28
28
  end
@@ -2862,6 +2862,7 @@ module Google
2862
2862
  class Representation < Google::Apis::Core::JsonRepresentation
2863
2863
  property :inspect_template_modified_cadence, as: 'inspectTemplateModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence::Representation
2864
2864
 
2865
+ property :refresh_frequency, as: 'refreshFrequency'
2865
2866
  property :schema_modified_cadence, as: 'schemaModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence::Representation
2866
2867
 
2867
2868
  property :table_modified_cadence, as: 'tableModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence::Representation
@@ -757,6 +757,49 @@ module Google
757
757
  execute_or_queue_command(command, &block)
758
758
  end
759
759
 
760
+ # Lists Connections in a parent. Use SearchConnections to see all connections
761
+ # within an organization.
762
+ # @param [String] parent
763
+ # Required. Resource name of the organization or project, for example `
764
+ # organizations/433245324/locations/europe` or `projects/project-id/locations/
765
+ # asia`.
766
+ # @param [String] filter
767
+ # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
768
+ # @param [Fixnum] page_size
769
+ # Optional. Number of results per page, max 1000.
770
+ # @param [String] page_token
771
+ # Optional. Page token from a previous page to return the next set of results.
772
+ # If set, all other request fields must match the original request.
773
+ # @param [String] fields
774
+ # Selector specifying which fields to include in a partial response.
775
+ # @param [String] quota_user
776
+ # Available to use for quota purposes for server-side applications. Can be any
777
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
778
+ # @param [Google::Apis::RequestOptions] options
779
+ # Request-specific options
780
+ #
781
+ # @yield [result, err] Result & error if block supplied
782
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse] parsed result object
783
+ # @yieldparam err [StandardError] error object if request failed
784
+ #
785
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse]
786
+ #
787
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
788
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
789
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
790
+ def list_organization_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
791
+ command = make_simple_command(:get, 'v2/{+parent}/connections', options)
792
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse::Representation
793
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse
794
+ command.params['parent'] = parent unless parent.nil?
795
+ command.query['filter'] = filter unless filter.nil?
796
+ command.query['pageSize'] = page_size unless page_size.nil?
797
+ command.query['pageToken'] = page_token unless page_token.nil?
798
+ command.query['fields'] = fields unless fields.nil?
799
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
800
+ execute_or_queue_command(command, &block)
801
+ end
802
+
760
803
  # Update a Connection.
761
804
  # @param [String] name
762
805
  # Required. Resource name in the format: `projects/`project`/locations/`location`
@@ -793,8 +836,9 @@ module Google
793
836
 
794
837
  # Searches for Connections in a parent.
795
838
  # @param [String] parent
796
- # Required. Parent name, typically an organization, without location. For
797
- # example: `organizations/12345678`.
839
+ # Required. Resource name of the organization or project with a wildcard
840
+ # location, for example `organizations/433245324/locations/-` or `projects/
841
+ # project-id/locations/-`.
798
842
  # @param [String] filter
799
843
  # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
800
844
  # @param [Fixnum] page_size
@@ -3778,9 +3822,12 @@ module Google
3778
3822
  execute_or_queue_command(command, &block)
3779
3823
  end
3780
3824
 
3781
- # Lists Connections in a parent.
3825
+ # Lists Connections in a parent. Use SearchConnections to see all connections
3826
+ # within an organization.
3782
3827
  # @param [String] parent
3783
- # Required. Parent name, for example: `projects/project-id/locations/global`.
3828
+ # Required. Resource name of the organization or project, for example `
3829
+ # organizations/433245324/locations/europe` or `projects/project-id/locations/
3830
+ # asia`.
3784
3831
  # @param [String] filter
3785
3832
  # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
3786
3833
  # @param [Fixnum] page_size
@@ -3854,8 +3901,9 @@ module Google
3854
3901
 
3855
3902
  # Searches for Connections in a parent.
3856
3903
  # @param [String] parent
3857
- # Required. Parent name, typically an organization, without location. For
3858
- # example: `organizations/12345678`.
3904
+ # Required. Resource name of the organization or project with a wildcard
3905
+ # location, for example `organizations/433245324/locations/-` or `projects/
3906
+ # project-id/locations/-`.
3859
3907
  # @param [String] filter
3860
3908
  # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3861
3909
  # @param [Fixnum] page_size
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-04 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-dlp_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
63
63
  post_install_message:
64
64
  rdoc_options: []