google-apis-apigee_v1 0.45.0 → 0.46.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: cd22b37fc31bac57feb8daf981cb83a30e2004fb11865abd8505ac7f9ce7018c
4
- data.tar.gz: db81216ea3d25e6f443bd87dc36e1a688b1c8791e281e46a21552566080b6ce2
3
+ metadata.gz: 789aa917b45cd00135f4dde2c3d5a27dc1506f8164e9f03a63fb0d5388f46126
4
+ data.tar.gz: 8f3210db4f9adfaccd7fca185d135d7124c2bf90e10ef26cf748025fc4c1f031
5
5
  SHA512:
6
- metadata.gz: 30f1a727b814c845bd69aa6a1967ba4adbd038ef34841301baa9fdf9c94af1f08473e41eb4884db4ccb804c5bc76de39a800de03f2ccf3d708b52ef23230b2b2
7
- data.tar.gz: 1556f9f3aedfee49566918851f3affd748624b05a2931970cd27a2ca2e636dd34f35fc42467d7e43802045f53e882229a8f6311067acaf3e625edbeb902d2b03
6
+ metadata.gz: 7f96d63353c508a43e6eda703494f1586a1d9f8af73dc719a665ceed4fb42de5da643bc0f9b2ece6738335da1787e039c6547036332c4accc3f3711667a02f02
7
+ data.tar.gz: 36f02a59fbd1b6608025a43abdcf17b164af4a7739da5dbc4a8ddc46aebdad927e52fb39971283d887637e9a0313312c8bc179117131457d6a1d936ddfc88571
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.45.0 (2022-05-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20220509
@@ -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
@@ -5439,6 +5440,12 @@ module Google
5439
5440
  class GoogleCloudApigeeV1OrganizationProjectMapping
5440
5441
  include Google::Apis::Core::Hashable
5441
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
+
5442
5449
  # Name of the Apigee organization.
5443
5450
  # Corresponds to the JSON property `organization`
5444
5451
  # @return [String]
@@ -5461,6 +5468,7 @@ module Google
5461
5468
 
5462
5469
  # Update properties of this object
5463
5470
  def update!(**args)
5471
+ @location = args[:location] if args.key?(:location)
5464
5472
  @organization = args[:organization] if args.key?(:organization)
5465
5473
  @project_id = args[:project_id] if args.key?(:project_id)
5466
5474
  @project_ids = args[:project_ids] if args.key?(:project_ids)
@@ -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.45.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 = "20220509"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -2683,6 +2683,7 @@ module Google
2683
2683
  class GoogleCloudApigeeV1OrganizationProjectMapping
2684
2684
  # @private
2685
2685
  class Representation < Google::Apis::Core::JsonRepresentation
2686
+ property :location, as: 'location'
2686
2687
  property :organization, as: 'organization'
2687
2688
  property :project_id, as: 'projectId'
2688
2689
  collection :project_ids, as: 'projectIds'
@@ -230,6 +230,37 @@ module Google
230
230
  execute_or_queue_command(command, &block)
231
231
  end
232
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
+
233
264
  # Get runtime config for an organization.
234
265
  # @param [String] name
235
266
  # Required. Name of the runtime config for the organization in the following
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.45.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-16 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.45.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: []