google-apis-apigee_v1 0.60.0 → 0.61.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: 765221a141a5479d0d968dd47cf22b94fe332201453c6d8dd2cad925e57d3362
4
- data.tar.gz: 37a0d242d93dd6a43b3ce2b4866a7c36ebba051d7e0a24023d4df0689914a8c6
3
+ metadata.gz: da20d91dbe13d43d5329246f51a8ba617ebf5a1e83fcf6294b6f98d23584ed8e
4
+ data.tar.gz: 00f962277ed71f56cea492cbb47a3e305360187dda271dba57deb69e3ec0617d
5
5
  SHA512:
6
- metadata.gz: 4c596aaca1900dc24875304dc63514b4986f61450bed447daf2dbf3f4cef0319db83c3a583ee68c702dc908c1e7c73a1ba180d70156925f8ff5ad0cd4c5da1dc
7
- data.tar.gz: be0e9575a12985a6e7c633e24fd0a63d6091740c84bcf9a71f0b55d6d04f7487cf95b952a3f524e3f773ceec18bd34873335e1eeac729820788b9ee5414c4406
6
+ metadata.gz: 9459688bf8eb780cd9566bff639251fe2fd3ad7e2ecf2c25b11ffd3b3b245934fc66431de3147b64bf156c50b2cbbf40c10537cbb23bfb36f45b6218be0e72e0
7
+ data.tar.gz: d12ee41ccda033ae7ff729e5466a4803b31424db2708c1620efab10ec9b3dad546b52f0accc64ad0355f518a5310a27975e7289fbc98d0fc2d4a684d18f76b71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.61.0 (2022-12-16)
4
+
5
+ * Regenerated from discovery document revision 20221213
6
+
3
7
  ### v0.60.0 (2022-11-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20221110
@@ -2651,7 +2651,7 @@ module Google
2651
2651
  end
2652
2652
  end
2653
2653
 
2654
- # NEXT ID: 9
2654
+ # NEXT ID: 11
2655
2655
  class GoogleCloudApigeeV1DeploymentConfig
2656
2656
  include Google::Apis::Core::Hashable
2657
2657
 
@@ -2665,6 +2665,18 @@ module Google
2665
2665
  # @return [String]
2666
2666
  attr_accessor :base_path
2667
2667
 
2668
+ # The list of deployment groups in which this proxy should be deployed. Not
2669
+ # currently populated for shared flows.
2670
+ # Corresponds to the JSON property `deploymentGroups`
2671
+ # @return [Array<String>]
2672
+ attr_accessor :deployment_groups
2673
+
2674
+ # A mapping from basepaths to proxy endpoint names in this proxy. Not populated
2675
+ # for shared flows.
2676
+ # Corresponds to the JSON property `endpoints`
2677
+ # @return [Hash<String,String>]
2678
+ attr_accessor :endpoints
2679
+
2668
2680
  # Location of the API proxy bundle as a URI.
2669
2681
  # Corresponds to the JSON property `location`
2670
2682
  # @return [String]
@@ -2701,6 +2713,8 @@ module Google
2701
2713
  def update!(**args)
2702
2714
  @attributes = args[:attributes] if args.key?(:attributes)
2703
2715
  @base_path = args[:base_path] if args.key?(:base_path)
2716
+ @deployment_groups = args[:deployment_groups] if args.key?(:deployment_groups)
2717
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
2704
2718
  @location = args[:location] if args.key?(:location)
2705
2719
  @name = args[:name] if args.key?(:name)
2706
2720
  @proxy_uid = args[:proxy_uid] if args.key?(:proxy_uid)
@@ -2709,6 +2723,41 @@ module Google
2709
2723
  end
2710
2724
  end
2711
2725
 
2726
+ # DeploymentGroupConfig represents a deployment group that should be present in
2727
+ # a particular environment.
2728
+ class GoogleCloudApigeeV1DeploymentGroupConfig
2729
+ include Google::Apis::Core::Hashable
2730
+
2731
+ # Name of the deployment group in the following format: `organizations/`org`/
2732
+ # environments/`env`/deploymentGroups/`group``.
2733
+ # Corresponds to the JSON property `name`
2734
+ # @return [String]
2735
+ attr_accessor :name
2736
+
2737
+ # Revision number which can be used by the runtime to detect if the deployment
2738
+ # group has changed between two versions.
2739
+ # Corresponds to the JSON property `revisionId`
2740
+ # @return [Fixnum]
2741
+ attr_accessor :revision_id
2742
+
2743
+ # Unique ID. The ID will only change if the deployment group is deleted and
2744
+ # recreated.
2745
+ # Corresponds to the JSON property `uid`
2746
+ # @return [String]
2747
+ attr_accessor :uid
2748
+
2749
+ def initialize(**args)
2750
+ update!(**args)
2751
+ end
2752
+
2753
+ # Update properties of this object
2754
+ def update!(**args)
2755
+ @name = args[:name] if args.key?(:name)
2756
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
2757
+ @uid = args[:uid] if args.key?(:uid)
2758
+ end
2759
+ end
2760
+
2712
2761
  #
2713
2762
  class GoogleCloudApigeeV1Developer
2714
2763
  include Google::Apis::Core::Hashable
@@ -3177,6 +3226,33 @@ module Google
3177
3226
  end
3178
3227
  end
3179
3228
 
3229
+ # EndpointChainingRule specifies the proxies contained in a particular
3230
+ # deployment group, so that other deployment groups can find them in chaining
3231
+ # calls.
3232
+ class GoogleCloudApigeeV1EndpointChainingRule
3233
+ include Google::Apis::Core::Hashable
3234
+
3235
+ # The deployment group to target for cross-shard chaining calls to these proxies.
3236
+ # Corresponds to the JSON property `deploymentGroup`
3237
+ # @return [String]
3238
+ attr_accessor :deployment_group
3239
+
3240
+ # List of proxy ids which may be found in the given deployment group.
3241
+ # Corresponds to the JSON property `proxyIds`
3242
+ # @return [Array<String>]
3243
+ attr_accessor :proxy_ids
3244
+
3245
+ def initialize(**args)
3246
+ update!(**args)
3247
+ end
3248
+
3249
+ # Update properties of this object
3250
+ def update!(**args)
3251
+ @deployment_group = args[:deployment_group] if args.key?(:deployment_group)
3252
+ @proxy_ids = args[:proxy_ids] if args.key?(:proxy_ids)
3253
+ end
3254
+ end
3255
+
3180
3256
  # Metadata common to many entities in this API.
3181
3257
  class GoogleCloudApigeeV1EntityMetadata
3182
3258
  include Google::Apis::Core::Hashable
@@ -3328,11 +3404,23 @@ module Google
3328
3404
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask]
3329
3405
  attr_accessor :debug_mask
3330
3406
 
3407
+ # List of deployment groups in the environment.
3408
+ # Corresponds to the JSON property `deploymentGroups`
3409
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentGroupConfig>]
3410
+ attr_accessor :deployment_groups
3411
+
3331
3412
  # List of deployments in the environment.
3332
3413
  # Corresponds to the JSON property `deployments`
3333
3414
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig>]
3334
3415
  attr_accessor :deployments
3335
3416
 
3417
+ # Revision ID for environment-scoped resources (e.g. target servers, keystores)
3418
+ # in this config. This ID will increment any time a resource not scoped to a
3419
+ # deployment group changes.
3420
+ # Corresponds to the JSON property `envScopedRevisionId`
3421
+ # @return [Fixnum]
3422
+ attr_accessor :env_scoped_revision_id
3423
+
3336
3424
  # Feature flags inherited from the organization and environment.
3337
3425
  # Corresponds to the JSON property `featureFlags`
3338
3426
  # @return [Hash<String,String>]
@@ -3427,7 +3515,9 @@ module Google
3427
3515
  @create_time = args[:create_time] if args.key?(:create_time)
3428
3516
  @data_collectors = args[:data_collectors] if args.key?(:data_collectors)
3429
3517
  @debug_mask = args[:debug_mask] if args.key?(:debug_mask)
3518
+ @deployment_groups = args[:deployment_groups] if args.key?(:deployment_groups)
3430
3519
  @deployments = args[:deployments] if args.key?(:deployments)
3520
+ @env_scoped_revision_id = args[:env_scoped_revision_id] if args.key?(:env_scoped_revision_id)
3431
3521
  @feature_flags = args[:feature_flags] if args.key?(:feature_flags)
3432
3522
  @flowhooks = args[:flowhooks] if args.key?(:flowhooks)
3433
3523
  @forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
@@ -3537,11 +3627,23 @@ module Google
3537
3627
  class GoogleCloudApigeeV1EnvironmentGroupConfig
3538
3628
  include Google::Apis::Core::Hashable
3539
3629
 
3630
+ # A list of proxies in each deployment group for proxy chaining calls.
3631
+ # Corresponds to the JSON property `endpointChainingRules`
3632
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointChainingRule>]
3633
+ attr_accessor :endpoint_chaining_rules
3634
+
3540
3635
  # Host names for the environment group.
3541
3636
  # Corresponds to the JSON property `hostnames`
3542
3637
  # @return [Array<String>]
3543
3638
  attr_accessor :hostnames
3544
3639
 
3640
+ # When this message appears in the top-level IngressConfig, this field will be
3641
+ # populated in lieu of the inlined routing_rules and hostnames fields. Some URL
3642
+ # for downloading the full EnvironmentGroupConfig for this group.
3643
+ # Corresponds to the JSON property `location`
3644
+ # @return [String]
3645
+ attr_accessor :location
3646
+
3545
3647
  # Name of the environment group in the following format: `organizations/`org`/
3546
3648
  # envgroups/`envgroup``.
3547
3649
  # Corresponds to the JSON property `name`
@@ -3572,7 +3674,9 @@ module Google
3572
3674
 
3573
3675
  # Update properties of this object
3574
3676
  def update!(**args)
3677
+ @endpoint_chaining_rules = args[:endpoint_chaining_rules] if args.key?(:endpoint_chaining_rules)
3575
3678
  @hostnames = args[:hostnames] if args.key?(:hostnames)
3679
+ @location = args[:location] if args.key?(:location)
3576
3680
  @name = args[:name] if args.key?(:name)
3577
3681
  @revision_id = args[:revision_id] if args.key?(:revision_id)
3578
3682
  @routing_rules = args[:routing_rules] if args.key?(:routing_rules)
@@ -7144,6 +7248,13 @@ module Google
7144
7248
  # @return [String]
7145
7249
  attr_accessor :basepath
7146
7250
 
7251
+ # Name of a deployment group in an environment bound to the environment group in
7252
+ # the following format: `organizations/`org`/environment/`env`/deploymentGroups/`
7253
+ # group`` Only one of environment or deployment_group will be set.
7254
+ # Corresponds to the JSON property `deploymentGroup`
7255
+ # @return [String]
7256
+ attr_accessor :deployment_group
7257
+
7147
7258
  # The env group config revision_id when this rule was added or last updated.
7148
7259
  # This value is set when the rule is created and will only update if the the
7149
7260
  # environment_id changes. It is used to determine if the runtime is up to date
@@ -7154,11 +7265,18 @@ module Google
7154
7265
  attr_accessor :env_group_revision
7155
7266
 
7156
7267
  # Name of an environment bound to the environment group in the following format:
7157
- # `organizations/`org`/environments/`env``.
7268
+ # `organizations/`org`/environments/`env``. Only one of environment or
7269
+ # deployment_group will be set.
7158
7270
  # Corresponds to the JSON property `environment`
7159
7271
  # @return [String]
7160
7272
  attr_accessor :environment
7161
7273
 
7274
+ # Conflicting targets, which will be resource names specifying either deployment
7275
+ # groups or environments.
7276
+ # Corresponds to the JSON property `otherTargets`
7277
+ # @return [Array<String>]
7278
+ attr_accessor :other_targets
7279
+
7162
7280
  # The resource name of the proxy revision that is receiving this basepath in the
7163
7281
  # following format: `organizations/`org`/apis/`api`/revisions/`rev``. This field
7164
7282
  # is omitted from the IngressConfig unless the GetDeployedIngressConfig API is
@@ -7181,8 +7299,10 @@ module Google
7181
7299
  # Update properties of this object
7182
7300
  def update!(**args)
7183
7301
  @basepath = args[:basepath] if args.key?(:basepath)
7302
+ @deployment_group = args[:deployment_group] if args.key?(:deployment_group)
7184
7303
  @env_group_revision = args[:env_group_revision] if args.key?(:env_group_revision)
7185
7304
  @environment = args[:environment] if args.key?(:environment)
7305
+ @other_targets = args[:other_targets] if args.key?(:other_targets)
7186
7306
  @receiver = args[:receiver] if args.key?(:receiver)
7187
7307
  @update_time = args[:update_time] if args.key?(:update_time)
7188
7308
  end
@@ -8547,7 +8667,7 @@ module Google
8547
8667
  end
8548
8668
  end
8549
8669
 
8550
- # TargetServer configuration. TargetServers are used to decouple a proxy's
8670
+ # TargetServer configuration. TargetServers are used to decouple a proxy
8551
8671
  # TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.
8552
8672
  class GoogleCloudApigeeV1TargetServer
8553
8673
  include Google::Apis::Core::Hashable
@@ -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.60.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221110"
25
+ REVISION = "20221213"
26
26
  end
27
27
  end
28
28
  end
@@ -370,6 +370,12 @@ module Google
370
370
  include Google::Apis::Core::JsonObjectSupport
371
371
  end
372
372
 
373
+ class GoogleCloudApigeeV1DeploymentGroupConfig
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
373
379
  class GoogleCloudApigeeV1Developer
374
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
381
 
@@ -424,6 +430,12 @@ module Google
424
430
  include Google::Apis::Core::JsonObjectSupport
425
431
  end
426
432
 
433
+ class GoogleCloudApigeeV1EndpointChainingRule
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
427
439
  class GoogleCloudApigeeV1EntityMetadata
428
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
441
 
@@ -2097,6 +2109,8 @@ module Google
2097
2109
  class Representation < Google::Apis::Core::JsonRepresentation
2098
2110
  hash :attributes, as: 'attributes'
2099
2111
  property :base_path, as: 'basePath'
2112
+ collection :deployment_groups, as: 'deploymentGroups'
2113
+ hash :endpoints, as: 'endpoints'
2100
2114
  property :location, as: 'location'
2101
2115
  property :name, as: 'name'
2102
2116
  property :proxy_uid, as: 'proxyUid'
@@ -2105,6 +2119,15 @@ module Google
2105
2119
  end
2106
2120
  end
2107
2121
 
2122
+ class GoogleCloudApigeeV1DeploymentGroupConfig
2123
+ # @private
2124
+ class Representation < Google::Apis::Core::JsonRepresentation
2125
+ property :name, as: 'name'
2126
+ property :revision_id, :numeric_string => true, as: 'revisionId'
2127
+ property :uid, as: 'uid'
2128
+ end
2129
+ end
2130
+
2108
2131
  class GoogleCloudApigeeV1Developer
2109
2132
  # @private
2110
2133
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2220,6 +2243,14 @@ module Google
2220
2243
  end
2221
2244
  end
2222
2245
 
2246
+ class GoogleCloudApigeeV1EndpointChainingRule
2247
+ # @private
2248
+ class Representation < Google::Apis::Core::JsonRepresentation
2249
+ property :deployment_group, as: 'deploymentGroup'
2250
+ collection :proxy_ids, as: 'proxyIds'
2251
+ end
2252
+ end
2253
+
2223
2254
  class GoogleCloudApigeeV1EntityMetadata
2224
2255
  # @private
2225
2256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2257,8 +2288,11 @@ module Google
2257
2288
 
2258
2289
  property :debug_mask, as: 'debugMask', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask::Representation
2259
2290
 
2291
+ collection :deployment_groups, as: 'deploymentGroups', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentGroupConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentGroupConfig::Representation
2292
+
2260
2293
  collection :deployments, as: 'deployments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig::Representation
2261
2294
 
2295
+ property :env_scoped_revision_id, :numeric_string => true, as: 'envScopedRevisionId'
2262
2296
  hash :feature_flags, as: 'featureFlags'
2263
2297
  collection :flowhooks, as: 'flowhooks', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig::Representation
2264
2298
 
@@ -2307,7 +2341,10 @@ module Google
2307
2341
  class GoogleCloudApigeeV1EnvironmentGroupConfig
2308
2342
  # @private
2309
2343
  class Representation < Google::Apis::Core::JsonRepresentation
2344
+ collection :endpoint_chaining_rules, as: 'endpointChainingRules', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointChainingRule, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointChainingRule::Representation
2345
+
2310
2346
  collection :hostnames, as: 'hostnames'
2347
+ property :location, as: 'location'
2311
2348
  property :name, as: 'name'
2312
2349
  property :revision_id, :numeric_string => true, as: 'revisionId'
2313
2350
  collection :routing_rules, as: 'routingRules', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule::Representation
@@ -3329,8 +3366,10 @@ module Google
3329
3366
  # @private
3330
3367
  class Representation < Google::Apis::Core::JsonRepresentation
3331
3368
  property :basepath, as: 'basepath'
3369
+ property :deployment_group, as: 'deploymentGroup'
3332
3370
  property :env_group_revision, :numeric_string => true, as: 'envGroupRevision'
3333
3371
  property :environment, as: 'environment'
3372
+ collection :other_targets, as: 'otherTargets'
3334
3373
  property :receiver, as: 'receiver'
3335
3374
  property :update_time, as: 'updateTime'
3336
3375
  end
@@ -3910,6 +3910,42 @@ module Google
3910
3910
  execute_or_queue_command(command, &block)
3911
3911
  end
3912
3912
 
3913
+ # Gets the deployed ingress configuration for an environment group.
3914
+ # @param [String] name
3915
+ # Required. Name of the deployed configuration for the environment group in the
3916
+ # following format: 'organizations/`org`/envgroups/`envgroup`/
3917
+ # deployedIngressConfig'.
3918
+ # @param [String] view
3919
+ # When set to FULL, additional details about the specific deployments receiving
3920
+ # traffic will be included in the IngressConfig response's RoutingRules.
3921
+ # @param [String] fields
3922
+ # Selector specifying which fields to include in a partial response.
3923
+ # @param [String] quota_user
3924
+ # Available to use for quota purposes for server-side applications. Can be any
3925
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3926
+ # @param [Google::Apis::RequestOptions] options
3927
+ # Request-specific options
3928
+ #
3929
+ # @yield [result, err] Result & error if block supplied
3930
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig] parsed result object
3931
+ # @yieldparam err [StandardError] error object if request failed
3932
+ #
3933
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig]
3934
+ #
3935
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3936
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3937
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3938
+ def get_organization_envgroup_deployed_ingress_config(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
3939
+ command = make_simple_command(:get, 'v1/{+name}', options)
3940
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig::Representation
3941
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig
3942
+ command.params['name'] = name unless name.nil?
3943
+ command.query['view'] = view unless view.nil?
3944
+ command.query['fields'] = fields unless fields.nil?
3945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3946
+ execute_or_queue_command(command, &block)
3947
+ end
3948
+
3913
3949
  # Lists all environment groups.
3914
3950
  # @param [String] parent
3915
3951
  # Required. Name of the organization for which to list environment groups in the
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.60.0
4
+ version: 0.61.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-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-04 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.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.61.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: []