google-apis-apigee_v1 0.43.0 → 0.46.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: 4e11f8c9828e4a7480a2a33bf8634f77284af04961ed33fa5e63ea23f4ff59b2
4
- data.tar.gz: 20e7ad2cfeb1376739b9814aec7721b83bf9c0f46f10a3bce1a8c46d6ee853c2
3
+ metadata.gz: 789aa917b45cd00135f4dde2c3d5a27dc1506f8164e9f03a63fb0d5388f46126
4
+ data.tar.gz: 8f3210db4f9adfaccd7fca185d135d7124c2bf90e10ef26cf748025fc4c1f031
5
5
  SHA512:
6
- metadata.gz: 1bff02f5baf5b5d6f2827f7a3d0db6424fb9818aa7fcdd0bb17db28a1c6b9ede8898bfdb716e08a66694bbc001112b076175d54e7cab504556762789959603b6
7
- data.tar.gz: cab4c96945ef78993da24d9d1ba9536a89f3610776bcfad4973bc4ebddf06e2a9fc2c474dae5c8065cfc6c4167e16924ab02c1e7e99a1d3e466fb77ffdc326d9
6
+ metadata.gz: 7f96d63353c508a43e6eda703494f1586a1d9f8af73dc719a665ceed4fb42de5da643bc0f9b2ece6738335da1787e039c6547036332c4accc3f3711667a02f02
7
+ data.tar.gz: 36f02a59fbd1b6608025a43abdcf17b164af4a7739da5dbc4a8ddc46aebdad927e52fb39971283d887637e9a0313312c8bc179117131457d6a1d936ddfc88571
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.46.0 (2022-05-18)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.45.0 (2022-05-10)
8
+
9
+ * Regenerated from discovery document revision 20220509
10
+
11
+ ### v0.44.0 (2022-05-03)
12
+
13
+ * Regenerated from discovery document revision 20220428
14
+
3
15
  ### v0.43.0 (2022-04-26)
4
16
 
5
17
  * Regenerated from discovery document revision 20220421
@@ -2238,21 +2238,21 @@ module Google
2238
2238
  # @return [String]
2239
2239
  attr_accessor :environment
2240
2240
 
2241
- # Errors reported for this deployment. Populated only when state == ERROR. This
2242
- # field is not populated in List APIs.
2241
+ # Errors reported for this deployment. Populated only when state == ERROR. **
2242
+ # Note**: This field is displayed only when viewing deployment status.
2243
2243
  # Corresponds to the JSON property `errors`
2244
2244
  # @return [Array<Google::Apis::ApigeeV1::GoogleRpcStatus>]
2245
2245
  attr_accessor :errors
2246
2246
 
2247
- # Status reported by each runtime instance. This field is not populated in List
2248
- # APIs.
2247
+ # Status reported by each runtime instance. **Note**: This field is displayed
2248
+ # only when viewing deployment status.
2249
2249
  # Corresponds to the JSON property `instances`
2250
2250
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus>]
2251
2251
  attr_accessor :instances
2252
2252
 
2253
- # Status reported by runtime pods. This field is not populated for List APIs. **
2254
- # Note**: **This field is deprecated**. Runtime versions 1.3 and above report
2255
- # instance level status rather than pod status.
2253
+ # Status reported by runtime pods. **Note**: **This field is deprecated**.
2254
+ # Runtime versions 1.3 and above report instance level status rather than pod
2255
+ # status.
2256
2256
  # Corresponds to the JSON property `pods`
2257
2257
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus>]
2258
2258
  attr_accessor :pods
@@ -2266,8 +2266,8 @@ module Google
2266
2266
  # conflicts does not cause the state to be `ERROR`, but it will mean that some
2267
2267
  # of the deployment's base paths are not routed to its environment. If the
2268
2268
  # conflicts change, the state will transition to `PROGRESSING` until the latest
2269
- # configuration is rolled out to all instances. This field is not populated in
2270
- # List APIs.
2269
+ # configuration is rolled out to all instances. **Note**: This field is
2270
+ # displayed only when viewing deployment status.
2271
2271
  # Corresponds to the JSON property `routeConflicts`
2272
2272
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
2273
2273
  attr_accessor :route_conflicts
@@ -2278,7 +2278,8 @@ module Google
2278
2278
  # @return [String]
2279
2279
  attr_accessor :service_account
2280
2280
 
2281
- # Current state of the deployment. This field is not populated in List APIs.
2281
+ # Current state of the deployment. **Note**: This field is displayed only when
2282
+ # viewing deployment status.
2282
2283
  # Corresponds to the JSON property `state`
2283
2284
  # @return [String]
2284
2285
  attr_accessor :state
@@ -5267,6 +5268,13 @@ module Google
5267
5268
  # @return [String]
5268
5269
  attr_accessor :analytics_region
5269
5270
 
5271
+ # Output only. Apigee Project ID associated with the organization. Use this
5272
+ # project to allowlist Apigee in the Service Attachment when using private
5273
+ # service connect with Apigee.
5274
+ # Corresponds to the JSON property `apigeeProjectId`
5275
+ # @return [String]
5276
+ attr_accessor :apigee_project_id
5277
+
5270
5278
  # Not used by Apigee.
5271
5279
  # Corresponds to the JSON property `attributes`
5272
5280
  # @return [Array<String>]
@@ -5404,6 +5412,7 @@ module Google
5404
5412
  def update!(**args)
5405
5413
  @addons_config = args[:addons_config] if args.key?(:addons_config)
5406
5414
  @analytics_region = args[:analytics_region] if args.key?(:analytics_region)
5415
+ @apigee_project_id = args[:apigee_project_id] if args.key?(:apigee_project_id)
5407
5416
  @attributes = args[:attributes] if args.key?(:attributes)
5408
5417
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
5409
5418
  @billing_type = args[:billing_type] if args.key?(:billing_type)
@@ -5431,6 +5440,12 @@ module Google
5431
5440
  class GoogleCloudApigeeV1OrganizationProjectMapping
5432
5441
  include Google::Apis::Core::Hashable
5433
5442
 
5443
+ # Output only. The Google Cloud region where control plane data is located. For
5444
+ # more information, see https://cloud.google.com/about/locations/.
5445
+ # Corresponds to the JSON property `location`
5446
+ # @return [String]
5447
+ attr_accessor :location
5448
+
5434
5449
  # Name of the Apigee organization.
5435
5450
  # Corresponds to the JSON property `organization`
5436
5451
  # @return [String]
@@ -5453,6 +5468,7 @@ module Google
5453
5468
 
5454
5469
  # Update properties of this object
5455
5470
  def update!(**args)
5471
+ @location = args[:location] if args.key?(:location)
5456
5472
  @organization = args[:organization] if args.key?(:organization)
5457
5473
  @project_id = args[:project_id] if args.key?(:project_id)
5458
5474
  @project_ids = args[:project_ids] if args.key?(:project_ids)
@@ -7662,8 +7678,8 @@ module Google
7662
7678
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
7663
7679
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
7664
7680
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
7665
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
7666
- # DATA_WRITE logging.
7681
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
7682
+ # from DATA_WRITE logging.
7667
7683
  class GoogleIamV1AuditConfig
7668
7684
  include Google::Apis::Core::Hashable
7669
7685
 
@@ -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.43.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220421"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -2655,6 +2655,7 @@ module Google
2655
2655
  property :addons_config, as: 'addonsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig::Representation
2656
2656
 
2657
2657
  property :analytics_region, as: 'analyticsRegion'
2658
+ property :apigee_project_id, as: 'apigeeProjectId'
2658
2659
  collection :attributes, as: 'attributes'
2659
2660
  property :authorized_network, as: 'authorizedNetwork'
2660
2661
  property :billing_type, as: 'billingType'
@@ -2682,6 +2683,7 @@ module Google
2682
2683
  class GoogleCloudApigeeV1OrganizationProjectMapping
2683
2684
  # @private
2684
2685
  class Representation < Google::Apis::Core::JsonRepresentation
2686
+ property :location, as: 'location'
2685
2687
  property :organization, as: 'organization'
2686
2688
  property :project_id, as: 'projectId'
2687
2689
  collection :project_ids, as: 'projectIds'
@@ -120,10 +120,20 @@ module Google
120
120
  execute_or_queue_command(command, &block)
121
121
  end
122
122
 
123
- # Delete an Apigee organization. Only supported for SubscriptionType TRIAL.
123
+ # Delete an Apigee organization. For organizations with BillingType EVALUATION,
124
+ # an immediate deletion is performed. For paid organizations, a soft-deletion is
125
+ # performed. The organization can be restored within the soft-deletion period -
126
+ # which can be controlled using the retention field in the request.
124
127
  # @param [String] name
125
128
  # Required. Name of the organization. Use the following structure in your
126
129
  # request: `organizations/`org``
130
+ # @param [String] retention
131
+ # Optional. This setting is only applicable for organizations that are soft-
132
+ # deleted (i.e. BillingType is not EVALUATION). It controls how long
133
+ # Organization data will be retained after the initial delete operation
134
+ # completes. During this period, the Organization may be restored to its last
135
+ # known state. After this period, the Organization will no longer be able to be
136
+ # restored.
127
137
  # @param [String] fields
128
138
  # Selector specifying which fields to include in a partial response.
129
139
  # @param [String] quota_user
@@ -141,11 +151,12 @@ module Google
141
151
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
142
152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
144
- def delete_organization(name, fields: nil, quota_user: nil, options: nil, &block)
154
+ def delete_organization(name, retention: nil, fields: nil, quota_user: nil, options: nil, &block)
145
155
  command = make_simple_command(:delete, 'v1/{+name}', options)
146
156
  command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
147
157
  command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
148
158
  command.params['name'] = name unless name.nil?
159
+ command.query['retention'] = retention unless retention.nil?
149
160
  command.query['fields'] = fields unless fields.nil?
150
161
  command.query['quotaUser'] = quota_user unless quota_user.nil?
151
162
  execute_or_queue_command(command, &block)
@@ -219,6 +230,37 @@ module Google
219
230
  execute_or_queue_command(command, &block)
220
231
  end
221
232
 
233
+ # Gets the project ID and region for an Apigee organization.
234
+ # @param [String] name
235
+ # Required. Apigee organization name in the following format: `organizations/`
236
+ # org``
237
+ # @param [String] fields
238
+ # Selector specifying which fields to include in a partial response.
239
+ # @param [String] quota_user
240
+ # Available to use for quota purposes for server-side applications. Can be any
241
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
242
+ # @param [Google::Apis::RequestOptions] options
243
+ # Request-specific options
244
+ #
245
+ # @yield [result, err] Result & error if block supplied
246
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping] parsed result object
247
+ # @yieldparam err [StandardError] error object if request failed
248
+ #
249
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping]
250
+ #
251
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
252
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
253
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
254
+ def get_organization_project_mapping(name, fields: nil, quota_user: nil, options: nil, &block)
255
+ command = make_simple_command(:get, 'v1/{+name}:getProjectMapping', options)
256
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping::Representation
257
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping
258
+ command.params['name'] = name unless name.nil?
259
+ command.query['fields'] = fields unless fields.nil?
260
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
261
+ execute_or_queue_command(command, &block)
262
+ end
263
+
222
264
  # Get runtime config for an organization.
223
265
  # @param [String] name
224
266
  # Required. Name of the runtime config for the organization in the following
@@ -4087,8 +4129,9 @@ module Google
4087
4129
  # api-platform/system-administration/manage-users-roles). You must have the `
4088
4130
  # apigee.environments.getIamPolicy` permission to call this API.
4089
4131
  # @param [String] resource
4090
- # REQUIRED: The resource for which the policy is being requested. See the
4091
- # operation documentation for the appropriate value for this field.
4132
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
4133
+ # names](https://cloud.google.com/apis/design/resource_names) for the
4134
+ # appropriate value for this field.
4092
4135
  # @param [Fixnum] options_requested_policy_version
4093
4136
  # Optional. The maximum policy version that will be used to format the policy.
4094
4137
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -4165,8 +4208,9 @@ module Google
4165
4208
  # administration/manage-users-roles). You must have the `apigee.environments.
4166
4209
  # setIamPolicy` permission to call this API.
4167
4210
  # @param [String] resource
4168
- # REQUIRED: The resource for which the policy is being specified. See the
4169
- # operation documentation for the appropriate value for this field.
4211
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
4212
+ # names](https://cloud.google.com/apis/design/resource_names) for the
4213
+ # appropriate value for this field.
4170
4214
  # @param [Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
4171
4215
  # @param [String] fields
4172
4216
  # Selector specifying which fields to include in a partial response.
@@ -4234,8 +4278,9 @@ module Google
4234
4278
  # permissions that the user has on the environment. If the environment does not
4235
4279
  # exist, an empty permission set is returned (a NOT_FOUND error is not returned).
4236
4280
  # @param [String] resource
4237
- # REQUIRED: The resource for which the policy detail is being requested. See the
4238
- # operation documentation for the appropriate value for this field.
4281
+ # REQUIRED: The resource for which the policy detail is being requested. See [
4282
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
4283
+ # appropriate value for this field.
4239
4284
  # @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
4240
4285
  # @param [String] fields
4241
4286
  # Selector specifying which fields to include in a partial response.
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.43.0
4
+ version: 0.46.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: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-05-23 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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.46.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: []