google-apis-apigee_v1 0.19.0 → 0.20.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: f176de5cf82eb86c1844297ff9e069e94ec815b10d85569462bef292e639c3a3
4
- data.tar.gz: 62aa86c4d339d487218b27c3335d61c3ae66faf559725e393a7bf5670f8c3c3d
3
+ metadata.gz: f56844044a501d2822d8e91831d9feb4a493b4d9d41b8749208824f9ae3dc507
4
+ data.tar.gz: 8ece01675d405177d72ab771406ac8092f1a0798c10ec99c64408c71c2c06504
5
5
  SHA512:
6
- metadata.gz: 79f40a0ad240a492f6cb7e8368e5b2b21a0d3e4d47cf8a34bc0719b95a2c39f6ed18f31189d9af4f59234ec4e40b0e1bd0d72c4d767abc01165139ab5ac4c9da
7
- data.tar.gz: a6b6ba074fcc0736123a19a78485d32342adaa4225c1bc3c72d089c95221a68595a0a4bab45ff07e117e9c86b884c2d709ec64ea412957040aa5d240d83ea717
6
+ metadata.gz: 159219767c3d71ff347d108cf6cef310b923ad29357afe5f818077763c27ea8d6afefa0a4bc77e5c464a73b192591d683c7b104eadbedd546492935af5028959
7
+ data.tar.gz: 68b6d0ab5b25603bb97a20d8465962982ef1d79ebb48924f903e666f6a1896524d2f4db2149203cd1329120eeb264a974afcc9fe1989d83714aa67b34c8aa7cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.20.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210826
6
+
3
7
  ### v0.19.0 (2021-08-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20210729
@@ -958,6 +958,66 @@ module Google
958
958
  end
959
959
  end
960
960
 
961
+ # Archive Deployment information.
962
+ class GoogleCloudApigeeV1ArchiveDeployment
963
+ include Google::Apis::Core::Hashable
964
+
965
+ # Output only. The time at which the Archive Deployment was created in
966
+ # milliseconds since the epoch.
967
+ # Corresponds to the JSON property `createdAt`
968
+ # @return [Fixnum]
969
+ attr_accessor :created_at
970
+
971
+ # Input only. The Google Cloud Storage signed URL returned from
972
+ # GenerateUploadUrl and used to upload the Archive zip file.
973
+ # Corresponds to the JSON property `gcsUri`
974
+ # @return [String]
975
+ attr_accessor :gcs_uri
976
+
977
+ # User-supplied key-value pairs used to organize ArchiveDeployments. Label keys
978
+ # must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
979
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
980
+ # 0,62` Label values must be between 1 and 63 characters long, have a UTF-8
981
+ # encoding of maximum 128 bytes, and must conform to the following PCRE regular
982
+ # expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
983
+ # associated with a given store.
984
+ # Corresponds to the JSON property `labels`
985
+ # @return [Hash<String,String>]
986
+ attr_accessor :labels
987
+
988
+ # Name of the Archive Deployment in the following format: `organizations/`org`/
989
+ # environments/`env`/archiveDeployments/`id``.
990
+ # Corresponds to the JSON property `name`
991
+ # @return [String]
992
+ attr_accessor :name
993
+
994
+ # Output only. A reference to the LRO that created this Archive Deployment in
995
+ # the following format: `organizations/`org`/operations/`id``
996
+ # Corresponds to the JSON property `operation`
997
+ # @return [String]
998
+ attr_accessor :operation
999
+
1000
+ # Output only. The time at which the Archive Deployment was updated in
1001
+ # milliseconds since the epoch.
1002
+ # Corresponds to the JSON property `updatedAt`
1003
+ # @return [Fixnum]
1004
+ attr_accessor :updated_at
1005
+
1006
+ def initialize(**args)
1007
+ update!(**args)
1008
+ end
1009
+
1010
+ # Update properties of this object
1011
+ def update!(**args)
1012
+ @created_at = args[:created_at] if args.key?(:created_at)
1013
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
1014
+ @labels = args[:labels] if args.key?(:labels)
1015
+ @name = args[:name] if args.key?(:name)
1016
+ @operation = args[:operation] if args.key?(:operation)
1017
+ @updated_at = args[:updated_at] if args.key?(:updated_at)
1018
+ end
1019
+ end
1020
+
961
1021
  #
962
1022
  class GoogleCloudApigeeV1AsyncQuery
963
1023
  include Google::Apis::Core::Hashable
@@ -2721,11 +2781,28 @@ module Google
2721
2781
  class GoogleCloudApigeeV1Environment
2722
2782
  include Google::Apis::Core::Hashable
2723
2783
 
2784
+ # Optional. API Proxy type supported by the environment. The type can be set
2785
+ # when creating the Environment and cannot be changed.
2786
+ # Corresponds to the JSON property `apiProxyType`
2787
+ # @return [String]
2788
+ attr_accessor :api_proxy_type
2789
+
2724
2790
  # Output only. Creation time of this environment as milliseconds since epoch.
2725
2791
  # Corresponds to the JSON property `createdAt`
2726
2792
  # @return [Fixnum]
2727
2793
  attr_accessor :created_at
2728
2794
 
2795
+ # Optional. Deployment type supported by the environment. The deployment type
2796
+ # can be set when creating the environment and cannot be changed. When you
2797
+ # enable archive deployment, you will be **prevented from performing** a [subset
2798
+ # of actions](/apigee/docs/api-platform/local-development/overview#prevented-
2799
+ # actions) within the environment, including: * Managing the deployment of API
2800
+ # proxy or shared flow revisions * Creating, updating, or deleting resource
2801
+ # files * Creating, updating, or deleting target servers
2802
+ # Corresponds to the JSON property `deploymentType`
2803
+ # @return [String]
2804
+ attr_accessor :deployment_type
2805
+
2729
2806
  # Optional. Description of the environment.
2730
2807
  # Corresponds to the JSON property `description`
2731
2808
  # @return [String]
@@ -2766,7 +2843,9 @@ module Google
2766
2843
 
2767
2844
  # Update properties of this object
2768
2845
  def update!(**args)
2846
+ @api_proxy_type = args[:api_proxy_type] if args.key?(:api_proxy_type)
2769
2847
  @created_at = args[:created_at] if args.key?(:created_at)
2848
+ @deployment_type = args[:deployment_type] if args.key?(:deployment_type)
2770
2849
  @description = args[:description] if args.key?(:description)
2771
2850
  @display_name = args[:display_name] if args.key?(:display_name)
2772
2851
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
@@ -2780,6 +2859,13 @@ module Google
2780
2859
  class GoogleCloudApigeeV1EnvironmentConfig
2781
2860
  include Google::Apis::Core::Hashable
2782
2861
 
2862
+ # The location for the config blob of API Runtime Control, aka Envoy Adapter,
2863
+ # for op-based authentication as a URI, e.g. a Cloud Storage URI. This is only
2864
+ # used by Envoy-based gateways.
2865
+ # Corresponds to the JSON property `arcConfigLocation`
2866
+ # @return [String]
2867
+ attr_accessor :arc_config_location
2868
+
2783
2869
  # Time that the environment configuration was created.
2784
2870
  # Corresponds to the JSON property `createTime`
2785
2871
  # @return [String]
@@ -2810,6 +2896,12 @@ module Google
2810
2896
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig>]
2811
2897
  attr_accessor :flowhooks
2812
2898
 
2899
+ # The location for the gateway config blob as a URI, e.g. a Cloud Storage URI.
2900
+ # This is only used by Envoy-based gateways.
2901
+ # Corresponds to the JSON property `gatewayConfigLocation`
2902
+ # @return [String]
2903
+ attr_accessor :gateway_config_location
2904
+
2813
2905
  # List of keystores in the environment.
2814
2906
  # Corresponds to the JSON property `keystores`
2815
2907
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig>]
@@ -2877,12 +2969,14 @@ module Google
2877
2969
 
2878
2970
  # Update properties of this object
2879
2971
  def update!(**args)
2972
+ @arc_config_location = args[:arc_config_location] if args.key?(:arc_config_location)
2880
2973
  @create_time = args[:create_time] if args.key?(:create_time)
2881
2974
  @data_collectors = args[:data_collectors] if args.key?(:data_collectors)
2882
2975
  @debug_mask = args[:debug_mask] if args.key?(:debug_mask)
2883
2976
  @deployments = args[:deployments] if args.key?(:deployments)
2884
2977
  @feature_flags = args[:feature_flags] if args.key?(:feature_flags)
2885
2978
  @flowhooks = args[:flowhooks] if args.key?(:flowhooks)
2979
+ @gateway_config_location = args[:gateway_config_location] if args.key?(:gateway_config_location)
2886
2980
  @keystores = args[:keystores] if args.key?(:keystores)
2887
2981
  @name = args[:name] if args.key?(:name)
2888
2982
  @provider = args[:provider] if args.key?(:provider)
@@ -3242,6 +3336,72 @@ module Google
3242
3336
  end
3243
3337
  end
3244
3338
 
3339
+ # Request for GenerateDownloadUrl method.
3340
+ class GoogleCloudApigeeV1GenerateDownloadUrlRequest
3341
+ include Google::Apis::Core::Hashable
3342
+
3343
+ def initialize(**args)
3344
+ update!(**args)
3345
+ end
3346
+
3347
+ # Update properties of this object
3348
+ def update!(**args)
3349
+ end
3350
+ end
3351
+
3352
+ # Response for GenerateDownloadUrl method.
3353
+ class GoogleCloudApigeeV1GenerateDownloadUrlResponse
3354
+ include Google::Apis::Core::Hashable
3355
+
3356
+ # The Google Cloud Storage signed URL that can be used to download the Archive
3357
+ # zip file.
3358
+ # Corresponds to the JSON property `downloadUri`
3359
+ # @return [String]
3360
+ attr_accessor :download_uri
3361
+
3362
+ def initialize(**args)
3363
+ update!(**args)
3364
+ end
3365
+
3366
+ # Update properties of this object
3367
+ def update!(**args)
3368
+ @download_uri = args[:download_uri] if args.key?(:download_uri)
3369
+ end
3370
+ end
3371
+
3372
+ # Request for GenerateUploadUrl method.
3373
+ class GoogleCloudApigeeV1GenerateUploadUrlRequest
3374
+ include Google::Apis::Core::Hashable
3375
+
3376
+ def initialize(**args)
3377
+ update!(**args)
3378
+ end
3379
+
3380
+ # Update properties of this object
3381
+ def update!(**args)
3382
+ end
3383
+ end
3384
+
3385
+ # Response for GenerateUploadUrl method.
3386
+ class GoogleCloudApigeeV1GenerateUploadUrlResponse
3387
+ include Google::Apis::Core::Hashable
3388
+
3389
+ # The Google Cloud Storage signed URL that can be used to upload a new Archive
3390
+ # zip file.
3391
+ # Corresponds to the JSON property `uploadUri`
3392
+ # @return [String]
3393
+ attr_accessor :upload_uri
3394
+
3395
+ def initialize(**args)
3396
+ update!(**args)
3397
+ end
3398
+
3399
+ # Update properties of this object
3400
+ def update!(**args)
3401
+ @upload_uri = args[:upload_uri] if args.key?(:upload_uri)
3402
+ end
3403
+ end
3404
+
3245
3405
  # Request for GetSyncAuthorization.
3246
3406
  class GoogleCloudApigeeV1GetSyncAuthorizationRequest
3247
3407
  include Google::Apis::Core::Hashable
@@ -3468,6 +3628,13 @@ module Google
3468
3628
  # @return [String]
3469
3629
  attr_accessor :port
3470
3630
 
3631
+ # Output only. Version of the runtime system running in the instance. The
3632
+ # runtime system is the set of components that serve the API Proxy traffic in
3633
+ # your Environments.
3634
+ # Corresponds to the JSON property `runtimeVersion`
3635
+ # @return [String]
3636
+ attr_accessor :runtime_version
3637
+
3471
3638
  # Output only. State of the instance. Values other than `ACTIVE` means the
3472
3639
  # resource is not ready to use.
3473
3640
  # Corresponds to the JSON property `state`
@@ -3490,6 +3657,7 @@ module Google
3490
3657
  @name = args[:name] if args.key?(:name)
3491
3658
  @peering_cidr_range = args[:peering_cidr_range] if args.key?(:peering_cidr_range)
3492
3659
  @port = args[:port] if args.key?(:port)
3660
+ @runtime_version = args[:runtime_version] if args.key?(:runtime_version)
3493
3661
  @state = args[:state] if args.key?(:state)
3494
3662
  end
3495
3663
  end
@@ -3824,6 +3992,32 @@ module Google
3824
3992
  end
3825
3993
  end
3826
3994
 
3995
+ # Response for ListArchiveDeployments method.
3996
+ class GoogleCloudApigeeV1ListArchiveDeploymentsResponse
3997
+ include Google::Apis::Core::Hashable
3998
+
3999
+ # Archive Deployments in the specified environment.
4000
+ # Corresponds to the JSON property `archiveDeployments`
4001
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment>]
4002
+ attr_accessor :archive_deployments
4003
+
4004
+ # Page token that you can include in a ListArchiveDeployments request to
4005
+ # retrieve the next page. If omitted, no subsequent pages exist.
4006
+ # Corresponds to the JSON property `nextPageToken`
4007
+ # @return [String]
4008
+ attr_accessor :next_page_token
4009
+
4010
+ def initialize(**args)
4011
+ update!(**args)
4012
+ end
4013
+
4014
+ # Update properties of this object
4015
+ def update!(**args)
4016
+ @archive_deployments = args[:archive_deployments] if args.key?(:archive_deployments)
4017
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4018
+ end
4019
+ end
4020
+
3827
4021
  # The response for ListAsyncQueries.
3828
4022
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
3829
4023
  include Google::Apis::Core::Hashable
@@ -6655,6 +6849,13 @@ module Google
6655
6849
  class GoogleCloudApigeeV1TargetServerConfig
6656
6850
  include Google::Apis::Core::Hashable
6657
6851
 
6852
+ # Whether the target server is enabled. An empty/omitted value for this field
6853
+ # should be interpreted as true.
6854
+ # Corresponds to the JSON property `enabled`
6855
+ # @return [Boolean]
6856
+ attr_accessor :enabled
6857
+ alias_method :enabled?, :enabled
6858
+
6658
6859
  # Host name of the target server.
6659
6860
  # Corresponds to the JSON property `host`
6660
6861
  # @return [String]
@@ -6687,6 +6888,7 @@ module Google
6687
6888
 
6688
6889
  # Update properties of this object
6689
6890
  def update!(**args)
6891
+ @enabled = args[:enabled] if args.key?(:enabled)
6690
6892
  @host = args[:host] if args.key?(:host)
6691
6893
  @name = args[:name] if args.key?(:name)
6692
6894
  @port = args[:port] if args.key?(:port)
@@ -7204,7 +7406,7 @@ module Google
7204
7406
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
7205
7407
  # roles/resourcemanager.organizationViewer condition: title: expirable access
7206
7408
  # description: Does not grant access after Sep 2020 expression: request.time <
7207
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
7409
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
7208
7410
  # description of IAM and its features, see the [IAM documentation](https://cloud.
7209
7411
  # google.com/iam/docs/).
7210
7412
  class GoogleIamV1Policy
@@ -7298,7 +7500,7 @@ module Google
7298
7500
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
7299
7501
  # roles/resourcemanager.organizationViewer condition: title: expirable access
7300
7502
  # description: Does not grant access after Sep 2020 expression: request.time <
7301
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
7503
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
7302
7504
  # description of IAM and its features, see the [IAM documentation](https://cloud.
7303
7505
  # google.com/iam/docs/).
7304
7506
  # Corresponds to the JSON property `policy`
@@ -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.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210729"
25
+ REVISION = "20210826"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class GoogleCloudApigeeV1ArchiveDeployment
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class GoogleCloudApigeeV1AsyncQuery
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -412,6 +418,30 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class GoogleCloudApigeeV1GenerateDownloadUrlRequest
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class GoogleCloudApigeeV1GenerateDownloadUrlResponse
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleCloudApigeeV1GenerateUploadUrlRequest
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudApigeeV1GenerateUploadUrlResponse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
415
445
  class GoogleCloudApigeeV1GetSyncAuthorizationRequest
416
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
447
 
@@ -520,6 +550,12 @@ module Google
520
550
  include Google::Apis::Core::JsonObjectSupport
521
551
  end
522
552
 
553
+ class GoogleCloudApigeeV1ListArchiveDeploymentsResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
523
559
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
524
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
561
 
@@ -1359,6 +1395,18 @@ module Google
1359
1395
  end
1360
1396
  end
1361
1397
 
1398
+ class GoogleCloudApigeeV1ArchiveDeployment
1399
+ # @private
1400
+ class Representation < Google::Apis::Core::JsonRepresentation
1401
+ property :created_at, :numeric_string => true, as: 'createdAt'
1402
+ property :gcs_uri, as: 'gcsUri'
1403
+ hash :labels, as: 'labels'
1404
+ property :name, as: 'name'
1405
+ property :operation, as: 'operation'
1406
+ property :updated_at, :numeric_string => true, as: 'updatedAt'
1407
+ end
1408
+ end
1409
+
1362
1410
  class GoogleCloudApigeeV1AsyncQuery
1363
1411
  # @private
1364
1412
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1800,7 +1848,9 @@ module Google
1800
1848
  class GoogleCloudApigeeV1Environment
1801
1849
  # @private
1802
1850
  class Representation < Google::Apis::Core::JsonRepresentation
1851
+ property :api_proxy_type, as: 'apiProxyType'
1803
1852
  property :created_at, :numeric_string => true, as: 'createdAt'
1853
+ property :deployment_type, as: 'deploymentType'
1804
1854
  property :description, as: 'description'
1805
1855
  property :display_name, as: 'displayName'
1806
1856
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
@@ -1814,6 +1864,7 @@ module Google
1814
1864
  class GoogleCloudApigeeV1EnvironmentConfig
1815
1865
  # @private
1816
1866
  class Representation < Google::Apis::Core::JsonRepresentation
1867
+ property :arc_config_location, as: 'arcConfigLocation'
1817
1868
  property :create_time, as: 'createTime'
1818
1869
  collection :data_collectors, as: 'dataCollectors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig::Representation
1819
1870
 
@@ -1824,6 +1875,7 @@ module Google
1824
1875
  hash :feature_flags, as: 'featureFlags'
1825
1876
  collection :flowhooks, as: 'flowhooks', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig::Representation
1826
1877
 
1878
+ property :gateway_config_location, as: 'gatewayConfigLocation'
1827
1879
  collection :keystores, as: 'keystores', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig::Representation
1828
1880
 
1829
1881
  property :name, as: 'name'
@@ -1928,6 +1980,32 @@ module Google
1928
1980
  end
1929
1981
  end
1930
1982
 
1983
+ class GoogleCloudApigeeV1GenerateDownloadUrlRequest
1984
+ # @private
1985
+ class Representation < Google::Apis::Core::JsonRepresentation
1986
+ end
1987
+ end
1988
+
1989
+ class GoogleCloudApigeeV1GenerateDownloadUrlResponse
1990
+ # @private
1991
+ class Representation < Google::Apis::Core::JsonRepresentation
1992
+ property :download_uri, as: 'downloadUri'
1993
+ end
1994
+ end
1995
+
1996
+ class GoogleCloudApigeeV1GenerateUploadUrlRequest
1997
+ # @private
1998
+ class Representation < Google::Apis::Core::JsonRepresentation
1999
+ end
2000
+ end
2001
+
2002
+ class GoogleCloudApigeeV1GenerateUploadUrlResponse
2003
+ # @private
2004
+ class Representation < Google::Apis::Core::JsonRepresentation
2005
+ property :upload_uri, as: 'uploadUri'
2006
+ end
2007
+ end
2008
+
1931
2009
  class GoogleCloudApigeeV1GetSyncAuthorizationRequest
1932
2010
  # @private
1933
2011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1989,6 +2067,7 @@ module Google
1989
2067
  property :name, as: 'name'
1990
2068
  property :peering_cidr_range, as: 'peeringCidrRange'
1991
2069
  property :port, as: 'port'
2070
+ property :runtime_version, as: 'runtimeVersion'
1992
2071
  property :state, as: 'state'
1993
2072
  end
1994
2073
  end
@@ -2100,6 +2179,15 @@ module Google
2100
2179
  end
2101
2180
  end
2102
2181
 
2182
+ class GoogleCloudApigeeV1ListArchiveDeploymentsResponse
2183
+ # @private
2184
+ class Representation < Google::Apis::Core::JsonRepresentation
2185
+ collection :archive_deployments, as: 'archiveDeployments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
2186
+
2187
+ property :next_page_token, as: 'nextPageToken'
2188
+ end
2189
+ end
2190
+
2103
2191
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
2104
2192
  # @private
2105
2193
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2889,6 +2977,7 @@ module Google
2889
2977
  class GoogleCloudApigeeV1TargetServerConfig
2890
2978
  # @private
2891
2979
  class Representation < Google::Apis::Core::JsonRepresentation
2980
+ property :enabled, as: 'enabled'
2892
2981
  property :host, as: 'host'
2893
2982
  property :name, as: 'name'
2894
2983
  property :port, as: 'port'
@@ -1386,6 +1386,43 @@ module Google
1386
1386
  execute_or_queue_command(command, &block)
1387
1387
  end
1388
1388
 
1389
+ # Updates an existing API proxy.
1390
+ # @param [String] name
1391
+ # Required. API proxy to update in the following format: `organizations/`org`/
1392
+ # apis/`api``
1393
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] google_cloud_apigee_v1_api_proxy_object
1394
+ # @param [String] update_mask
1395
+ # Required. The list of fields to update.
1396
+ # @param [String] fields
1397
+ # Selector specifying which fields to include in a partial response.
1398
+ # @param [String] quota_user
1399
+ # Available to use for quota purposes for server-side applications. Can be any
1400
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1401
+ # @param [Google::Apis::RequestOptions] options
1402
+ # Request-specific options
1403
+ #
1404
+ # @yield [result, err] Result & error if block supplied
1405
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] parsed result object
1406
+ # @yieldparam err [StandardError] error object if request failed
1407
+ #
1408
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy]
1409
+ #
1410
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1411
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1412
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1413
+ def patch_organization_api(name, google_cloud_apigee_v1_api_proxy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1414
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1415
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy::Representation
1416
+ command.request_object = google_cloud_apigee_v1_api_proxy_object
1417
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy::Representation
1418
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy
1419
+ command.params['name'] = name unless name.nil?
1420
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1421
+ command.query['fields'] = fields unless fields.nil?
1422
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1423
+ execute_or_queue_command(command, &block)
1424
+ end
1425
+
1389
1426
  # Lists all deployments of an API proxy.
1390
1427
  # @param [String] parent
1391
1428
  # Required. Name of the API proxy for which to return deployment information in
@@ -4692,6 +4729,261 @@ module Google
4692
4729
  execute_or_queue_command(command, &block)
4693
4730
  end
4694
4731
 
4732
+ # Creates a new ArchiveDeployment.
4733
+ # @param [String] parent
4734
+ # Required. The Environment this Archive Deployment will be created in.
4735
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] google_cloud_apigee_v1_archive_deployment_object
4736
+ # @param [String] fields
4737
+ # Selector specifying which fields to include in a partial response.
4738
+ # @param [String] quota_user
4739
+ # Available to use for quota purposes for server-side applications. Can be any
4740
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4741
+ # @param [Google::Apis::RequestOptions] options
4742
+ # Request-specific options
4743
+ #
4744
+ # @yield [result, err] Result & error if block supplied
4745
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
4746
+ # @yieldparam err [StandardError] error object if request failed
4747
+ #
4748
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
4749
+ #
4750
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4751
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4752
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4753
+ def create_organization_environment_archive_deployment(parent, google_cloud_apigee_v1_archive_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4754
+ command = make_simple_command(:post, 'v1/{+parent}/archiveDeployments', options)
4755
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
4756
+ command.request_object = google_cloud_apigee_v1_archive_deployment_object
4757
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
4758
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
4759
+ command.params['parent'] = parent unless parent.nil?
4760
+ command.query['fields'] = fields unless fields.nil?
4761
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4762
+ execute_or_queue_command(command, &block)
4763
+ end
4764
+
4765
+ # Deletes an archive deployment.
4766
+ # @param [String] name
4767
+ # Required. Name of the Archive Deployment in the following format: `
4768
+ # organizations/`org`/environments/`env`/archiveDeployments/`id``.
4769
+ # @param [String] fields
4770
+ # Selector specifying which fields to include in a partial response.
4771
+ # @param [String] quota_user
4772
+ # Available to use for quota purposes for server-side applications. Can be any
4773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4774
+ # @param [Google::Apis::RequestOptions] options
4775
+ # Request-specific options
4776
+ #
4777
+ # @yield [result, err] Result & error if block supplied
4778
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
4779
+ # @yieldparam err [StandardError] error object if request failed
4780
+ #
4781
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
4782
+ #
4783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4786
+ def delete_organization_environment_archive_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
4787
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4788
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
4789
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
4790
+ command.params['name'] = name unless name.nil?
4791
+ command.query['fields'] = fields unless fields.nil?
4792
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4793
+ execute_or_queue_command(command, &block)
4794
+ end
4795
+
4796
+ # Generates a signed URL for downloading the original zip file used to create an
4797
+ # Archive Deployment. The URL is only valid for a limited period and should be
4798
+ # used within minutes after generation. Each call returns a new upload URL.
4799
+ # @param [String] name
4800
+ # Required. The name of the Archive Deployment you want to download.
4801
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlRequest] google_cloud_apigee_v1_generate_download_url_request_object
4802
+ # @param [String] fields
4803
+ # Selector specifying which fields to include in a partial response.
4804
+ # @param [String] quota_user
4805
+ # Available to use for quota purposes for server-side applications. Can be any
4806
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4807
+ # @param [Google::Apis::RequestOptions] options
4808
+ # Request-specific options
4809
+ #
4810
+ # @yield [result, err] Result & error if block supplied
4811
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse] parsed result object
4812
+ # @yieldparam err [StandardError] error object if request failed
4813
+ #
4814
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse]
4815
+ #
4816
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4817
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4818
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4819
+ def generate_organization_environment_archive_deployment_download_url(name, google_cloud_apigee_v1_generate_download_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4820
+ command = make_simple_command(:post, 'v1/{+name}:generateDownloadUrl', options)
4821
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlRequest::Representation
4822
+ command.request_object = google_cloud_apigee_v1_generate_download_url_request_object
4823
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse::Representation
4824
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse
4825
+ command.params['name'] = name unless name.nil?
4826
+ command.query['fields'] = fields unless fields.nil?
4827
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4828
+ execute_or_queue_command(command, &block)
4829
+ end
4830
+
4831
+ # Generates a signed URL for uploading an Archive zip file to Google Cloud
4832
+ # Storage. Once the upload is complete, the signed URL should be passed to
4833
+ # CreateArchiveDeployment. When uploading to the generated signed URL, please
4834
+ # follow these restrictions: * Source file type should be a zip file. * Source
4835
+ # file size should not exceed 1GB limit. * No credentials should be attached -
4836
+ # the signed URLs provide access to the target bucket using internal service
4837
+ # identity; if credentials were attached, the identity from the credentials
4838
+ # would be used, but that identity does not have permissions to upload files to
4839
+ # the URL. When making a HTTP PUT request, these two headers need to be
4840
+ # specified: * `content-type: application/zip` * `x-goog-content-length-range: 0,
4841
+ # 1073741824` And this header SHOULD NOT be specified: * `Authorization: Bearer
4842
+ # YOUR_TOKEN`
4843
+ # @param [String] parent
4844
+ # Required. The organization and environment to upload to.
4845
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlRequest] google_cloud_apigee_v1_generate_upload_url_request_object
4846
+ # @param [String] fields
4847
+ # Selector specifying which fields to include in a partial response.
4848
+ # @param [String] quota_user
4849
+ # Available to use for quota purposes for server-side applications. Can be any
4850
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4851
+ # @param [Google::Apis::RequestOptions] options
4852
+ # Request-specific options
4853
+ #
4854
+ # @yield [result, err] Result & error if block supplied
4855
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse] parsed result object
4856
+ # @yieldparam err [StandardError] error object if request failed
4857
+ #
4858
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse]
4859
+ #
4860
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4861
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4862
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4863
+ def generate_organization_environment_archive_deployment_upload_url(parent, google_cloud_apigee_v1_generate_upload_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4864
+ command = make_simple_command(:post, 'v1/{+parent}/archiveDeployments:generateUploadUrl', options)
4865
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlRequest::Representation
4866
+ command.request_object = google_cloud_apigee_v1_generate_upload_url_request_object
4867
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse::Representation
4868
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse
4869
+ command.params['parent'] = parent unless parent.nil?
4870
+ command.query['fields'] = fields unless fields.nil?
4871
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4872
+ execute_or_queue_command(command, &block)
4873
+ end
4874
+
4875
+ # Gets the specified ArchiveDeployment.
4876
+ # @param [String] name
4877
+ # Required. Name of the Archive Deployment in the following format: `
4878
+ # organizations/`org`/environments/`env`/archiveDeployments/`id``.
4879
+ # @param [String] fields
4880
+ # Selector specifying which fields to include in a partial response.
4881
+ # @param [String] quota_user
4882
+ # Available to use for quota purposes for server-side applications. Can be any
4883
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4884
+ # @param [Google::Apis::RequestOptions] options
4885
+ # Request-specific options
4886
+ #
4887
+ # @yield [result, err] Result & error if block supplied
4888
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] parsed result object
4889
+ # @yieldparam err [StandardError] error object if request failed
4890
+ #
4891
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment]
4892
+ #
4893
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4894
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4895
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4896
+ def get_organization_environment_archive_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
4897
+ command = make_simple_command(:get, 'v1/{+name}', options)
4898
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
4899
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment
4900
+ command.params['name'] = name unless name.nil?
4901
+ command.query['fields'] = fields unless fields.nil?
4902
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4903
+ execute_or_queue_command(command, &block)
4904
+ end
4905
+
4906
+ # Lists the ArchiveDeployments in the specified Environment.
4907
+ # @param [String] parent
4908
+ # Required. Name of the Environment for which to list Archive Deployments in the
4909
+ # format: `organizations/`org`/environments/`env``.
4910
+ # @param [String] filter
4911
+ # Optional. An optional query used to return a subset of Archive Deployments
4912
+ # using the semantics defined in https://google.aip.dev/160.
4913
+ # @param [Fixnum] page_size
4914
+ # Optional. Maximum number of Archive Deployments to return. If unspecified, at
4915
+ # most 25 deployments will be returned.
4916
+ # @param [String] page_token
4917
+ # Optional. Page token, returned from a previous ListArchiveDeployments call,
4918
+ # that you can use to retrieve the next page.
4919
+ # @param [String] fields
4920
+ # Selector specifying which fields to include in a partial response.
4921
+ # @param [String] quota_user
4922
+ # Available to use for quota purposes for server-side applications. Can be any
4923
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4924
+ # @param [Google::Apis::RequestOptions] options
4925
+ # Request-specific options
4926
+ #
4927
+ # @yield [result, err] Result & error if block supplied
4928
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse] parsed result object
4929
+ # @yieldparam err [StandardError] error object if request failed
4930
+ #
4931
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse]
4932
+ #
4933
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4934
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4935
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4936
+ def list_organization_environment_archive_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4937
+ command = make_simple_command(:get, 'v1/{+parent}/archiveDeployments', options)
4938
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse::Representation
4939
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse
4940
+ command.params['parent'] = parent unless parent.nil?
4941
+ command.query['filter'] = filter unless filter.nil?
4942
+ command.query['pageSize'] = page_size unless page_size.nil?
4943
+ command.query['pageToken'] = page_token unless page_token.nil?
4944
+ command.query['fields'] = fields unless fields.nil?
4945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4946
+ execute_or_queue_command(command, &block)
4947
+ end
4948
+
4949
+ # Updates an existing ArchiveDeployment. Labels can modified but most of the
4950
+ # other fields are not modifiable.
4951
+ # @param [String] name
4952
+ # Name of the Archive Deployment in the following format: `organizations/`org`/
4953
+ # environments/`env`/archiveDeployments/`id``.
4954
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] google_cloud_apigee_v1_archive_deployment_object
4955
+ # @param [String] update_mask
4956
+ # Required. The list of fields to be updated.
4957
+ # @param [String] fields
4958
+ # Selector specifying which fields to include in a partial response.
4959
+ # @param [String] quota_user
4960
+ # Available to use for quota purposes for server-side applications. Can be any
4961
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4962
+ # @param [Google::Apis::RequestOptions] options
4963
+ # Request-specific options
4964
+ #
4965
+ # @yield [result, err] Result & error if block supplied
4966
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] parsed result object
4967
+ # @yieldparam err [StandardError] error object if request failed
4968
+ #
4969
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment]
4970
+ #
4971
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4972
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4973
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4974
+ def patch_organization_environment_archive_deployment(name, google_cloud_apigee_v1_archive_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4975
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4976
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
4977
+ command.request_object = google_cloud_apigee_v1_archive_deployment_object
4978
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
4979
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment
4980
+ command.params['name'] = name unless name.nil?
4981
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4982
+ command.query['fields'] = fields unless fields.nil?
4983
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4984
+ execute_or_queue_command(command, &block)
4985
+ end
4986
+
4695
4987
  # Deletes a cache.
4696
4988
  # @param [String] name
4697
4989
  # Required. Cache resource name of the form: `organizations/`organization_id`/
@@ -32,7 +32,7 @@ module Google
32
32
  # This is NOT the gem version.
33
33
  VERSION = 'V1'
34
34
 
35
- # See, edit, configure, and delete your Google Cloud Platform data
35
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
37
  end
38
38
  end
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.19.0
4
+ version: 0.20.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: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2021-09-06 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/master/generated/google-apis-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []