google-apis-apigee_v1 0.16.0 → 0.20.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: d5db45e150c99ab8a21df15d958b4d7d600524c9fd9aae6a2364412ee0885163
4
- data.tar.gz: 529cd233d6f80851a79ca42355ba95fcc100add2c488b565f0c05616ed49aebf
3
+ metadata.gz: f56844044a501d2822d8e91831d9feb4a493b4d9d41b8749208824f9ae3dc507
4
+ data.tar.gz: 8ece01675d405177d72ab771406ac8092f1a0798c10ec99c64408c71c2c06504
5
5
  SHA512:
6
- metadata.gz: 2f9c15a4ffa8d62d5fee7d44f773130e19fccf5fc670bc436254f9da80ff99ec5f55146d029132f3acdc04bde5d669a9c7e725ba809e27dc24811afb40bb9ac9
7
- data.tar.gz: 72f4613b67eb48b8cfa104c02b7f4ea1867b25278228afcd9aae095bcd52006050e6a923120f5689ccaf4a1a40f3f56bb8ed418b16b0100770bc817796674819
6
+ metadata.gz: 159219767c3d71ff347d108cf6cef310b923ad29357afe5f818077763c27ea8d6afefa0a4bc77e5c464a73b192591d683c7b104eadbedd546492935af5028959
7
+ data.tar.gz: 68b6d0ab5b25603bb97a20d8465962982ef1d79ebb48924f903e666f6a1896524d2f4db2149203cd1329120eeb264a974afcc9fe1989d83714aa67b34c8aa7cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
7
+ ### v0.19.0 (2021-08-03)
8
+
9
+ * Regenerated from discovery document revision 20210729
10
+
11
+ ### v0.18.0 (2021-07-28)
12
+
13
+ * Regenerated from discovery document revision 20210722
14
+
15
+ ### v0.17.0 (2021-07-13)
16
+
17
+ * Regenerated from discovery document revision 20210708
18
+
3
19
  ### v0.16.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
@@ -22,6 +22,51 @@ module Google
22
22
  module Apis
23
23
  module ApigeeV1
24
24
 
25
+ # Describes why a bundle is invalid. Intended for use in error details.
26
+ class EdgeConfigstoreBundleBadBundle
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Describes all precondition violations.
30
+ # Corresponds to the JSON property `violations`
31
+ # @return [Array<Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation>]
32
+ attr_accessor :violations
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @violations = args[:violations] if args.key?(:violations)
41
+ end
42
+ end
43
+
44
+ # A message type used to describe a single bundle validation error.
45
+ class EdgeConfigstoreBundleBadBundleViolation
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # A description of why the bundle is invalid and how to fix it.
49
+ # Corresponds to the JSON property `description`
50
+ # @return [String]
51
+ attr_accessor :description
52
+
53
+ # The filename (including relative path from the bundle root) in which the error
54
+ # occurred.
55
+ # Corresponds to the JSON property `filename`
56
+ # @return [String]
57
+ attr_accessor :filename
58
+
59
+ def initialize(**args)
60
+ update!(**args)
61
+ end
62
+
63
+ # Update properties of this object
64
+ def update!(**args)
65
+ @description = args[:description] if args.key?(:description)
66
+ @filename = args[:filename] if args.key?(:filename)
67
+ end
68
+ end
69
+
25
70
  # Message that represents an arbitrary HTTP body. It should only be used for
26
71
  # payload formats that can't be represented as JSON, such as raw binary or an
27
72
  # HTML page. This message can be used both in streaming and non-streaming API
@@ -212,11 +257,6 @@ module Google
212
257
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig]
213
258
  attr_accessor :advanced_api_ops_config
214
259
 
215
- # Configuration for the Integration add-on.
216
- # Corresponds to the JSON property `integrationConfig`
217
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig]
218
- attr_accessor :integration_config
219
-
220
260
  # Configuration for the Monetization add-on.
221
261
  # Corresponds to the JSON property `monetizationConfig`
222
262
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig]
@@ -229,7 +269,6 @@ module Google
229
269
  # Update properties of this object
230
270
  def update!(**args)
231
271
  @advanced_api_ops_config = args[:advanced_api_ops_config] if args.key?(:advanced_api_ops_config)
232
- @integration_config = args[:integration_config] if args.key?(:integration_config)
233
272
  @monetization_config = args[:monetization_config] if args.key?(:monetization_config)
234
273
  end
235
274
  end
@@ -589,7 +628,12 @@ module Google
589
628
  class GoogleCloudApigeeV1ApiProxy
590
629
  include Google::Apis::Core::Hashable
591
630
 
592
- # The id of the most recently created revision for this api proxy.
631
+ # User labels applied to this API Proxy.
632
+ # Corresponds to the JSON property `labels`
633
+ # @return [Hash<String,String>]
634
+ attr_accessor :labels
635
+
636
+ # Output only. The id of the most recently created revision for this api proxy.
593
637
  # Corresponds to the JSON property `latestRevisionId`
594
638
  # @return [String]
595
639
  attr_accessor :latest_revision_id
@@ -599,12 +643,12 @@ module Google
599
643
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata]
600
644
  attr_accessor :meta_data
601
645
 
602
- # Name of the API proxy.
646
+ # Output only. Name of the API proxy.
603
647
  # Corresponds to the JSON property `name`
604
648
  # @return [String]
605
649
  attr_accessor :name
606
650
 
607
- # List of revisons defined for the API proxy.
651
+ # Output only. List of revisons defined for the API proxy.
608
652
  # Corresponds to the JSON property `revision`
609
653
  # @return [Array<String>]
610
654
  attr_accessor :revision
@@ -615,6 +659,7 @@ module Google
615
659
 
616
660
  # Update properties of this object
617
661
  def update!(**args)
662
+ @labels = args[:labels] if args.key?(:labels)
618
663
  @latest_revision_id = args[:latest_revision_id] if args.key?(:latest_revision_id)
619
664
  @meta_data = args[:meta_data] if args.key?(:meta_data)
620
665
  @name = args[:name] if args.key?(:name)
@@ -913,6 +958,66 @@ module Google
913
958
  end
914
959
  end
915
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
+
916
1021
  #
917
1022
  class GoogleCloudApigeeV1AsyncQuery
918
1023
  include Google::Apis::Core::Hashable
@@ -2044,6 +2149,12 @@ module Google
2044
2149
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
2045
2150
  attr_accessor :route_conflicts
2046
2151
 
2152
+ # The full resource name of Cloud IAM Service Account that this deployment is
2153
+ # using, eg, `projects/-/serviceAccounts/`email``.
2154
+ # Corresponds to the JSON property `serviceAccount`
2155
+ # @return [String]
2156
+ attr_accessor :service_account
2157
+
2047
2158
  # Current state of the deployment. This field is not populated in List APIs.
2048
2159
  # Corresponds to the JSON property `state`
2049
2160
  # @return [String]
@@ -2063,6 +2174,7 @@ module Google
2063
2174
  @pods = args[:pods] if args.key?(:pods)
2064
2175
  @revision = args[:revision] if args.key?(:revision)
2065
2176
  @route_conflicts = args[:route_conflicts] if args.key?(:route_conflicts)
2177
+ @service_account = args[:service_account] if args.key?(:service_account)
2066
2178
  @state = args[:state] if args.key?(:state)
2067
2179
  end
2068
2180
  end
@@ -2669,11 +2781,28 @@ module Google
2669
2781
  class GoogleCloudApigeeV1Environment
2670
2782
  include Google::Apis::Core::Hashable
2671
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
+
2672
2790
  # Output only. Creation time of this environment as milliseconds since epoch.
2673
2791
  # Corresponds to the JSON property `createdAt`
2674
2792
  # @return [Fixnum]
2675
2793
  attr_accessor :created_at
2676
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
+
2677
2806
  # Optional. Description of the environment.
2678
2807
  # Corresponds to the JSON property `description`
2679
2808
  # @return [String]
@@ -2714,7 +2843,9 @@ module Google
2714
2843
 
2715
2844
  # Update properties of this object
2716
2845
  def update!(**args)
2846
+ @api_proxy_type = args[:api_proxy_type] if args.key?(:api_proxy_type)
2717
2847
  @created_at = args[:created_at] if args.key?(:created_at)
2848
+ @deployment_type = args[:deployment_type] if args.key?(:deployment_type)
2718
2849
  @description = args[:description] if args.key?(:description)
2719
2850
  @display_name = args[:display_name] if args.key?(:display_name)
2720
2851
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
@@ -2728,6 +2859,13 @@ module Google
2728
2859
  class GoogleCloudApigeeV1EnvironmentConfig
2729
2860
  include Google::Apis::Core::Hashable
2730
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
+
2731
2869
  # Time that the environment configuration was created.
2732
2870
  # Corresponds to the JSON property `createTime`
2733
2871
  # @return [String]
@@ -2758,6 +2896,12 @@ module Google
2758
2896
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig>]
2759
2897
  attr_accessor :flowhooks
2760
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
+
2761
2905
  # List of keystores in the environment.
2762
2906
  # Corresponds to the JSON property `keystores`
2763
2907
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig>]
@@ -2825,12 +2969,14 @@ module Google
2825
2969
 
2826
2970
  # Update properties of this object
2827
2971
  def update!(**args)
2972
+ @arc_config_location = args[:arc_config_location] if args.key?(:arc_config_location)
2828
2973
  @create_time = args[:create_time] if args.key?(:create_time)
2829
2974
  @data_collectors = args[:data_collectors] if args.key?(:data_collectors)
2830
2975
  @debug_mask = args[:debug_mask] if args.key?(:debug_mask)
2831
2976
  @deployments = args[:deployments] if args.key?(:deployments)
2832
2977
  @feature_flags = args[:feature_flags] if args.key?(:feature_flags)
2833
2978
  @flowhooks = args[:flowhooks] if args.key?(:flowhooks)
2979
+ @gateway_config_location = args[:gateway_config_location] if args.key?(:gateway_config_location)
2834
2980
  @keystores = args[:keystores] if args.key?(:keystores)
2835
2981
  @name = args[:name] if args.key?(:name)
2836
2982
  @provider = args[:provider] if args.key?(:provider)
@@ -3190,6 +3336,72 @@ module Google
3190
3336
  end
3191
3337
  end
3192
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
+
3193
3405
  # Request for GetSyncAuthorization.
3194
3406
  class GoogleCloudApigeeV1GetSyncAuthorizationRequest
3195
3407
  include Google::Apis::Core::Hashable
@@ -3416,6 +3628,13 @@ module Google
3416
3628
  # @return [String]
3417
3629
  attr_accessor :port
3418
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
+
3419
3638
  # Output only. State of the instance. Values other than `ACTIVE` means the
3420
3639
  # resource is not ready to use.
3421
3640
  # Corresponds to the JSON property `state`
@@ -3438,6 +3657,7 @@ module Google
3438
3657
  @name = args[:name] if args.key?(:name)
3439
3658
  @peering_cidr_range = args[:peering_cidr_range] if args.key?(:peering_cidr_range)
3440
3659
  @port = args[:port] if args.key?(:port)
3660
+ @runtime_version = args[:runtime_version] if args.key?(:runtime_version)
3441
3661
  @state = args[:state] if args.key?(:state)
3442
3662
  end
3443
3663
  end
@@ -3568,26 +3788,6 @@ module Google
3568
3788
  end
3569
3789
  end
3570
3790
 
3571
- # Configuration for the Integration add-on.
3572
- class GoogleCloudApigeeV1IntegrationConfig
3573
- include Google::Apis::Core::Hashable
3574
-
3575
- # Flag that specifies whether the Integration add-on is enabled.
3576
- # Corresponds to the JSON property `enabled`
3577
- # @return [Boolean]
3578
- attr_accessor :enabled
3579
- alias_method :enabled?, :enabled
3580
-
3581
- def initialize(**args)
3582
- update!(**args)
3583
- end
3584
-
3585
- # Update properties of this object
3586
- def update!(**args)
3587
- @enabled = args[:enabled] if args.key?(:enabled)
3588
- end
3589
- end
3590
-
3591
3791
  #
3592
3792
  class GoogleCloudApigeeV1KeyAliasReference
3593
3793
  include Google::Apis::Core::Hashable
@@ -3792,6 +3992,32 @@ module Google
3792
3992
  end
3793
3993
  end
3794
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
+
3795
4021
  # The response for ListAsyncQueries.
3796
4022
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
3797
4023
  include Google::Apis::Core::Hashable
@@ -6623,6 +6849,13 @@ module Google
6623
6849
  class GoogleCloudApigeeV1TargetServerConfig
6624
6850
  include Google::Apis::Core::Hashable
6625
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
+
6626
6859
  # Host name of the target server.
6627
6860
  # Corresponds to the JSON property `host`
6628
6861
  # @return [String]
@@ -6655,6 +6888,7 @@ module Google
6655
6888
 
6656
6889
  # Update properties of this object
6657
6890
  def update!(**args)
6891
+ @enabled = args[:enabled] if args.key?(:enabled)
6658
6892
  @host = args[:host] if args.key?(:host)
6659
6893
  @name = args[:name] if args.key?(:name)
6660
6894
  @port = args[:port] if args.key?(:port)
@@ -7172,7 +7406,7 @@ module Google
7172
7406
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
7173
7407
  # roles/resourcemanager.organizationViewer condition: title: expirable access
7174
7408
  # description: Does not grant access after Sep 2020 expression: request.time <
7175
- # 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
7176
7410
  # description of IAM and its features, see the [IAM documentation](https://cloud.
7177
7411
  # google.com/iam/docs/).
7178
7412
  class GoogleIamV1Policy
@@ -7266,7 +7500,7 @@ module Google
7266
7500
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
7267
7501
  # roles/resourcemanager.organizationViewer condition: title: expirable access
7268
7502
  # description: Does not grant access after Sep 2020 expression: request.time <
7269
- # 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
7270
7504
  # description of IAM and its features, see the [IAM documentation](https://cloud.
7271
7505
  # google.com/iam/docs/).
7272
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.16.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 = "20210618"
25
+ REVISION = "20210826"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module ApigeeV1
24
24
 
25
+ class EdgeConfigstoreBundleBadBundle
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class EdgeConfigstoreBundleBadBundleViolation
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class GoogleApiHttpBody
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -130,6 +142,12 @@ module Google
130
142
  include Google::Apis::Core::JsonObjectSupport
131
143
  end
132
144
 
145
+ class GoogleCloudApigeeV1ArchiveDeployment
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
133
151
  class GoogleCloudApigeeV1AsyncQuery
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
@@ -400,6 +418,30 @@ module Google
400
418
  include Google::Apis::Core::JsonObjectSupport
401
419
  end
402
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
+
403
445
  class GoogleCloudApigeeV1GetSyncAuthorizationRequest
404
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
447
 
@@ -460,12 +502,6 @@ module Google
460
502
  include Google::Apis::Core::JsonObjectSupport
461
503
  end
462
504
 
463
- class GoogleCloudApigeeV1IntegrationConfig
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
505
  class GoogleCloudApigeeV1KeyAliasReference
470
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
507
 
@@ -514,6 +550,12 @@ module Google
514
550
  include Google::Apis::Core::JsonObjectSupport
515
551
  end
516
552
 
553
+ class GoogleCloudApigeeV1ListArchiveDeploymentsResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
517
559
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
518
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
561
 
@@ -1120,6 +1162,22 @@ module Google
1120
1162
  include Google::Apis::Core::JsonObjectSupport
1121
1163
  end
1122
1164
 
1165
+ class EdgeConfigstoreBundleBadBundle
1166
+ # @private
1167
+ class Representation < Google::Apis::Core::JsonRepresentation
1168
+ collection :violations, as: 'violations', class: Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation, decorator: Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation::Representation
1169
+
1170
+ end
1171
+ end
1172
+
1173
+ class EdgeConfigstoreBundleBadBundleViolation
1174
+ # @private
1175
+ class Representation < Google::Apis::Core::JsonRepresentation
1176
+ property :description, as: 'description'
1177
+ property :filename, as: 'filename'
1178
+ end
1179
+ end
1180
+
1123
1181
  class GoogleApiHttpBody
1124
1182
  # @private
1125
1183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1177,8 +1235,6 @@ module Google
1177
1235
  class Representation < Google::Apis::Core::JsonRepresentation
1178
1236
  property :advanced_api_ops_config, as: 'advancedApiOpsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig::Representation
1179
1237
 
1180
- property :integration_config, as: 'integrationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig::Representation
1181
-
1182
1238
  property :monetization_config, as: 'monetizationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig::Representation
1183
1239
 
1184
1240
  end
@@ -1268,6 +1324,7 @@ module Google
1268
1324
  class GoogleCloudApigeeV1ApiProxy
1269
1325
  # @private
1270
1326
  class Representation < Google::Apis::Core::JsonRepresentation
1327
+ hash :labels, as: 'labels'
1271
1328
  property :latest_revision_id, as: 'latestRevisionId'
1272
1329
  property :meta_data, as: 'metaData', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata::Representation
1273
1330
 
@@ -1338,6 +1395,18 @@ module Google
1338
1395
  end
1339
1396
  end
1340
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
+
1341
1410
  class GoogleCloudApigeeV1AsyncQuery
1342
1411
  # @private
1343
1412
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1625,6 +1694,7 @@ module Google
1625
1694
  property :revision, as: 'revision'
1626
1695
  collection :route_conflicts, as: 'routeConflicts', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict::Representation
1627
1696
 
1697
+ property :service_account, as: 'serviceAccount'
1628
1698
  property :state, as: 'state'
1629
1699
  end
1630
1700
  end
@@ -1778,7 +1848,9 @@ module Google
1778
1848
  class GoogleCloudApigeeV1Environment
1779
1849
  # @private
1780
1850
  class Representation < Google::Apis::Core::JsonRepresentation
1851
+ property :api_proxy_type, as: 'apiProxyType'
1781
1852
  property :created_at, :numeric_string => true, as: 'createdAt'
1853
+ property :deployment_type, as: 'deploymentType'
1782
1854
  property :description, as: 'description'
1783
1855
  property :display_name, as: 'displayName'
1784
1856
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
@@ -1792,6 +1864,7 @@ module Google
1792
1864
  class GoogleCloudApigeeV1EnvironmentConfig
1793
1865
  # @private
1794
1866
  class Representation < Google::Apis::Core::JsonRepresentation
1867
+ property :arc_config_location, as: 'arcConfigLocation'
1795
1868
  property :create_time, as: 'createTime'
1796
1869
  collection :data_collectors, as: 'dataCollectors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig::Representation
1797
1870
 
@@ -1802,6 +1875,7 @@ module Google
1802
1875
  hash :feature_flags, as: 'featureFlags'
1803
1876
  collection :flowhooks, as: 'flowhooks', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig::Representation
1804
1877
 
1878
+ property :gateway_config_location, as: 'gatewayConfigLocation'
1805
1879
  collection :keystores, as: 'keystores', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig::Representation
1806
1880
 
1807
1881
  property :name, as: 'name'
@@ -1906,6 +1980,32 @@ module Google
1906
1980
  end
1907
1981
  end
1908
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
+
1909
2009
  class GoogleCloudApigeeV1GetSyncAuthorizationRequest
1910
2010
  # @private
1911
2011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1967,6 +2067,7 @@ module Google
1967
2067
  property :name, as: 'name'
1968
2068
  property :peering_cidr_range, as: 'peeringCidrRange'
1969
2069
  property :port, as: 'port'
2070
+ property :runtime_version, as: 'runtimeVersion'
1970
2071
  property :state, as: 'state'
1971
2072
  end
1972
2073
  end
@@ -2009,13 +2110,6 @@ module Google
2009
2110
  end
2010
2111
  end
2011
2112
 
2012
- class GoogleCloudApigeeV1IntegrationConfig
2013
- # @private
2014
- class Representation < Google::Apis::Core::JsonRepresentation
2015
- property :enabled, as: 'enabled'
2016
- end
2017
- end
2018
-
2019
2113
  class GoogleCloudApigeeV1KeyAliasReference
2020
2114
  # @private
2021
2115
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2085,6 +2179,15 @@ module Google
2085
2179
  end
2086
2180
  end
2087
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
+
2088
2191
  class GoogleCloudApigeeV1ListAsyncQueriesResponse
2089
2192
  # @private
2090
2193
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2874,6 +2977,7 @@ module Google
2874
2977
  class GoogleCloudApigeeV1TargetServerConfig
2875
2978
  # @private
2876
2979
  class Representation < Google::Apis::Core::JsonRepresentation
2980
+ property :enabled, as: 'enabled'
2877
2981
  property :host, as: 'host'
2878
2982
  property :name, as: 'name'
2879
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
@@ -1945,8 +1982,8 @@ module Google
1945
1982
  # expire an access token in less than 180 seconds.
1946
1983
  # @param [String] parent
1947
1984
  # Required. Email address of the developer for which attributes are being
1948
- # updated in the following format: `organizations/`org`/developers/`
1949
- # developer_email``
1985
+ # updated. Use the following structure in your request: `organizations/`org`/
1986
+ # developers/`developer_email``
1950
1987
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attributes] google_cloud_apigee_v1_attributes_object
1951
1988
  # @param [String] fields
1952
1989
  # Selector specifying which fields to include in a partial response.
@@ -2148,16 +2185,18 @@ module Google
2148
2185
  execute_or_queue_command(command, &block)
2149
2186
  end
2150
2187
 
2151
- # Sets the status of a developer. Valid values are `active` or `inactive`. A
2152
- # developer is `active` by default. If you set a developer's status to `inactive`
2153
- # , the API keys assigned to the developer apps are no longer valid even though
2154
- # the API keys are set to `approved`. Inactive developers can still sign in to
2155
- # the developer portal and create apps; however, any new API keys generated
2156
- # during app creation won't work. If successful, the API call returns the
2157
- # following HTTP status code: `204 No Content`
2188
+ # Sets the status of a developer. A developer is `active` by default. If you set
2189
+ # a developer's status to `inactive`, the API keys assigned to the developer
2190
+ # apps are no longer valid even though the API keys are set to `approved`.
2191
+ # Inactive developers can still sign in to the developer portal and create apps;
2192
+ # however, any new API keys generated during app creation won't work. To set the
2193
+ # status of a developer, set the `action` query parameter to `active` or `
2194
+ # inactive`, and the `Content-Type` header to `application/octet-stream`. If
2195
+ # successful, the API call returns the following HTTP status code: `204 No
2196
+ # Content`
2158
2197
  # @param [String] name
2159
- # Required. Email address of the developer. Use the following structure in your
2160
- # request: `organizations/`org`/developers/`developer_email``
2198
+ # Required. Name of the developer. Use the following structure in your request: `
2199
+ # organizations/`org`/developers/`developer_id``
2161
2200
  # @param [String] action
2162
2201
  # Status of the developer. Valid values are `active` and `inactive`.
2163
2202
  # @param [String] fields
@@ -3049,8 +3088,9 @@ module Google
3049
3088
 
3050
3089
  # Returns a list of all developer attributes.
3051
3090
  # @param [String] parent
3052
- # Required. Email address of the developer for which attributes are being listed
3053
- # in the following format: `organizations/`org`/developers/`developer_email``
3091
+ # Required. Email address of the developer for which attributes are being listed.
3092
+ # Use the following structure in your request: `organizations/`org`/developers/`
3093
+ # developer_email``
3054
3094
  # @param [String] fields
3055
3095
  # Selector specifying which fields to include in a partial response.
3056
3096
  # @param [String] quota_user
@@ -4312,6 +4352,10 @@ module Google
4312
4352
  # GenerateDeployChangeReport) may be used to examine routing changes before
4313
4353
  # issuing the deployment request, and its response will indicate if a sequenced
4314
4354
  # rollout is recommended for the deployment.
4355
+ # @param [String] service_account
4356
+ # Google Cloud IAM service account. The service account represents the identity
4357
+ # of the deployed proxy, and determines what permissions it has. The format must
4358
+ # be ``ACCOUNT_ID`@`PROJECT`.iam.gserviceaccount.com`.
4315
4359
  # @param [String] fields
4316
4360
  # Selector specifying which fields to include in a partial response.
4317
4361
  # @param [String] quota_user
@@ -4329,13 +4373,14 @@ module Google
4329
4373
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4330
4374
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4331
4375
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4332
- def deploy_organization_environment_api_revision(name, override: nil, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block)
4376
+ def deploy_organization_environment_api_revision(name, override: nil, sequenced_rollout: nil, service_account: nil, fields: nil, quota_user: nil, options: nil, &block)
4333
4377
  command = make_simple_command(:post, 'v1/{+name}/deployments', options)
4334
4378
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation
4335
4379
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment
4336
4380
  command.params['name'] = name unless name.nil?
4337
4381
  command.query['override'] = override unless override.nil?
4338
4382
  command.query['sequencedRollout'] = sequenced_rollout unless sequenced_rollout.nil?
4383
+ command.query['serviceAccount'] = service_account unless service_account.nil?
4339
4384
  command.query['fields'] = fields unless fields.nil?
4340
4385
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4341
4386
  execute_or_queue_command(command, &block)
@@ -4684,6 +4729,261 @@ module Google
4684
4729
  execute_or_queue_command(command, &block)
4685
4730
  end
4686
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
+
4687
4987
  # Deletes a cache.
4688
4988
  # @param [String] name
4689
4989
  # Required. Cache resource name of the form: `organizations/`organization_id`/
@@ -5927,6 +6227,10 @@ module Google
5927
6227
  # replace other deployed revisions. By default, `override` is `false` and the
5928
6228
  # deployment is rejected if other revisions of the shared flow are deployed in
5929
6229
  # the environment.
6230
+ # @param [String] service_account
6231
+ # Google Cloud IAM service account. The service account represents the identity
6232
+ # of the deployed proxy, and determines what permissions it has. The format must
6233
+ # be ``ACCOUNT_ID`@`PROJECT`.iam.gserviceaccount.com`.
5930
6234
  # @param [String] fields
5931
6235
  # Selector specifying which fields to include in a partial response.
5932
6236
  # @param [String] quota_user
@@ -5944,12 +6248,13 @@ module Google
5944
6248
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5945
6249
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5946
6250
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5947
- def deploy_organization_environment_sharedflow_revision(name, override: nil, fields: nil, quota_user: nil, options: nil, &block)
6251
+ def deploy_organization_environment_sharedflow_revision(name, override: nil, service_account: nil, fields: nil, quota_user: nil, options: nil, &block)
5948
6252
  command = make_simple_command(:post, 'v1/{+name}/deployments', options)
5949
6253
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation
5950
6254
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment
5951
6255
  command.params['name'] = name unless name.nil?
5952
6256
  command.query['override'] = override unless override.nil?
6257
+ command.query['serviceAccount'] = service_account unless service_account.nil?
5953
6258
  command.query['fields'] = fields unless fields.nil?
5954
6259
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5955
6260
  execute_or_queue_command(command, &block)
@@ -6858,6 +7163,45 @@ module Google
6858
7163
  execute_or_queue_command(command, &block)
6859
7164
  end
6860
7165
 
7166
+ # Updates an Apigee runtime instance. You can update the fields described in
7167
+ # NodeConfig. No other fields will be updated. **Note:** Not supported for
7168
+ # Apigee hybrid.
7169
+ # @param [String] name
7170
+ # Required. Name of the instance. Use the following structure in your request: `
7171
+ # organizations/`org`/instances/`instance``.
7172
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object
7173
+ # @param [String] update_mask
7174
+ # List of fields to be updated.
7175
+ # @param [String] fields
7176
+ # Selector specifying which fields to include in a partial response.
7177
+ # @param [String] quota_user
7178
+ # Available to use for quota purposes for server-side applications. Can be any
7179
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7180
+ # @param [Google::Apis::RequestOptions] options
7181
+ # Request-specific options
7182
+ #
7183
+ # @yield [result, err] Result & error if block supplied
7184
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
7185
+ # @yieldparam err [StandardError] error object if request failed
7186
+ #
7187
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
7188
+ #
7189
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7190
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7191
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7192
+ def patch_organization_instance(name, google_cloud_apigee_v1_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
7193
+ command = make_simple_command(:patch, 'v1/{+name}', options)
7194
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
7195
+ command.request_object = google_cloud_apigee_v1_instance_object
7196
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
7197
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
7198
+ command.params['name'] = name unless name.nil?
7199
+ command.query['updateMask'] = update_mask unless update_mask.nil?
7200
+ command.query['fields'] = fields unless fields.nil?
7201
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7202
+ execute_or_queue_command(command, &block)
7203
+ end
7204
+
6861
7205
  # Reports the latest status for a runtime instance.
6862
7206
  # @param [String] instance
6863
7207
  # The name of the instance reporting this status. For SaaS the request will be
@@ -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.16.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-07-05 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.16.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: []