google-apis-cloudidentity_v1 0.56.0 → 0.58.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: cb6d6f3f62cd981f0b33a99ccdf6c8979282e41dff0cab1567b03f4b6ed5aff5
4
- data.tar.gz: a1a40e14dddca85dacd6351dd1b70b8c08bfc79a6cb7cf159fc15ea981403578
3
+ metadata.gz: 5066deab854773b2bde7acc0fad82eed271e8eaf8819a63074e3a22ed1b67384
4
+ data.tar.gz: c9af8089237fefed85a6030cde9a1dc948fe38de4ecdc3628b7c9e9eeb857f6c
5
5
  SHA512:
6
- metadata.gz: 7db12dea8c81dcc44442246f52b89b418150e43427fc927999cb0d8fc3bfccd625192a3f7d245e906d2534bf00767e1ca10fbf6fe09f59d460f9ec777c305f64
7
- data.tar.gz: 8209ff5cda585b912ed7bf6d423dd1362818948c66233f40e651562e8fc9f105fe87d649d18479ac624c2f86ab7729f05a9fff618ba1a5aa24e9c57e4f9a79f0
6
+ metadata.gz: 0b3005dff4e51cd11d4a2f092aea0d5261e0a15a2afec5735de296771e939d6653ebec3f65631be62b73adcdf6d45d63a7753b37e9911c704259b401db591bee
7
+ data.tar.gz: f146770a6086d7e5088ff5672db72082e4f6a169865dc7c59a0728b251568239b357dde3eceff3b2020edb33f318f4ffcb8c59116c3daa4ad321ae22917be5f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudidentity_v1
2
2
 
3
+ ### v0.58.0 (2026-05-24)
4
+
5
+ * Regenerated from discovery document revision 20260520
6
+
7
+ ### v0.57.0 (2026-05-17)
8
+
9
+ * Regenerated from discovery document revision 20260513
10
+
3
11
  ### v0.56.0 (2026-01-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20260113
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudidentityV1
18
18
  # Version of the google-apis-cloudidentity_v1 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260113"
25
+ REVISION = "20260520"
26
26
  end
27
27
  end
28
28
  end
@@ -2569,6 +2569,66 @@ module Google
2569
2569
  execute_or_queue_command(command, &block)
2570
2570
  end
2571
2571
 
2572
+ # Create a policy.
2573
+ # @param [Google::Apis::CloudidentityV1::Policy] policy_object
2574
+ # @param [String] fields
2575
+ # Selector specifying which fields to include in a partial response.
2576
+ # @param [String] quota_user
2577
+ # Available to use for quota purposes for server-side applications. Can be any
2578
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2579
+ # @param [Google::Apis::RequestOptions] options
2580
+ # Request-specific options
2581
+ #
2582
+ # @yield [result, err] Result & error if block supplied
2583
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2584
+ # @yieldparam err [StandardError] error object if request failed
2585
+ #
2586
+ # @return [Google::Apis::CloudidentityV1::Operation]
2587
+ #
2588
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2589
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2590
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2591
+ def create_policy(policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2592
+ command = make_simple_command(:post, 'v1/policies', options)
2593
+ command.request_representation = Google::Apis::CloudidentityV1::Policy::Representation
2594
+ command.request_object = policy_object
2595
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2596
+ command.response_class = Google::Apis::CloudidentityV1::Operation
2597
+ command.query['fields'] = fields unless fields.nil?
2598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2599
+ execute_or_queue_command(command, &block)
2600
+ end
2601
+
2602
+ # Delete a policy.
2603
+ # @param [String] name
2604
+ # Required. The name of the policy to delete. Format: `policies/`policy``.
2605
+ # @param [String] fields
2606
+ # Selector specifying which fields to include in a partial response.
2607
+ # @param [String] quota_user
2608
+ # Available to use for quota purposes for server-side applications. Can be any
2609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2610
+ # @param [Google::Apis::RequestOptions] options
2611
+ # Request-specific options
2612
+ #
2613
+ # @yield [result, err] Result & error if block supplied
2614
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2615
+ # @yieldparam err [StandardError] error object if request failed
2616
+ #
2617
+ # @return [Google::Apis::CloudidentityV1::Operation]
2618
+ #
2619
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2620
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2621
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2622
+ def delete_policy(name, fields: nil, quota_user: nil, options: nil, &block)
2623
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2624
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2625
+ command.response_class = Google::Apis::CloudidentityV1::Operation
2626
+ command.params['name'] = name unless name.nil?
2627
+ command.query['fields'] = fields unless fields.nil?
2628
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2629
+ execute_or_queue_command(command, &block)
2630
+ end
2631
+
2572
2632
  # Get a policy.
2573
2633
  # @param [String] name
2574
2634
  # Required. The name of the policy to retrieve. Format: `policies/`policy``.
@@ -2604,15 +2664,17 @@ module Google
2604
2664
  # Optional. A CEL expression for filtering the results. Policies can be filtered
2605
2665
  # by application with this expression: setting.type.matches('^settings/gmail\\..*
2606
2666
  # $') Policies can be filtered by setting type with this expression: setting.
2607
- # type.matches('^.*\\.service_status$') A maximum of one of the above setting.
2608
- # type clauses can be used. Policies can be filtered by customer with this
2609
- # expression: customer == "customers/`customer`" Where `customer` is the `id`
2610
- # from the [Admin SDK `Customer` resource](https://developers.google.com/admin-
2611
- # sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer`
2612
- # to specify your own organization. When no customer is mentioned it will be
2613
- # default to customers/my_customer. A maximum of one customer clause can be used.
2614
- # The above clauses can only be combined together in a single filter expression
2615
- # with the `&&` operator.
2667
+ # type.matches('^.*\\.service_status$') Policies can be filtered by customer
2668
+ # with this expression: customer == "customers/`customer`" Where `customer` is
2669
+ # the `id` from the [Admin SDK `Customer` resource](https://developers.google.
2670
+ # com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/
2671
+ # my_customer` to specify your own organization. When no customer is mentioned
2672
+ # it will be default to customers/my_customer. You may only filter on policies
2673
+ # for a single customer at a time. The above clauses can be combined together in
2674
+ # a single filter expression with the `&&` and `||` operators, like in the
2675
+ # following example: customer == "customers/my_customer" && ( setting.type.
2676
+ # matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$
2677
+ # ') )
2616
2678
  # @param [Fixnum] page_size
2617
2679
  # Optional. The maximum number of results to return. The service can return
2618
2680
  # fewer than this number. If omitted or set to 0, the default is 50 results per
@@ -2651,6 +2713,40 @@ module Google
2651
2713
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2652
2714
  execute_or_queue_command(command, &block)
2653
2715
  end
2716
+
2717
+ # Update a policy.
2718
+ # @param [String] name
2719
+ # Output only. Identifier. The [resource name](https://cloud.google.com/apis/
2720
+ # design/resource_names) of the Policy. Format: policies/`policy`.
2721
+ # @param [Google::Apis::CloudidentityV1::Policy] policy_object
2722
+ # @param [String] fields
2723
+ # Selector specifying which fields to include in a partial response.
2724
+ # @param [String] quota_user
2725
+ # Available to use for quota purposes for server-side applications. Can be any
2726
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2727
+ # @param [Google::Apis::RequestOptions] options
2728
+ # Request-specific options
2729
+ #
2730
+ # @yield [result, err] Result & error if block supplied
2731
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2732
+ # @yieldparam err [StandardError] error object if request failed
2733
+ #
2734
+ # @return [Google::Apis::CloudidentityV1::Operation]
2735
+ #
2736
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2737
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2738
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2739
+ def patch_policy(name, policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2740
+ command = make_simple_command(:patch, 'v1/{+name}', options)
2741
+ command.request_representation = Google::Apis::CloudidentityV1::Policy::Representation
2742
+ command.request_object = policy_object
2743
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2744
+ command.response_class = Google::Apis::CloudidentityV1::Operation
2745
+ command.params['name'] = name unless name.nil?
2746
+ command.query['fields'] = fields unless fields.nil?
2747
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2748
+ execute_or_queue_command(command, &block)
2749
+ end
2654
2750
 
2655
2751
  protected
2656
2752
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.58.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1
62
62
  rdoc_options: []
63
63
  require_paths: