google-apis-apigee_v1 0.46.0 → 0.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/google/apis/apigee_v1/classes.rb +1072 -66
- data/lib/google/apis/apigee_v1/gem_version.rb +3 -3
- data/lib/google/apis/apigee_v1/representations.rb +420 -0
- data/lib/google/apis/apigee_v1/service.rb +1136 -74
- metadata +6 -6
@@ -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
|
@@ -6565,10 +6874,14 @@ module Google
|
|
6565
6874
|
execute_or_queue_command(command, &block)
|
6566
6875
|
end
|
6567
6876
|
|
6568
|
-
#
|
6877
|
+
# Submit a report request to be processed in the background. If the submission
|
6878
|
+
# succeeds, the API returns a 200 status and an ID that refer to the report
|
6879
|
+
# request. In addition to the HTTP status 200, the `state` of "enqueued" means
|
6880
|
+
# that the request succeeded.
|
6569
6881
|
# @param [String] parent
|
6570
|
-
# Required.
|
6571
|
-
#
|
6882
|
+
# Required. The parent resource name. Must be of the form `organizations/`org`/
|
6883
|
+
# environments/`env``.
|
6884
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportQuery] google_cloud_apigee_v1_security_report_query_object
|
6572
6885
|
# @param [String] fields
|
6573
6886
|
# Selector specifying which fields to include in a partial response.
|
6574
6887
|
# @param [String] quota_user
|
@@ -6578,47 +6891,32 @@ module Google
|
|
6578
6891
|
# Request-specific options
|
6579
6892
|
#
|
6580
6893
|
# @yield [result, err] Result & error if block supplied
|
6581
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
6894
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport] parsed result object
|
6582
6895
|
# @yieldparam err [StandardError] error object if request failed
|
6583
6896
|
#
|
6584
|
-
# @return [Google::Apis::ApigeeV1::
|
6897
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport]
|
6585
6898
|
#
|
6586
6899
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6587
6900
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6588
6901
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6589
|
-
def
|
6590
|
-
command = make_simple_command(:
|
6591
|
-
command.
|
6592
|
-
command.
|
6902
|
+
def create_organization_environment_security_report(parent, google_cloud_apigee_v1_security_report_query_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6903
|
+
command = make_simple_command(:post, 'v1/{+parent}/securityReports', options)
|
6904
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportQuery::Representation
|
6905
|
+
command.request_object = google_cloud_apigee_v1_security_report_query_object
|
6906
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport::Representation
|
6907
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport
|
6593
6908
|
command.params['parent'] = parent unless parent.nil?
|
6594
6909
|
command.query['fields'] = fields unless fields.nil?
|
6595
6910
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6596
6911
|
execute_or_queue_command(command, &block)
|
6597
6912
|
end
|
6598
6913
|
|
6599
|
-
#
|
6600
|
-
#
|
6601
|
-
#
|
6602
|
-
# flow until it has been deployed to an environment. For a request path `
|
6603
|
-
# organizations/`org`/environments/`env`/sharedflows/`sf`/revisions/`rev`/
|
6604
|
-
# deployments`, two permissions are required: * `apigee.deployments.create` on
|
6605
|
-
# the resource `organizations/`org`/environments/`env`` * `apigee.
|
6606
|
-
# sharedflowrevisions.deploy` on the resource `organizations/`org`/sharedflows/`
|
6607
|
-
# sf`/revisions/`rev``
|
6914
|
+
# Get security report status If the query is still in progress, the `state` is
|
6915
|
+
# set to "running" After the query has completed successfully, `state` is set to
|
6916
|
+
# "completed"
|
6608
6917
|
# @param [String] name
|
6609
|
-
# Required. Name of the
|
6610
|
-
# organizations/`org`/environments/`env`/
|
6611
|
-
# `
|
6612
|
-
# @param [Boolean] override
|
6613
|
-
# Flag that specifies whether the new deployment replaces other deployed
|
6614
|
-
# revisions of the shared flow in the environment. Set `override` to `true` to
|
6615
|
-
# replace other deployed revisions. By default, `override` is `false` and the
|
6616
|
-
# deployment is rejected if other revisions of the shared flow are deployed in
|
6617
|
-
# the environment.
|
6618
|
-
# @param [String] service_account
|
6619
|
-
# Google Cloud IAM service account. The service account represents the identity
|
6620
|
-
# of the deployed proxy, and determines what permissions it has. The format must
|
6621
|
-
# be ``ACCOUNT_ID`@`PROJECT`.iam.gserviceaccount.com`.
|
6918
|
+
# Required. Name of the security report to get. Must be of the form `
|
6919
|
+
# organizations/`org`/environments/`env`/securityReports/`reportId``.
|
6622
6920
|
# @param [String] fields
|
6623
6921
|
# Selector specifying which fields to include in a partial response.
|
6624
6922
|
# @param [String] quota_user
|
@@ -6628,32 +6926,32 @@ module Google
|
|
6628
6926
|
# Request-specific options
|
6629
6927
|
#
|
6630
6928
|
# @yield [result, err] Result & error if block supplied
|
6631
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
6929
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport] parsed result object
|
6632
6930
|
# @yieldparam err [StandardError] error object if request failed
|
6633
6931
|
#
|
6634
|
-
# @return [Google::Apis::ApigeeV1::
|
6932
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport]
|
6635
6933
|
#
|
6636
6934
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6637
6935
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6638
6936
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6639
|
-
def
|
6640
|
-
command = make_simple_command(:
|
6641
|
-
command.response_representation = Google::Apis::ApigeeV1::
|
6642
|
-
command.response_class = Google::Apis::ApigeeV1::
|
6937
|
+
def get_organization_environment_security_report(name, fields: nil, quota_user: nil, options: nil, &block)
|
6938
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
6939
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport::Representation
|
6940
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport
|
6643
6941
|
command.params['name'] = name unless name.nil?
|
6644
|
-
command.query['override'] = override unless override.nil?
|
6645
|
-
command.query['serviceAccount'] = service_account unless service_account.nil?
|
6646
6942
|
command.query['fields'] = fields unless fields.nil?
|
6647
6943
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6648
6944
|
execute_or_queue_command(command, &block)
|
6649
6945
|
end
|
6650
6946
|
|
6651
|
-
#
|
6652
|
-
#
|
6947
|
+
# After the query is completed, use this API to retrieve the results as file. If
|
6948
|
+
# the request succeeds, and there is a non-zero result set, the result is
|
6949
|
+
# downloaded to the client as a zipped JSON file. The name of the downloaded
|
6950
|
+
# file will be: OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-
|
6951
|
+
# 0f30-46d6-ae6f-318d0cb961bd.zip`
|
6653
6952
|
# @param [String] name
|
6654
|
-
# Required. Name
|
6655
|
-
#
|
6656
|
-
# revisions/`rev``
|
6953
|
+
# Required. Name of the security report result to get. Must be of the form `
|
6954
|
+
# organizations/`org`/environments/`env`/securityReports/`reportId`/result`.
|
6657
6955
|
# @param [String] fields
|
6658
6956
|
# Selector specifying which fields to include in a partial response.
|
6659
6957
|
# @param [String] quota_user
|
@@ -6663,34 +6961,29 @@ module Google
|
|
6663
6961
|
# Request-specific options
|
6664
6962
|
#
|
6665
6963
|
# @yield [result, err] Result & error if block supplied
|
6666
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
6964
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleApiHttpBody] parsed result object
|
6667
6965
|
# @yieldparam err [StandardError] error object if request failed
|
6668
6966
|
#
|
6669
|
-
# @return [Google::Apis::ApigeeV1::
|
6967
|
+
# @return [Google::Apis::ApigeeV1::GoogleApiHttpBody]
|
6670
6968
|
#
|
6671
6969
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6672
6970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6673
6971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6674
|
-
def
|
6675
|
-
command = make_simple_command(:get, 'v1/{+name}
|
6676
|
-
command.response_representation = Google::Apis::ApigeeV1::
|
6677
|
-
command.response_class = Google::Apis::ApigeeV1::
|
6972
|
+
def get_organization_environment_security_report_result(name, fields: nil, quota_user: nil, options: nil, &block)
|
6973
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
6974
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleApiHttpBody::Representation
|
6975
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleApiHttpBody
|
6678
6976
|
command.params['name'] = name unless name.nil?
|
6679
6977
|
command.query['fields'] = fields unless fields.nil?
|
6680
6978
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6681
6979
|
execute_or_queue_command(command, &block)
|
6682
6980
|
end
|
6683
6981
|
|
6684
|
-
#
|
6685
|
-
#
|
6686
|
-
# deployments`, two permissions are required: * `apigee.deployments.delete` on
|
6687
|
-
# the resource `organizations/`org`/environments/`env`` * `apigee.
|
6688
|
-
# sharedflowrevisions.undeploy` on the resource `organizations/`org`/sharedflows/
|
6689
|
-
# `sf`/revisions/`rev``
|
6982
|
+
# After the query is completed, use this API to view the query result when
|
6983
|
+
# result size is small.
|
6690
6984
|
# @param [String] name
|
6691
|
-
# Required. Name of the
|
6692
|
-
#
|
6693
|
-
# rev``
|
6985
|
+
# Required. Name of the security report result view to get. Must be of the form `
|
6986
|
+
# organizations/`org`/environments/`env`/securityReports/`reportId`/resultView`.
|
6694
6987
|
# @param [String] fields
|
6695
6988
|
# Selector specifying which fields to include in a partial response.
|
6696
6989
|
# @param [String] quota_user
|
@@ -6700,7 +6993,214 @@ module Google
|
|
6700
6993
|
# Request-specific options
|
6701
6994
|
#
|
6702
6995
|
# @yield [result, err] Result & error if block supplied
|
6703
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
6996
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView] parsed result object
|
6997
|
+
# @yieldparam err [StandardError] error object if request failed
|
6998
|
+
#
|
6999
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView]
|
7000
|
+
#
|
7001
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7002
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7003
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7004
|
+
def get_organization_environment_security_report_result_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
7005
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7006
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView::Representation
|
7007
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView
|
7008
|
+
command.params['name'] = name unless name.nil?
|
7009
|
+
command.query['fields'] = fields unless fields.nil?
|
7010
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7011
|
+
execute_or_queue_command(command, &block)
|
7012
|
+
end
|
7013
|
+
|
7014
|
+
# Return a list of Security Reports
|
7015
|
+
# @param [String] parent
|
7016
|
+
# Required. The parent resource name. Must be of the form `organizations/`org`/
|
7017
|
+
# environments/`env``.
|
7018
|
+
# @param [String] dataset
|
7019
|
+
# Filter response list by dataset. Example: `api`, `mint`
|
7020
|
+
# @param [String] from
|
7021
|
+
# Filter response list by returning security reports that created after this
|
7022
|
+
# date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
|
7023
|
+
# @param [Fixnum] page_size
|
7024
|
+
# The maximum number of security report to return in the list response.
|
7025
|
+
# @param [String] page_token
|
7026
|
+
# Token returned from the previous list response to fetch the next page.
|
7027
|
+
# @param [String] status
|
7028
|
+
# Filter response list by security reports status.
|
7029
|
+
# @param [String] submitted_by
|
7030
|
+
# Filter response list by user who submitted queries.
|
7031
|
+
# @param [String] to
|
7032
|
+
# Filter response list by returning security reports that created before this
|
7033
|
+
# date time. Time must be in ISO date-time format like '2011-12-03T10:16:30Z'.
|
7034
|
+
# @param [String] fields
|
7035
|
+
# Selector specifying which fields to include in a partial response.
|
7036
|
+
# @param [String] quota_user
|
7037
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7038
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7039
|
+
# @param [Google::Apis::RequestOptions] options
|
7040
|
+
# Request-specific options
|
7041
|
+
#
|
7042
|
+
# @yield [result, err] Result & error if block supplied
|
7043
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse] parsed result object
|
7044
|
+
# @yieldparam err [StandardError] error object if request failed
|
7045
|
+
#
|
7046
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse]
|
7047
|
+
#
|
7048
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7049
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7050
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7051
|
+
def list_organization_environment_security_reports(parent, dataset: nil, from: nil, page_size: nil, page_token: nil, status: nil, submitted_by: nil, to: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7052
|
+
command = make_simple_command(:get, 'v1/{+parent}/securityReports', options)
|
7053
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse::Representation
|
7054
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse
|
7055
|
+
command.params['parent'] = parent unless parent.nil?
|
7056
|
+
command.query['dataset'] = dataset unless dataset.nil?
|
7057
|
+
command.query['from'] = from unless from.nil?
|
7058
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
7059
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
7060
|
+
command.query['status'] = status unless status.nil?
|
7061
|
+
command.query['submittedBy'] = submitted_by unless submitted_by.nil?
|
7062
|
+
command.query['to'] = to unless to.nil?
|
7063
|
+
command.query['fields'] = fields unless fields.nil?
|
7064
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7065
|
+
execute_or_queue_command(command, &block)
|
7066
|
+
end
|
7067
|
+
|
7068
|
+
# Lists all deployments of a shared flow in an environment.
|
7069
|
+
# @param [String] parent
|
7070
|
+
# Required. Name representing a shared flow in an environment in the following
|
7071
|
+
# format: `organizations/`org`/environments/`env`/sharedflows/`sharedflow``
|
7072
|
+
# @param [String] fields
|
7073
|
+
# Selector specifying which fields to include in a partial response.
|
7074
|
+
# @param [String] quota_user
|
7075
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7076
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7077
|
+
# @param [Google::Apis::RequestOptions] options
|
7078
|
+
# Request-specific options
|
7079
|
+
#
|
7080
|
+
# @yield [result, err] Result & error if block supplied
|
7081
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeploymentsResponse] parsed result object
|
7082
|
+
# @yieldparam err [StandardError] error object if request failed
|
7083
|
+
#
|
7084
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeploymentsResponse]
|
7085
|
+
#
|
7086
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7087
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7088
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7089
|
+
def list_organization_environment_sharedflow_deployments(parent, fields: nil, quota_user: nil, options: nil, &block)
|
7090
|
+
command = make_simple_command(:get, 'v1/{+parent}/deployments', options)
|
7091
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeploymentsResponse::Representation
|
7092
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeploymentsResponse
|
7093
|
+
command.params['parent'] = parent unless parent.nil?
|
7094
|
+
command.query['fields'] = fields unless fields.nil?
|
7095
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7096
|
+
execute_or_queue_command(command, &block)
|
7097
|
+
end
|
7098
|
+
|
7099
|
+
# Deploys a revision of a shared flow. If another revision of the same shared
|
7100
|
+
# flow is currently deployed, set the `override` parameter to `true` to have
|
7101
|
+
# this revision replace the currently deployed revision. You cannot use a shared
|
7102
|
+
# flow until it has been deployed to an environment. For a request path `
|
7103
|
+
# organizations/`org`/environments/`env`/sharedflows/`sf`/revisions/`rev`/
|
7104
|
+
# deployments`, two permissions are required: * `apigee.deployments.create` on
|
7105
|
+
# the resource `organizations/`org`/environments/`env`` * `apigee.
|
7106
|
+
# sharedflowrevisions.deploy` on the resource `organizations/`org`/sharedflows/`
|
7107
|
+
# sf`/revisions/`rev``
|
7108
|
+
# @param [String] name
|
7109
|
+
# Required. Name of the shared flow revision to deploy in the following format: `
|
7110
|
+
# organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`rev`
|
7111
|
+
# `
|
7112
|
+
# @param [Boolean] override
|
7113
|
+
# Flag that specifies whether the new deployment replaces other deployed
|
7114
|
+
# revisions of the shared flow in the environment. Set `override` to `true` to
|
7115
|
+
# replace other deployed revisions. By default, `override` is `false` and the
|
7116
|
+
# deployment is rejected if other revisions of the shared flow are deployed in
|
7117
|
+
# the environment.
|
7118
|
+
# @param [String] service_account
|
7119
|
+
# Google Cloud IAM service account. The service account represents the identity
|
7120
|
+
# of the deployed proxy, and determines what permissions it has. The format must
|
7121
|
+
# be ``ACCOUNT_ID`@`PROJECT`.iam.gserviceaccount.com`.
|
7122
|
+
# @param [String] fields
|
7123
|
+
# Selector specifying which fields to include in a partial response.
|
7124
|
+
# @param [String] quota_user
|
7125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7127
|
+
# @param [Google::Apis::RequestOptions] options
|
7128
|
+
# Request-specific options
|
7129
|
+
#
|
7130
|
+
# @yield [result, err] Result & error if block supplied
|
7131
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment] parsed result object
|
7132
|
+
# @yieldparam err [StandardError] error object if request failed
|
7133
|
+
#
|
7134
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment]
|
7135
|
+
#
|
7136
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7137
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7138
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7139
|
+
def deploy_organization_environment_sharedflow_revision(name, override: nil, service_account: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7140
|
+
command = make_simple_command(:post, 'v1/{+name}/deployments', options)
|
7141
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation
|
7142
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment
|
7143
|
+
command.params['name'] = name unless name.nil?
|
7144
|
+
command.query['override'] = override unless override.nil?
|
7145
|
+
command.query['serviceAccount'] = service_account unless service_account.nil?
|
7146
|
+
command.query['fields'] = fields unless fields.nil?
|
7147
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7148
|
+
execute_or_queue_command(command, &block)
|
7149
|
+
end
|
7150
|
+
|
7151
|
+
# Gets the deployment of a shared flow revision and actual state reported by
|
7152
|
+
# runtime pods.
|
7153
|
+
# @param [String] name
|
7154
|
+
# Required. Name representing a shared flow in an environment in the following
|
7155
|
+
# format: `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/
|
7156
|
+
# revisions/`rev``
|
7157
|
+
# @param [String] fields
|
7158
|
+
# Selector specifying which fields to include in a partial response.
|
7159
|
+
# @param [String] quota_user
|
7160
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7161
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7162
|
+
# @param [Google::Apis::RequestOptions] options
|
7163
|
+
# Request-specific options
|
7164
|
+
#
|
7165
|
+
# @yield [result, err] Result & error if block supplied
|
7166
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment] parsed result object
|
7167
|
+
# @yieldparam err [StandardError] error object if request failed
|
7168
|
+
#
|
7169
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment]
|
7170
|
+
#
|
7171
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7172
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7173
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7174
|
+
def get_organization_environment_sharedflow_revision_deployments(name, fields: nil, quota_user: nil, options: nil, &block)
|
7175
|
+
command = make_simple_command(:get, 'v1/{+name}/deployments', options)
|
7176
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation
|
7177
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment
|
7178
|
+
command.params['name'] = name unless name.nil?
|
7179
|
+
command.query['fields'] = fields unless fields.nil?
|
7180
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7181
|
+
execute_or_queue_command(command, &block)
|
7182
|
+
end
|
7183
|
+
|
7184
|
+
# Undeploys a shared flow revision from an environment. For a request path `
|
7185
|
+
# organizations/`org`/environments/`env`/sharedflows/`sf`/revisions/`rev`/
|
7186
|
+
# deployments`, two permissions are required: * `apigee.deployments.delete` on
|
7187
|
+
# the resource `organizations/`org`/environments/`env`` * `apigee.
|
7188
|
+
# sharedflowrevisions.undeploy` on the resource `organizations/`org`/sharedflows/
|
7189
|
+
# `sf`/revisions/`rev``
|
7190
|
+
# @param [String] name
|
7191
|
+
# Required. Name of the shared flow revision to undeploy in the following format:
|
7192
|
+
# `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`
|
7193
|
+
# rev``
|
7194
|
+
# @param [String] fields
|
7195
|
+
# Selector specifying which fields to include in a partial response.
|
7196
|
+
# @param [String] quota_user
|
7197
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7198
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7199
|
+
# @param [Google::Apis::RequestOptions] options
|
7200
|
+
# Request-specific options
|
7201
|
+
#
|
7202
|
+
# @yield [result, err] Result & error if block supplied
|
7203
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
6704
7204
|
# @yieldparam err [StandardError] error object if request failed
|
6705
7205
|
#
|
6706
7206
|
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
@@ -7279,16 +7779,207 @@ module Google
|
|
7279
7779
|
# @param [String] from
|
7280
7780
|
# Filter response list by returning asynchronous queries that created after this
|
7281
7781
|
# date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
|
7282
|
-
# @param [String] incl_queries_without_report
|
7283
|
-
# Flag to include asynchronous queries that don't have a report denifition.
|
7782
|
+
# @param [String] incl_queries_without_report
|
7783
|
+
# Flag to include asynchronous queries that don't have a report denifition.
|
7784
|
+
# @param [String] status
|
7785
|
+
# Filter response list by asynchronous query status.
|
7786
|
+
# @param [String] submitted_by
|
7787
|
+
# Filter response list by user who submitted queries.
|
7788
|
+
# @param [String] to
|
7789
|
+
# Filter response list by returning asynchronous queries that created before
|
7790
|
+
# this date time. Time must be in ISO date-time format like '2011-12-03T10:16:
|
7791
|
+
# 30Z'.
|
7792
|
+
# @param [String] fields
|
7793
|
+
# Selector specifying which fields to include in a partial response.
|
7794
|
+
# @param [String] quota_user
|
7795
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7796
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7797
|
+
# @param [Google::Apis::RequestOptions] options
|
7798
|
+
# Request-specific options
|
7799
|
+
#
|
7800
|
+
# @yield [result, err] Result & error if block supplied
|
7801
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse] parsed result object
|
7802
|
+
# @yieldparam err [StandardError] error object if request failed
|
7803
|
+
#
|
7804
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse]
|
7805
|
+
#
|
7806
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7807
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7808
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7809
|
+
def list_organization_host_queries(parent, dataset: nil, envgroup_hostname: nil, from: nil, incl_queries_without_report: nil, status: nil, submitted_by: nil, to: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7810
|
+
command = make_simple_command(:get, 'v1/{+parent}/hostQueries', options)
|
7811
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse::Representation
|
7812
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse
|
7813
|
+
command.params['parent'] = parent unless parent.nil?
|
7814
|
+
command.query['dataset'] = dataset unless dataset.nil?
|
7815
|
+
command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
|
7816
|
+
command.query['from'] = from unless from.nil?
|
7817
|
+
command.query['inclQueriesWithoutReport'] = incl_queries_without_report unless incl_queries_without_report.nil?
|
7818
|
+
command.query['status'] = status unless status.nil?
|
7819
|
+
command.query['submittedBy'] = submitted_by unless submitted_by.nil?
|
7820
|
+
command.query['to'] = to unless to.nil?
|
7821
|
+
command.query['fields'] = fields unless fields.nil?
|
7822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7823
|
+
execute_or_queue_command(command, &block)
|
7824
|
+
end
|
7825
|
+
|
7826
|
+
# Submit a query at host level to be processed in the background. If the
|
7827
|
+
# submission of the query succeeds, the API returns a 201 status and an ID that
|
7828
|
+
# refer to the query. In addition to the HTTP status 201, the `state` of "
|
7829
|
+
# enqueued" means that the request succeeded.
|
7830
|
+
# @param [String] parent
|
7831
|
+
# Required. The parent resource name. Must be of the form `organizations/`org``.
|
7832
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportQuery] google_cloud_apigee_v1_security_report_query_object
|
7833
|
+
# @param [String] fields
|
7834
|
+
# Selector specifying which fields to include in a partial response.
|
7835
|
+
# @param [String] quota_user
|
7836
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7837
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7838
|
+
# @param [Google::Apis::RequestOptions] options
|
7839
|
+
# Request-specific options
|
7840
|
+
#
|
7841
|
+
# @yield [result, err] Result & error if block supplied
|
7842
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport] parsed result object
|
7843
|
+
# @yieldparam err [StandardError] error object if request failed
|
7844
|
+
#
|
7845
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport]
|
7846
|
+
#
|
7847
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7848
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7849
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7850
|
+
def create_organization_host_security_report(parent, google_cloud_apigee_v1_security_report_query_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
7851
|
+
command = make_simple_command(:post, 'v1/{+parent}/hostSecurityReports', options)
|
7852
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportQuery::Representation
|
7853
|
+
command.request_object = google_cloud_apigee_v1_security_report_query_object
|
7854
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport::Representation
|
7855
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport
|
7856
|
+
command.params['parent'] = parent unless parent.nil?
|
7857
|
+
command.query['fields'] = fields unless fields.nil?
|
7858
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7859
|
+
execute_or_queue_command(command, &block)
|
7860
|
+
end
|
7861
|
+
|
7862
|
+
# Get status of a query submitted at host level. If the query is still in
|
7863
|
+
# progress, the `state` is set to "running" After the query has completed
|
7864
|
+
# successfully, `state` is set to "completed"
|
7865
|
+
# @param [String] name
|
7866
|
+
# Required. Name of the security report to get. Must be of the form `
|
7867
|
+
# organizations/`org`/securityReports/`reportId``.
|
7868
|
+
# @param [String] fields
|
7869
|
+
# Selector specifying which fields to include in a partial response.
|
7870
|
+
# @param [String] quota_user
|
7871
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7872
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7873
|
+
# @param [Google::Apis::RequestOptions] options
|
7874
|
+
# Request-specific options
|
7875
|
+
#
|
7876
|
+
# @yield [result, err] Result & error if block supplied
|
7877
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport] parsed result object
|
7878
|
+
# @yieldparam err [StandardError] error object if request failed
|
7879
|
+
#
|
7880
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport]
|
7881
|
+
#
|
7882
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7883
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7884
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7885
|
+
def get_organization_host_security_report(name, fields: nil, quota_user: nil, options: nil, &block)
|
7886
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7887
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport::Representation
|
7888
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReport
|
7889
|
+
command.params['name'] = name unless name.nil?
|
7890
|
+
command.query['fields'] = fields unless fields.nil?
|
7891
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7892
|
+
execute_or_queue_command(command, &block)
|
7893
|
+
end
|
7894
|
+
|
7895
|
+
# After the query is completed, use this API to retrieve the results. If the
|
7896
|
+
# request succeeds, and there is a non-zero result set, the result is downloaded
|
7897
|
+
# to the client as a zipped JSON file. The name of the downloaded file will be:
|
7898
|
+
# OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-
|
7899
|
+
# 318d0cb961bd.zip`
|
7900
|
+
# @param [String] name
|
7901
|
+
# Required. Name of the security report result to get. Must be of the form `
|
7902
|
+
# organizations/`org`/securityReports/`reportId`/result`.
|
7903
|
+
# @param [String] fields
|
7904
|
+
# Selector specifying which fields to include in a partial response.
|
7905
|
+
# @param [String] quota_user
|
7906
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7907
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7908
|
+
# @param [Google::Apis::RequestOptions] options
|
7909
|
+
# Request-specific options
|
7910
|
+
#
|
7911
|
+
# @yield [result, err] Result & error if block supplied
|
7912
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleApiHttpBody] parsed result object
|
7913
|
+
# @yieldparam err [StandardError] error object if request failed
|
7914
|
+
#
|
7915
|
+
# @return [Google::Apis::ApigeeV1::GoogleApiHttpBody]
|
7916
|
+
#
|
7917
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7918
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7919
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7920
|
+
def get_organization_host_security_report_result(name, fields: nil, quota_user: nil, options: nil, &block)
|
7921
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7922
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleApiHttpBody::Representation
|
7923
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleApiHttpBody
|
7924
|
+
command.params['name'] = name unless name.nil?
|
7925
|
+
command.query['fields'] = fields unless fields.nil?
|
7926
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7927
|
+
execute_or_queue_command(command, &block)
|
7928
|
+
end
|
7929
|
+
|
7930
|
+
# After the query is completed, use this API to view the query result when
|
7931
|
+
# result size is small.
|
7932
|
+
# @param [String] name
|
7933
|
+
# Required. Name of the security report result view to get. Must be of the form `
|
7934
|
+
# organizations/`org`/securityReports/`reportId`/resultView`.
|
7935
|
+
# @param [String] fields
|
7936
|
+
# Selector specifying which fields to include in a partial response.
|
7937
|
+
# @param [String] quota_user
|
7938
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7939
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7940
|
+
# @param [Google::Apis::RequestOptions] options
|
7941
|
+
# Request-specific options
|
7942
|
+
#
|
7943
|
+
# @yield [result, err] Result & error if block supplied
|
7944
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView] parsed result object
|
7945
|
+
# @yieldparam err [StandardError] error object if request failed
|
7946
|
+
#
|
7947
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView]
|
7948
|
+
#
|
7949
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7950
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7951
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7952
|
+
def get_organization_host_security_report_result_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
7953
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7954
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView::Representation
|
7955
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultView
|
7956
|
+
command.params['name'] = name unless name.nil?
|
7957
|
+
command.query['fields'] = fields unless fields.nil?
|
7958
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7959
|
+
execute_or_queue_command(command, &block)
|
7960
|
+
end
|
7961
|
+
|
7962
|
+
# Return a list of Security Reports at host level.
|
7963
|
+
# @param [String] parent
|
7964
|
+
# Required. The parent resource name. Must be of the form `organizations/`org``.
|
7965
|
+
# @param [String] dataset
|
7966
|
+
# Filter response list by dataset. Example: `api`, `mint`
|
7967
|
+
# @param [String] envgroup_hostname
|
7968
|
+
# Required. Filter response list by hostname.
|
7969
|
+
# @param [String] from
|
7970
|
+
# Filter response list by returning security reports that created after this
|
7971
|
+
# date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
|
7972
|
+
# @param [Fixnum] page_size
|
7973
|
+
# The maximum number of security report to return in the list response.
|
7974
|
+
# @param [String] page_token
|
7975
|
+
# Token returned from the previous list response to fetch the next page.
|
7284
7976
|
# @param [String] status
|
7285
|
-
# Filter response list by
|
7977
|
+
# Filter response list by security report status.
|
7286
7978
|
# @param [String] submitted_by
|
7287
7979
|
# Filter response list by user who submitted queries.
|
7288
7980
|
# @param [String] to
|
7289
|
-
# Filter response list by returning
|
7290
|
-
#
|
7291
|
-
# 30Z'.
|
7981
|
+
# Filter response list by returning security reports that created before this
|
7982
|
+
# date time. Time must be in ISO date-time format like '2011-12-03T10:16:30Z'.
|
7292
7983
|
# @param [String] fields
|
7293
7984
|
# Selector specifying which fields to include in a partial response.
|
7294
7985
|
# @param [String] quota_user
|
@@ -7298,23 +7989,24 @@ module Google
|
|
7298
7989
|
# Request-specific options
|
7299
7990
|
#
|
7300
7991
|
# @yield [result, err] Result & error if block supplied
|
7301
|
-
# @yieldparam result [Google::Apis::ApigeeV1::
|
7992
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse] parsed result object
|
7302
7993
|
# @yieldparam err [StandardError] error object if request failed
|
7303
7994
|
#
|
7304
|
-
# @return [Google::Apis::ApigeeV1::
|
7995
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse]
|
7305
7996
|
#
|
7306
7997
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7307
7998
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7308
7999
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7309
|
-
def
|
7310
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
7311
|
-
command.response_representation = Google::Apis::ApigeeV1::
|
7312
|
-
command.response_class = Google::Apis::ApigeeV1::
|
8000
|
+
def list_organization_host_security_reports(parent, dataset: nil, envgroup_hostname: nil, from: nil, page_size: nil, page_token: nil, status: nil, submitted_by: nil, to: nil, fields: nil, quota_user: nil, options: nil, &block)
|
8001
|
+
command = make_simple_command(:get, 'v1/{+parent}/hostSecurityReports', options)
|
8002
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse::Representation
|
8003
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityReportsResponse
|
7313
8004
|
command.params['parent'] = parent unless parent.nil?
|
7314
8005
|
command.query['dataset'] = dataset unless dataset.nil?
|
7315
8006
|
command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
|
7316
8007
|
command.query['from'] = from unless from.nil?
|
7317
|
-
command.query['
|
8008
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
8009
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
7318
8010
|
command.query['status'] = status unless status.nil?
|
7319
8011
|
command.query['submittedBy'] = submitted_by unless submitted_by.nil?
|
7320
8012
|
command.query['to'] = to unless to.nil?
|
@@ -8067,6 +8759,160 @@ module Google
|
|
8067
8759
|
execute_or_queue_command(command, &block)
|
8068
8760
|
end
|
8069
8761
|
|
8762
|
+
# Creates key value entries in a key value map scoped to an organization,
|
8763
|
+
# environment, or API proxy.
|
8764
|
+
# @param [String] parent
|
8765
|
+
# Required. Scope as indicated by the URI in which to create the key value map
|
8766
|
+
# entry. Use **one** of the following structures in your request: * `
|
8767
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
|
8768
|
+
# organizations/`organization`/environments/`environment`/keyvaluemaps/`
|
8769
|
+
# keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
8770
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
|
8771
|
+
# @param [String] fields
|
8772
|
+
# Selector specifying which fields to include in a partial response.
|
8773
|
+
# @param [String] quota_user
|
8774
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8775
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8776
|
+
# @param [Google::Apis::RequestOptions] options
|
8777
|
+
# Request-specific options
|
8778
|
+
#
|
8779
|
+
# @yield [result, err] Result & error if block supplied
|
8780
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
8781
|
+
# @yieldparam err [StandardError] error object if request failed
|
8782
|
+
#
|
8783
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
8784
|
+
#
|
8785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8788
|
+
def create_organization_keyvaluemap_entry(parent, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8789
|
+
command = make_simple_command(:post, 'v1/{+parent}/entries', options)
|
8790
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8791
|
+
command.request_object = google_cloud_apigee_v1_key_value_entry_object
|
8792
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8793
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
8794
|
+
command.params['parent'] = parent unless parent.nil?
|
8795
|
+
command.query['fields'] = fields unless fields.nil?
|
8796
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8797
|
+
execute_or_queue_command(command, &block)
|
8798
|
+
end
|
8799
|
+
|
8800
|
+
# Deletes a key value entry from a key value map scoped to an organization,
|
8801
|
+
# environment, or API proxy. **Note:** After you delete the key value entry, the
|
8802
|
+
# policy consuming the entry will continue to function with its cached values
|
8803
|
+
# for a few minutes. This is expected behavior.
|
8804
|
+
# @param [String] name
|
8805
|
+
# Required. Scope as indicated by the URI in which to delete the key value map
|
8806
|
+
# entry. Use **one** of the following structures in your request: * `
|
8807
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
8808
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
8809
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
8810
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
8811
|
+
# @param [String] fields
|
8812
|
+
# Selector specifying which fields to include in a partial response.
|
8813
|
+
# @param [String] quota_user
|
8814
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8815
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8816
|
+
# @param [Google::Apis::RequestOptions] options
|
8817
|
+
# Request-specific options
|
8818
|
+
#
|
8819
|
+
# @yield [result, err] Result & error if block supplied
|
8820
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
8821
|
+
# @yieldparam err [StandardError] error object if request failed
|
8822
|
+
#
|
8823
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
8824
|
+
#
|
8825
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8826
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8827
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8828
|
+
def delete_organization_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
8829
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
8830
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8831
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
8832
|
+
command.params['name'] = name unless name.nil?
|
8833
|
+
command.query['fields'] = fields unless fields.nil?
|
8834
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8835
|
+
execute_or_queue_command(command, &block)
|
8836
|
+
end
|
8837
|
+
|
8838
|
+
# Get the Key value entry value for org, env or apis scoped Key value map.
|
8839
|
+
# @param [String] name
|
8840
|
+
# Required. Scope as indicated by the URI in which to fetch the key value map
|
8841
|
+
# entry/value. Use **one** of the following structures in your request: * `
|
8842
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
8843
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
8844
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
8845
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
8846
|
+
# @param [String] fields
|
8847
|
+
# Selector specifying which fields to include in a partial response.
|
8848
|
+
# @param [String] quota_user
|
8849
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8850
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8851
|
+
# @param [Google::Apis::RequestOptions] options
|
8852
|
+
# Request-specific options
|
8853
|
+
#
|
8854
|
+
# @yield [result, err] Result & error if block supplied
|
8855
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
8856
|
+
# @yieldparam err [StandardError] error object if request failed
|
8857
|
+
#
|
8858
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
8859
|
+
#
|
8860
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8861
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8862
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8863
|
+
def get_organization_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
8864
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
8865
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8866
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
8867
|
+
command.params['name'] = name unless name.nil?
|
8868
|
+
command.query['fields'] = fields unless fields.nil?
|
8869
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8870
|
+
execute_or_queue_command(command, &block)
|
8871
|
+
end
|
8872
|
+
|
8873
|
+
# Lists key value entries for key values maps scoped to an organization,
|
8874
|
+
# environment, or API proxy.
|
8875
|
+
# @param [String] parent
|
8876
|
+
# Required. Scope as indicated by the URI in which to list key value maps. Use **
|
8877
|
+
# one** of the following structures in your request: * `organizations/`
|
8878
|
+
# organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
|
8879
|
+
# organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
|
8880
|
+
# organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
8881
|
+
# @param [Fixnum] page_size
|
8882
|
+
# Optional. Maximum number of key value entries to return. If unspecified, at
|
8883
|
+
# most 100 entries will be returned.
|
8884
|
+
# @param [String] page_token
|
8885
|
+
# Optional. Page token. If provides, must be a valid key value entry returned
|
8886
|
+
# from a previous call that can be used to retrieve the next page.
|
8887
|
+
# @param [String] fields
|
8888
|
+
# Selector specifying which fields to include in a partial response.
|
8889
|
+
# @param [String] quota_user
|
8890
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8891
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8892
|
+
# @param [Google::Apis::RequestOptions] options
|
8893
|
+
# Request-specific options
|
8894
|
+
#
|
8895
|
+
# @yield [result, err] Result & error if block supplied
|
8896
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse] parsed result object
|
8897
|
+
# @yieldparam err [StandardError] error object if request failed
|
8898
|
+
#
|
8899
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse]
|
8900
|
+
#
|
8901
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8902
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8903
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8904
|
+
def list_organization_keyvaluemap_entries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
8905
|
+
command = make_simple_command(:get, 'v1/{+parent}/entries', options)
|
8906
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse::Representation
|
8907
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse
|
8908
|
+
command.params['parent'] = parent unless parent.nil?
|
8909
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
8910
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
8911
|
+
command.query['fields'] = fields unless fields.nil?
|
8912
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8913
|
+
execute_or_queue_command(command, &block)
|
8914
|
+
end
|
8915
|
+
|
8070
8916
|
# Gets the latest state of a long-running operation. Clients can use this method
|
8071
8917
|
# to poll the operation result at intervals as recommended by the API service.
|
8072
8918
|
# @param [String] name
|
@@ -8400,6 +9246,222 @@ module Google
|
|
8400
9246
|
execute_or_queue_command(command, &block)
|
8401
9247
|
end
|
8402
9248
|
|
9249
|
+
# GetSecurityProfile gets the specified security profile. Returns NOT_FOUND if
|
9250
|
+
# security profile is not present for the specified organization.
|
9251
|
+
# @param [String] name
|
9252
|
+
# Required. Security profile in the following format: `organizations/`org`/
|
9253
|
+
# securityProfiles/`profile`'. Profile may optionally contain revision ID. If
|
9254
|
+
# revision ID is not provided, the response will contain latest revision by
|
9255
|
+
# default. Example: organizations/testOrg/securityProfiles/testProfile@5
|
9256
|
+
# @param [String] fields
|
9257
|
+
# Selector specifying which fields to include in a partial response.
|
9258
|
+
# @param [String] quota_user
|
9259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9261
|
+
# @param [Google::Apis::RequestOptions] options
|
9262
|
+
# Request-specific options
|
9263
|
+
#
|
9264
|
+
# @yield [result, err] Result & error if block supplied
|
9265
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile] parsed result object
|
9266
|
+
# @yieldparam err [StandardError] error object if request failed
|
9267
|
+
#
|
9268
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile]
|
9269
|
+
#
|
9270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9273
|
+
def get_organization_security_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
9274
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
9275
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile::Representation
|
9276
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile
|
9277
|
+
command.params['name'] = name unless name.nil?
|
9278
|
+
command.query['fields'] = fields unless fields.nil?
|
9279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9280
|
+
execute_or_queue_command(command, &block)
|
9281
|
+
end
|
9282
|
+
|
9283
|
+
# ListSecurityProfiles lists all the security profiles associated with the org
|
9284
|
+
# including attached and unattached profiles.
|
9285
|
+
# @param [String] parent
|
9286
|
+
# Required. For a specific organization, list of all the security profiles.
|
9287
|
+
# Format: `organizations/`org``
|
9288
|
+
# @param [Fixnum] page_size
|
9289
|
+
# The maximum number of profiles to return. The service may return fewer than
|
9290
|
+
# this value. If unspecified, at most 50 profiles will be returned.
|
9291
|
+
# @param [String] page_token
|
9292
|
+
# A page token, received from a previous `ListSecurityProfiles` call. Provide
|
9293
|
+
# this to retrieve the subsequent page.
|
9294
|
+
# @param [String] fields
|
9295
|
+
# Selector specifying which fields to include in a partial response.
|
9296
|
+
# @param [String] quota_user
|
9297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9299
|
+
# @param [Google::Apis::RequestOptions] options
|
9300
|
+
# Request-specific options
|
9301
|
+
#
|
9302
|
+
# @yield [result, err] Result & error if block supplied
|
9303
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesResponse] parsed result object
|
9304
|
+
# @yieldparam err [StandardError] error object if request failed
|
9305
|
+
#
|
9306
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesResponse]
|
9307
|
+
#
|
9308
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9309
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9310
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9311
|
+
def list_organization_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
9312
|
+
command = make_simple_command(:get, 'v1/{+parent}/securityProfiles', options)
|
9313
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesResponse::Representation
|
9314
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesResponse
|
9315
|
+
command.params['parent'] = parent unless parent.nil?
|
9316
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
9317
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
9318
|
+
command.query['fields'] = fields unless fields.nil?
|
9319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9320
|
+
execute_or_queue_command(command, &block)
|
9321
|
+
end
|
9322
|
+
|
9323
|
+
# ListSecurityProfileRevisions lists all the revisions of the security profile.
|
9324
|
+
# @param [String] name
|
9325
|
+
# Required. For a specific profile, list all the revisions. Format: `
|
9326
|
+
# organizations/`org`/securityProfiles/`profile``
|
9327
|
+
# @param [Fixnum] page_size
|
9328
|
+
# The maximum number of profile revisions to return. The service may return
|
9329
|
+
# fewer than this value. If unspecified, at most 50 revisions will be returned.
|
9330
|
+
# @param [String] page_token
|
9331
|
+
# A page token, received from a previous `ListSecurityProfileRevisions` call.
|
9332
|
+
# Provide this to retrieve the subsequent page.
|
9333
|
+
# @param [String] fields
|
9334
|
+
# Selector specifying which fields to include in a partial response.
|
9335
|
+
# @param [String] quota_user
|
9336
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9337
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9338
|
+
# @param [Google::Apis::RequestOptions] options
|
9339
|
+
# Request-specific options
|
9340
|
+
#
|
9341
|
+
# @yield [result, err] Result & error if block supplied
|
9342
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse] parsed result object
|
9343
|
+
# @yieldparam err [StandardError] error object if request failed
|
9344
|
+
#
|
9345
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse]
|
9346
|
+
#
|
9347
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9348
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9349
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9350
|
+
def list_organization_security_profile_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
9351
|
+
command = make_simple_command(:get, 'v1/{+name}:listRevisions', options)
|
9352
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse::Representation
|
9353
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
|
9354
|
+
command.params['name'] = name unless name.nil?
|
9355
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
9356
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
9357
|
+
command.query['fields'] = fields unless fields.nil?
|
9358
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9359
|
+
execute_or_queue_command(command, &block)
|
9360
|
+
end
|
9361
|
+
|
9362
|
+
# ComputeEnvironmentScores calculates scores for requested time range for the
|
9363
|
+
# specified security profile and environment.
|
9364
|
+
# @param [String] profile_environment
|
9365
|
+
# Required. Name of organization and environment and profile id for which score
|
9366
|
+
# needs to be computed. Format: organizations/`org`/securityProfiles/`profile`/
|
9367
|
+
# environments/`env`
|
9368
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresRequest] google_cloud_apigee_v1_compute_environment_scores_request_object
|
9369
|
+
# @param [String] fields
|
9370
|
+
# Selector specifying which fields to include in a partial response.
|
9371
|
+
# @param [String] quota_user
|
9372
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9373
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9374
|
+
# @param [Google::Apis::RequestOptions] options
|
9375
|
+
# Request-specific options
|
9376
|
+
#
|
9377
|
+
# @yield [result, err] Result & error if block supplied
|
9378
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresResponse] parsed result object
|
9379
|
+
# @yieldparam err [StandardError] error object if request failed
|
9380
|
+
#
|
9381
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresResponse]
|
9382
|
+
#
|
9383
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9384
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9385
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9386
|
+
def compute_organization_security_profile_environment_environment_scores(profile_environment, google_cloud_apigee_v1_compute_environment_scores_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9387
|
+
command = make_simple_command(:post, 'v1/{+profileEnvironment}:computeEnvironmentScores', options)
|
9388
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresRequest::Representation
|
9389
|
+
command.request_object = google_cloud_apigee_v1_compute_environment_scores_request_object
|
9390
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresResponse::Representation
|
9391
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresResponse
|
9392
|
+
command.params['profileEnvironment'] = profile_environment unless profile_environment.nil?
|
9393
|
+
command.query['fields'] = fields unless fields.nil?
|
9394
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9395
|
+
execute_or_queue_command(command, &block)
|
9396
|
+
end
|
9397
|
+
|
9398
|
+
# CreateSecurityProfileEnvironmentAssociation creates profile environment
|
9399
|
+
# association i.e. attaches environment to security profile.
|
9400
|
+
# @param [String] parent
|
9401
|
+
# Required. Name of organization and security profile ID. Format: organizations/`
|
9402
|
+
# org`/securityProfiles/`profile`
|
9403
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation] google_cloud_apigee_v1_security_profile_environment_association_object
|
9404
|
+
# @param [String] fields
|
9405
|
+
# Selector specifying which fields to include in a partial response.
|
9406
|
+
# @param [String] quota_user
|
9407
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9408
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9409
|
+
# @param [Google::Apis::RequestOptions] options
|
9410
|
+
# Request-specific options
|
9411
|
+
#
|
9412
|
+
# @yield [result, err] Result & error if block supplied
|
9413
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation] parsed result object
|
9414
|
+
# @yieldparam err [StandardError] error object if request failed
|
9415
|
+
#
|
9416
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation]
|
9417
|
+
#
|
9418
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9419
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9420
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9421
|
+
def create_organization_security_profile_environment(parent, google_cloud_apigee_v1_security_profile_environment_association_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9422
|
+
command = make_simple_command(:post, 'v1/{+parent}/environments', options)
|
9423
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation::Representation
|
9424
|
+
command.request_object = google_cloud_apigee_v1_security_profile_environment_association_object
|
9425
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation::Representation
|
9426
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation
|
9427
|
+
command.params['parent'] = parent unless parent.nil?
|
9428
|
+
command.query['fields'] = fields unless fields.nil?
|
9429
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9430
|
+
execute_or_queue_command(command, &block)
|
9431
|
+
end
|
9432
|
+
|
9433
|
+
# DeleteSecurityProfileEnvironmentAssociation removes profile environment
|
9434
|
+
# association i.e. detaches environment from security profile.
|
9435
|
+
# @param [String] name
|
9436
|
+
# Required. The name of the environment attachment to delete. Format:
|
9437
|
+
# organizations/`org`/securityProfiles/`profile`/environments/`env`
|
9438
|
+
# @param [String] fields
|
9439
|
+
# Selector specifying which fields to include in a partial response.
|
9440
|
+
# @param [String] quota_user
|
9441
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9442
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9443
|
+
# @param [Google::Apis::RequestOptions] options
|
9444
|
+
# Request-specific options
|
9445
|
+
#
|
9446
|
+
# @yield [result, err] Result & error if block supplied
|
9447
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
9448
|
+
# @yieldparam err [StandardError] error object if request failed
|
9449
|
+
#
|
9450
|
+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
9451
|
+
#
|
9452
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9453
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9454
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9455
|
+
def delete_organization_security_profile_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
9456
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
9457
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
9458
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
9459
|
+
command.params['name'] = name unless name.nil?
|
9460
|
+
command.query['fields'] = fields unless fields.nil?
|
9461
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9462
|
+
execute_or_queue_command(command, &block)
|
9463
|
+
end
|
9464
|
+
|
8403
9465
|
# Uploads a ZIP-formatted shared flow configuration bundle to an organization.
|
8404
9466
|
# If the shared flow already exists, this creates a new revision of it. If the
|
8405
9467
|
# shared flow does not exist, this creates it. Once imported, the shared flow
|