google-apis-apigee_v1 0.92.0 → 0.94.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: b96f73c3c16e858e9bee3acab6481636b86c16a9778532479f05c6b0079f6130
4
+ data.tar.gz: d3c841db2c61fc91c9b01fef241e83fae64633d26177ab7fda888e1925af5af4
5
5
  SHA512:
6
- metadata.gz: f8bbad85e60258d3954a85af8ab2faa0db671699d502b4f3d5c9544fc7f403c75c30c7fbb22253e83312368748b3c36e8b35a7d81fdfe1bfdc722d129a4dc57c
7
- data.tar.gz: 47f74d335f8a152e159448db00430211791b731bf910427a07f5b3614a61b8cc12cecaf07fe61fe63e93d22752017f172c73f364d223ae08d018fad19fd39277
6
+ metadata.gz: d4803d06d98b14ab05a473d1f0b68eb153c71aef3aafd8c3ece6f59a3c54ab472688ceedc75f5e7e46c870c822232f4e5064c13a6a53e7a13a265240b624c2e0
7
+ data.tar.gz: a1ab077b44c7ac5381dcd072bea8033fd269a6606706dbb37e3ef2c833ab5087f57daff4a8496fefb16bb04245ef46c2aa863b2535961e23ead87c8b9086d813
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.94.0 (2024-09-29)
4
+
5
+ * Regenerated from discovery document revision 20240919
6
+
7
+ ### v0.93.0 (2024-09-15)
8
+
9
+ * Regenerated from discovery document revision 20240905
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.92.0 (2024-06-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240617
@@ -2978,7 +2978,7 @@ module Google
2978
2978
  # @return [String]
2979
2979
  attr_accessor :path
2980
2980
 
2981
- # Required. GCP project in which the datastore exists
2981
+ # Required. Google Cloud project in which the datastore exists
2982
2982
  # Corresponds to the JSON property `projectId`
2983
2983
  # @return [String]
2984
2984
  attr_accessor :project_id
@@ -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.94.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 = "20240919"
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'
@@ -141,7 +141,7 @@ module Google
141
141
  # completes. During this period, the Organization may be restored to its last
142
142
  # known state. After this period, the Organization will no longer be able to be
143
143
  # restored. **Note: During the data retention period specified using this field,
144
- # the Apigee organization cannot be recreated in the same GCP project.**
144
+ # the Apigee organization cannot be recreated in the same Google Cloud project.**
145
145
  # @param [String] fields
146
146
  # Selector specifying which fields to include in a partial response.
147
147
  # @param [String] quota_user
@@ -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.94.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-29 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.94.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: []