google-apis-apigee_v1 0.31.0 → 0.35.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: 89f9271f9faccf1a1a6f90ddc74d64c9b4d225d890cca2b03048165d22ba2615
4
- data.tar.gz: f8cb1257bb4a146751a3ae1a25ebdf802014469297478515aee37de146161dd5
3
+ metadata.gz: 176882c80e05b154bda00bc06cc235c21f5b53563f8c93d606cebe8039ba7ce3
4
+ data.tar.gz: 31893d4336737555fe65b052bdb0584469e4ed0659009c00a7a26665fdf887cd
5
5
  SHA512:
6
- metadata.gz: bc92e62a1bad11c588982b0d3e0866f72a8d5bdb8a7f4aed7eceaa69f6e3f6f8d8fbf6b642f1f2b0f532658e1a15bd2bc1796a6c63d2c6d7d6c4aee29d4beda3
7
- data.tar.gz: ed0525dca73671afaff817647fedfea7630a2904a2a1f0c43165689e28dfee411185a57f65545326d25e0145fbb16aea363c25889f44dcf93c59ca92860da97f
6
+ metadata.gz: dcfa78db9fcf0a1deaf29c70fff0c75fb8d27964762ce776620708def3162171ad6023951dd77c8ca5a50b3e7ec9b6364475001f9710f11b52186ee5af50c1d6
7
+ data.tar.gz: 3b7f71e9cff7a61d31d0d877154de65096b384c3dfa088f807078558ebb026f988fe9008019e9b3ab3f22d54e23fb4e4a744e732d9d6a1826fafbd5458ceaa65
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.35.0 (2022-02-15)
4
+
5
+ * Regenerated from discovery document revision 20220210
6
+
7
+ ### v0.34.0 (2022-02-08)
8
+
9
+ * Regenerated from discovery document revision 20220205
10
+
11
+ ### v0.33.0 (2022-02-01)
12
+
13
+ * Regenerated from discovery document revision 20220127
14
+
15
+ ### v0.32.0 (2022-01-21)
16
+
17
+ * Regenerated from discovery document revision 20220119
18
+ * Regenerated using generator version 0.4.1
19
+
3
20
  ### v0.31.0 (2022-01-11)
4
21
 
5
22
  * Regenerated from discovery document revision 20220105
@@ -659,6 +659,11 @@ module Google
659
659
  class GoogleCloudApigeeV1ApiProxy
660
660
  include Google::Apis::Core::Hashable
661
661
 
662
+ # Output only. The type of the API proxy.
663
+ # Corresponds to the JSON property `apiProxyType`
664
+ # @return [String]
665
+ attr_accessor :api_proxy_type
666
+
662
667
  # User labels applied to this API Proxy.
663
668
  # Corresponds to the JSON property `labels`
664
669
  # @return [Hash<String,String>]
@@ -679,6 +684,14 @@ module Google
679
684
  # @return [String]
680
685
  attr_accessor :name
681
686
 
687
+ # Output only. Whether this proxy is read-only. A read-only proxy cannot have
688
+ # new revisions created through calls to CreateApiProxyRevision. A proxy is read-
689
+ # only if it was generated by an archive.
690
+ # Corresponds to the JSON property `readOnly`
691
+ # @return [Boolean]
692
+ attr_accessor :read_only
693
+ alias_method :read_only?, :read_only
694
+
682
695
  # Output only. List of revisons defined for the API proxy.
683
696
  # Corresponds to the JSON property `revision`
684
697
  # @return [Array<String>]
@@ -690,10 +703,12 @@ module Google
690
703
 
691
704
  # Update properties of this object
692
705
  def update!(**args)
706
+ @api_proxy_type = args[:api_proxy_type] if args.key?(:api_proxy_type)
693
707
  @labels = args[:labels] if args.key?(:labels)
694
708
  @latest_revision_id = args[:latest_revision_id] if args.key?(:latest_revision_id)
695
709
  @meta_data = args[:meta_data] if args.key?(:meta_data)
696
710
  @name = args[:name] if args.key?(:name)
711
+ @read_only = args[:read_only] if args.key?(:read_only)
697
712
  @revision = args[:revision] if args.key?(:revision)
698
713
  end
699
714
  end
@@ -702,6 +717,14 @@ module Google
702
717
  class GoogleCloudApigeeV1ApiProxyRevision
703
718
  include Google::Apis::Core::Hashable
704
719
 
720
+ # Output only. The archive that generated this proxy revision. This field is
721
+ # only present on proxy revisions that were generated by an archive. Proxies
722
+ # generated by archives cannot be updated, deleted, or deployed to other
723
+ # environments. Format: `organizations/*/environments/*/archiveDeployments/*`
724
+ # Corresponds to the JSON property `archive`
725
+ # @return [String]
726
+ attr_accessor :archive
727
+
705
728
  # Base URL of the API proxy.
706
729
  # Corresponds to the JSON property `basepaths`
707
730
  # @return [Array<String>]
@@ -838,6 +861,7 @@ module Google
838
861
 
839
862
  # Update properties of this object
840
863
  def update!(**args)
864
+ @archive = args[:archive] if args.key?(:archive)
841
865
  @basepaths = args[:basepaths] if args.key?(:basepaths)
842
866
  @configuration_version = args[:configuration_version] if args.key?(:configuration_version)
843
867
  @context_info = args[:context_info] if args.key?(:context_info)
@@ -2094,6 +2118,11 @@ module Google
2094
2118
  # @return [Fixnum]
2095
2119
  attr_accessor :count
2096
2120
 
2121
+ # Output only. The first transaction creation timestamp, recorded by UAP.
2122
+ # Corresponds to the JSON property `createTime`
2123
+ # @return [String]
2124
+ attr_accessor :create_time
2125
+
2097
2126
  # Optional. A conditional statement which is evaluated against the request
2098
2127
  # message to determine if it should be traced. Syntax matches that of on API
2099
2128
  # Proxy bundle flow Condition.
@@ -2132,6 +2161,7 @@ module Google
2132
2161
  # Update properties of this object
2133
2162
  def update!(**args)
2134
2163
  @count = args[:count] if args.key?(:count)
2164
+ @create_time = args[:create_time] if args.key?(:create_time)
2135
2165
  @filter = args[:filter] if args.key?(:filter)
2136
2166
  @name = args[:name] if args.key?(:name)
2137
2167
  @timeout = args[:timeout] if args.key?(:timeout)
@@ -2903,6 +2933,45 @@ module Google
2903
2933
  end
2904
2934
  end
2905
2935
 
2936
+ # Apigee Endpoint Attachment.
2937
+ class GoogleCloudApigeeV1EndpointAttachment
2938
+ include Google::Apis::Core::Hashable
2939
+
2940
+ # Output only. Host that can be used in either HTTP Target Endpoint directly, or
2941
+ # as the host in Target Server.
2942
+ # Corresponds to the JSON property `host`
2943
+ # @return [String]
2944
+ attr_accessor :host
2945
+
2946
+ # Required. Location of the endpoint attachment.
2947
+ # Corresponds to the JSON property `location`
2948
+ # @return [String]
2949
+ attr_accessor :location
2950
+
2951
+ # Name of the Endpoint Attachment in the following format: `organizations/`
2952
+ # organization`/endpointAttachments/`endpoint_attachment``.
2953
+ # Corresponds to the JSON property `name`
2954
+ # @return [String]
2955
+ attr_accessor :name
2956
+
2957
+ # Format: projects/*/regions/*/serviceAttachments/*
2958
+ # Corresponds to the JSON property `serviceAttachment`
2959
+ # @return [String]
2960
+ attr_accessor :service_attachment
2961
+
2962
+ def initialize(**args)
2963
+ update!(**args)
2964
+ end
2965
+
2966
+ # Update properties of this object
2967
+ def update!(**args)
2968
+ @host = args[:host] if args.key?(:host)
2969
+ @location = args[:location] if args.key?(:location)
2970
+ @name = args[:name] if args.key?(:name)
2971
+ @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
2972
+ end
2973
+ end
2974
+
2906
2975
  # Metadata common to many entities in this API.
2907
2976
  class GoogleCloudApigeeV1EntityMetadata
2908
2977
  include Google::Apis::Core::Hashable
@@ -3758,6 +3827,18 @@ module Google
3758
3827
  # @return [String]
3759
3828
  attr_accessor :host
3760
3829
 
3830
+ # Optional. IP range represents the customer-provided CIDR block of length 22
3831
+ # that will be used for the Apigee instance creation. This optional range, if
3832
+ # provided, should be freely available as part of larger named range the
3833
+ # customer has allocated to the Service Networking peering. If this is not
3834
+ # provided, Apigee will automatically request for any available /22 CIDR block
3835
+ # from Service Networking. The customer should use this CIDR block for
3836
+ # configuring their firewall needs to allow traffic from Apigee. Input format: "
3837
+ # a.b.c.d/22", Output format: a.b.c.d/22, e.f.g.h/28"
3838
+ # Corresponds to the JSON property `ipRange`
3839
+ # @return [String]
3840
+ attr_accessor :ip_range
3841
+
3761
3842
  # Output only. Time the instance was last modified in milliseconds since epoch.
3762
3843
  # Corresponds to the JSON property `lastModifiedAt`
3763
3844
  # @return [Fixnum]
@@ -3810,6 +3891,7 @@ module Google
3810
3891
  @disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name)
3811
3892
  @display_name = args[:display_name] if args.key?(:display_name)
3812
3893
  @host = args[:host] if args.key?(:host)
3894
+ @ip_range = args[:ip_range] if args.key?(:ip_range)
3813
3895
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
3814
3896
  @location = args[:location] if args.key?(:location)
3815
3897
  @name = args[:name] if args.key?(:name)
@@ -3992,17 +4074,18 @@ module Google
3992
4074
  end
3993
4075
  end
3994
4076
 
3995
- # A collection of key, value string pairs
4077
+ # Collection of key/value string pairs.
3996
4078
  class GoogleCloudApigeeV1KeyValueMap
3997
4079
  include Google::Apis::Core::Hashable
3998
4080
 
3999
- # Optional. If `true` entry values will be encrypted.
4081
+ # Optional. Flag that specifies whether entry values will be encrypted. Enable
4082
+ # to encrypt entry values.
4000
4083
  # Corresponds to the JSON property `encrypted`
4001
4084
  # @return [Boolean]
4002
4085
  attr_accessor :encrypted
4003
4086
  alias_method :encrypted?, :encrypted
4004
4087
 
4005
- # Required. The id of the key value map.
4088
+ # Required. ID of the key value map.
4006
4089
  # Corresponds to the JSON property `name`
4007
4090
  # @return [String]
4008
4091
  attr_accessor :name
@@ -4370,6 +4453,32 @@ module Google
4370
4453
  end
4371
4454
  end
4372
4455
 
4456
+ # Response for ListEndpointAttachments method.
4457
+ class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
4458
+ include Google::Apis::Core::Hashable
4459
+
4460
+ # Endpoint Attachments in the specified organization.
4461
+ # Corresponds to the JSON property `endpointAttachments`
4462
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment>]
4463
+ attr_accessor :endpoint_attachments
4464
+
4465
+ # Page token that you can include in a ListEndpointAttachments request to
4466
+ # retrieve the next page. If omitted, no subsequent pages exist.
4467
+ # Corresponds to the JSON property `nextPageToken`
4468
+ # @return [String]
4469
+ attr_accessor :next_page_token
4470
+
4471
+ def initialize(**args)
4472
+ update!(**args)
4473
+ end
4474
+
4475
+ # Update properties of this object
4476
+ def update!(**args)
4477
+ @endpoint_attachments = args[:endpoint_attachments] if args.key?(:endpoint_attachments)
4478
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4479
+ end
4480
+ end
4481
+
4373
4482
  # Response for ListEnvironmentGroupAttachments.
4374
4483
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
4375
4484
  include Google::Apis::Core::Hashable
@@ -6629,7 +6738,7 @@ module Google
6629
6738
  # @return [String]
6630
6739
  attr_accessor :id
6631
6740
 
6632
- # The first transaction creation timestamp in millisecond, recoreded by UAP.
6741
+ # The first transaction creation timestamp in millisecond, recorded by UAP.
6633
6742
  # Corresponds to the JSON property `timestampMs`
6634
6743
  # @return [Fixnum]
6635
6744
  attr_accessor :timestamp_ms
@@ -7018,7 +7127,7 @@ module Google
7018
7127
  # @return [String]
7019
7128
  attr_accessor :protocol
7020
7129
 
7021
- # TLS configuration information for VirtualHosts and TargetServers.
7130
+ # TLS configuration information for virtual hosts and TargetServers.
7022
7131
  # Corresponds to the JSON property `sSLInfo`
7023
7132
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfo]
7024
7133
  attr_accessor :s_sl_info
@@ -7116,7 +7225,7 @@ module Google
7116
7225
  end
7117
7226
  end
7118
7227
 
7119
- # TLS configuration information for VirtualHosts and TargetServers.
7228
+ # TLS configuration information for virtual hosts and TargetServers.
7120
7229
  class GoogleCloudApigeeV1TlsInfo
7121
7230
  include Google::Apis::Core::Hashable
7122
7231
 
@@ -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.31.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220105"
25
+ REVISION = "20220210"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,12 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class GoogleCloudApigeeV1EndpointAttachment
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
391
397
  class GoogleCloudApigeeV1EntityMetadata
392
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
399
 
@@ -646,6 +652,12 @@ module Google
646
652
  include Google::Apis::Core::JsonObjectSupport
647
653
  end
648
654
 
655
+ class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
649
661
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
650
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
663
 
@@ -1378,11 +1390,13 @@ module Google
1378
1390
  class GoogleCloudApigeeV1ApiProxy
1379
1391
  # @private
1380
1392
  class Representation < Google::Apis::Core::JsonRepresentation
1393
+ property :api_proxy_type, as: 'apiProxyType'
1381
1394
  hash :labels, as: 'labels'
1382
1395
  property :latest_revision_id, as: 'latestRevisionId'
1383
1396
  property :meta_data, as: 'metaData', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata::Representation
1384
1397
 
1385
1398
  property :name, as: 'name'
1399
+ property :read_only, as: 'readOnly'
1386
1400
  collection :revision, as: 'revision'
1387
1401
  end
1388
1402
  end
@@ -1390,6 +1404,7 @@ module Google
1390
1404
  class GoogleCloudApigeeV1ApiProxyRevision
1391
1405
  # @private
1392
1406
  class Representation < Google::Apis::Core::JsonRepresentation
1407
+ property :archive, as: 'archive'
1393
1408
  collection :basepaths, as: 'basepaths'
1394
1409
  property :configuration_version, as: 'configurationVersion', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion::Representation
1395
1410
 
@@ -1727,6 +1742,7 @@ module Google
1727
1742
  # @private
1728
1743
  class Representation < Google::Apis::Core::JsonRepresentation
1729
1744
  property :count, as: 'count'
1745
+ property :create_time, as: 'createTime'
1730
1746
  property :filter, as: 'filter'
1731
1747
  property :name, as: 'name'
1732
1748
  property :timeout, :numeric_string => true, as: 'timeout'
@@ -1932,6 +1948,16 @@ module Google
1932
1948
  end
1933
1949
  end
1934
1950
 
1951
+ class GoogleCloudApigeeV1EndpointAttachment
1952
+ # @private
1953
+ class Representation < Google::Apis::Core::JsonRepresentation
1954
+ property :host, as: 'host'
1955
+ property :location, as: 'location'
1956
+ property :name, as: 'name'
1957
+ property :service_attachment, as: 'serviceAttachment'
1958
+ end
1959
+ end
1960
+
1935
1961
  class GoogleCloudApigeeV1EntityMetadata
1936
1962
  # @private
1937
1963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2158,6 +2184,7 @@ module Google
2158
2184
  property :disk_encryption_key_name, as: 'diskEncryptionKeyName'
2159
2185
  property :display_name, as: 'displayName'
2160
2186
  property :host, as: 'host'
2187
+ property :ip_range, as: 'ipRange'
2161
2188
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
2162
2189
  property :location, as: 'location'
2163
2190
  property :name, as: 'name'
@@ -2358,6 +2385,15 @@ module Google
2358
2385
  end
2359
2386
  end
2360
2387
 
2388
+ class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
2389
+ # @private
2390
+ class Representation < Google::Apis::Core::JsonRepresentation
2391
+ collection :endpoint_attachments, as: 'endpointAttachments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment::Representation
2392
+
2393
+ property :next_page_token, as: 'nextPageToken'
2394
+ end
2395
+ end
2396
+
2361
2397
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
2362
2398
  # @private
2363
2399
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1454,10 +1454,10 @@ module Google
1454
1454
  execute_or_queue_command(command, &block)
1455
1455
  end
1456
1456
 
1457
- # Creates a key value map in an api proxy.
1457
+ # Creates a key value map in an API proxy.
1458
1458
  # @param [String] parent
1459
- # Required. The name of the environment in which to create the key value map.
1460
- # Must be of the form `organizations/`organization`/apis/`api``.
1459
+ # Required. Name of the environment in which to create the key value map. Use
1460
+ # the following structure in your request: `organizations/`org`/apis/`api``
1461
1461
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
1462
1462
  # @param [String] fields
1463
1463
  # Selector specifying which fields to include in a partial response.
@@ -1488,10 +1488,10 @@ module Google
1488
1488
  execute_or_queue_command(command, &block)
1489
1489
  end
1490
1490
 
1491
- # Delete a key value map in an api proxy.
1491
+ # Deletes a key value map from an API proxy.
1492
1492
  # @param [String] name
1493
- # Required. The name of the key value map. Must be of the form `organizations/`
1494
- # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``.
1493
+ # Required. Name of the key value map. Use the following structure in your
1494
+ # request: `organizations/`org`/apis/`api`/keyvaluemaps/`keyvaluemap``
1495
1495
  # @param [String] fields
1496
1496
  # Selector specifying which fields to include in a partial response.
1497
1497
  # @param [String] quota_user
@@ -2971,7 +2971,8 @@ module Google
2971
2971
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
2972
2972
  # @param [String] action
2973
2973
  # Approve or revoke the consumer key by setting this value to `approve` or `
2974
- # revoke`, respectively.
2974
+ # revoke`, respectively. The `Content-Type` header must be set to `application/
2975
+ # octet-stream`.
2975
2976
  # @param [String] fields
2976
2977
  # Selector specifying which fields to include in a partial response.
2977
2978
  # @param [String] quota_user
@@ -3470,6 +3471,144 @@ module Google
3470
3471
  execute_or_queue_command(command, &block)
3471
3472
  end
3472
3473
 
3474
+ # Creates an EndpointAttachment. **Note:** Not supported for Apigee hybrid.
3475
+ # @param [String] parent
3476
+ # Required. The Organization this EndpointAttachment will be created in.
3477
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment] google_cloud_apigee_v1_endpoint_attachment_object
3478
+ # @param [String] endpoint_attachment_id
3479
+ # The ID to use for the endpoint attachment. ID must be a 1-20 characters string
3480
+ # with lowercase letters and numbers and must start with a letter.
3481
+ # @param [String] fields
3482
+ # Selector specifying which fields to include in a partial response.
3483
+ # @param [String] quota_user
3484
+ # Available to use for quota purposes for server-side applications. Can be any
3485
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3486
+ # @param [Google::Apis::RequestOptions] options
3487
+ # Request-specific options
3488
+ #
3489
+ # @yield [result, err] Result & error if block supplied
3490
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
3491
+ # @yieldparam err [StandardError] error object if request failed
3492
+ #
3493
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
3494
+ #
3495
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3496
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3497
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3498
+ def create_organization_endpoint_attachment(parent, google_cloud_apigee_v1_endpoint_attachment_object = nil, endpoint_attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3499
+ command = make_simple_command(:post, 'v1/{+parent}/endpointAttachments', options)
3500
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment::Representation
3501
+ command.request_object = google_cloud_apigee_v1_endpoint_attachment_object
3502
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3503
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3504
+ command.params['parent'] = parent unless parent.nil?
3505
+ command.query['endpointAttachmentId'] = endpoint_attachment_id unless endpoint_attachment_id.nil?
3506
+ command.query['fields'] = fields unless fields.nil?
3507
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3508
+ execute_or_queue_command(command, &block)
3509
+ end
3510
+
3511
+ # Deletes an endpoint attachment.
3512
+ # @param [String] name
3513
+ # Required. Name of the Endpoint Attachment in the following format: `
3514
+ # organizations/`organization`/endpointAttachments/`endpoint_attachment``.
3515
+ # @param [String] fields
3516
+ # Selector specifying which fields to include in a partial response.
3517
+ # @param [String] quota_user
3518
+ # Available to use for quota purposes for server-side applications. Can be any
3519
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3520
+ # @param [Google::Apis::RequestOptions] options
3521
+ # Request-specific options
3522
+ #
3523
+ # @yield [result, err] Result & error if block supplied
3524
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
3525
+ # @yieldparam err [StandardError] error object if request failed
3526
+ #
3527
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
3528
+ #
3529
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3530
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3531
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3532
+ def delete_organization_endpoint_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
3533
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3534
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3535
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3536
+ command.params['name'] = name unless name.nil?
3537
+ command.query['fields'] = fields unless fields.nil?
3538
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3539
+ execute_or_queue_command(command, &block)
3540
+ end
3541
+
3542
+ # Gets the specified EndpointAttachment.
3543
+ # @param [String] name
3544
+ # Required. Name of the Endpoint Attachment in the following format: `
3545
+ # organizations/`organization`/endpointAttachments/`endpoint_attachment``.
3546
+ # @param [String] fields
3547
+ # Selector specifying which fields to include in a partial response.
3548
+ # @param [String] quota_user
3549
+ # Available to use for quota purposes for server-side applications. Can be any
3550
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3551
+ # @param [Google::Apis::RequestOptions] options
3552
+ # Request-specific options
3553
+ #
3554
+ # @yield [result, err] Result & error if block supplied
3555
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment] parsed result object
3556
+ # @yieldparam err [StandardError] error object if request failed
3557
+ #
3558
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment]
3559
+ #
3560
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3561
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3562
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3563
+ def get_organization_endpoint_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
3564
+ command = make_simple_command(:get, 'v1/{+name}', options)
3565
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment::Representation
3566
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment
3567
+ command.params['name'] = name unless name.nil?
3568
+ command.query['fields'] = fields unless fields.nil?
3569
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3570
+ execute_or_queue_command(command, &block)
3571
+ end
3572
+
3573
+ # Lists the EndpointAttachments in the specified Organization.
3574
+ # @param [String] parent
3575
+ # Required. Name of the Organization for which to list Endpoint Attachments in
3576
+ # the format: `organizations/`organization``.
3577
+ # @param [Fixnum] page_size
3578
+ # Optional. Maximum number of Endpoint Attachments to return. If unspecified, at
3579
+ # most 25 attachments will be returned.
3580
+ # @param [String] page_token
3581
+ # Optional. Page token, returned from a previous ListEndpointAttachments call,
3582
+ # that you can use to retrieve the next page.
3583
+ # @param [String] fields
3584
+ # Selector specifying which fields to include in a partial response.
3585
+ # @param [String] quota_user
3586
+ # Available to use for quota purposes for server-side applications. Can be any
3587
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3588
+ # @param [Google::Apis::RequestOptions] options
3589
+ # Request-specific options
3590
+ #
3591
+ # @yield [result, err] Result & error if block supplied
3592
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse] parsed result object
3593
+ # @yieldparam err [StandardError] error object if request failed
3594
+ #
3595
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse]
3596
+ #
3597
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3598
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3599
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3600
+ def list_organization_endpoint_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3601
+ command = make_simple_command(:get, 'v1/{+parent}/endpointAttachments', options)
3602
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse::Representation
3603
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse
3604
+ command.params['parent'] = parent unless parent.nil?
3605
+ command.query['pageSize'] = page_size unless page_size.nil?
3606
+ command.query['pageToken'] = page_token unless page_token.nil?
3607
+ command.query['fields'] = fields unless fields.nil?
3608
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3609
+ execute_or_queue_command(command, &block)
3610
+ end
3611
+
3473
3612
  # Creates a new environment group.
3474
3613
  # @param [String] parent
3475
3614
  # Required. Name of the organization in which to create the environment group in
@@ -4165,7 +4304,8 @@ module Google
4165
4304
  # existing properties to the API, even if they are not being changed. If you
4166
4305
  # omit properties from the payload, the properties are removed. To get the
4167
4306
  # current list of properties for the environment, use the [Get Environment API](
4168
- # get).
4307
+ # get). **Note**: Both `PUT` and `POST` methods are supported for updating an
4308
+ # existing environment.
4169
4309
  # @param [String] name
4170
4310
  # Required. Name of the environment. Use the following structure in your request:
4171
4311
  # `organizations/`org`/environments/`env``
@@ -4244,7 +4384,8 @@ module Google
4244
4384
  # existing properties to the API, even if they are not being changed. If you
4245
4385
  # omit properties from the payload, the properties are removed. To get the
4246
4386
  # current list of properties for the environment, use the [Get Environment API](
4247
- # get).
4387
+ # get). **Note**: Both `PUT` and `POST` methods are supported for updating an
4388
+ # existing environment.
4248
4389
  # @param [String] name
4249
4390
  # Required. Name of the environment. Use the following structure in your request:
4250
4391
  # `organizations/`org`/environments/`env``
@@ -5661,8 +5802,9 @@ module Google
5661
5802
 
5662
5803
  # Creates a key value map in an environment.
5663
5804
  # @param [String] parent
5664
- # Required. The name of the environment in which to create the key value map.
5665
- # Must be of the form `organizations/`organization`/environments/`environment``.
5805
+ # Required. Name of the environment in which to create the key value map. Use
5806
+ # the following structure in your request: `organizations/`org`/environments/`
5807
+ # env``
5666
5808
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
5667
5809
  # @param [String] fields
5668
5810
  # Selector specifying which fields to include in a partial response.
@@ -5693,10 +5835,10 @@ module Google
5693
5835
  execute_or_queue_command(command, &block)
5694
5836
  end
5695
5837
 
5696
- # Delete a key value map in an environment.
5838
+ # Deletes a key value map from an environment.
5697
5839
  # @param [String] name
5698
- # Required. The name of the key value map. Must be of the form `organizations/`
5699
- # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap``.
5840
+ # Required. Name of the key value map. Use the following structure in your
5841
+ # request: `organizations/`org`/environments/`env`/keyvaluemaps/`keyvaluemap``
5700
5842
  # @param [String] fields
5701
5843
  # Selector specifying which fields to include in a partial response.
5702
5844
  # @param [String] quota_user
@@ -7784,8 +7926,8 @@ module Google
7784
7926
 
7785
7927
  # Creates a key value map in an organization.
7786
7928
  # @param [String] parent
7787
- # Required. The name of the organization in which to create the key value map
7788
- # file. Must be of the form `organizations/`organization``.
7929
+ # Required. Name of the organization in which to create the key value map file.
7930
+ # Use the following structure in your request: `organizations/`org``
7789
7931
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
7790
7932
  # @param [String] fields
7791
7933
  # Selector specifying which fields to include in a partial response.
@@ -7816,10 +7958,10 @@ module Google
7816
7958
  execute_or_queue_command(command, &block)
7817
7959
  end
7818
7960
 
7819
- # Delete a key value map in an organization.
7961
+ # Deletes a key value map from an organization.
7820
7962
  # @param [String] name
7821
- # Required. The name of the key value map. Must be of the form `organizations/`
7822
- # organization`/keyvaluemaps/`keyvaluemap``.
7963
+ # Required. Name of the key value map. Use the following structure in your
7964
+ # request: `organizations/`org`/keyvaluemaps/`keyvaluemap``
7823
7965
  # @param [String] fields
7824
7966
  # Selector specifying which fields to include in a partial response.
7825
7967
  # @param [String] quota_user
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.31.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-17 00:00:00.000000000 Z
11
+ date: 2022-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []