google-apis-apigee_v1 0.100.0 → 0.101.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.
@@ -840,7 +840,11 @@ module Google
840
840
  # seconds.
841
841
  # @param [String] name
842
842
  # Required. Name of the API product. Use the following structure in your request:
843
- # `organizations/`org`/apiproducts/`apiproduct``
843
+ # `organizations/`org`/apiproducts/`apiproduct`` If the API Product resource
844
+ # has the `space` attribute set, IAM permissions are checked against the Space
845
+ # resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.
846
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
847
+ # overview).
844
848
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attributes] google_cloud_apigee_v1_attributes_object
845
849
  # @param [String] fields
846
850
  # Selector specifying which fields to include in a partial response.
@@ -889,7 +893,11 @@ module Google
889
893
  # For more information, see What is an API product?
890
894
  # @param [String] parent
891
895
  # Required. Name of the organization in which the API product will be created.
892
- # Use the following structure in your request: `organizations/`org``
896
+ # Use the following structure in your request: `organizations/`org`` If the
897
+ # resource has the `space` attribute set, IAM permissions are checked against
898
+ # the Space resource path. To learn more, read the [Apigee Spaces Overview](
899
+ # https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/
900
+ # apigee-spaces-overview).
893
901
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct] google_cloud_apigee_v1_api_product_object
894
902
  # @param [String] fields
895
903
  # Selector specifying which fields to include in a partial response.
@@ -930,7 +938,10 @@ module Google
930
938
  # API products to verify the internal name.
931
939
  # @param [String] name
932
940
  # Required. Name of the API product. Use the following structure in your request:
933
- # `organizations/`org`/apiproducts/`apiproduct``
941
+ # `organizations/`org`/apiproducts/`apiproduct`` If the resource has the `space`
942
+ # attribute set, IAM permissions are checked against the Space resource path.
943
+ # To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/
944
+ # apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).
934
945
  # @param [String] fields
935
946
  # Selector specifying which fields to include in a partial response.
936
947
  # @param [String] quota_user
@@ -965,7 +976,10 @@ module Google
965
976
  # name.
966
977
  # @param [String] name
967
978
  # Required. Name of the API product. Use the following structure in your request:
968
- # `organizations/`org`/apiproducts/`apiproduct``
979
+ # `organizations/`org`/apiproducts/`apiproduct`` If the resource has the `space`
980
+ # attribute set, IAM permissions are checked against the Space resource path.
981
+ # To learn more, read the [Apigee Spaces Overview](https://cloud.google.com/
982
+ # apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).
969
983
  # @param [String] fields
970
984
  # Selector specifying which fields to include in a partial response.
971
985
  # @param [String] quota_user
@@ -996,10 +1010,16 @@ module Google
996
1010
  # Lists all API product names for an organization. Filter the list by passing an
997
1011
  # `attributename` and `attibutevalue`. The maximum number of API products
998
1012
  # returned is 1000. You can paginate the list of API products returned using the
999
- # `startKey` and `count` query parameters.
1013
+ # `startKey` and `count` query parameters. If the resource has the `space`
1014
+ # attribute set, the response may not return all resources. To learn more, read
1015
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1016
+ # system-administration/spaces/apigee-spaces-overview).
1000
1017
  # @param [String] parent
1001
1018
  # Required. Name of the organization. Use the following structure in your
1002
- # request: `organizations/`org``
1019
+ # request: `organizations/`org`` If the resource has the `space` attribute set,
1020
+ # IAM permissions are checked against the Space resource path. To learn more,
1021
+ # read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-
1022
+ # platform/system-administration/spaces/apigee-spaces-overview).
1003
1023
  # @param [String] attributename
1004
1024
  # Name of the attribute used to filter the search.
1005
1025
  # @param [String] attributevalue
@@ -1010,6 +1030,12 @@ module Google
1010
1030
  # @param [Boolean] expand
1011
1031
  # Flag that specifies whether to expand the results. Set to `true` to get
1012
1032
  # expanded details about each API.
1033
+ # @param [String] space
1034
+ # Optional. The Space to list API products for. When none provided, all the
1035
+ # spaces the user has list access, will be used implicitly, and the same
1036
+ # following rules will apply. Can be used in conjunction with start_key, expand
1037
+ # and count for paginated response. Composite queries with attributename and
1038
+ # attributevalue are not supported yet.
1013
1039
  # @param [String] start_key
1014
1040
  # Gets a list of API products starting with a specific API product in the list.
1015
1041
  # For example, if you're returning 50 API products at a time (using the `count`
@@ -1033,7 +1059,7 @@ module Google
1033
1059
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1034
1060
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1035
1061
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1036
- def list_organization_apiproducts(parent, attributename: nil, attributevalue: nil, count: nil, expand: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1062
+ def list_organization_apiproducts(parent, attributename: nil, attributevalue: nil, count: nil, expand: nil, space: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1037
1063
  command = make_simple_command(:get, 'v1/{+parent}/apiproducts', options)
1038
1064
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiProductsResponse::Representation
1039
1065
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiProductsResponse
@@ -1042,12 +1068,47 @@ module Google
1042
1068
  command.query['attributevalue'] = attributevalue unless attributevalue.nil?
1043
1069
  command.query['count'] = count unless count.nil?
1044
1070
  command.query['expand'] = expand unless expand.nil?
1071
+ command.query['space'] = space unless space.nil?
1045
1072
  command.query['startKey'] = start_key unless start_key.nil?
1046
1073
  command.query['fields'] = fields unless fields.nil?
1047
1074
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1048
1075
  execute_or_queue_command(command, &block)
1049
1076
  end
1050
1077
 
1078
+ # Moves an API product to a different space.
1079
+ # @param [String] name
1080
+ # Required. API product to move in the following format: `organizations/`org`/
1081
+ # apiproducts/`apiproduct`
1082
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1MoveApiProductRequest] google_cloud_apigee_v1_move_api_product_request_object
1083
+ # @param [String] fields
1084
+ # Selector specifying which fields to include in a partial response.
1085
+ # @param [String] quota_user
1086
+ # Available to use for quota purposes for server-side applications. Can be any
1087
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1088
+ # @param [Google::Apis::RequestOptions] options
1089
+ # Request-specific options
1090
+ #
1091
+ # @yield [result, err] Result & error if block supplied
1092
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct] parsed result object
1093
+ # @yieldparam err [StandardError] error object if request failed
1094
+ #
1095
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct]
1096
+ #
1097
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1098
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1099
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1100
+ def move_organization_apiproduct(name, google_cloud_apigee_v1_move_api_product_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1101
+ command = make_simple_command(:post, 'v1/{+name}:move', options)
1102
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1MoveApiProductRequest::Representation
1103
+ command.request_object = google_cloud_apigee_v1_move_api_product_request_object
1104
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct::Representation
1105
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct
1106
+ command.params['name'] = name unless name.nil?
1107
+ command.query['fields'] = fields unless fields.nil?
1108
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1109
+ execute_or_queue_command(command, &block)
1110
+ end
1111
+
1051
1112
  # Updates an existing API product. You must include all required values, whether
1052
1113
  # or not you are updating them, as well as any optional values that you are
1053
1114
  # updating. The API product name required in the request URL is the internal
@@ -1056,7 +1117,10 @@ module Google
1056
1117
  # API products to identify their internal names.
1057
1118
  # @param [String] name
1058
1119
  # Required. Name of the API product. Use the following structure in your request:
1059
- # `organizations/`org`/apiproducts/`apiproduct``
1120
+ # `organizations/`org`/apiproducts/`apiproduct`` If the resource has the `space`
1121
+ # attribute set, IAM permissions are checked against the Space resource path.To
1122
+ # learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/
1123
+ # docs/api-platform/system-administration/spaces/apigee-spaces-overview).
1060
1124
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProduct] google_cloud_apigee_v1_api_product_object
1061
1125
  # @param [String] fields
1062
1126
  # Selector specifying which fields to include in a partial response.
@@ -1091,7 +1155,10 @@ module Google
1091
1155
  # @param [String] name
1092
1156
  # Required. Name of the API product attribute. Use the following structure in
1093
1157
  # your request: `organizations/`org`/apiproducts/`apiproduct`/attributes/`
1094
- # attribute``
1158
+ # attribute`` If the API Product resource has the `space` attribute set, IAM
1159
+ # permissions are checked against the Space resource path. To learn more, read
1160
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1161
+ # system-administration/spaces/apigee-spaces-overview).
1095
1162
  # @param [String] fields
1096
1163
  # Selector specifying which fields to include in a partial response.
1097
1164
  # @param [String] quota_user
@@ -1123,7 +1190,10 @@ module Google
1123
1190
  # @param [String] name
1124
1191
  # Required. Name of the API product attribute. Use the following structure in
1125
1192
  # your request: `organizations/`org`/apiproducts/`apiproduct`/attributes/`
1126
- # attribute``
1193
+ # attribute`` If the API Product resource has the `space` attribute set, IAM
1194
+ # permissions are checked against the Space resource path. To learn more, read
1195
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1196
+ # system-administration/spaces/apigee-spaces-overview).
1127
1197
  # @param [String] fields
1128
1198
  # Selector specifying which fields to include in a partial response.
1129
1199
  # @param [String] quota_user
@@ -1154,7 +1224,11 @@ module Google
1154
1224
  # Lists all API product attributes.
1155
1225
  # @param [String] parent
1156
1226
  # Required. Name of the API product. Use the following structure in your request:
1157
- # `organizations/`org`/apiproducts/`apiproduct``
1227
+ # `organizations/`org`/apiproducts/`apiproduct`` If the API Product resource
1228
+ # has the `space` attribute set, IAM permissions are checked against the Space
1229
+ # resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.
1230
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
1231
+ # overview).
1158
1232
  # @param [String] fields
1159
1233
  # Selector specifying which fields to include in a partial response.
1160
1234
  # @param [String] quota_user
@@ -1190,7 +1264,11 @@ module Google
1190
1264
  # policy won't be able to expire an access token in less than 180 seconds.
1191
1265
  # @param [String] name
1192
1266
  # Required. Name of the API product. Use the following structure in your request:
1193
- # `organizations/`org`/apiproducts/`apiproduct``
1267
+ # `organizations/`org`/apiproducts/`apiproduct`` If the API Product resource
1268
+ # has the `space` attribute set, IAM permissions are checked against the Space
1269
+ # resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.
1270
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
1271
+ # overview).
1194
1272
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute] google_cloud_apigee_v1_attribute_object
1195
1273
  # @param [String] fields
1196
1274
  # Selector specifying which fields to include in a partial response.
@@ -1233,7 +1311,10 @@ module Google
1233
1311
  # @param [String] parent
1234
1312
  # Required. Name of the API product that is associated with the rate plan. Use
1235
1313
  # the following structure in your request: `organizations/`org`/apiproducts/`
1236
- # apiproduct``
1314
+ # apiproduct`` If the API Product resource has the `space` attribute set, IAM
1315
+ # permissions are checked against the Space resource path. To learn more, read
1316
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1317
+ # system-administration/spaces/apigee-spaces-overview).
1237
1318
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] google_cloud_apigee_v1_rate_plan_object
1238
1319
  # @param [String] fields
1239
1320
  # Selector specifying which fields to include in a partial response.
@@ -1267,7 +1348,11 @@ module Google
1267
1348
  # Deletes a rate plan.
1268
1349
  # @param [String] name
1269
1350
  # Required. ID of the rate plan. Use the following structure in your request: `
1270
- # organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan``
1351
+ # organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan`` If the API
1352
+ # Product resource has the `space` attribute set, IAM permissions are checked
1353
+ # against the Space resource path. To learn more, read the [Apigee Spaces
1354
+ # Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1355
+ # administration/spaces/apigee-spaces-overview).
1271
1356
  # @param [String] fields
1272
1357
  # Selector specifying which fields to include in a partial response.
1273
1358
  # @param [String] quota_user
@@ -1298,7 +1383,11 @@ module Google
1298
1383
  # Gets the details of a rate plan.
1299
1384
  # @param [String] name
1300
1385
  # Required. Name of the rate plan. Use the following structure in your request: `
1301
- # organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan``
1386
+ # organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan`` If the API
1387
+ # Product resource has the `space` attribute set, IAM permissions are checked
1388
+ # against the Space resource path. To learn more, read the [Apigee Spaces
1389
+ # Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1390
+ # administration/spaces/apigee-spaces-overview).
1302
1391
  # @param [String] fields
1303
1392
  # Selector specifying which fields to include in a partial response.
1304
1393
  # @param [String] quota_user
@@ -1331,7 +1420,10 @@ module Google
1331
1420
  # Required. Name of the API product. Use the following structure in your request:
1332
1421
  # `organizations/`org`/apiproducts/`apiproduct`` Use `organizations/`org`/
1333
1422
  # apiproducts/-` to return rate plans for all API products within the
1334
- # organization.
1423
+ # organization. If the API Product resource has the `space` attribute set, IAM
1424
+ # permissions are checked against the Space resource path. To learn more, read
1425
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1426
+ # system-administration/spaces/apigee-spaces-overview).
1335
1427
  # @param [Fixnum] count
1336
1428
  # Number of rate plans to return in the API call. Use with the `startKey`
1337
1429
  # parameter to provide more targeted filtering. The maximum limit is 1000.
@@ -1386,7 +1478,11 @@ module Google
1386
1478
  # Updates an existing rate plan.
1387
1479
  # @param [String] name
1388
1480
  # Required. Name of the rate plan. Use the following structure in your request: `
1389
- # organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan``
1481
+ # organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan`` If the API
1482
+ # Product resource has the `space` attribute set, IAM permissions are checked
1483
+ # against the Space resource path. To learn more, read the [Apigee Spaces
1484
+ # Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1485
+ # administration/spaces/apigee-spaces-overview).
1390
1486
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] google_cloud_apigee_v1_rate_plan_object
1391
1487
  # @param [String] fields
1392
1488
  # Selector specifying which fields to include in a partial response.
@@ -1433,7 +1529,10 @@ module Google
1433
1529
  # of validation errors is returned to the client.
1434
1530
  # @param [String] parent
1435
1531
  # Required. Name of the organization in the following format: `organizations/`
1436
- # org``
1532
+ # org`` If the API Proxy resource has the `space` attribute set, IAM permissions
1533
+ # are checked against the Space resource path. To learn more, read the [Apigee
1534
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1535
+ # administration/spaces/apigee-spaces-overview).
1437
1536
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
1438
1537
  # @param [String] action
1439
1538
  # Action to perform when importing an API proxy configuration bundle. Set this
@@ -1442,6 +1541,11 @@ module Google
1442
1541
  # bundle without importing it.
1443
1542
  # @param [String] name
1444
1543
  # Name of the API proxy. Restrict the characters used to: A-Za-z0-9._-
1544
+ # @param [String] space
1545
+ # Optional. The ID of the space associated with this proxy. Any IAM policies
1546
+ # applied to the space will affect access to this proxy. Note that this field is
1547
+ # only respected when creating a new proxy. It has no effect when creating a new
1548
+ # revision for an existing proxy.
1445
1549
  # @param [Boolean] validate
1446
1550
  # Ignored. All uploads are validated regardless of the value of this field.
1447
1551
  # Maintained for compatibility with Apigee Edge API.
@@ -1462,7 +1566,7 @@ module Google
1462
1566
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1463
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1464
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1465
- def create_organization_api(parent, google_api_http_body_object = nil, action: nil, name: nil, validate: nil, fields: nil, quota_user: nil, options: nil, &block)
1569
+ def create_organization_api(parent, google_api_http_body_object = nil, action: nil, name: nil, space: nil, validate: nil, fields: nil, quota_user: nil, options: nil, &block)
1466
1570
  command = make_simple_command(:post, 'v1/{+parent}/apis', options)
1467
1571
  command.request_representation = Google::Apis::ApigeeV1::GoogleApiHttpBody::Representation
1468
1572
  command.request_object = google_api_http_body_object
@@ -1471,6 +1575,7 @@ module Google
1471
1575
  command.params['parent'] = parent unless parent.nil?
1472
1576
  command.query['action'] = action unless action.nil?
1473
1577
  command.query['name'] = name unless name.nil?
1578
+ command.query['space'] = space unless space.nil?
1474
1579
  command.query['validate'] = validate unless validate.nil?
1475
1580
  command.query['fields'] = fields unless fields.nil?
1476
1581
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1481,7 +1586,10 @@ module Google
1481
1586
  # revisions. The API proxy must be undeployed before you can delete it.
1482
1587
  # @param [String] name
1483
1588
  # Required. Name of the API proxy in the following format: `organizations/`org`/
1484
- # apis/`api``
1589
+ # apis/`api`` If the API Proxy resource has the `space` attribute set, IAM
1590
+ # permissions are checked against the Space resource path. To learn more, read
1591
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1592
+ # system-administration/spaces/apigee-spaces-overview).
1485
1593
  # @param [String] fields
1486
1594
  # Selector specifying which fields to include in a partial response.
1487
1595
  # @param [String] quota_user
@@ -1512,7 +1620,10 @@ module Google
1512
1620
  # Gets an API proxy including a list of existing revisions.
1513
1621
  # @param [String] name
1514
1622
  # Required. Name of the API proxy in the following format: `organizations/`org`/
1515
- # apis/`api``
1623
+ # apis/`api`` If the API Proxy resource has the `space` attribute set, IAM
1624
+ # permissions are checked against the Space resource path. To learn more, read
1625
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1626
+ # system-administration/spaces/apigee-spaces-overview).
1516
1627
  # @param [String] fields
1517
1628
  # Selector specifying which fields to include in a partial response.
1518
1629
  # @param [String] quota_user
@@ -1542,13 +1653,23 @@ module Google
1542
1653
 
1543
1654
  # Lists the names of all API proxies in an organization. The names returned
1544
1655
  # correspond to the names defined in the configuration files for each API proxy.
1656
+ # If the resource has the `space` attribute set, the response may not return all
1657
+ # resources. To learn more, read the [Apigee Spaces Overview](https://cloud.
1658
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
1659
+ # overview).
1545
1660
  # @param [String] parent
1546
1661
  # Required. Name of the organization in the following format: `organizations/`
1547
- # org``
1662
+ # org`` If the resource has the `space` attribute set, IAM permissions are
1663
+ # checked against the Space resource path. To learn more, read the [Apigee
1664
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1665
+ # administration/spaces/apigee-spaces-overview).
1548
1666
  # @param [Boolean] include_meta_data
1549
1667
  # Flag that specifies whether to include API proxy metadata in the response.
1550
1668
  # @param [Boolean] include_revisions
1551
1669
  # Flag that specifies whether to include a list of revisions in the response.
1670
+ # @param [String] space
1671
+ # Optional. The space ID to filter the list of proxies (optional). If
1672
+ # unspecified, all proxies in the organization will be listed.
1552
1673
  # @param [String] fields
1553
1674
  # Selector specifying which fields to include in a partial response.
1554
1675
  # @param [String] quota_user
@@ -1566,13 +1687,48 @@ module Google
1566
1687
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1567
1688
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1568
1689
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1569
- def list_organization_apis(parent, include_meta_data: nil, include_revisions: nil, fields: nil, quota_user: nil, options: nil, &block)
1690
+ def list_organization_apis(parent, include_meta_data: nil, include_revisions: nil, space: nil, fields: nil, quota_user: nil, options: nil, &block)
1570
1691
  command = make_simple_command(:get, 'v1/{+parent}/apis', options)
1571
1692
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiProxiesResponse::Representation
1572
1693
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiProxiesResponse
1573
1694
  command.params['parent'] = parent unless parent.nil?
1574
1695
  command.query['includeMetaData'] = include_meta_data unless include_meta_data.nil?
1575
1696
  command.query['includeRevisions'] = include_revisions unless include_revisions.nil?
1697
+ command.query['space'] = space unless space.nil?
1698
+ command.query['fields'] = fields unless fields.nil?
1699
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1700
+ execute_or_queue_command(command, &block)
1701
+ end
1702
+
1703
+ # Moves an API proxy to a different space.
1704
+ # @param [String] name
1705
+ # Required. API proxy to move in the following format: `organizations/`org`/apis/
1706
+ # `api``
1707
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1MoveApiProxyRequest] google_cloud_apigee_v1_move_api_proxy_request_object
1708
+ # @param [String] fields
1709
+ # Selector specifying which fields to include in a partial response.
1710
+ # @param [String] quota_user
1711
+ # Available to use for quota purposes for server-side applications. Can be any
1712
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1713
+ # @param [Google::Apis::RequestOptions] options
1714
+ # Request-specific options
1715
+ #
1716
+ # @yield [result, err] Result & error if block supplied
1717
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] parsed result object
1718
+ # @yieldparam err [StandardError] error object if request failed
1719
+ #
1720
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy]
1721
+ #
1722
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1723
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1724
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1725
+ def move_organization_api(name, google_cloud_apigee_v1_move_api_proxy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1726
+ command = make_simple_command(:post, 'v1/{+name}:move', options)
1727
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1MoveApiProxyRequest::Representation
1728
+ command.request_object = google_cloud_apigee_v1_move_api_proxy_request_object
1729
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy::Representation
1730
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy
1731
+ command.params['name'] = name unless name.nil?
1576
1732
  command.query['fields'] = fields unless fields.nil?
1577
1733
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1578
1734
  execute_or_queue_command(command, &block)
@@ -1581,7 +1737,10 @@ module Google
1581
1737
  # Updates an existing API proxy.
1582
1738
  # @param [String] name
1583
1739
  # Required. API proxy to update in the following format: `organizations/`org`/
1584
- # apis/`api``
1740
+ # apis/`api`` If the resource has the `space` attribute set, IAM permissions are
1741
+ # checked against the Space resource path. To learn more, read the [Apigee
1742
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1743
+ # administration/spaces/apigee-spaces-overview).
1585
1744
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] google_cloud_apigee_v1_api_proxy_object
1586
1745
  # @param [String] update_mask
1587
1746
  # Required. The list of fields to update.
@@ -1657,7 +1816,11 @@ module Google
1657
1816
  # Lists all deployments of an API proxy.
1658
1817
  # @param [String] parent
1659
1818
  # Required. Name of the API proxy for which to return deployment information in
1660
- # the following format: `organizations/`org`/apis/`api``
1819
+ # the following format: `organizations/`org`/apis/`api`` If the API proxy
1820
+ # resource has the `space` attribute set, IAM permissions are checked
1821
+ # differently . To learn more, read the [Apigee Spaces Overview](https://cloud.
1822
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
1823
+ # overview).
1661
1824
  # @param [String] fields
1662
1825
  # Selector specifying which fields to include in a partial response.
1663
1826
  # @param [String] quota_user
@@ -1688,7 +1851,11 @@ module Google
1688
1851
  # Creates a key value map in an API proxy.
1689
1852
  # @param [String] parent
1690
1853
  # Required. Name of the environment in which to create the key value map. Use
1691
- # the following structure in your request: `organizations/`org`/apis/`api``
1854
+ # the following structure in your request: `organizations/`org`/apis/`api`` If
1855
+ # the API Proxy resource has the `space` attribute set, IAM permissions are
1856
+ # checked against the Space resource path. To learn more, read the [Apigee
1857
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1858
+ # administration/spaces/apigee-spaces-overview).
1692
1859
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
1693
1860
  # @param [String] fields
1694
1861
  # Selector specifying which fields to include in a partial response.
@@ -1722,7 +1889,11 @@ module Google
1722
1889
  # Deletes a key value map from an API proxy.
1723
1890
  # @param [String] name
1724
1891
  # Required. Name of the key value map. Use the following structure in your
1725
- # request: `organizations/`org`/apis/`api`/keyvaluemaps/`keyvaluemap``
1892
+ # request: `organizations/`org`/apis/`api`/keyvaluemaps/`keyvaluemap`` If the
1893
+ # API Proxy resource has the `space` attribute set, IAM permissions are checked
1894
+ # against the Space resource path. To learn more, read the [Apigee Spaces
1895
+ # Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1896
+ # administration/spaces/apigee-spaces-overview).
1726
1897
  # @param [String] fields
1727
1898
  # Selector specifying which fields to include in a partial response.
1728
1899
  # @param [String] quota_user
@@ -1758,7 +1929,11 @@ module Google
1758
1929
  # entry. Use **one** of the following structures in your request: * `
1759
1930
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
1760
1931
  # organizations/`organization`/environments/`environment`/keyvaluemaps/`
1761
- # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
1932
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``. If
1933
+ # the KeyValueMap is under an API Proxy resource that has the `space` attribute
1934
+ # set, IAM permissions are checked against the Space resource path. To learn
1935
+ # more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/
1936
+ # api-platform/system-administration/spaces/apigee-spaces-overview).
1762
1937
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
1763
1938
  # @param [String] fields
1764
1939
  # Selector specifying which fields to include in a partial response.
@@ -1800,7 +1975,11 @@ module Google
1800
1975
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
1801
1976
  # entry``. * `organizations/`organization`/environments/`environment`/
1802
1977
  # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
1803
- # keyvaluemaps/`keyvaluemap`/entries/`entry``.
1978
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``. If the KeyValueMap is under an
1979
+ # API Proxy resource that has the `space` attribute set, IAM permissions are
1980
+ # checked against the Space resource path. To learn more, read the [Apigee
1981
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
1982
+ # administration/spaces/apigee-spaces-overview).
1804
1983
  # @param [String] fields
1805
1984
  # Selector specifying which fields to include in a partial response.
1806
1985
  # @param [String] quota_user
@@ -1837,7 +2016,11 @@ module Google
1837
2016
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
1838
2017
  # entry``. * `organizations/`organization`/environments/`environment`/
1839
2018
  # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
1840
- # keyvaluemaps/`keyvaluemap`/entries/`entry``.
2019
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``. If the KeyValueMap is under an
2020
+ # API Proxy resource that has the `space` attribute set, IAM permissions are
2021
+ # checked against the Space resource path. To learn more, read the [Apigee
2022
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
2023
+ # administration/spaces/apigee-spaces-overview).
1841
2024
  # @param [String] fields
1842
2025
  # Selector specifying which fields to include in a partial response.
1843
2026
  # @param [String] quota_user
@@ -1873,7 +2056,11 @@ module Google
1873
2056
  # one** of the following structures in your request: * `organizations/`
1874
2057
  # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
1875
2058
  # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
1876
- # organizations/`organization`/keyvaluemaps/`keyvaluemap``.
2059
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
2060
+ # is under an API Proxy resource that has the `space` attribute set, IAM
2061
+ # permissions are checked against the Space resource path. To learn more, read
2062
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
2063
+ # system-administration/spaces/apigee-spaces-overview).
1877
2064
  # @param [Fixnum] page_size
1878
2065
  # Optional. Maximum number of key value entries to return. If unspecified, at
1879
2066
  # most 100 entries will be returned.
@@ -1916,7 +2103,11 @@ module Google
1916
2103
  # entry. Use **one** of the following structures in your request: * `
1917
2104
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
1918
2105
  # organizations/`organization`/environments/`environment`/keyvaluemaps/`
1919
- # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
2106
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``. If
2107
+ # the KeyValueMap is under an API Proxy resource that has the `space` attribute
2108
+ # set, IAM permissions are checked against the Space resource path. To learn
2109
+ # more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/
2110
+ # api-platform/system-administration/spaces/apigee-spaces-overview).
1920
2111
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
1921
2112
  # @param [String] fields
1922
2113
  # Selector specifying which fields to include in a partial response.
@@ -1952,7 +2143,10 @@ module Google
1952
2143
  # you can delete it.
1953
2144
  # @param [String] name
1954
2145
  # Required. API proxy revision in the following format: `organizations/`org`/
1955
- # apis/`api`/revisions/`rev``
2146
+ # apis/`api`/revisions/`rev`` If the API Proxy resource has the `space`
2147
+ # attribute set, IAM permissions are checked against the Space resource path. To
2148
+ # learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/
2149
+ # docs/api-platform/system-administration/spaces/apigee-spaces-overview).
1956
2150
  # @param [String] fields
1957
2151
  # Selector specifying which fields to include in a partial response.
1958
2152
  # @param [String] quota_user
@@ -1988,7 +2182,10 @@ module Google
1988
2182
  # as described in [updateApiProxyRevision](updateApiProxyRevision).
1989
2183
  # @param [String] name
1990
2184
  # Required. API proxy revision in the following format: `organizations/`org`/
1991
- # apis/`api`/revisions/`rev``
2185
+ # apis/`api`/revisions/`rev`` If the API Proxy resource has the `space`
2186
+ # attribute set, IAM permissions are checked against the Space resource path. To
2187
+ # learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/
2188
+ # docs/api-platform/system-administration/spaces/apigee-spaces-overview).
1992
2189
  # @param [String] format
1993
2190
  # Format used when downloading the API proxy configuration revision. Set to `
1994
2191
  # bundle` to download the API proxy configuration revision as a zip file.
@@ -2028,7 +2225,10 @@ module Google
2028
2225
  # stream`.
2029
2226
  # @param [String] name
2030
2227
  # Required. API proxy revision to update in the following format: `organizations/
2031
- # `org`/apis/`api`/revisions/`rev``
2228
+ # `org`/apis/`api`/revisions/`rev`` If the API Proxy resource has the `space`
2229
+ # attribute set, IAM permissions are checked against the Space resource path. To
2230
+ # learn more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/
2231
+ # docs/api-platform/system-administration/spaces/apigee-spaces-overview).
2032
2232
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
2033
2233
  # @param [Boolean] validate
2034
2234
  # Ignored. All uploads are validated regardless of the value of this field.
@@ -2067,7 +2267,10 @@ module Google
2067
2267
  # @param [String] parent
2068
2268
  # Required. Name of the API proxy revision for which to return deployment
2069
2269
  # information in the following format: `organizations/`org`/apis/`api`/revisions/
2070
- # `rev``.
2270
+ # `rev``. If the API proxy resource has the `space` attribute set, IAM
2271
+ # permissions are checked differently . To learn more, read the [Apigee Spaces
2272
+ # Overview](https://cloud.google.com/apigee/docs/api-platform/system-
2273
+ # administration/spaces/apigee-spaces-overview).
2071
2274
  # @param [String] fields
2072
2275
  # Selector specifying which fields to include in a partial response.
2073
2276
  # @param [String] quota_user
@@ -2134,8 +2337,8 @@ module Google
2134
2337
  # Deletes an AppGroup. All app and API keys associations with the AppGroup are
2135
2338
  # also removed. **Warning**: This API will permanently delete the AppGroup and
2136
2339
  # related artifacts. **Note**: The delete operation is asynchronous. The
2137
- # AppGroup app is deleted immediately, but its associated resources, such as
2138
- # apps and API keys, may take anywhere from a few seconds to a few minutes to be
2340
+ # AppGroup is deleted immediately, but its associated resources, such as apps
2341
+ # and API keys, may take anywhere from a few seconds to a few minutes to be
2139
2342
  # deleted.
2140
2343
  # @param [String] name
2141
2344
  # Required. Name of the AppGroup. Use the following structure in your request: `
@@ -3103,9 +3306,9 @@ module Google
3103
3306
  # also removed. **Warning**: This API will permanently delete the developer and
3104
3307
  # related artifacts. To avoid permanently deleting developers and their
3105
3308
  # artifacts, set the developer status to `inactive` using the SetDeveloperStatus
3106
- # API. **Note**: The delete operation is asynchronous. The developer app is
3107
- # deleted immediately, but its associated resources, such as apps and API keys,
3108
- # may take anywhere from a few seconds to a few minutes to be deleted.
3309
+ # API. **Note**: The delete operation is asynchronous. The developer is deleted
3310
+ # immediately, but its associated resources, such as apps and API keys, may take
3311
+ # anywhere from a few seconds to a few minutes to be deleted.
3109
3312
  # @param [String] name
3110
3313
  # Required. Email address of the developer. Use the following structure in your
3111
3314
  # request: `organizations/`org`/developers/`developer_email``
@@ -5904,7 +6107,11 @@ module Google
5904
6107
  # Lists all deployments of an API proxy in an environment.
5905
6108
  # @param [String] parent
5906
6109
  # Required. Name representing an API proxy in an environment in the following
5907
- # format: `organizations/`org`/environments/`env`/apis/`api``
6110
+ # format: `organizations/`org`/environments/`env`/apis/`api`` If the API proxy
6111
+ # resource has the `space` attribute set, IAM permissions are checked
6112
+ # differently . To learn more, read the [Apigee Spaces Overview](https://cloud.
6113
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
6114
+ # overview).
5908
6115
  # @param [String] fields
5909
6116
  # Selector specifying which fields to include in a partial response.
5910
6117
  # @param [String] quota_user
@@ -5941,13 +6148,20 @@ module Google
5941
6148
  # environments/`env`/apis/`api`/revisions/`rev`/deployments`, two permissions
5942
6149
  # are required: * `apigee.deployments.create` on the resource `organizations/`
5943
6150
  # org`/environments/`env`` * `apigee.proxyrevisions.deploy` on the resource `
5944
- # organizations/`org`/apis/`api`/revisions/`rev`` Apigee hybrid validates the
5945
- # dependencies between shared flows and API proxies at deployment time. For
5946
- # example, if the Flow Callout policy in an API proxy references a shared flow
5947
- # that either doesn't exist or isn't deployed, the API proxy deployment fails.
6151
+ # organizations/`org`/apis/`api`/revisions/`rev`` All successful API proxy
6152
+ # deployments to Apigee are [zero-downtime deployments](https://cloud.google.com/
6153
+ # apigee/docs/api-platform/deploy/ui-deploy-overview#zero-downtime-deployment).
6154
+ # Apigee hybrid validates the dependencies between shared flows and API proxies
6155
+ # at deployment time. For example, if the Flow Callout policy in an API proxy
6156
+ # references a shared flow that either doesn't exist or isn't deployed, the API
6157
+ # proxy deployment fails.
5948
6158
  # @param [String] name
5949
6159
  # Required. Name of the API proxy revision deployment in the following format: `
5950
- # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
6160
+ # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` If the API
6161
+ # proxy resource being deployed has the `space` attribute set, IAM permissions
6162
+ # are checked differently . To learn more, read the [Apigee Spaces Overview](
6163
+ # https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/
6164
+ # apigee-spaces-overview).
5951
6165
  # @param [Boolean] override
5952
6166
  # Flag that specifies whether the new deployment replaces other deployed
5953
6167
  # revisions of the API proxy in the environment. Set `override` to `true` to
@@ -6005,7 +6219,10 @@ module Google
6005
6219
  # @param [String] name
6006
6220
  # Required. Name representing an API proxy revision in an environment in the
6007
6221
  # following format: `organizations/`org`/environments/`env`/apis/`api`/revisions/
6008
- # `rev``
6222
+ # `rev`` If the API proxy resource has the `space` attribute set, IAM
6223
+ # permissions are checked differently . To learn more, read the [Apigee Spaces
6224
+ # Overview](https://cloud.google.com/apigee/docs/api-platform/system-
6225
+ # administration/spaces/apigee-spaces-overview).
6009
6226
  # @param [String] fields
6010
6227
  # Selector specifying which fields to include in a partial response.
6011
6228
  # @param [String] quota_user
@@ -6040,7 +6257,11 @@ module Google
6040
6257
  # the resource `organizations/`org`/apis/`api`/revisions/`rev``
6041
6258
  # @param [String] name
6042
6259
  # Required. Name of the API proxy revision deployment in the following format: `
6043
- # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
6260
+ # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` If the API
6261
+ # proxy resource has the `space` attribute set, IAM permissions are checked
6262
+ # differently . To learn more, read the [Apigee Spaces Overview](https://cloud.
6263
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
6264
+ # overview).
6044
6265
  # @param [Boolean] sequenced_rollout
6045
6266
  # Flag that specifies whether to enable sequenced rollout. If set to `true`, the
6046
6267
  # environment group routing rules corresponding to this deployment will be
@@ -6083,7 +6304,11 @@ module Google
6083
6304
  # @param [String] parent
6084
6305
  # Required. The resource name of the API Proxy revision deployment for which to
6085
6306
  # create the DebugSession. Must be of the form `organizations/`organization`/
6086
- # environments/`environment`/apis/`api`/revisions/`revision``.
6307
+ # environments/`environment`/apis/`api`/revisions/`revision``. If the API proxy
6308
+ # resource has the `space` attribute set, IAM permissions are checked
6309
+ # differently . To learn more, read the [Apigee Spaces Overview](https://cloud.
6310
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
6311
+ # overview).
6087
6312
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession] google_cloud_apigee_v1_debug_session_object
6088
6313
  # @param [Fixnum] timeout
6089
6314
  # Optional. The time in seconds after which this DebugSession should end. A
@@ -6124,7 +6349,10 @@ module Google
6124
6349
  # @param [String] name
6125
6350
  # Required. The name of the debug session to delete. Must be of the form: `
6126
6351
  # organizations/`organization`/environments/`environment`/apis/`api`/revisions/`
6127
- # revision`/debugsessions/`debugsession``.
6352
+ # revision`/debugsessions/`debugsession``. If the API proxy resource has the `
6353
+ # space` attribute set, IAM permissions are checked differently . To learn more,
6354
+ # read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-
6355
+ # platform/system-administration/spaces/apigee-spaces-overview).
6128
6356
  # @param [String] fields
6129
6357
  # Selector specifying which fields to include in a partial response.
6130
6358
  # @param [String] quota_user
@@ -6156,7 +6384,10 @@ module Google
6156
6384
  # @param [String] name
6157
6385
  # Required. The name of the debug session to retrieve. Must be of the form: `
6158
6386
  # organizations/`organization`/environments/`environment`/apis/`api`/revisions/`
6159
- # revision`/debugsessions/`session``.
6387
+ # revision`/debugsessions/`session``. If the API proxy resource has the `space`
6388
+ # attribute set, IAM permissions are checked differently . To learn more, read
6389
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
6390
+ # system-administration/spaces/apigee-spaces-overview).
6160
6391
  # @param [String] fields
6161
6392
  # Selector specifying which fields to include in a partial response.
6162
6393
  # @param [String] quota_user
@@ -6188,7 +6419,11 @@ module Google
6188
6419
  # @param [String] parent
6189
6420
  # Required. The name of the API Proxy revision deployment for which to list
6190
6421
  # debug sessions. Must be of the form: `organizations/`organization`/
6191
- # environments/`environment`/apis/`api`/revisions/`revision``.
6422
+ # environments/`environment`/apis/`api`/revisions/`revision``. If the API proxy
6423
+ # resource has the `space` attribute set, IAM permissions are checked
6424
+ # differently . To learn more, read the [Apigee Spaces Overview](https://cloud.
6425
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
6426
+ # overview).
6192
6427
  # @param [Fixnum] page_size
6193
6428
  # Maximum number of debug sessions to return. The page size defaults to 25.
6194
6429
  # @param [String] page_token
@@ -6227,7 +6462,11 @@ module Google
6227
6462
  # @param [String] name
6228
6463
  # Required. The name of the debug session transaction. Must be of the form: `
6229
6464
  # organizations/`organization`/environments/`environment`/apis/`api`/revisions/`
6230
- # revision`/debugsessions/`session`/data/`transaction``.
6465
+ # revision`/debugsessions/`session`/data/`transaction``. If the API proxy
6466
+ # resource has the `space` attribute set, IAM permissions are checked
6467
+ # differently . To learn more, read the [Apigee Spaces Overview](https://cloud.
6468
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
6469
+ # overview).
6231
6470
  # @param [String] fields
6232
6471
  # Selector specifying which fields to include in a partial response.
6233
6472
  # @param [String] quota_user
@@ -6268,7 +6507,11 @@ module Google
6268
6507
  # the resource `organizations/`org`/apis/`api`/revisions/`rev``
6269
6508
  # @param [String] name
6270
6509
  # Name of the API proxy revision deployment in the following format: `
6271
- # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
6510
+ # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` If the API
6511
+ # proxy resource has the `space` attribute set, IAM permissions are checked
6512
+ # differently . To learn more, read the [Apigee Spaces Overview](https://cloud.
6513
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
6514
+ # overview).
6272
6515
  # @param [Boolean] override
6273
6516
  # Flag that specifies whether to force the deployment of the new revision over
6274
6517
  # the currently deployed revision by overriding conflict checks.
@@ -7330,7 +7573,11 @@ module Google
7330
7573
  # entry. Use **one** of the following structures in your request: * `
7331
7574
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
7332
7575
  # organizations/`organization`/environments/`environment`/keyvaluemaps/`
7333
- # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
7576
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``. If
7577
+ # the KeyValueMap is under an API Proxy resource that has the `space` attribute
7578
+ # set, IAM permissions are checked against the Space resource path. To learn
7579
+ # more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/
7580
+ # api-platform/system-administration/spaces/apigee-spaces-overview).
7334
7581
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
7335
7582
  # @param [String] fields
7336
7583
  # Selector specifying which fields to include in a partial response.
@@ -7372,7 +7619,11 @@ module Google
7372
7619
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
7373
7620
  # entry``. * `organizations/`organization`/environments/`environment`/
7374
7621
  # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
7375
- # keyvaluemaps/`keyvaluemap`/entries/`entry``.
7622
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``. If the KeyValueMap is under an
7623
+ # API Proxy resource that has the `space` attribute set, IAM permissions are
7624
+ # checked against the Space resource path. To learn more, read the [Apigee
7625
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
7626
+ # administration/spaces/apigee-spaces-overview).
7376
7627
  # @param [String] fields
7377
7628
  # Selector specifying which fields to include in a partial response.
7378
7629
  # @param [String] quota_user
@@ -7409,7 +7660,11 @@ module Google
7409
7660
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
7410
7661
  # entry``. * `organizations/`organization`/environments/`environment`/
7411
7662
  # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
7412
- # keyvaluemaps/`keyvaluemap`/entries/`entry``.
7663
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``. If the KeyValueMap is under an
7664
+ # API Proxy resource that has the `space` attribute set, IAM permissions are
7665
+ # checked against the Space resource path. To learn more, read the [Apigee
7666
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
7667
+ # administration/spaces/apigee-spaces-overview).
7413
7668
  # @param [String] fields
7414
7669
  # Selector specifying which fields to include in a partial response.
7415
7670
  # @param [String] quota_user
@@ -7445,7 +7700,11 @@ module Google
7445
7700
  # one** of the following structures in your request: * `organizations/`
7446
7701
  # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
7447
7702
  # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
7448
- # organizations/`organization`/keyvaluemaps/`keyvaluemap``.
7703
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
7704
+ # is under an API Proxy resource that has the `space` attribute set, IAM
7705
+ # permissions are checked against the Space resource path. To learn more, read
7706
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
7707
+ # system-administration/spaces/apigee-spaces-overview).
7449
7708
  # @param [Fixnum] page_size
7450
7709
  # Optional. Maximum number of key value entries to return. If unspecified, at
7451
7710
  # most 100 entries will be returned.
@@ -7488,7 +7747,11 @@ module Google
7488
7747
  # entry. Use **one** of the following structures in your request: * `
7489
7748
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
7490
7749
  # organizations/`organization`/environments/`environment`/keyvaluemaps/`
7491
- # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
7750
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``. If
7751
+ # the KeyValueMap is under an API Proxy resource that has the `space` attribute
7752
+ # set, IAM permissions are checked against the Space resource path. To learn
7753
+ # more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/
7754
+ # api-platform/system-administration/spaces/apigee-spaces-overview).
7492
7755
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
7493
7756
  # @param [String] fields
7494
7757
  # Selector specifying which fields to include in a partial response.
@@ -8779,7 +9042,11 @@ module Google
8779
9042
  # Lists all deployments of a shared flow in an environment.
8780
9043
  # @param [String] parent
8781
9044
  # Required. Name representing a shared flow in an environment in the following
8782
- # format: `organizations/`org`/environments/`env`/sharedflows/`sharedflow``
9045
+ # format: `organizations/`org`/environments/`env`/sharedflows/`sharedflow`` If
9046
+ # the shared flow resource has the `space` attribute set, IAM permissions are
9047
+ # checked differently . To learn more, read the [Apigee Spaces Overview](https://
9048
+ # cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-
9049
+ # spaces-overview).
8783
9050
  # @param [String] fields
8784
9051
  # Selector specifying which fields to include in a partial response.
8785
9052
  # @param [String] quota_user
@@ -8819,7 +9086,10 @@ module Google
8819
9086
  # @param [String] name
8820
9087
  # Required. Name of the shared flow revision to deploy in the following format: `
8821
9088
  # organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`rev`
8822
- # `
9089
+ # ` If the shared flow resource being deployed has the `space` attribute set,
9090
+ # IAM permissions are checked differently . To learn more, read the [Apigee
9091
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
9092
+ # administration/spaces/apigee-spaces-overview).
8823
9093
  # @param [Boolean] override
8824
9094
  # Flag that specifies whether the new deployment replaces other deployed
8825
9095
  # revisions of the shared flow in the environment. Set `override` to `true` to
@@ -8864,7 +9134,10 @@ module Google
8864
9134
  # @param [String] name
8865
9135
  # Required. Name representing a shared flow in an environment in the following
8866
9136
  # format: `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/
8867
- # revisions/`rev``
9137
+ # revisions/`rev`` If the shared flow resource has the `space` attribute set,
9138
+ # IAM permissions are checked differently . To learn more, read the [Apigee
9139
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
9140
+ # administration/spaces/apigee-spaces-overview).
8868
9141
  # @param [String] fields
8869
9142
  # Selector specifying which fields to include in a partial response.
8870
9143
  # @param [String] quota_user
@@ -8901,7 +9174,10 @@ module Google
8901
9174
  # @param [String] name
8902
9175
  # Required. Name of the shared flow revision to undeploy in the following format:
8903
9176
  # `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`
8904
- # rev``
9177
+ # rev`` If the shared flow resource has the `space` attribute set, IAM
9178
+ # permissions are checked differently . To learn more, read the [Apigee Spaces
9179
+ # Overview](https://cloud.google.com/apigee/docs/api-platform/system-
9180
+ # administration/spaces/apigee-spaces-overview).
8905
9181
  # @param [String] fields
8906
9182
  # Selector specifying which fields to include in a partial response.
8907
9183
  # @param [String] quota_user
@@ -10478,7 +10754,11 @@ module Google
10478
10754
  # entry. Use **one** of the following structures in your request: * `
10479
10755
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
10480
10756
  # organizations/`organization`/environments/`environment`/keyvaluemaps/`
10481
- # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
10757
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``. If
10758
+ # the KeyValueMap is under an API Proxy resource that has the `space` attribute
10759
+ # set, IAM permissions are checked against the Space resource path. To learn
10760
+ # more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/
10761
+ # api-platform/system-administration/spaces/apigee-spaces-overview).
10482
10762
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
10483
10763
  # @param [String] fields
10484
10764
  # Selector specifying which fields to include in a partial response.
@@ -10520,7 +10800,11 @@ module Google
10520
10800
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
10521
10801
  # entry``. * `organizations/`organization`/environments/`environment`/
10522
10802
  # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
10523
- # keyvaluemaps/`keyvaluemap`/entries/`entry``.
10803
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``. If the KeyValueMap is under an
10804
+ # API Proxy resource that has the `space` attribute set, IAM permissions are
10805
+ # checked against the Space resource path. To learn more, read the [Apigee
10806
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
10807
+ # administration/spaces/apigee-spaces-overview).
10524
10808
  # @param [String] fields
10525
10809
  # Selector specifying which fields to include in a partial response.
10526
10810
  # @param [String] quota_user
@@ -10557,7 +10841,11 @@ module Google
10557
10841
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
10558
10842
  # entry``. * `organizations/`organization`/environments/`environment`/
10559
10843
  # keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
10560
- # keyvaluemaps/`keyvaluemap`/entries/`entry``.
10844
+ # keyvaluemaps/`keyvaluemap`/entries/`entry``. If the KeyValueMap is under an
10845
+ # API Proxy resource that has the `space` attribute set, IAM permissions are
10846
+ # checked against the Space resource path. To learn more, read the [Apigee
10847
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
10848
+ # administration/spaces/apigee-spaces-overview).
10561
10849
  # @param [String] fields
10562
10850
  # Selector specifying which fields to include in a partial response.
10563
10851
  # @param [String] quota_user
@@ -10593,7 +10881,11 @@ module Google
10593
10881
  # one** of the following structures in your request: * `organizations/`
10594
10882
  # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
10595
10883
  # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
10596
- # organizations/`organization`/keyvaluemaps/`keyvaluemap``.
10884
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
10885
+ # is under an API Proxy resource that has the `space` attribute set, IAM
10886
+ # permissions are checked against the Space resource path. To learn more, read
10887
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
10888
+ # system-administration/spaces/apigee-spaces-overview).
10597
10889
  # @param [Fixnum] page_size
10598
10890
  # Optional. Maximum number of key value entries to return. If unspecified, at
10599
10891
  # most 100 entries will be returned.
@@ -10636,7 +10928,11 @@ module Google
10636
10928
  # entry. Use **one** of the following structures in your request: * `
10637
10929
  # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
10638
10930
  # organizations/`organization`/environments/`environment`/keyvaluemaps/`
10639
- # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
10931
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``. If
10932
+ # the KeyValueMap is under an API Proxy resource that has the `space` attribute
10933
+ # set, IAM permissions are checked against the Space resource path. To learn
10934
+ # more, read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/
10935
+ # api-platform/system-administration/spaces/apigee-spaces-overview).
10640
10936
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
10641
10937
  # @param [String] fields
10642
10938
  # Selector specifying which fields to include in a partial response.
@@ -11531,12 +11827,21 @@ module Google
11531
11827
  # of a shared flow bundle is 15 MB.
11532
11828
  # @param [String] parent
11533
11829
  # Required. The name of the parent organization under which to create the shared
11534
- # flow. Must be of the form: `organizations/`organization_id``
11830
+ # flow. Must be of the form: `organizations/`organization_id`` If the resource
11831
+ # has the `space` attribute set, IAM permissions are checked against the Space
11832
+ # resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.
11833
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
11834
+ # overview).
11535
11835
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
11536
11836
  # @param [String] action
11537
11837
  # Required. Must be set to either `import` or `validate`.
11538
11838
  # @param [String] name
11539
11839
  # Required. The name to give the shared flow
11840
+ # @param [String] space
11841
+ # Optional. The ID of the space to associated with this shared flow. Any IAM
11842
+ # policies applied to the space will affect access to this shared flow. Note
11843
+ # that this field is only respected when creating a new shared flow. It has no
11844
+ # effect when creating a new revision for an existing shared flow.
11540
11845
  # @param [String] fields
11541
11846
  # Selector specifying which fields to include in a partial response.
11542
11847
  # @param [String] quota_user
@@ -11554,7 +11859,7 @@ module Google
11554
11859
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11555
11860
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11556
11861
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11557
- def create_organization_sharedflow(parent, google_api_http_body_object = nil, action: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block)
11862
+ def create_organization_sharedflow(parent, google_api_http_body_object = nil, action: nil, name: nil, space: nil, fields: nil, quota_user: nil, options: nil, &block)
11558
11863
  command = make_simple_command(:post, 'v1/{+parent}/sharedflows', options)
11559
11864
  command.request_representation = Google::Apis::ApigeeV1::GoogleApiHttpBody::Representation
11560
11865
  command.request_object = google_api_http_body_object
@@ -11563,6 +11868,7 @@ module Google
11563
11868
  command.params['parent'] = parent unless parent.nil?
11564
11869
  command.query['action'] = action unless action.nil?
11565
11870
  command.query['name'] = name unless name.nil?
11871
+ command.query['space'] = space unless space.nil?
11566
11872
  command.query['fields'] = fields unless fields.nil?
11567
11873
  command.query['quotaUser'] = quota_user unless quota_user.nil?
11568
11874
  execute_or_queue_command(command, &block)
@@ -11572,7 +11878,10 @@ module Google
11572
11878
  # undeployed before you can delete it.
11573
11879
  # @param [String] name
11574
11880
  # Required. shared flow name of the form: `organizations/`organization_id`/
11575
- # sharedflows/`shared_flow_id``
11881
+ # sharedflows/`shared_flow_id`` If the resource has the `space` attribute set,
11882
+ # IAM permissions are checked against the Space resource path. To learn more,
11883
+ # read the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-
11884
+ # platform/system-administration/spaces/apigee-spaces-overview).
11576
11885
  # @param [String] fields
11577
11886
  # Selector specifying which fields to include in a partial response.
11578
11887
  # @param [String] quota_user
@@ -11603,7 +11912,11 @@ module Google
11603
11912
  # Gets a shared flow by name, including a list of its revisions.
11604
11913
  # @param [String] name
11605
11914
  # Required. The name of the shared flow to get. Must be of the form: `
11606
- # organizations/`organization_id`/sharedflows/`shared_flow_id``
11915
+ # organizations/`organization_id`/sharedflows/`shared_flow_id`` If the resource
11916
+ # has the `space` attribute set, IAM permissions are checked against the Space
11917
+ # resource path. To learn more, read the [Apigee Spaces Overview](https://cloud.
11918
+ # google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
11919
+ # overview).
11607
11920
  # @param [String] fields
11608
11921
  # Selector specifying which fields to include in a partial response.
11609
11922
  # @param [String] quota_user
@@ -11631,14 +11944,27 @@ module Google
11631
11944
  execute_or_queue_command(command, &block)
11632
11945
  end
11633
11946
 
11634
- # Lists all shared flows in the organization.
11947
+ # Lists all shared flows in the organization. If the resource has the `space`
11948
+ # attribute set, the response may not return all resources. To learn more, read
11949
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
11950
+ # system-administration/spaces/apigee-spaces-overview).
11635
11951
  # @param [String] parent
11636
11952
  # Required. The name of the parent organization under which to get shared flows.
11637
- # Must be of the form: `organizations/`organization_id``
11953
+ # Must be of the form: `organizations/`organization_id`` If the resource has the
11954
+ # `space` attribute set, IAM permissions are checked against the Space resource
11955
+ # path. To learn more, read the [Apigee Spaces Overview](https://cloud.google.
11956
+ # com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-
11957
+ # overview).
11638
11958
  # @param [Boolean] include_meta_data
11639
11959
  # Indicates whether to include shared flow metadata in the response.
11640
11960
  # @param [Boolean] include_revisions
11641
11961
  # Indicates whether to include a list of revisions in the response.
11962
+ # @param [String] space
11963
+ # Optional. The space ID used to filter the list of shared flows (optional). If
11964
+ # unspecified, all shared flows in the organization will be listed. To learn how
11965
+ # Spaces can be used to manage resources, read the [Apigee Spaces Overview](
11966
+ # https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/
11967
+ # apigee-spaces-overview).
11642
11968
  # @param [String] fields
11643
11969
  # Selector specifying which fields to include in a partial response.
11644
11970
  # @param [String] quota_user
@@ -11656,13 +11982,48 @@ module Google
11656
11982
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11657
11983
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11658
11984
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11659
- def list_organization_sharedflows(parent, include_meta_data: nil, include_revisions: nil, fields: nil, quota_user: nil, options: nil, &block)
11985
+ def list_organization_sharedflows(parent, include_meta_data: nil, include_revisions: nil, space: nil, fields: nil, quota_user: nil, options: nil, &block)
11660
11986
  command = make_simple_command(:get, 'v1/{+parent}/sharedflows', options)
11661
11987
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSharedFlowsResponse::Representation
11662
11988
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSharedFlowsResponse
11663
11989
  command.params['parent'] = parent unless parent.nil?
11664
11990
  command.query['includeMetaData'] = include_meta_data unless include_meta_data.nil?
11665
11991
  command.query['includeRevisions'] = include_revisions unless include_revisions.nil?
11992
+ command.query['space'] = space unless space.nil?
11993
+ command.query['fields'] = fields unless fields.nil?
11994
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11995
+ execute_or_queue_command(command, &block)
11996
+ end
11997
+
11998
+ # Moves an shared flow to a different space.
11999
+ # @param [String] name
12000
+ # Required. Shared Flow to move in the following format: `organizations/`org`/
12001
+ # sharedflows/`shared_flow``
12002
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1MoveSharedFlowRequest] google_cloud_apigee_v1_move_shared_flow_request_object
12003
+ # @param [String] fields
12004
+ # Selector specifying which fields to include in a partial response.
12005
+ # @param [String] quota_user
12006
+ # Available to use for quota purposes for server-side applications. Can be any
12007
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12008
+ # @param [Google::Apis::RequestOptions] options
12009
+ # Request-specific options
12010
+ #
12011
+ # @yield [result, err] Result & error if block supplied
12012
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SharedFlow] parsed result object
12013
+ # @yieldparam err [StandardError] error object if request failed
12014
+ #
12015
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SharedFlow]
12016
+ #
12017
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12018
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12019
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12020
+ def move_organization_sharedflow(name, google_cloud_apigee_v1_move_shared_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
12021
+ command = make_simple_command(:post, 'v1/{+name}:move', options)
12022
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1MoveSharedFlowRequest::Representation
12023
+ command.request_object = google_cloud_apigee_v1_move_shared_flow_request_object
12024
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SharedFlow::Representation
12025
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SharedFlow
12026
+ command.params['name'] = name unless name.nil?
11666
12027
  command.query['fields'] = fields unless fields.nil?
11667
12028
  command.query['quotaUser'] = quota_user unless quota_user.nil?
11668
12029
  execute_or_queue_command(command, &block)
@@ -11671,7 +12032,11 @@ module Google
11671
12032
  # Lists all deployments of a shared flow.
11672
12033
  # @param [String] parent
11673
12034
  # Required. Name of the shared flow for which to return deployment information
11674
- # in the following format: `organizations/`org`/sharedflows/`sharedflow``
12035
+ # in the following format: `organizations/`org`/sharedflows/`sharedflow`` If the
12036
+ # shared flow resource has the `space` attribute set, IAM permissions are
12037
+ # checked differently . To learn more, read the [Apigee Spaces Overview](https://
12038
+ # cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-
12039
+ # spaces-overview).
11675
12040
  # @param [String] fields
11676
12041
  # Selector specifying which fields to include in a partial response.
11677
12042
  # @param [String] quota_user
@@ -11704,7 +12069,10 @@ module Google
11704
12069
  # @param [String] name
11705
12070
  # Required. The name of the shared flow revision to delete. Must be of the form:
11706
12071
  # `organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
11707
- # revision_id``
12072
+ # revision_id`` If the Shared Flow resource has the `space` attribute set, IAM
12073
+ # permissions are checked against the Space resource path. To learn more, read
12074
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
12075
+ # system-administration/spaces/apigee-spaces-overview).
11708
12076
  # @param [String] fields
11709
12077
  # Selector specifying which fields to include in a partial response.
11710
12078
  # @param [String] quota_user
@@ -11742,7 +12110,10 @@ module Google
11742
12110
  # @param [String] name
11743
12111
  # Required. The name of the shared flow revision to get. Must be of the form: `
11744
12112
  # organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
11745
- # revision_id``
12113
+ # revision_id`` If the Shared Flow resource has the `space` attribute set, IAM
12114
+ # permissions are checked against the Space resource path. To learn more, read
12115
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
12116
+ # system-administration/spaces/apigee-spaces-overview).
11746
12117
  # @param [String] format
11747
12118
  # Specify `bundle` to export the contents of the shared flow bundle. Otherwise,
11748
12119
  # the bundle metadata is returned.
@@ -11781,7 +12152,10 @@ module Google
11781
12152
  # @param [String] name
11782
12153
  # Required. The name of the shared flow revision to update. Must be of the form:
11783
12154
  # `organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
11784
- # revision_id``
12155
+ # revision_id`` If the resource has the `space` attribute set, IAM permissions
12156
+ # are checked against the Space resource path. To learn more, read the [Apigee
12157
+ # Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/system-
12158
+ # administration/spaces/apigee-spaces-overview).
11785
12159
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
11786
12160
  # @param [Boolean] validate
11787
12161
  # Ignored. All uploads are validated regardless of the value of this field. It
@@ -11821,7 +12195,10 @@ module Google
11821
12195
  # @param [String] parent
11822
12196
  # Required. Name of the API proxy revision for which to return deployment
11823
12197
  # information in the following format: `organizations/`org`/sharedflows/`
11824
- # sharedflow`/revisions/`rev``.
12198
+ # sharedflow`/revisions/`rev``. If the shared flow resource has the `space`
12199
+ # attribute set, IAM permissions are checked differently . To learn more, read
12200
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
12201
+ # system-administration/spaces/apigee-spaces-overview).
11825
12202
  # @param [String] fields
11826
12203
  # Selector specifying which fields to include in a partial response.
11827
12204
  # @param [String] quota_user
@@ -12248,6 +12625,298 @@ module Google
12248
12625
  execute_or_queue_command(command, &block)
12249
12626
  end
12250
12627
 
12628
+ # Create a space under an organization.
12629
+ # @param [String] parent
12630
+ # Required. Name of the Google Cloud project in which to associate the Apigee
12631
+ # space. Pass the information as a query parameter using the following structure
12632
+ # in your request: `organizations/`
12633
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space] google_cloud_apigee_v1_space_object
12634
+ # @param [String] space_id
12635
+ # Required. Resource ID of the space.
12636
+ # @param [String] fields
12637
+ # Selector specifying which fields to include in a partial response.
12638
+ # @param [String] quota_user
12639
+ # Available to use for quota purposes for server-side applications. Can be any
12640
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12641
+ # @param [Google::Apis::RequestOptions] options
12642
+ # Request-specific options
12643
+ #
12644
+ # @yield [result, err] Result & error if block supplied
12645
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space] parsed result object
12646
+ # @yieldparam err [StandardError] error object if request failed
12647
+ #
12648
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space]
12649
+ #
12650
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12651
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12652
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12653
+ def create_organization_space(parent, google_cloud_apigee_v1_space_object = nil, space_id: nil, fields: nil, quota_user: nil, options: nil, &block)
12654
+ command = make_simple_command(:post, 'v1/{+parent}/spaces', options)
12655
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space::Representation
12656
+ command.request_object = google_cloud_apigee_v1_space_object
12657
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space::Representation
12658
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space
12659
+ command.params['parent'] = parent unless parent.nil?
12660
+ command.query['spaceId'] = space_id unless space_id.nil?
12661
+ command.query['fields'] = fields unless fields.nil?
12662
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12663
+ execute_or_queue_command(command, &block)
12664
+ end
12665
+
12666
+ # Deletes an organization space.
12667
+ # @param [String] name
12668
+ # Required. Apigee organization space name in the following format: `
12669
+ # organizations/`org`/spaces/`space``
12670
+ # @param [String] fields
12671
+ # Selector specifying which fields to include in a partial response.
12672
+ # @param [String] quota_user
12673
+ # Available to use for quota purposes for server-side applications. Can be any
12674
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12675
+ # @param [Google::Apis::RequestOptions] options
12676
+ # Request-specific options
12677
+ #
12678
+ # @yield [result, err] Result & error if block supplied
12679
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
12680
+ # @yieldparam err [StandardError] error object if request failed
12681
+ #
12682
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
12683
+ #
12684
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12685
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12686
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12687
+ def delete_organization_space(name, fields: nil, quota_user: nil, options: nil, &block)
12688
+ command = make_simple_command(:delete, 'v1/{+name}', options)
12689
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
12690
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
12691
+ command.params['name'] = name unless name.nil?
12692
+ command.query['fields'] = fields unless fields.nil?
12693
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12694
+ execute_or_queue_command(command, &block)
12695
+ end
12696
+
12697
+ # Get a space under an Organization.
12698
+ # @param [String] name
12699
+ # Required. Apigee organization space name in the following format: `
12700
+ # organizations/`org`/spaces/`space``
12701
+ # @param [String] fields
12702
+ # Selector specifying which fields to include in a partial response.
12703
+ # @param [String] quota_user
12704
+ # Available to use for quota purposes for server-side applications. Can be any
12705
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12706
+ # @param [Google::Apis::RequestOptions] options
12707
+ # Request-specific options
12708
+ #
12709
+ # @yield [result, err] Result & error if block supplied
12710
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space] parsed result object
12711
+ # @yieldparam err [StandardError] error object if request failed
12712
+ #
12713
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space]
12714
+ #
12715
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12716
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12717
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12718
+ def get_organization_space(name, fields: nil, quota_user: nil, options: nil, &block)
12719
+ command = make_simple_command(:get, 'v1/{+name}', options)
12720
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space::Representation
12721
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space
12722
+ command.params['name'] = name unless name.nil?
12723
+ command.query['fields'] = fields unless fields.nil?
12724
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12725
+ execute_or_queue_command(command, &block)
12726
+ end
12727
+
12728
+ # Callers must have apigee.spaces.getIamPolicy.
12729
+ # @param [String] resource
12730
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
12731
+ # names](https://cloud.google.com/apis/design/resource_names) for the
12732
+ # appropriate value for this field.
12733
+ # @param [Fixnum] options_requested_policy_version
12734
+ # Optional. The maximum policy version that will be used to format the policy.
12735
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
12736
+ # rejected. Requests for policies with any conditional role bindings must
12737
+ # specify version 3. Policies with no conditional role bindings may specify any
12738
+ # valid value or leave the field unset. The policy in the response might use the
12739
+ # policy version that you specified, or it might use a lower policy version. For
12740
+ # example, if you specify version 3, but the policy has no conditional role
12741
+ # bindings, the response uses version 1. To learn which resources support
12742
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
12743
+ # google.com/iam/help/conditions/resource-policies).
12744
+ # @param [String] fields
12745
+ # Selector specifying which fields to include in a partial response.
12746
+ # @param [String] quota_user
12747
+ # Available to use for quota purposes for server-side applications. Can be any
12748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12749
+ # @param [Google::Apis::RequestOptions] options
12750
+ # Request-specific options
12751
+ #
12752
+ # @yield [result, err] Result & error if block supplied
12753
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
12754
+ # @yieldparam err [StandardError] error object if request failed
12755
+ #
12756
+ # @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
12757
+ #
12758
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12759
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12760
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12761
+ def get_organization_space_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
12762
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
12763
+ command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1Policy::Representation
12764
+ command.response_class = Google::Apis::ApigeeV1::GoogleIamV1Policy
12765
+ command.params['resource'] = resource unless resource.nil?
12766
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
12767
+ command.query['fields'] = fields unless fields.nil?
12768
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12769
+ execute_or_queue_command(command, &block)
12770
+ end
12771
+
12772
+ # Lists spaces under an organization.
12773
+ # @param [String] parent
12774
+ # Required. Use the following structure in your request: `organizations`
12775
+ # @param [Fixnum] page_size
12776
+ # Optional. The maximum number of spaces to return. The service may return fewer
12777
+ # than this value. If unspecified, at most 50 spaces will be returned. The
12778
+ # maximum value is 1000; values above 1000 will be coerced to 1000.
12779
+ # @param [String] page_token
12780
+ # Optional. A page token, received from a previous `ListSpaces` call. Provide
12781
+ # this to retrieve the subsequent page. When paginating, all parameters must
12782
+ # match the original call.
12783
+ # @param [String] fields
12784
+ # Selector specifying which fields to include in a partial response.
12785
+ # @param [String] quota_user
12786
+ # Available to use for quota purposes for server-side applications. Can be any
12787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12788
+ # @param [Google::Apis::RequestOptions] options
12789
+ # Request-specific options
12790
+ #
12791
+ # @yield [result, err] Result & error if block supplied
12792
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSpacesResponse] parsed result object
12793
+ # @yieldparam err [StandardError] error object if request failed
12794
+ #
12795
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSpacesResponse]
12796
+ #
12797
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12798
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12799
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12800
+ def list_organization_spaces(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
12801
+ command = make_simple_command(:get, 'v1/{+parent}/spaces', options)
12802
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSpacesResponse::Representation
12803
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSpacesResponse
12804
+ command.params['parent'] = parent unless parent.nil?
12805
+ command.query['pageSize'] = page_size unless page_size.nil?
12806
+ command.query['pageToken'] = page_token unless page_token.nil?
12807
+ command.query['fields'] = fields unless fields.nil?
12808
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12809
+ execute_or_queue_command(command, &block)
12810
+ end
12811
+
12812
+ # Updates a space.
12813
+ # @param [String] name
12814
+ # Required. Name of the space in the following format: `organizations/`org`/
12815
+ # spaces/`space_id``.
12816
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space] google_cloud_apigee_v1_space_object
12817
+ # @param [String] update_mask
12818
+ # Required. List of fields to be updated. Fields that can be updated:
12819
+ # display_name.
12820
+ # @param [String] fields
12821
+ # Selector specifying which fields to include in a partial response.
12822
+ # @param [String] quota_user
12823
+ # Available to use for quota purposes for server-side applications. Can be any
12824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12825
+ # @param [Google::Apis::RequestOptions] options
12826
+ # Request-specific options
12827
+ #
12828
+ # @yield [result, err] Result & error if block supplied
12829
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space] parsed result object
12830
+ # @yieldparam err [StandardError] error object if request failed
12831
+ #
12832
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space]
12833
+ #
12834
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12835
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12836
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12837
+ def patch_organization_space(name, google_cloud_apigee_v1_space_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
12838
+ command = make_simple_command(:patch, 'v1/{+name}', options)
12839
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space::Representation
12840
+ command.request_object = google_cloud_apigee_v1_space_object
12841
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space::Representation
12842
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Space
12843
+ command.params['name'] = name unless name.nil?
12844
+ command.query['updateMask'] = update_mask unless update_mask.nil?
12845
+ command.query['fields'] = fields unless fields.nil?
12846
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12847
+ execute_or_queue_command(command, &block)
12848
+ end
12849
+
12850
+ # IAM META APIs Callers must have apigee.spaces.setIamPolicy.
12851
+ # @param [String] resource
12852
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
12853
+ # names](https://cloud.google.com/apis/design/resource_names) for the
12854
+ # appropriate value for this field.
12855
+ # @param [Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
12856
+ # @param [String] fields
12857
+ # Selector specifying which fields to include in a partial response.
12858
+ # @param [String] quota_user
12859
+ # Available to use for quota purposes for server-side applications. Can be any
12860
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12861
+ # @param [Google::Apis::RequestOptions] options
12862
+ # Request-specific options
12863
+ #
12864
+ # @yield [result, err] Result & error if block supplied
12865
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1Policy] parsed result object
12866
+ # @yieldparam err [StandardError] error object if request failed
12867
+ #
12868
+ # @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
12869
+ #
12870
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12871
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12872
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12873
+ def set_organization_space_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
12874
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
12875
+ command.request_representation = Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest::Representation
12876
+ command.request_object = google_iam_v1_set_iam_policy_request_object
12877
+ command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1Policy::Representation
12878
+ command.response_class = Google::Apis::ApigeeV1::GoogleIamV1Policy
12879
+ command.params['resource'] = resource unless resource.nil?
12880
+ command.query['fields'] = fields unless fields.nil?
12881
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12882
+ execute_or_queue_command(command, &block)
12883
+ end
12884
+
12885
+ # Callers don't need any permissions.
12886
+ # @param [String] resource
12887
+ # REQUIRED: The resource for which the policy detail is being requested. See [
12888
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
12889
+ # appropriate value for this field.
12890
+ # @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
12891
+ # @param [String] fields
12892
+ # Selector specifying which fields to include in a partial response.
12893
+ # @param [String] quota_user
12894
+ # Available to use for quota purposes for server-side applications. Can be any
12895
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12896
+ # @param [Google::Apis::RequestOptions] options
12897
+ # Request-specific options
12898
+ #
12899
+ # @yield [result, err] Result & error if block supplied
12900
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
12901
+ # @yieldparam err [StandardError] error object if request failed
12902
+ #
12903
+ # @return [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse]
12904
+ #
12905
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12906
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12907
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12908
+ def test_organization_space_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
12909
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
12910
+ command.request_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest::Representation
12911
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
12912
+ command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse::Representation
12913
+ command.response_class = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse
12914
+ command.params['resource'] = resource unless resource.nil?
12915
+ command.query['fields'] = fields unless fields.nil?
12916
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12917
+ execute_or_queue_command(command, &block)
12918
+ end
12919
+
12251
12920
  # Provisions a new Apigee organization with a functioning runtime. This is the
12252
12921
  # standard way to create trial organizations for a free Apigee trial.
12253
12922
  # @param [String] project