google-apis-apigee_v1 0.46.0 → 0.47.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: 789aa917b45cd00135f4dde2c3d5a27dc1506f8164e9f03a63fb0d5388f46126
4
- data.tar.gz: 8f3210db4f9adfaccd7fca185d135d7124c2bf90e10ef26cf748025fc4c1f031
3
+ metadata.gz: 989c147d0930822de073acc2c3c05c1884d353e9bf3a8400817e57903b03db2d
4
+ data.tar.gz: 7112d0b7d63537f73fef4fc7817af83a559b0e81445d5eadc28cd3cef6683b9a
5
5
  SHA512:
6
- metadata.gz: 7f96d63353c508a43e6eda703494f1586a1d9f8af73dc719a665ceed4fb42de5da643bc0f9b2ece6738335da1787e039c6547036332c4accc3f3711667a02f02
7
- data.tar.gz: 36f02a59fbd1b6608025a43abdcf17b164af4a7739da5dbc4a8ddc46aebdad927e52fb39971283d887637e9a0313312c8bc179117131457d6a1d936ddfc88571
6
+ metadata.gz: a9687d8371569a5a2e6652f11f0689e49fa51af49ee059d5a58b6de82a28cde8e38898fec09bea592fd4dcf14262bf1553b0d662c2a414704d4c40becba7812b
7
+ data.tar.gz: 1c6c0a25df5e1996d9309a01226b55f7eecf147aa10374b43578bd483fa9469c6e14f95c3c924565ae5e3ba61ab88a364cd7a58a5edfe30c0e1dd153a0c9a41b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.47.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.46.0 (2022-05-18)
4
9
 
5
10
  * Regenerated from discovery document revision 20220513
@@ -4169,12 +4169,41 @@ module Google
4169
4169
  end
4170
4170
  end
4171
4171
 
4172
+ # Key value map pair where the value represents the data associated with the
4173
+ # corresponding key.
4174
+ class GoogleCloudApigeeV1KeyValueEntry
4175
+ include Google::Apis::Core::Hashable
4176
+
4177
+ # Resource URI that can be used to identify the scope of the key value map
4178
+ # entries.
4179
+ # Corresponds to the JSON property `name`
4180
+ # @return [String]
4181
+ attr_accessor :name
4182
+
4183
+ # Required. Data or payload that is being retrieved and associated with the
4184
+ # unique key.
4185
+ # Corresponds to the JSON property `value`
4186
+ # @return [String]
4187
+ attr_accessor :value
4188
+
4189
+ def initialize(**args)
4190
+ update!(**args)
4191
+ end
4192
+
4193
+ # Update properties of this object
4194
+ def update!(**args)
4195
+ @name = args[:name] if args.key?(:name)
4196
+ @value = args[:value] if args.key?(:value)
4197
+ end
4198
+ end
4199
+
4172
4200
  # Collection of key/value string pairs.
4173
4201
  class GoogleCloudApigeeV1KeyValueMap
4174
4202
  include Google::Apis::Core::Hashable
4175
4203
 
4176
- # Optional. Flag that specifies whether entry values will be encrypted. Enable
4177
- # to encrypt entry values.
4204
+ # Optional. Flag that specifies whether entry values will be encrypted. You must
4205
+ # set this value to `true`. Apigee X and hybrid do not support unencrytped key
4206
+ # value maps.
4178
4207
  # Corresponds to the JSON property `encrypted`
4179
4208
  # @return [Boolean]
4180
4209
  attr_accessor :encrypted
@@ -4736,6 +4765,33 @@ module Google
4736
4765
  end
4737
4766
  end
4738
4767
 
4768
+ # The request structure for listing Key value map keys and its corrresponding
4769
+ # values.
4770
+ class GoogleCloudApigeeV1ListKeyValueEntriesResponse
4771
+ include Google::Apis::Core::Hashable
4772
+
4773
+ # One or more key value map keys and values.
4774
+ # Corresponds to the JSON property `keyValueEntries`
4775
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry>]
4776
+ attr_accessor :key_value_entries
4777
+
4778
+ # Token that can be sent as `next_page_token` to retrieve the next page. If this
4779
+ # field is omitted, there are no subsequent pages.
4780
+ # Corresponds to the JSON property `nextPageToken`
4781
+ # @return [String]
4782
+ attr_accessor :next_page_token
4783
+
4784
+ def initialize(**args)
4785
+ update!(**args)
4786
+ end
4787
+
4788
+ # Update properties of this object
4789
+ def update!(**args)
4790
+ @key_value_entries = args[:key_value_entries] if args.key?(:key_value_entries)
4791
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4792
+ end
4793
+ end
4794
+
4739
4795
  # Response for ListNatAddresses.
4740
4796
  class GoogleCloudApigeeV1ListNatAddressesResponse
4741
4797
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220513"
25
+ REVISION = "20220602"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class GoogleCloudApigeeV1KeyValueEntry
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class GoogleCloudApigeeV1KeyValueMap
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -712,6 +718,12 @@ module Google
712
718
  include Google::Apis::Core::JsonObjectSupport
713
719
  end
714
720
 
721
+ class GoogleCloudApigeeV1ListKeyValueEntriesResponse
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
715
727
  class GoogleCloudApigeeV1ListNatAddressesResponse
716
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
729
 
@@ -2281,6 +2293,14 @@ module Google
2281
2293
  end
2282
2294
  end
2283
2295
 
2296
+ class GoogleCloudApigeeV1KeyValueEntry
2297
+ # @private
2298
+ class Representation < Google::Apis::Core::JsonRepresentation
2299
+ property :name, as: 'name'
2300
+ property :value, as: 'value'
2301
+ end
2302
+ end
2303
+
2284
2304
  class GoogleCloudApigeeV1KeyValueMap
2285
2305
  # @private
2286
2306
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2487,6 +2507,15 @@ module Google
2487
2507
  end
2488
2508
  end
2489
2509
 
2510
+ class GoogleCloudApigeeV1ListKeyValueEntriesResponse
2511
+ # @private
2512
+ class Representation < Google::Apis::Core::JsonRepresentation
2513
+ collection :key_value_entries, as: 'keyValueEntries', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
2514
+
2515
+ property :next_page_token, as: 'nextPageToken'
2516
+ end
2517
+ end
2518
+
2490
2519
  class GoogleCloudApigeeV1ListNatAddressesResponse
2491
2520
  # @private
2492
2521
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1561,6 +1561,160 @@ module Google
1561
1561
  execute_or_queue_command(command, &block)
1562
1562
  end
1563
1563
 
1564
+ # Creates key value entries in a key value map scoped to an organization,
1565
+ # environment, or API proxy.
1566
+ # @param [String] parent
1567
+ # Required. Scope as indicated by the URI in which to create the key value map
1568
+ # entry. Use **one** of the following structures in your request: * `
1569
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
1570
+ # organizations/`organization`/environments/`environment`/keyvaluemaps/`
1571
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
1572
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
1573
+ # @param [String] fields
1574
+ # Selector specifying which fields to include in a partial response.
1575
+ # @param [String] quota_user
1576
+ # Available to use for quota purposes for server-side applications. Can be any
1577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1578
+ # @param [Google::Apis::RequestOptions] options
1579
+ # Request-specific options
1580
+ #
1581
+ # @yield [result, err] Result & error if block supplied
1582
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
1583
+ # @yieldparam err [StandardError] error object if request failed
1584
+ #
1585
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
1586
+ #
1587
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1588
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1589
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1590
+ def create_organization_api_keyvaluemap_entry(parent, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1591
+ command = make_simple_command(:post, 'v1/{+parent}/entries', options)
1592
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
1593
+ command.request_object = google_cloud_apigee_v1_key_value_entry_object
1594
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
1595
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
1596
+ command.params['parent'] = parent unless parent.nil?
1597
+ command.query['fields'] = fields unless fields.nil?
1598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1599
+ execute_or_queue_command(command, &block)
1600
+ end
1601
+
1602
+ # Deletes a key value entry from a key value map scoped to an organization,
1603
+ # environment, or API proxy. **Note:** After you delete the key value entry, the
1604
+ # policy consuming the entry will continue to function with its cached values
1605
+ # for a few minutes. This is expected behavior.
1606
+ # @param [String] name
1607
+ # Required. Scope as indicated by the URI in which to delete the key value map
1608
+ # entry. Use **one** of the following structures in your request: * `
1609
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
1610
+ # entry``. * `organizations/`organization`/environments/`environment`/
1611
+ # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
1612
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``.
1613
+ # @param [String] fields
1614
+ # Selector specifying which fields to include in a partial response.
1615
+ # @param [String] quota_user
1616
+ # Available to use for quota purposes for server-side applications. Can be any
1617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1618
+ # @param [Google::Apis::RequestOptions] options
1619
+ # Request-specific options
1620
+ #
1621
+ # @yield [result, err] Result & error if block supplied
1622
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
1623
+ # @yieldparam err [StandardError] error object if request failed
1624
+ #
1625
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
1626
+ #
1627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1630
+ def delete_organization_api_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
1631
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1632
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
1633
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
1634
+ command.params['name'] = name unless name.nil?
1635
+ command.query['fields'] = fields unless fields.nil?
1636
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1637
+ execute_or_queue_command(command, &block)
1638
+ end
1639
+
1640
+ # Get the Key value entry value for org, env or apis scoped Key value map.
1641
+ # @param [String] name
1642
+ # Required. Scope as indicated by the URI in which to fetch the key value map
1643
+ # entry/value. Use **one** of the following structures in your request: * `
1644
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
1645
+ # entry``. * `organizations/`organization`/environments/`environment`/
1646
+ # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
1647
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``.
1648
+ # @param [String] fields
1649
+ # Selector specifying which fields to include in a partial response.
1650
+ # @param [String] quota_user
1651
+ # Available to use for quota purposes for server-side applications. Can be any
1652
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1653
+ # @param [Google::Apis::RequestOptions] options
1654
+ # Request-specific options
1655
+ #
1656
+ # @yield [result, err] Result & error if block supplied
1657
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
1658
+ # @yieldparam err [StandardError] error object if request failed
1659
+ #
1660
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
1661
+ #
1662
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1663
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1664
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1665
+ def get_organization_api_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
1666
+ command = make_simple_command(:get, 'v1/{+name}', options)
1667
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
1668
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
1669
+ command.params['name'] = name unless name.nil?
1670
+ command.query['fields'] = fields unless fields.nil?
1671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1672
+ execute_or_queue_command(command, &block)
1673
+ end
1674
+
1675
+ # Lists key value entries for key values maps scoped to an organization,
1676
+ # environment, or API proxy.
1677
+ # @param [String] parent
1678
+ # Required. Scope as indicated by the URI in which to list key value maps. Use **
1679
+ # one** of the following structures in your request: * `organizations/`
1680
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
1681
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
1682
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``.
1683
+ # @param [Fixnum] page_size
1684
+ # Optional. Maximum number of key value entries to return. If unspecified, at
1685
+ # most 100 entries will be returned.
1686
+ # @param [String] page_token
1687
+ # Optional. Page token. If provides, must be a valid key value entry returned
1688
+ # from a previous call that can be used to retrieve the next page.
1689
+ # @param [String] fields
1690
+ # Selector specifying which fields to include in a partial response.
1691
+ # @param [String] quota_user
1692
+ # Available to use for quota purposes for server-side applications. Can be any
1693
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1694
+ # @param [Google::Apis::RequestOptions] options
1695
+ # Request-specific options
1696
+ #
1697
+ # @yield [result, err] Result & error if block supplied
1698
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse] parsed result object
1699
+ # @yieldparam err [StandardError] error object if request failed
1700
+ #
1701
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse]
1702
+ #
1703
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1704
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1705
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1706
+ def list_organization_api_keyvaluemap_entries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1707
+ command = make_simple_command(:get, 'v1/{+parent}/entries', options)
1708
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse::Representation
1709
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse
1710
+ command.params['parent'] = parent unless parent.nil?
1711
+ command.query['pageSize'] = page_size unless page_size.nil?
1712
+ command.query['pageToken'] = page_token unless page_token.nil?
1713
+ command.query['fields'] = fields unless fields.nil?
1714
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1715
+ execute_or_queue_command(command, &block)
1716
+ end
1717
+
1564
1718
  # Deletes an API proxy revision and all policies, resources, endpoints, and
1565
1719
  # revisions associated with it. The API proxy revision must be undeployed before
1566
1720
  # you can delete it.
@@ -3999,7 +4153,8 @@ module Google
3999
4153
  execute_or_queue_command(command, &block)
4000
4154
  end
4001
4155
 
4002
- # Deletes an environment from an organization.
4156
+ # Deletes an environment from an organization. **Note**: You must delete all key
4157
+ # value maps and key value entries before you can delete an environment.
4003
4158
  # @param [String] name
4004
4159
  # Required. Name of the environment. Use the following structure in your request:
4005
4160
  # `organizations/`org`/environments/`env``
@@ -5911,6 +6066,160 @@ module Google
5911
6066
  execute_or_queue_command(command, &block)
5912
6067
  end
5913
6068
 
6069
+ # Creates key value entries in a key value map scoped to an organization,
6070
+ # environment, or API proxy.
6071
+ # @param [String] parent
6072
+ # Required. Scope as indicated by the URI in which to create the key value map
6073
+ # entry. Use **one** of the following structures in your request: * `
6074
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
6075
+ # organizations/`organization`/environments/`environment`/keyvaluemaps/`
6076
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
6077
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
6078
+ # @param [String] fields
6079
+ # Selector specifying which fields to include in a partial response.
6080
+ # @param [String] quota_user
6081
+ # Available to use for quota purposes for server-side applications. Can be any
6082
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6083
+ # @param [Google::Apis::RequestOptions] options
6084
+ # Request-specific options
6085
+ #
6086
+ # @yield [result, err] Result & error if block supplied
6087
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
6088
+ # @yieldparam err [StandardError] error object if request failed
6089
+ #
6090
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
6091
+ #
6092
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6093
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6094
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6095
+ def create_organization_environment_keyvaluemap_entry(parent, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6096
+ command = make_simple_command(:post, 'v1/{+parent}/entries', options)
6097
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
6098
+ command.request_object = google_cloud_apigee_v1_key_value_entry_object
6099
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
6100
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
6101
+ command.params['parent'] = parent unless parent.nil?
6102
+ command.query['fields'] = fields unless fields.nil?
6103
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6104
+ execute_or_queue_command(command, &block)
6105
+ end
6106
+
6107
+ # Deletes a key value entry from a key value map scoped to an organization,
6108
+ # environment, or API proxy. **Note:** After you delete the key value entry, the
6109
+ # policy consuming the entry will continue to function with its cached values
6110
+ # for a few minutes. This is expected behavior.
6111
+ # @param [String] name
6112
+ # Required. Scope as indicated by the URI in which to delete the key value map
6113
+ # entry. Use **one** of the following structures in your request: * `
6114
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
6115
+ # entry``. * `organizations/`organization`/environments/`environment`/
6116
+ # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
6117
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``.
6118
+ # @param [String] fields
6119
+ # Selector specifying which fields to include in a partial response.
6120
+ # @param [String] quota_user
6121
+ # Available to use for quota purposes for server-side applications. Can be any
6122
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6123
+ # @param [Google::Apis::RequestOptions] options
6124
+ # Request-specific options
6125
+ #
6126
+ # @yield [result, err] Result & error if block supplied
6127
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
6128
+ # @yieldparam err [StandardError] error object if request failed
6129
+ #
6130
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
6131
+ #
6132
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6133
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6134
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6135
+ def delete_organization_environment_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
6136
+ command = make_simple_command(:delete, 'v1/{+name}', options)
6137
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
6138
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
6139
+ command.params['name'] = name unless name.nil?
6140
+ command.query['fields'] = fields unless fields.nil?
6141
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6142
+ execute_or_queue_command(command, &block)
6143
+ end
6144
+
6145
+ # Get the Key value entry value for org, env or apis scoped Key value map.
6146
+ # @param [String] name
6147
+ # Required. Scope as indicated by the URI in which to fetch the key value map
6148
+ # entry/value. Use **one** of the following structures in your request: * `
6149
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
6150
+ # entry``. * `organizations/`organization`/environments/`environment`/
6151
+ # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
6152
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``.
6153
+ # @param [String] fields
6154
+ # Selector specifying which fields to include in a partial response.
6155
+ # @param [String] quota_user
6156
+ # Available to use for quota purposes for server-side applications. Can be any
6157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6158
+ # @param [Google::Apis::RequestOptions] options
6159
+ # Request-specific options
6160
+ #
6161
+ # @yield [result, err] Result & error if block supplied
6162
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
6163
+ # @yieldparam err [StandardError] error object if request failed
6164
+ #
6165
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
6166
+ #
6167
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6168
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6169
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6170
+ def get_organization_environment_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
6171
+ command = make_simple_command(:get, 'v1/{+name}', options)
6172
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
6173
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
6174
+ command.params['name'] = name unless name.nil?
6175
+ command.query['fields'] = fields unless fields.nil?
6176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6177
+ execute_or_queue_command(command, &block)
6178
+ end
6179
+
6180
+ # Lists key value entries for key values maps scoped to an organization,
6181
+ # environment, or API proxy.
6182
+ # @param [String] parent
6183
+ # Required. Scope as indicated by the URI in which to list key value maps. Use **
6184
+ # one** of the following structures in your request: * `organizations/`
6185
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
6186
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
6187
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``.
6188
+ # @param [Fixnum] page_size
6189
+ # Optional. Maximum number of key value entries to return. If unspecified, at
6190
+ # most 100 entries will be returned.
6191
+ # @param [String] page_token
6192
+ # Optional. Page token. If provides, must be a valid key value entry returned
6193
+ # from a previous call that can be used to retrieve the next page.
6194
+ # @param [String] fields
6195
+ # Selector specifying which fields to include in a partial response.
6196
+ # @param [String] quota_user
6197
+ # Available to use for quota purposes for server-side applications. Can be any
6198
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6199
+ # @param [Google::Apis::RequestOptions] options
6200
+ # Request-specific options
6201
+ #
6202
+ # @yield [result, err] Result & error if block supplied
6203
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse] parsed result object
6204
+ # @yieldparam err [StandardError] error object if request failed
6205
+ #
6206
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse]
6207
+ #
6208
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6209
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6210
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6211
+ def list_organization_environment_keyvaluemap_entries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6212
+ command = make_simple_command(:get, 'v1/{+parent}/entries', options)
6213
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse::Representation
6214
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse
6215
+ command.params['parent'] = parent unless parent.nil?
6216
+ command.query['pageSize'] = page_size unless page_size.nil?
6217
+ command.query['pageToken'] = page_token unless page_token.nil?
6218
+ command.query['fields'] = fields unless fields.nil?
6219
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6220
+ execute_or_queue_command(command, &block)
6221
+ end
6222
+
5914
6223
  # Similar to GetStats except that the response is less verbose.
5915
6224
  # @param [String] name
5916
6225
  # Required. Resource name for which the interactive query will be executed. Use
@@ -8067,6 +8376,160 @@ module Google
8067
8376
  execute_or_queue_command(command, &block)
8068
8377
  end
8069
8378
 
8379
+ # Creates key value entries in a key value map scoped to an organization,
8380
+ # environment, or API proxy.
8381
+ # @param [String] parent
8382
+ # Required. Scope as indicated by the URI in which to create the key value map
8383
+ # entry. Use **one** of the following structures in your request: * `
8384
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
8385
+ # organizations/`organization`/environments/`environment`/keyvaluemaps/`
8386
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
8387
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
8388
+ # @param [String] fields
8389
+ # Selector specifying which fields to include in a partial response.
8390
+ # @param [String] quota_user
8391
+ # Available to use for quota purposes for server-side applications. Can be any
8392
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8393
+ # @param [Google::Apis::RequestOptions] options
8394
+ # Request-specific options
8395
+ #
8396
+ # @yield [result, err] Result & error if block supplied
8397
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
8398
+ # @yieldparam err [StandardError] error object if request failed
8399
+ #
8400
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
8401
+ #
8402
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8403
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8404
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8405
+ def create_organization_keyvaluemap_entry(parent, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8406
+ command = make_simple_command(:post, 'v1/{+parent}/entries', options)
8407
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
8408
+ command.request_object = google_cloud_apigee_v1_key_value_entry_object
8409
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
8410
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
8411
+ command.params['parent'] = parent unless parent.nil?
8412
+ command.query['fields'] = fields unless fields.nil?
8413
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8414
+ execute_or_queue_command(command, &block)
8415
+ end
8416
+
8417
+ # Deletes a key value entry from a key value map scoped to an organization,
8418
+ # environment, or API proxy. **Note:** After you delete the key value entry, the
8419
+ # policy consuming the entry will continue to function with its cached values
8420
+ # for a few minutes. This is expected behavior.
8421
+ # @param [String] name
8422
+ # Required. Scope as indicated by the URI in which to delete the key value map
8423
+ # entry. Use **one** of the following structures in your request: * `
8424
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
8425
+ # entry``. * `organizations/`organization`/environments/`environment`/
8426
+ # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
8427
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``.
8428
+ # @param [String] fields
8429
+ # Selector specifying which fields to include in a partial response.
8430
+ # @param [String] quota_user
8431
+ # Available to use for quota purposes for server-side applications. Can be any
8432
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8433
+ # @param [Google::Apis::RequestOptions] options
8434
+ # Request-specific options
8435
+ #
8436
+ # @yield [result, err] Result & error if block supplied
8437
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
8438
+ # @yieldparam err [StandardError] error object if request failed
8439
+ #
8440
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
8441
+ #
8442
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8443
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8444
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8445
+ def delete_organization_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
8446
+ command = make_simple_command(:delete, 'v1/{+name}', options)
8447
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
8448
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
8449
+ command.params['name'] = name unless name.nil?
8450
+ command.query['fields'] = fields unless fields.nil?
8451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8452
+ execute_or_queue_command(command, &block)
8453
+ end
8454
+
8455
+ # Get the Key value entry value for org, env or apis scoped Key value map.
8456
+ # @param [String] name
8457
+ # Required. Scope as indicated by the URI in which to fetch the key value map
8458
+ # entry/value. Use **one** of the following structures in your request: * `
8459
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
8460
+ # entry``. * `organizations/`organization`/environments/`environment`/
8461
+ # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
8462
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``.
8463
+ # @param [String] fields
8464
+ # Selector specifying which fields to include in a partial response.
8465
+ # @param [String] quota_user
8466
+ # Available to use for quota purposes for server-side applications. Can be any
8467
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8468
+ # @param [Google::Apis::RequestOptions] options
8469
+ # Request-specific options
8470
+ #
8471
+ # @yield [result, err] Result & error if block supplied
8472
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
8473
+ # @yieldparam err [StandardError] error object if request failed
8474
+ #
8475
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
8476
+ #
8477
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8478
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8479
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8480
+ def get_organization_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
8481
+ command = make_simple_command(:get, 'v1/{+name}', options)
8482
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
8483
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
8484
+ command.params['name'] = name unless name.nil?
8485
+ command.query['fields'] = fields unless fields.nil?
8486
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8487
+ execute_or_queue_command(command, &block)
8488
+ end
8489
+
8490
+ # Lists key value entries for key values maps scoped to an organization,
8491
+ # environment, or API proxy.
8492
+ # @param [String] parent
8493
+ # Required. Scope as indicated by the URI in which to list key value maps. Use **
8494
+ # one** of the following structures in your request: * `organizations/`
8495
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
8496
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
8497
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``.
8498
+ # @param [Fixnum] page_size
8499
+ # Optional. Maximum number of key value entries to return. If unspecified, at
8500
+ # most 100 entries will be returned.
8501
+ # @param [String] page_token
8502
+ # Optional. Page token. If provides, must be a valid key value entry returned
8503
+ # from a previous call that can be used to retrieve the next page.
8504
+ # @param [String] fields
8505
+ # Selector specifying which fields to include in a partial response.
8506
+ # @param [String] quota_user
8507
+ # Available to use for quota purposes for server-side applications. Can be any
8508
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8509
+ # @param [Google::Apis::RequestOptions] options
8510
+ # Request-specific options
8511
+ #
8512
+ # @yield [result, err] Result & error if block supplied
8513
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse] parsed result object
8514
+ # @yieldparam err [StandardError] error object if request failed
8515
+ #
8516
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse]
8517
+ #
8518
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8519
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8520
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8521
+ def list_organization_keyvaluemap_entries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8522
+ command = make_simple_command(:get, 'v1/{+parent}/entries', options)
8523
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse::Representation
8524
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse
8525
+ command.params['parent'] = parent unless parent.nil?
8526
+ command.query['pageSize'] = page_size unless page_size.nil?
8527
+ command.query['pageToken'] = page_token unless page_token.nil?
8528
+ command.query['fields'] = fields unless fields.nil?
8529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8530
+ execute_or_queue_command(command, &block)
8531
+ end
8532
+
8070
8533
  # Gets the latest state of a long-running operation. Clients can use this method
8071
8534
  # to poll the operation result at intervals as recommended by the API service.
8072
8535
  # @param [String] name
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.46.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-23 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.47.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1