google-apis-apigee_v1 0.92.0 → 0.93.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: 3d4f34c9e302443d0a674f590d54497effa85aeb8d9ba31cad80572cdde2097a
4
- data.tar.gz: 87e970f9236003c3f6425838c10e5cfb85afa80c452dfbe22c71210bcd55b638
3
+ metadata.gz: 6c2d84c23d036681eab5ca53498be6d5f5fa58b279403b6a8cc40c4e624cb7db
4
+ data.tar.gz: 12499f91326ccd7a73118ec6b95281934a07b05e20d198d987c071c970da547f
5
5
  SHA512:
6
- metadata.gz: f8bbad85e60258d3954a85af8ab2faa0db671699d502b4f3d5c9544fc7f403c75c30c7fbb22253e83312368748b3c36e8b35a7d81fdfe1bfdc722d129a4dc57c
7
- data.tar.gz: 47f74d335f8a152e159448db00430211791b731bf910427a07f5b3614a61b8cc12cecaf07fe61fe63e93d22752017f172c73f364d223ae08d018fad19fd39277
6
+ metadata.gz: 8ae7fc2ec19b1418a425499a5a9381bf75010c6a9e43c4d9e6eefe77cab64e2bcce25377a8635fda931aaa1e19bd4d016640c1c4e8c97b2052a934294dd267ac
7
+ data.tar.gz: 24016ce9e923aa8702e1ca48b41179239c5b3dbbf7a727358f565645b917119ee51ce7f6fae5a4858723e07d2454985fc1ac2e6b6e25bc088436309b9b2ed275
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.93.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240905
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.92.0 (2024-06-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240617
@@ -9352,6 +9352,16 @@ module Google
9352
9352
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionAllow]
9353
9353
  attr_accessor :allow
9354
9354
 
9355
+ # Optional. If unset, this would apply to all proxies in the environment. If set,
9356
+ # this action is enforced only if at least one proxy in the repeated list is
9357
+ # deployed at the time of enforcement. If set, several restrictions are enforced
9358
+ # on SecurityActions. There can be at most 100 enabled actions with proxies set
9359
+ # in an env. Several other restrictions apply on conditions and are detailed
9360
+ # later.
9361
+ # Corresponds to the JSON property `apiProxies`
9362
+ # @return [Array<String>]
9363
+ attr_accessor :api_proxies
9364
+
9355
9365
  # The following are a list of conditions. A valid SecurityAction must contain at
9356
9366
  # least one condition. Within a condition, each element is ORed. Across
9357
9367
  # conditions elements are ANDed. For example if a SecurityAction has the
@@ -9421,6 +9431,7 @@ module Google
9421
9431
  # Update properties of this object
9422
9432
  def update!(**args)
9423
9433
  @allow = args[:allow] if args.key?(:allow)
9434
+ @api_proxies = args[:api_proxies] if args.key?(:api_proxies)
9424
9435
  @condition_config = args[:condition_config] if args.key?(:condition_config)
9425
9436
  @create_time = args[:create_time] if args.key?(:create_time)
9426
9437
  @deny = args[:deny] if args.key?(:deny)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.92.0"
19
+ GEM_VERSION = "0.93.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 = "20240617"
25
+ REVISION = "20240905"
26
26
  end
27
27
  end
28
28
  end
@@ -4278,6 +4278,7 @@ module Google
4278
4278
  class Representation < Google::Apis::Core::JsonRepresentation
4279
4279
  property :allow, as: 'allow', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionAllow, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionAllow::Representation
4280
4280
 
4281
+ collection :api_proxies, as: 'apiProxies'
4281
4282
  property :condition_config, as: 'conditionConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionConditionConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionConditionConfig::Representation
4282
4283
 
4283
4284
  property :create_time, as: 'createTime'
@@ -6513,6 +6513,85 @@ module Google
6513
6513
  execute_or_queue_command(command, &block)
6514
6514
  end
6515
6515
 
6516
+ # Gets a particular deployment of Api proxy or a shared flow in an environment
6517
+ # @param [String] name
6518
+ # Required. Name of the api proxy or the shared flow deployment. Use the
6519
+ # following structure in your request: `organizations/`org`/environments/`env`/
6520
+ # deployments/`deployment``
6521
+ # @param [String] fields
6522
+ # Selector specifying which fields to include in a partial response.
6523
+ # @param [String] quota_user
6524
+ # Available to use for quota purposes for server-side applications. Can be any
6525
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6526
+ # @param [Google::Apis::RequestOptions] options
6527
+ # Request-specific options
6528
+ #
6529
+ # @yield [result, err] Result & error if block supplied
6530
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment] parsed result object
6531
+ # @yieldparam err [StandardError] error object if request failed
6532
+ #
6533
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment]
6534
+ #
6535
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6536
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6537
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6538
+ def get_organization_environment_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
6539
+ command = make_simple_command(:get, 'v1/{+name}', options)
6540
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation
6541
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment
6542
+ command.params['name'] = name unless name.nil?
6543
+ command.query['fields'] = fields unless fields.nil?
6544
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6545
+ execute_or_queue_command(command, &block)
6546
+ end
6547
+
6548
+ # Gets the IAM policy on a deployment. For more information, see [Manage users,
6549
+ # roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-
6550
+ # platform/system-administration/manage-users-roles). You must have the `apigee.
6551
+ # deployments.getIamPolicy` permission to call this API.
6552
+ # @param [String] resource
6553
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
6554
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6555
+ # appropriate value for this field.
6556
+ # @param [Fixnum] options_requested_policy_version
6557
+ # Optional. The maximum policy version that will be used to format the policy.
6558
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
6559
+ # rejected. Requests for policies with any conditional role bindings must
6560
+ # specify version 3. Policies with no conditional role bindings may specify any
6561
+ # valid value or leave the field unset. The policy in the response might use the
6562
+ # policy version that you specified, or it might use a lower policy version. For
6563
+ # example, if you specify version 3, but the policy has no conditional role
6564
+ # bindings, the response uses version 1. To learn which resources support
6565
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
6566
+ # google.com/iam/help/conditions/resource-policies).
6567
+ # @param [String] fields
6568
+ # Selector specifying which fields to include in a partial response.
6569
+ # @param [String] quota_user
6570
+ # Available to use for quota purposes for server-side applications. Can be any
6571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6572
+ # @param [Google::Apis::RequestOptions] options
6573
+ # Request-specific options
6574
+ #
6575
+ # @yield [result, err] Result & error if block supplied
6576
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
6577
+ # @yieldparam err [StandardError] error object if request failed
6578
+ #
6579
+ # @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
6580
+ #
6581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6584
+ def get_organization_environment_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
6585
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
6586
+ command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1Policy::Representation
6587
+ command.response_class = Google::Apis::ApigeeV1::GoogleIamV1Policy
6588
+ command.params['resource'] = resource unless resource.nil?
6589
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
6590
+ command.query['fields'] = fields unless fields.nil?
6591
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6592
+ execute_or_queue_command(command, &block)
6593
+ end
6594
+
6516
6595
  # Lists all deployments of API proxies or shared flows in an environment.
6517
6596
  # @param [String] parent
6518
6597
  # Required. Name of the environment for which to return deployment information
@@ -6549,6 +6628,82 @@ module Google
6549
6628
  execute_or_queue_command(command, &block)
6550
6629
  end
6551
6630
 
6631
+ # Sets the IAM policy on a deployment, if the policy already exists it will be
6632
+ # replaced. For more information, see [Manage users, roles, and permissions
6633
+ # using the API](https://cloud.google.com/apigee/docs/api-platform/system-
6634
+ # administration/manage-users-roles). You must have the `apigee.deployments.
6635
+ # setIamPolicy` permission to call this API.
6636
+ # @param [String] resource
6637
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
6638
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6639
+ # appropriate value for this field.
6640
+ # @param [Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
6641
+ # @param [String] fields
6642
+ # Selector specifying which fields to include in a partial response.
6643
+ # @param [String] quota_user
6644
+ # Available to use for quota purposes for server-side applications. Can be any
6645
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6646
+ # @param [Google::Apis::RequestOptions] options
6647
+ # Request-specific options
6648
+ #
6649
+ # @yield [result, err] Result & error if block supplied
6650
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
6651
+ # @yieldparam err [StandardError] error object if request failed
6652
+ #
6653
+ # @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
6654
+ #
6655
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6656
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6657
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6658
+ def set_organization_environment_deployment_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6659
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
6660
+ command.request_representation = Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest::Representation
6661
+ command.request_object = google_iam_v1_set_iam_policy_request_object
6662
+ command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1Policy::Representation
6663
+ command.response_class = Google::Apis::ApigeeV1::GoogleIamV1Policy
6664
+ command.params['resource'] = resource unless resource.nil?
6665
+ command.query['fields'] = fields unless fields.nil?
6666
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6667
+ execute_or_queue_command(command, &block)
6668
+ end
6669
+
6670
+ # Tests the permissions of a user on a deployment, and returns a subset of
6671
+ # permissions that the user has on the deployment. If the deployment does not
6672
+ # exist, an empty permission set is returned (a NOT_FOUND error is not returned).
6673
+ # @param [String] resource
6674
+ # REQUIRED: The resource for which the policy detail is being requested. See [
6675
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
6676
+ # appropriate value for this field.
6677
+ # @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
6678
+ # @param [String] fields
6679
+ # Selector specifying which fields to include in a partial response.
6680
+ # @param [String] quota_user
6681
+ # Available to use for quota purposes for server-side applications. Can be any
6682
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6683
+ # @param [Google::Apis::RequestOptions] options
6684
+ # Request-specific options
6685
+ #
6686
+ # @yield [result, err] Result & error if block supplied
6687
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
6688
+ # @yieldparam err [StandardError] error object if request failed
6689
+ #
6690
+ # @return [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse]
6691
+ #
6692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6695
+ def test_organization_environment_deployment_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6696
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
6697
+ command.request_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest::Representation
6698
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
6699
+ command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse::Representation
6700
+ command.response_class = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse
6701
+ command.params['resource'] = resource unless resource.nil?
6702
+ command.query['fields'] = fields unless fields.nil?
6703
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6704
+ execute_or_queue_command(command, &block)
6705
+ end
6706
+
6552
6707
  # Attaches a shared flow to a flow hook.
6553
6708
  # @param [String] name
6554
6709
  # Required. Name of the flow hook to which the shared flow should be attached in
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.92.0
4
+ version: 0.93.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-06-23 00:00:00.000000000 Z
11
+ date: 2024-09-15 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-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.92.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.93.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []