google-api-client 0.39.1 → 0.39.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +24 -343
- data/generated/google/apis/apigee_v1/representations.rb +0 -128
- data/generated/google/apis/apigee_v1/service.rb +36 -536
- data/lib/google/apis/version.rb +9 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3d60c433e69f50a341659359203faa3235fb874c7d045d0b646e551651fc58e
|
4
|
+
data.tar.gz: '0972492203a3a961c16459ce4201e63bbd326f41d803a26b25714e12a5d30af4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9465328995f961d76c4180d25102611bd43c8ac7557e5c2ff57e5c11473e6d9db6b0b2a54777513c3ee26f6e29deee2fefaedf3c865686a2948cdb17d69e3d51
|
7
|
+
data.tar.gz: 85fa3c38d71832f14cfa9ec8e0d47034eb0488ed7f05c7688e7465326680b8c82449e4407d7b973c66d7e9c0e5d5c71c842fa3dbe4b07dcc0d35d61f3b49e6d4
|
data/CHANGELOG.md
CHANGED
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# @see https://cloud.google.com/apigee-api-management/
|
32
32
|
module ApigeeV1
|
33
33
|
VERSION = 'V1'
|
34
|
-
REVISION = '
|
34
|
+
REVISION = '20200507'
|
35
35
|
|
36
36
|
# View and manage your data across Google Cloud Platform services
|
37
37
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -905,51 +905,6 @@ module Google
|
|
905
905
|
end
|
906
906
|
end
|
907
907
|
|
908
|
-
#
|
909
|
-
class GoogleCloudApigeeV1AsyncQueryResultView
|
910
|
-
include Google::Apis::Core::Hashable
|
911
|
-
|
912
|
-
# Error code when there is a failure.
|
913
|
-
# Corresponds to the JSON property `code`
|
914
|
-
# @return [Fixnum]
|
915
|
-
attr_accessor :code
|
916
|
-
|
917
|
-
# Error message when there is a failure.
|
918
|
-
# Corresponds to the JSON property `error`
|
919
|
-
# @return [String]
|
920
|
-
attr_accessor :error
|
921
|
-
|
922
|
-
# Metadata contains information like metrics, dimenstions etc
|
923
|
-
# of the AsyncQuery
|
924
|
-
# Corresponds to the JSON property `metadata`
|
925
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata]
|
926
|
-
attr_accessor :metadata
|
927
|
-
|
928
|
-
# Rows of query result. Each row is a JSON object.
|
929
|
-
# Example: `sum(message_count): 1, developer_app: "(not set)",…`
|
930
|
-
# Corresponds to the JSON property `rows`
|
931
|
-
# @return [Array<Object>]
|
932
|
-
attr_accessor :rows
|
933
|
-
|
934
|
-
# State of retrieving ResultView.
|
935
|
-
# Corresponds to the JSON property `state`
|
936
|
-
# @return [String]
|
937
|
-
attr_accessor :state
|
938
|
-
|
939
|
-
def initialize(**args)
|
940
|
-
update!(**args)
|
941
|
-
end
|
942
|
-
|
943
|
-
# Update properties of this object
|
944
|
-
def update!(**args)
|
945
|
-
@code = args[:code] if args.key?(:code)
|
946
|
-
@error = args[:error] if args.key?(:error)
|
947
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
948
|
-
@rows = args[:rows] if args.key?(:rows)
|
949
|
-
@state = args[:state] if args.key?(:state)
|
950
|
-
end
|
951
|
-
end
|
952
|
-
|
953
908
|
# Key-value pair to store extra metadata.
|
954
909
|
class GoogleCloudApigeeV1Attribute
|
955
910
|
include Google::Apis::Core::Hashable
|
@@ -1120,234 +1075,6 @@ module Google
|
|
1120
1075
|
end
|
1121
1076
|
end
|
1122
1077
|
|
1123
|
-
#
|
1124
|
-
class GoogleCloudApigeeV1Company
|
1125
|
-
include Google::Apis::Core::Hashable
|
1126
|
-
|
1127
|
-
#
|
1128
|
-
# Corresponds to the JSON property `apps`
|
1129
|
-
# @return [Array<String>]
|
1130
|
-
attr_accessor :apps
|
1131
|
-
|
1132
|
-
# A list of attributes
|
1133
|
-
# Corresponds to the JSON property `attributes`
|
1134
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
1135
|
-
attr_accessor :attributes
|
1136
|
-
|
1137
|
-
# Output only. Created time as milliseconds since epoch.
|
1138
|
-
# json key: createdAt
|
1139
|
-
# Corresponds to the JSON property `createdAt`
|
1140
|
-
# @return [Fixnum]
|
1141
|
-
attr_accessor :created_at
|
1142
|
-
|
1143
|
-
# company name displayed in the UI
|
1144
|
-
# Corresponds to the JSON property `displayName`
|
1145
|
-
# @return [String]
|
1146
|
-
attr_accessor :display_name
|
1147
|
-
|
1148
|
-
# Output only. Modified time as milliseconds since epoch.
|
1149
|
-
# json key: lastModifiedAt
|
1150
|
-
# Corresponds to the JSON property `lastModifiedAt`
|
1151
|
-
# @return [Fixnum]
|
1152
|
-
attr_accessor :last_modified_at
|
1153
|
-
|
1154
|
-
# Name of the company. Characters you can use in the name are restricted to:
|
1155
|
-
# A-Z0-9._\-$ %.
|
1156
|
-
# Corresponds to the JSON property `name`
|
1157
|
-
# @return [String]
|
1158
|
-
attr_accessor :name
|
1159
|
-
|
1160
|
-
# the org that the company is created
|
1161
|
-
# Corresponds to the JSON property `organization`
|
1162
|
-
# @return [String]
|
1163
|
-
attr_accessor :organization
|
1164
|
-
|
1165
|
-
# The status of the company
|
1166
|
-
# Corresponds to the JSON property `status`
|
1167
|
-
# @return [String]
|
1168
|
-
attr_accessor :status
|
1169
|
-
|
1170
|
-
def initialize(**args)
|
1171
|
-
update!(**args)
|
1172
|
-
end
|
1173
|
-
|
1174
|
-
# Update properties of this object
|
1175
|
-
def update!(**args)
|
1176
|
-
@apps = args[:apps] if args.key?(:apps)
|
1177
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
1178
|
-
@created_at = args[:created_at] if args.key?(:created_at)
|
1179
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1180
|
-
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
1181
|
-
@name = args[:name] if args.key?(:name)
|
1182
|
-
@organization = args[:organization] if args.key?(:organization)
|
1183
|
-
@status = args[:status] if args.key?(:status)
|
1184
|
-
end
|
1185
|
-
end
|
1186
|
-
|
1187
|
-
#
|
1188
|
-
class GoogleCloudApigeeV1CompanyApp
|
1189
|
-
include Google::Apis::Core::Hashable
|
1190
|
-
|
1191
|
-
# Any API Products the app consumes
|
1192
|
-
# Corresponds to the JSON property `apiProducts`
|
1193
|
-
# @return [Array<String>]
|
1194
|
-
attr_accessor :api_products
|
1195
|
-
|
1196
|
-
#
|
1197
|
-
# Corresponds to the JSON property `appFamily`
|
1198
|
-
# @return [String]
|
1199
|
-
attr_accessor :app_family
|
1200
|
-
|
1201
|
-
# The id of the app.
|
1202
|
-
# Corresponds to the JSON property `appId`
|
1203
|
-
# @return [String]
|
1204
|
-
attr_accessor :app_id
|
1205
|
-
|
1206
|
-
# A list of attributes.
|
1207
|
-
# Corresponds to the JSON property `attributes`
|
1208
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
1209
|
-
attr_accessor :attributes
|
1210
|
-
|
1211
|
-
# The callbackUrl is used by OAuth 2.0 authorization servers to communicate
|
1212
|
-
# authorization codes back to apps.
|
1213
|
-
# Corresponds to the JSON property `callbackUrl`
|
1214
|
-
# @return [String]
|
1215
|
-
attr_accessor :callback_url
|
1216
|
-
|
1217
|
-
# The name of the company owns the app
|
1218
|
-
# Corresponds to the JSON property `companyName`
|
1219
|
-
# @return [String]
|
1220
|
-
attr_accessor :company_name
|
1221
|
-
|
1222
|
-
# Output only. created time of this environment as milliseconds since epoch.
|
1223
|
-
# JSON key: createdAt
|
1224
|
-
# Corresponds to the JSON property `createdAt`
|
1225
|
-
# @return [Fixnum]
|
1226
|
-
attr_accessor :created_at
|
1227
|
-
|
1228
|
-
# Output only. A set of credentials for the app
|
1229
|
-
# credentials are key/secret pairs
|
1230
|
-
# Corresponds to the JSON property `credentials`
|
1231
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential>]
|
1232
|
-
attr_accessor :credentials
|
1233
|
-
|
1234
|
-
# A setting, in milliseconds, for the lifetime of the consumer key that will
|
1235
|
-
# be generated for the developer app. The default value, -1, indicates an
|
1236
|
-
# infinite validity period. Once set, the expiration can't be updated.
|
1237
|
-
# json key: keyExpiresIn
|
1238
|
-
# Corresponds to the JSON property `keyExpiresIn`
|
1239
|
-
# @return [Fixnum]
|
1240
|
-
attr_accessor :key_expires_in
|
1241
|
-
|
1242
|
-
# Output only. Modified time as milliseconds since epoch.
|
1243
|
-
# json key: lastModifiedAt
|
1244
|
-
# Corresponds to the JSON property `lastModifiedAt`
|
1245
|
-
# @return [Fixnum]
|
1246
|
-
attr_accessor :last_modified_at
|
1247
|
-
|
1248
|
-
# The resoure id of the app.
|
1249
|
-
# JSON key: name
|
1250
|
-
# Corresponds to the JSON property `name`
|
1251
|
-
# @return [String]
|
1252
|
-
attr_accessor :name
|
1253
|
-
|
1254
|
-
# The scopes to apply to the app. The specified scope names must already
|
1255
|
-
# exist on the API product that you associate with the app.
|
1256
|
-
# Corresponds to the JSON property `scopes`
|
1257
|
-
# @return [Array<String>]
|
1258
|
-
attr_accessor :scopes
|
1259
|
-
|
1260
|
-
# The status of the credential.
|
1261
|
-
# Corresponds to the JSON property `status`
|
1262
|
-
# @return [String]
|
1263
|
-
attr_accessor :status
|
1264
|
-
|
1265
|
-
def initialize(**args)
|
1266
|
-
update!(**args)
|
1267
|
-
end
|
1268
|
-
|
1269
|
-
# Update properties of this object
|
1270
|
-
def update!(**args)
|
1271
|
-
@api_products = args[:api_products] if args.key?(:api_products)
|
1272
|
-
@app_family = args[:app_family] if args.key?(:app_family)
|
1273
|
-
@app_id = args[:app_id] if args.key?(:app_id)
|
1274
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
1275
|
-
@callback_url = args[:callback_url] if args.key?(:callback_url)
|
1276
|
-
@company_name = args[:company_name] if args.key?(:company_name)
|
1277
|
-
@created_at = args[:created_at] if args.key?(:created_at)
|
1278
|
-
@credentials = args[:credentials] if args.key?(:credentials)
|
1279
|
-
@key_expires_in = args[:key_expires_in] if args.key?(:key_expires_in)
|
1280
|
-
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
1281
|
-
@name = args[:name] if args.key?(:name)
|
1282
|
-
@scopes = args[:scopes] if args.key?(:scopes)
|
1283
|
-
@status = args[:status] if args.key?(:status)
|
1284
|
-
end
|
1285
|
-
end
|
1286
|
-
|
1287
|
-
#
|
1288
|
-
class GoogleCloudApigeeV1CompanyAppKey
|
1289
|
-
include Google::Apis::Core::Hashable
|
1290
|
-
|
1291
|
-
# A list of api products this credential can be used for.
|
1292
|
-
# Corresponds to the JSON property `apiProducts`
|
1293
|
-
# @return [Array<Object>]
|
1294
|
-
attr_accessor :api_products
|
1295
|
-
|
1296
|
-
# A list of attributes tied to the credential.
|
1297
|
-
# Corresponds to the JSON property `attributes`
|
1298
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
|
1299
|
-
attr_accessor :attributes
|
1300
|
-
|
1301
|
-
# The consumer key.
|
1302
|
-
# Corresponds to the JSON property `consumerKey`
|
1303
|
-
# @return [String]
|
1304
|
-
attr_accessor :consumer_key
|
1305
|
-
|
1306
|
-
# The secret key.
|
1307
|
-
# Corresponds to the JSON property `consumerSecret`
|
1308
|
-
# @return [String]
|
1309
|
-
attr_accessor :consumer_secret
|
1310
|
-
|
1311
|
-
# Unix time when the app was created
|
1312
|
-
# json key: expiresAt
|
1313
|
-
# Corresponds to the JSON property `expiresAt`
|
1314
|
-
# @return [Fixnum]
|
1315
|
-
attr_accessor :expires_at
|
1316
|
-
|
1317
|
-
# Unix time when the app was issued
|
1318
|
-
# json key: issuedAt
|
1319
|
-
# Corresponds to the JSON property `issuedAt`
|
1320
|
-
# @return [Fixnum]
|
1321
|
-
attr_accessor :issued_at
|
1322
|
-
|
1323
|
-
# The scopes to apply to the app. The specified scope names must already
|
1324
|
-
# exist on the API product that you associate with the app.
|
1325
|
-
# Corresponds to the JSON property `scopes`
|
1326
|
-
# @return [Array<String>]
|
1327
|
-
attr_accessor :scopes
|
1328
|
-
|
1329
|
-
# The status of the credential.
|
1330
|
-
# Corresponds to the JSON property `status`
|
1331
|
-
# @return [String]
|
1332
|
-
attr_accessor :status
|
1333
|
-
|
1334
|
-
def initialize(**args)
|
1335
|
-
update!(**args)
|
1336
|
-
end
|
1337
|
-
|
1338
|
-
# Update properties of this object
|
1339
|
-
def update!(**args)
|
1340
|
-
@api_products = args[:api_products] if args.key?(:api_products)
|
1341
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
1342
|
-
@consumer_key = args[:consumer_key] if args.key?(:consumer_key)
|
1343
|
-
@consumer_secret = args[:consumer_secret] if args.key?(:consumer_secret)
|
1344
|
-
@expires_at = args[:expires_at] if args.key?(:expires_at)
|
1345
|
-
@issued_at = args[:issued_at] if args.key?(:issued_at)
|
1346
|
-
@scopes = args[:scopes] if args.key?(:scopes)
|
1347
|
-
@status = args[:status] if args.key?(:status)
|
1348
|
-
end
|
1349
|
-
end
|
1350
|
-
|
1351
1078
|
# Version of the API proxy configuration schema. Currently, only 4.0 is
|
1352
1079
|
# supported.
|
1353
1080
|
class GoogleCloudApigeeV1ConfigVersion
|
@@ -1614,27 +1341,6 @@ module Google
|
|
1614
1341
|
end
|
1615
1342
|
end
|
1616
1343
|
|
1617
|
-
#
|
1618
|
-
class GoogleCloudApigeeV1DataLocation
|
1619
|
-
include Google::Apis::Core::Hashable
|
1620
|
-
|
1621
|
-
# GCS signed url. Signed URLs provide a way to give time-limited
|
1622
|
-
# read or write access to anyone in possession of the URL, regardless of
|
1623
|
-
# whether they have a Google account.
|
1624
|
-
# Corresponds to the JSON property `url`
|
1625
|
-
# @return [String]
|
1626
|
-
attr_accessor :url
|
1627
|
-
|
1628
|
-
def initialize(**args)
|
1629
|
-
update!(**args)
|
1630
|
-
end
|
1631
|
-
|
1632
|
-
# Update properties of this object
|
1633
|
-
def update!(**args)
|
1634
|
-
@url = args[:url] if args.key?(:url)
|
1635
|
-
end
|
1636
|
-
end
|
1637
|
-
|
1638
1344
|
#
|
1639
1345
|
class GoogleCloudApigeeV1DebugMask
|
1640
1346
|
include Google::Apis::Core::Hashable
|
@@ -2651,44 +2357,6 @@ module Google
|
|
2651
2357
|
end
|
2652
2358
|
end
|
2653
2359
|
|
2654
|
-
#
|
2655
|
-
class GoogleCloudApigeeV1ListCompaniesResponse
|
2656
|
-
include Google::Apis::Core::Hashable
|
2657
|
-
|
2658
|
-
# A list of company.
|
2659
|
-
# Corresponds to the JSON property `company`
|
2660
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company>]
|
2661
|
-
attr_accessor :company
|
2662
|
-
|
2663
|
-
def initialize(**args)
|
2664
|
-
update!(**args)
|
2665
|
-
end
|
2666
|
-
|
2667
|
-
# Update properties of this object
|
2668
|
-
def update!(**args)
|
2669
|
-
@company = args[:company] if args.key?(:company)
|
2670
|
-
end
|
2671
|
-
end
|
2672
|
-
|
2673
|
-
#
|
2674
|
-
class GoogleCloudApigeeV1ListCompanyAppsResponse
|
2675
|
-
include Google::Apis::Core::Hashable
|
2676
|
-
|
2677
|
-
# A list of apps for a company.
|
2678
|
-
# Corresponds to the JSON property `app`
|
2679
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp>]
|
2680
|
-
attr_accessor :app
|
2681
|
-
|
2682
|
-
def initialize(**args)
|
2683
|
-
update!(**args)
|
2684
|
-
end
|
2685
|
-
|
2686
|
-
# Update properties of this object
|
2687
|
-
def update!(**args)
|
2688
|
-
@app = args[:app] if args.key?(:app)
|
2689
|
-
end
|
2690
|
-
end
|
2691
|
-
|
2692
2360
|
# This message encapsulates a list of custom report definitions
|
2693
2361
|
class GoogleCloudApigeeV1ListCustomReportsResponse
|
2694
2362
|
include Google::Apis::Core::Hashable
|
@@ -3098,7 +2766,7 @@ module Google
|
|
3098
2766
|
# @return [Fixnum]
|
3099
2767
|
attr_accessor :last_modified_at
|
3100
2768
|
|
3101
|
-
#
|
2769
|
+
# Output only. Name of the Apigee organization.
|
3102
2770
|
# Corresponds to the JSON property `name`
|
3103
2771
|
# @return [String]
|
3104
2772
|
attr_accessor :name
|
@@ -4753,10 +4421,13 @@ module Google
|
|
4753
4421
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
4754
4422
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
4755
4423
|
# custom role.
|
4756
|
-
#
|
4757
|
-
# expression that allows access to a resource
|
4758
|
-
# to `true`. A condition can add constraints
|
4759
|
-
# request, the resource, or both.
|
4424
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
4425
|
+
# `condition`, which is a logical expression that allows access to a resource
|
4426
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
4427
|
+
# based on attributes of the request, the resource, or both. To learn which
|
4428
|
+
# resources support conditions in their IAM policies, see the
|
4429
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
4430
|
+
# policies).
|
4760
4431
|
# **JSON example:**
|
4761
4432
|
# `
|
4762
4433
|
# "bindings": [
|
@@ -4771,7 +4442,9 @@ module Google
|
|
4771
4442
|
# `,
|
4772
4443
|
# `
|
4773
4444
|
# "role": "roles/resourcemanager.organizationViewer",
|
4774
|
-
# "members": [
|
4445
|
+
# "members": [
|
4446
|
+
# "user:eve@example.com"
|
4447
|
+
# ],
|
4775
4448
|
# "condition": `
|
4776
4449
|
# "title": "expirable access",
|
4777
4450
|
# "description": "Does not grant access after Sep 2020",
|
@@ -4849,6 +4522,9 @@ module Google
|
|
4849
4522
|
# the conditions in the version `3` policy are lost.
|
4850
4523
|
# If a policy does not include any conditions, operations on that policy may
|
4851
4524
|
# specify any valid version or leave the field unset.
|
4525
|
+
# To learn which resources support conditions in their IAM policies, see the
|
4526
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
4527
|
+
# policies).
|
4852
4528
|
# Corresponds to the JSON property `version`
|
4853
4529
|
# @return [Fixnum]
|
4854
4530
|
attr_accessor :version
|
@@ -4877,10 +4553,13 @@ module Google
|
|
4877
4553
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
4878
4554
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
4879
4555
|
# custom role.
|
4880
|
-
#
|
4881
|
-
# expression that allows access to a resource
|
4882
|
-
# to `true`. A condition can add constraints
|
4883
|
-
# request, the resource, or both.
|
4556
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
4557
|
+
# `condition`, which is a logical expression that allows access to a resource
|
4558
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
4559
|
+
# based on attributes of the request, the resource, or both. To learn which
|
4560
|
+
# resources support conditions in their IAM policies, see the
|
4561
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
4562
|
+
# policies).
|
4884
4563
|
# **JSON example:**
|
4885
4564
|
# `
|
4886
4565
|
# "bindings": [
|
@@ -4895,7 +4574,9 @@ module Google
|
|
4895
4574
|
# `,
|
4896
4575
|
# `
|
4897
4576
|
# "role": "roles/resourcemanager.organizationViewer",
|
4898
|
-
# "members": [
|
4577
|
+
# "members": [
|
4578
|
+
# "user:eve@example.com"
|
4579
|
+
# ],
|
4899
4580
|
# "condition": `
|
4900
4581
|
# "title": "expirable access",
|
4901
4582
|
# "description": "Does not grant access after Sep 2020",
|
@@ -106,12 +106,6 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class GoogleCloudApigeeV1AsyncQueryResultView
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
109
|
class GoogleCloudApigeeV1Attribute
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
111
|
|
@@ -142,24 +136,6 @@ module Google
|
|
142
136
|
include Google::Apis::Core::JsonObjectSupport
|
143
137
|
end
|
144
138
|
|
145
|
-
class GoogleCloudApigeeV1Company
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
|
-
class GoogleCloudApigeeV1CompanyApp
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
-
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
155
|
-
end
|
156
|
-
|
157
|
-
class GoogleCloudApigeeV1CompanyAppKey
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
-
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
161
|
-
end
|
162
|
-
|
163
139
|
class GoogleCloudApigeeV1ConfigVersion
|
164
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
141
|
|
@@ -184,12 +160,6 @@ module Google
|
|
184
160
|
include Google::Apis::Core::JsonObjectSupport
|
185
161
|
end
|
186
162
|
|
187
|
-
class GoogleCloudApigeeV1DataLocation
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
-
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
191
|
-
end
|
192
|
-
|
193
163
|
class GoogleCloudApigeeV1DebugMask
|
194
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
165
|
|
@@ -334,18 +304,6 @@ module Google
|
|
334
304
|
include Google::Apis::Core::JsonObjectSupport
|
335
305
|
end
|
336
306
|
|
337
|
-
class GoogleCloudApigeeV1ListCompaniesResponse
|
338
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
-
|
340
|
-
include Google::Apis::Core::JsonObjectSupport
|
341
|
-
end
|
342
|
-
|
343
|
-
class GoogleCloudApigeeV1ListCompanyAppsResponse
|
344
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
-
|
346
|
-
include Google::Apis::Core::JsonObjectSupport
|
347
|
-
end
|
348
|
-
|
349
307
|
class GoogleCloudApigeeV1ListCustomReportsResponse
|
350
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
309
|
|
@@ -885,18 +843,6 @@ module Google
|
|
885
843
|
end
|
886
844
|
end
|
887
845
|
|
888
|
-
class GoogleCloudApigeeV1AsyncQueryResultView
|
889
|
-
# @private
|
890
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
891
|
-
property :code, as: 'code'
|
892
|
-
property :error, as: 'error'
|
893
|
-
property :metadata, as: 'metadata', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata::Representation
|
894
|
-
|
895
|
-
collection :rows, as: 'rows'
|
896
|
-
property :state, as: 'state'
|
897
|
-
end
|
898
|
-
end
|
899
|
-
|
900
846
|
class GoogleCloudApigeeV1Attribute
|
901
847
|
# @private
|
902
848
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -946,57 +892,6 @@ module Google
|
|
946
892
|
end
|
947
893
|
end
|
948
894
|
|
949
|
-
class GoogleCloudApigeeV1Company
|
950
|
-
# @private
|
951
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
952
|
-
collection :apps, as: 'apps'
|
953
|
-
collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation
|
954
|
-
|
955
|
-
property :created_at, :numeric_string => true, as: 'createdAt'
|
956
|
-
property :display_name, as: 'displayName'
|
957
|
-
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
958
|
-
property :name, as: 'name'
|
959
|
-
property :organization, as: 'organization'
|
960
|
-
property :status, as: 'status'
|
961
|
-
end
|
962
|
-
end
|
963
|
-
|
964
|
-
class GoogleCloudApigeeV1CompanyApp
|
965
|
-
# @private
|
966
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
967
|
-
collection :api_products, as: 'apiProducts'
|
968
|
-
property :app_family, as: 'appFamily'
|
969
|
-
property :app_id, as: 'appId'
|
970
|
-
collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation
|
971
|
-
|
972
|
-
property :callback_url, as: 'callbackUrl'
|
973
|
-
property :company_name, as: 'companyName'
|
974
|
-
property :created_at, :numeric_string => true, as: 'createdAt'
|
975
|
-
collection :credentials, as: 'credentials', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Credential::Representation
|
976
|
-
|
977
|
-
property :key_expires_in, :numeric_string => true, as: 'keyExpiresIn'
|
978
|
-
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
979
|
-
property :name, as: 'name'
|
980
|
-
collection :scopes, as: 'scopes'
|
981
|
-
property :status, as: 'status'
|
982
|
-
end
|
983
|
-
end
|
984
|
-
|
985
|
-
class GoogleCloudApigeeV1CompanyAppKey
|
986
|
-
# @private
|
987
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
988
|
-
collection :api_products, as: 'apiProducts'
|
989
|
-
collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation
|
990
|
-
|
991
|
-
property :consumer_key, as: 'consumerKey'
|
992
|
-
property :consumer_secret, as: 'consumerSecret'
|
993
|
-
property :expires_at, :numeric_string => true, as: 'expiresAt'
|
994
|
-
property :issued_at, :numeric_string => true, as: 'issuedAt'
|
995
|
-
collection :scopes, as: 'scopes'
|
996
|
-
property :status, as: 'status'
|
997
|
-
end
|
998
|
-
end
|
999
|
-
|
1000
895
|
class GoogleCloudApigeeV1ConfigVersion
|
1001
896
|
# @private
|
1002
897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1059,13 +954,6 @@ module Google
|
|
1059
954
|
end
|
1060
955
|
end
|
1061
956
|
|
1062
|
-
class GoogleCloudApigeeV1DataLocation
|
1063
|
-
# @private
|
1064
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1065
|
-
property :url, as: 'url'
|
1066
|
-
end
|
1067
|
-
end
|
1068
|
-
|
1069
957
|
class GoogleCloudApigeeV1DebugMask
|
1070
958
|
# @private
|
1071
959
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1336,22 +1224,6 @@ module Google
|
|
1336
1224
|
end
|
1337
1225
|
end
|
1338
1226
|
|
1339
|
-
class GoogleCloudApigeeV1ListCompaniesResponse
|
1340
|
-
# @private
|
1341
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1342
|
-
collection :company, as: 'company', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation
|
1343
|
-
|
1344
|
-
end
|
1345
|
-
end
|
1346
|
-
|
1347
|
-
class GoogleCloudApigeeV1ListCompanyAppsResponse
|
1348
|
-
# @private
|
1349
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1350
|
-
collection :app, as: 'app', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation
|
1351
|
-
|
1352
|
-
end
|
1353
|
-
end
|
1354
|
-
|
1355
1227
|
class GoogleCloudApigeeV1ListCustomReportsResponse
|
1356
1228
|
# @private
|
1357
1229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1259,466 +1259,6 @@ module Google
|
|
1259
1259
|
execute_or_queue_command(command, &block)
|
1260
1260
|
end
|
1261
1261
|
|
1262
|
-
# Creates an app for a company. Note that you must first create a profile
|
1263
|
-
# for the company in your organization before you can register apps that
|
1264
|
-
# are associated with the company.
|
1265
|
-
# @param [String] parent
|
1266
|
-
# Name of org that the company will be created in
|
1267
|
-
# ``parent=organizations/*``
|
1268
|
-
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] google_cloud_apigee_v1_company_object
|
1269
|
-
# @param [String] fields
|
1270
|
-
# Selector specifying which fields to include in a partial response.
|
1271
|
-
# @param [String] quota_user
|
1272
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1273
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1274
|
-
# @param [Google::Apis::RequestOptions] options
|
1275
|
-
# Request-specific options
|
1276
|
-
#
|
1277
|
-
# @yield [result, err] Result & error if block supplied
|
1278
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object
|
1279
|
-
# @yieldparam err [StandardError] error object if request failed
|
1280
|
-
#
|
1281
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company]
|
1282
|
-
#
|
1283
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1284
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1285
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1286
|
-
def create_organization_company(parent, google_cloud_apigee_v1_company_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1287
|
-
command = make_simple_command(:post, 'v1/{+parent}/companies', options)
|
1288
|
-
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation
|
1289
|
-
command.request_object = google_cloud_apigee_v1_company_object
|
1290
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation
|
1291
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company
|
1292
|
-
command.params['parent'] = parent unless parent.nil?
|
1293
|
-
command.query['fields'] = fields unless fields.nil?
|
1294
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1295
|
-
execute_or_queue_command(command, &block)
|
1296
|
-
end
|
1297
|
-
|
1298
|
-
# Deletes an existing company.
|
1299
|
-
# @param [String] name
|
1300
|
-
# The company resource name
|
1301
|
-
# `organizations/`org`/companies/`company``
|
1302
|
-
# @param [String] fields
|
1303
|
-
# Selector specifying which fields to include in a partial response.
|
1304
|
-
# @param [String] quota_user
|
1305
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1306
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1307
|
-
# @param [Google::Apis::RequestOptions] options
|
1308
|
-
# Request-specific options
|
1309
|
-
#
|
1310
|
-
# @yield [result, err] Result & error if block supplied
|
1311
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object
|
1312
|
-
# @yieldparam err [StandardError] error object if request failed
|
1313
|
-
#
|
1314
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company]
|
1315
|
-
#
|
1316
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1317
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1318
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1319
|
-
def delete_organization_company(name, fields: nil, quota_user: nil, options: nil, &block)
|
1320
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1321
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation
|
1322
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company
|
1323
|
-
command.params['name'] = name unless name.nil?
|
1324
|
-
command.query['fields'] = fields unless fields.nil?
|
1325
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1326
|
-
execute_or_queue_command(command, &block)
|
1327
|
-
end
|
1328
|
-
|
1329
|
-
# List details for a company.
|
1330
|
-
# @param [String] name
|
1331
|
-
# The company resource name
|
1332
|
-
# `organizations/`org`/companies/`company``
|
1333
|
-
# @param [String] fields
|
1334
|
-
# Selector specifying which fields to include in a partial response.
|
1335
|
-
# @param [String] quota_user
|
1336
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1337
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1338
|
-
# @param [Google::Apis::RequestOptions] options
|
1339
|
-
# Request-specific options
|
1340
|
-
#
|
1341
|
-
# @yield [result, err] Result & error if block supplied
|
1342
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object
|
1343
|
-
# @yieldparam err [StandardError] error object if request failed
|
1344
|
-
#
|
1345
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company]
|
1346
|
-
#
|
1347
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1348
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1349
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1350
|
-
def get_organization_company(name, fields: nil, quota_user: nil, options: nil, &block)
|
1351
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1352
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation
|
1353
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company
|
1354
|
-
command.params['name'] = name unless name.nil?
|
1355
|
-
command.query['fields'] = fields unless fields.nil?
|
1356
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1357
|
-
execute_or_queue_command(command, &block)
|
1358
|
-
end
|
1359
|
-
|
1360
|
-
# List all companies in an organization, and optionally returns an
|
1361
|
-
# expanded list of companies, displaying a full profile for each company in
|
1362
|
-
# the organization.
|
1363
|
-
# @param [String] parent
|
1364
|
-
# The parent organization name
|
1365
|
-
# `organizations/`org``
|
1366
|
-
# @param [Fixnum] count
|
1367
|
-
# Limits the list to the number you specify. The limit is 100.
|
1368
|
-
# @param [Boolean] expand
|
1369
|
-
# Set expand to true to return a full profile for each company.
|
1370
|
-
# @param [Boolean] include_developers
|
1371
|
-
# Optional. include developers in the response.
|
1372
|
-
# @param [String] start_key
|
1373
|
-
# To filter the keys that are returned, enter the email of a developer
|
1374
|
-
# that the list will start with.
|
1375
|
-
# @param [String] fields
|
1376
|
-
# Selector specifying which fields to include in a partial response.
|
1377
|
-
# @param [String] quota_user
|
1378
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1379
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1380
|
-
# @param [Google::Apis::RequestOptions] options
|
1381
|
-
# Request-specific options
|
1382
|
-
#
|
1383
|
-
# @yield [result, err] Result & error if block supplied
|
1384
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse] parsed result object
|
1385
|
-
# @yieldparam err [StandardError] error object if request failed
|
1386
|
-
#
|
1387
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse]
|
1388
|
-
#
|
1389
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1390
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1391
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1392
|
-
def list_organization_companies(parent, count: nil, expand: nil, include_developers: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1393
|
-
command = make_simple_command(:get, 'v1/{+parent}/companies', options)
|
1394
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse::Representation
|
1395
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompaniesResponse
|
1396
|
-
command.params['parent'] = parent unless parent.nil?
|
1397
|
-
command.query['count'] = count unless count.nil?
|
1398
|
-
command.query['expand'] = expand unless expand.nil?
|
1399
|
-
command.query['includeDevelopers'] = include_developers unless include_developers.nil?
|
1400
|
-
command.query['startKey'] = start_key unless start_key.nil?
|
1401
|
-
command.query['fields'] = fields unless fields.nil?
|
1402
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1403
|
-
execute_or_queue_command(command, &block)
|
1404
|
-
end
|
1405
|
-
|
1406
|
-
# Updates an existing company.
|
1407
|
-
# Send the complete company record as a payload with any changes you want to
|
1408
|
-
# make. Note that to change the status of the Company you use Set the Status
|
1409
|
-
# of a Company. The attributes in the sample payload below apply to company
|
1410
|
-
# configuration in monetization. For non-monetized companies, you need send
|
1411
|
-
# only displayName.
|
1412
|
-
# @param [String] name
|
1413
|
-
# Name of the company to be updated.
|
1414
|
-
# ``name=organizations/*/companies/*``
|
1415
|
-
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] google_cloud_apigee_v1_company_object
|
1416
|
-
# @param [String] action
|
1417
|
-
# Specify the status as active or inactive.
|
1418
|
-
# @param [String] fields
|
1419
|
-
# Selector specifying which fields to include in a partial response.
|
1420
|
-
# @param [String] quota_user
|
1421
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1422
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1423
|
-
# @param [Google::Apis::RequestOptions] options
|
1424
|
-
# Request-specific options
|
1425
|
-
#
|
1426
|
-
# @yield [result, err] Result & error if block supplied
|
1427
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company] parsed result object
|
1428
|
-
# @yieldparam err [StandardError] error object if request failed
|
1429
|
-
#
|
1430
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company]
|
1431
|
-
#
|
1432
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1433
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1434
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1435
|
-
def update_organization_company(name, google_cloud_apigee_v1_company_object = nil, action: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1436
|
-
command = make_simple_command(:put, 'v1/{+name}', options)
|
1437
|
-
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation
|
1438
|
-
command.request_object = google_cloud_apigee_v1_company_object
|
1439
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company::Representation
|
1440
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Company
|
1441
|
-
command.params['name'] = name unless name.nil?
|
1442
|
-
command.query['action'] = action unless action.nil?
|
1443
|
-
command.query['fields'] = fields unless fields.nil?
|
1444
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1445
|
-
execute_or_queue_command(command, &block)
|
1446
|
-
end
|
1447
|
-
|
1448
|
-
# Creates an app for a company.
|
1449
|
-
# @param [String] parent
|
1450
|
-
# Resource path of the parent: `organizations/`org`/companies/`company_name``
|
1451
|
-
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] google_cloud_apigee_v1_company_app_object
|
1452
|
-
# @param [String] fields
|
1453
|
-
# Selector specifying which fields to include in a partial response.
|
1454
|
-
# @param [String] quota_user
|
1455
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1456
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1457
|
-
# @param [Google::Apis::RequestOptions] options
|
1458
|
-
# Request-specific options
|
1459
|
-
#
|
1460
|
-
# @yield [result, err] Result & error if block supplied
|
1461
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object
|
1462
|
-
# @yieldparam err [StandardError] error object if request failed
|
1463
|
-
#
|
1464
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp]
|
1465
|
-
#
|
1466
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1467
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1468
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1469
|
-
def create_organization_company_app(parent, google_cloud_apigee_v1_company_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1470
|
-
command = make_simple_command(:post, 'v1/{+parent}/apps', options)
|
1471
|
-
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation
|
1472
|
-
command.request_object = google_cloud_apigee_v1_company_app_object
|
1473
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation
|
1474
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp
|
1475
|
-
command.params['parent'] = parent unless parent.nil?
|
1476
|
-
command.query['fields'] = fields unless fields.nil?
|
1477
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1478
|
-
execute_or_queue_command(command, &block)
|
1479
|
-
end
|
1480
|
-
|
1481
|
-
# Deletes a company app.
|
1482
|
-
# @param [String] name
|
1483
|
-
# name of the app resource:
|
1484
|
-
# `organizations/`org`/companies/`company_name`/apps/`app_name``
|
1485
|
-
# @param [String] fields
|
1486
|
-
# Selector specifying which fields to include in a partial response.
|
1487
|
-
# @param [String] quota_user
|
1488
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1489
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1490
|
-
# @param [Google::Apis::RequestOptions] options
|
1491
|
-
# Request-specific options
|
1492
|
-
#
|
1493
|
-
# @yield [result, err] Result & error if block supplied
|
1494
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object
|
1495
|
-
# @yieldparam err [StandardError] error object if request failed
|
1496
|
-
#
|
1497
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp]
|
1498
|
-
#
|
1499
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1500
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1501
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1502
|
-
def delete_organization_company_app(name, fields: nil, quota_user: nil, options: nil, &block)
|
1503
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1504
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation
|
1505
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp
|
1506
|
-
command.params['name'] = name unless name.nil?
|
1507
|
-
command.query['fields'] = fields unless fields.nil?
|
1508
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1509
|
-
execute_or_queue_command(command, &block)
|
1510
|
-
end
|
1511
|
-
|
1512
|
-
# Gets the profile of a specific company app.
|
1513
|
-
# @param [String] name
|
1514
|
-
# name of the app resource:
|
1515
|
-
# `organizations/`org`/companies/`company_name`/apps/`app_name``
|
1516
|
-
# @param [String] fields
|
1517
|
-
# Selector specifying which fields to include in a partial response.
|
1518
|
-
# @param [String] quota_user
|
1519
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1520
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1521
|
-
# @param [Google::Apis::RequestOptions] options
|
1522
|
-
# Request-specific options
|
1523
|
-
#
|
1524
|
-
# @yield [result, err] Result & error if block supplied
|
1525
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object
|
1526
|
-
# @yieldparam err [StandardError] error object if request failed
|
1527
|
-
#
|
1528
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp]
|
1529
|
-
#
|
1530
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1531
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1532
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1533
|
-
def get_organization_company_app(name, fields: nil, quota_user: nil, options: nil, &block)
|
1534
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1535
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation
|
1536
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp
|
1537
|
-
command.params['name'] = name unless name.nil?
|
1538
|
-
command.query['fields'] = fields unless fields.nil?
|
1539
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1540
|
-
execute_or_queue_command(command, &block)
|
1541
|
-
end
|
1542
|
-
|
1543
|
-
# List company apps in an organization. You can optionally expand the
|
1544
|
-
# response to include the profile for each app.
|
1545
|
-
# @param [String] parent
|
1546
|
-
# The name of a company resource:
|
1547
|
-
# `organizations/`org`/companies/`company_name``
|
1548
|
-
# @param [Fixnum] count
|
1549
|
-
# Limits the list to the number you specify. The limit is 100.
|
1550
|
-
# @param [Boolean] expand
|
1551
|
-
# Set expand to true to return a full profile
|
1552
|
-
# @param [String] start_key
|
1553
|
-
# Lets you return a list of app starting with a specific app name in the
|
1554
|
-
# list.
|
1555
|
-
# @param [String] fields
|
1556
|
-
# Selector specifying which fields to include in a partial response.
|
1557
|
-
# @param [String] quota_user
|
1558
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1559
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1560
|
-
# @param [Google::Apis::RequestOptions] options
|
1561
|
-
# Request-specific options
|
1562
|
-
#
|
1563
|
-
# @yield [result, err] Result & error if block supplied
|
1564
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse] parsed result object
|
1565
|
-
# @yieldparam err [StandardError] error object if request failed
|
1566
|
-
#
|
1567
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse]
|
1568
|
-
#
|
1569
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1570
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1571
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1572
|
-
def list_organization_company_apps(parent, count: nil, expand: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1573
|
-
command = make_simple_command(:get, 'v1/{+parent}/apps', options)
|
1574
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse::Representation
|
1575
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListCompanyAppsResponse
|
1576
|
-
command.params['parent'] = parent unless parent.nil?
|
1577
|
-
command.query['count'] = count unless count.nil?
|
1578
|
-
command.query['expand'] = expand unless expand.nil?
|
1579
|
-
command.query['startKey'] = start_key unless start_key.nil?
|
1580
|
-
command.query['fields'] = fields unless fields.nil?
|
1581
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1582
|
-
execute_or_queue_command(command, &block)
|
1583
|
-
end
|
1584
|
-
|
1585
|
-
# Updates an existing company app.
|
1586
|
-
# @param [String] name
|
1587
|
-
# Resource path of the app:
|
1588
|
-
# `organizations/`org`/companies/`company_name`/apps/`app_name``
|
1589
|
-
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] google_cloud_apigee_v1_company_app_object
|
1590
|
-
# @param [String] fields
|
1591
|
-
# Selector specifying which fields to include in a partial response.
|
1592
|
-
# @param [String] quota_user
|
1593
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1594
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1595
|
-
# @param [Google::Apis::RequestOptions] options
|
1596
|
-
# Request-specific options
|
1597
|
-
#
|
1598
|
-
# @yield [result, err] Result & error if block supplied
|
1599
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp] parsed result object
|
1600
|
-
# @yieldparam err [StandardError] error object if request failed
|
1601
|
-
#
|
1602
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp]
|
1603
|
-
#
|
1604
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1605
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1606
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1607
|
-
def update_organization_company_app(name, google_cloud_apigee_v1_company_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1608
|
-
command = make_simple_command(:put, 'v1/{+name}', options)
|
1609
|
-
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation
|
1610
|
-
command.request_object = google_cloud_apigee_v1_company_app_object
|
1611
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp::Representation
|
1612
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyApp
|
1613
|
-
command.params['name'] = name unless name.nil?
|
1614
|
-
command.query['fields'] = fields unless fields.nil?
|
1615
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1616
|
-
execute_or_queue_command(command, &block)
|
1617
|
-
end
|
1618
|
-
|
1619
|
-
# Deletes a key for a company app and removes all API products associated
|
1620
|
-
# with the app. The key can no longer be used to access any APIs.
|
1621
|
-
# @param [String] name
|
1622
|
-
# Resource name of a company app key
|
1623
|
-
# `organizations/`org`/companies/`company`/apps/`app`/keys/`key``
|
1624
|
-
# @param [String] fields
|
1625
|
-
# Selector specifying which fields to include in a partial response.
|
1626
|
-
# @param [String] quota_user
|
1627
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1628
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1629
|
-
# @param [Google::Apis::RequestOptions] options
|
1630
|
-
# Request-specific options
|
1631
|
-
#
|
1632
|
-
# @yield [result, err] Result & error if block supplied
|
1633
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] parsed result object
|
1634
|
-
# @yieldparam err [StandardError] error object if request failed
|
1635
|
-
#
|
1636
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey]
|
1637
|
-
#
|
1638
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1639
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1640
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1641
|
-
def delete_organization_company_app_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
1642
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1643
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation
|
1644
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey
|
1645
|
-
command.params['name'] = name unless name.nil?
|
1646
|
-
command.query['fields'] = fields unless fields.nil?
|
1647
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1648
|
-
execute_or_queue_command(command, &block)
|
1649
|
-
end
|
1650
|
-
|
1651
|
-
# Gets information about the consumer key issued to a specific company app.
|
1652
|
-
# @param [String] name
|
1653
|
-
# Resource name of a company app key
|
1654
|
-
# `organizations/`org`/companies/`company`/apps/`app`/keys/`key``
|
1655
|
-
# @param [String] fields
|
1656
|
-
# Selector specifying which fields to include in a partial response.
|
1657
|
-
# @param [String] quota_user
|
1658
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1659
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1660
|
-
# @param [Google::Apis::RequestOptions] options
|
1661
|
-
# Request-specific options
|
1662
|
-
#
|
1663
|
-
# @yield [result, err] Result & error if block supplied
|
1664
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] parsed result object
|
1665
|
-
# @yieldparam err [StandardError] error object if request failed
|
1666
|
-
#
|
1667
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey]
|
1668
|
-
#
|
1669
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1670
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1671
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1672
|
-
def get_organization_company_app_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
1673
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1674
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation
|
1675
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey
|
1676
|
-
command.params['name'] = name unless name.nil?
|
1677
|
-
command.query['fields'] = fields unless fields.nil?
|
1678
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1679
|
-
execute_or_queue_command(command, &block)
|
1680
|
-
end
|
1681
|
-
|
1682
|
-
# Updates an existing company app key to add additional API products or
|
1683
|
-
# attributes. Note that only a single API product can be resolved per app
|
1684
|
-
# key at runtime. API products are resolved by name, in alphabetical order.
|
1685
|
-
# The first API product found in the list will be returned.
|
1686
|
-
# @param [String] name
|
1687
|
-
# Resource name of a company app key
|
1688
|
-
# `organizations/`org`/companies/`company`/apps/`app`/keys/`key``
|
1689
|
-
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] google_cloud_apigee_v1_company_app_key_object
|
1690
|
-
# @param [String] action
|
1691
|
-
# Set action to approve or revoke.
|
1692
|
-
# @param [String] fields
|
1693
|
-
# Selector specifying which fields to include in a partial response.
|
1694
|
-
# @param [String] quota_user
|
1695
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1696
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1697
|
-
# @param [Google::Apis::RequestOptions] options
|
1698
|
-
# Request-specific options
|
1699
|
-
#
|
1700
|
-
# @yield [result, err] Result & error if block supplied
|
1701
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey] parsed result object
|
1702
|
-
# @yieldparam err [StandardError] error object if request failed
|
1703
|
-
#
|
1704
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey]
|
1705
|
-
#
|
1706
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1707
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1708
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1709
|
-
def update_organization_company_app_key_company_app_key(name, google_cloud_apigee_v1_company_app_key_object = nil, action: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1710
|
-
command = make_simple_command(:post, 'v1/{+name}', options)
|
1711
|
-
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation
|
1712
|
-
command.request_object = google_cloud_apigee_v1_company_app_key_object
|
1713
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey::Representation
|
1714
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CompanyAppKey
|
1715
|
-
command.params['name'] = name unless name.nil?
|
1716
|
-
command.query['action'] = action unless action.nil?
|
1717
|
-
command.query['fields'] = fields unless fields.nil?
|
1718
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1719
|
-
execute_or_queue_command(command, &block)
|
1720
|
-
end
|
1721
|
-
|
1722
1262
|
# Lists all deployments of API proxies or shared flows.
|
1723
1263
|
# @param [String] parent
|
1724
1264
|
# Required. Name of the organization for which to return deployment information
|
@@ -3129,51 +2669,6 @@ module Google
|
|
3129
2669
|
execute_or_queue_command(command, &block)
|
3130
2670
|
end
|
3131
2671
|
|
3132
|
-
# Get Google Cloud Storage (GCS) signed url for specific organization and
|
3133
|
-
# environment. Collection agent uses this signed url to upload data
|
3134
|
-
# to GCS bucket.
|
3135
|
-
# @param [String] name
|
3136
|
-
# Required. The parent organization and environment names. Must be of the
|
3137
|
-
# form `organizations/`org`/environments/`env`/datalocation`.
|
3138
|
-
# @param [String] content_type
|
3139
|
-
# Content-Type for uploaded file.
|
3140
|
-
# @param [String] dataset
|
3141
|
-
# Required. Dataset could be one of `api`, `mint`, `trace` and `event`
|
3142
|
-
# @param [String] relative_file_path
|
3143
|
-
# Required. Relative path to the GCS bucket
|
3144
|
-
# @param [String] repo
|
3145
|
-
# Required. Repository name
|
3146
|
-
# @param [String] fields
|
3147
|
-
# Selector specifying which fields to include in a partial response.
|
3148
|
-
# @param [String] quota_user
|
3149
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3150
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3151
|
-
# @param [Google::Apis::RequestOptions] options
|
3152
|
-
# Request-specific options
|
3153
|
-
#
|
3154
|
-
# @yield [result, err] Result & error if block supplied
|
3155
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation] parsed result object
|
3156
|
-
# @yieldparam err [StandardError] error object if request failed
|
3157
|
-
#
|
3158
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation]
|
3159
|
-
#
|
3160
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3161
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3162
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3163
|
-
def get_organization_environment_datalocation(name, content_type: nil, dataset: nil, relative_file_path: nil, repo: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3164
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
3165
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation::Representation
|
3166
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataLocation
|
3167
|
-
command.params['name'] = name unless name.nil?
|
3168
|
-
command.query['contentType'] = content_type unless content_type.nil?
|
3169
|
-
command.query['dataset'] = dataset unless dataset.nil?
|
3170
|
-
command.query['relativeFilePath'] = relative_file_path unless relative_file_path.nil?
|
3171
|
-
command.query['repo'] = repo unless repo.nil?
|
3172
|
-
command.query['fields'] = fields unless fields.nil?
|
3173
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3174
|
-
execute_or_queue_command(command, &block)
|
3175
|
-
end
|
3176
|
-
|
3177
2672
|
# Gets the debug mask singleton resource for an environment.
|
3178
2673
|
# @param [String] name
|
3179
2674
|
# Required. Name of the debug mask. Use the following structure in your request:
|
@@ -3253,6 +2748,9 @@ module Google
|
|
3253
2748
|
# Requests for policies with any conditional bindings must specify version 3.
|
3254
2749
|
# Policies without any conditional bindings may specify any valid value or
|
3255
2750
|
# leave the field unset.
|
2751
|
+
# To learn which resources support conditions in their IAM policies, see the
|
2752
|
+
# [IAM
|
2753
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
3256
2754
|
# @param [String] fields
|
3257
2755
|
# Selector specifying which fields to include in a partial response.
|
3258
2756
|
# @param [String] quota_user
|
@@ -3753,6 +3251,39 @@ module Google
|
|
3753
3251
|
execute_or_queue_command(command, &block)
|
3754
3252
|
end
|
3755
3253
|
|
3254
|
+
# Retrieves a debug session.
|
3255
|
+
# @param [String] name
|
3256
|
+
# Required. The name of the debug session to retrieve.
|
3257
|
+
# Must be of the form:
|
3258
|
+
# `organizations/`organization`/environments/`environment`/apis/`api`/revisions/
|
3259
|
+
# `revision`/debugsessions/`session``.
|
3260
|
+
# @param [String] fields
|
3261
|
+
# Selector specifying which fields to include in a partial response.
|
3262
|
+
# @param [String] quota_user
|
3263
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3264
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3265
|
+
# @param [Google::Apis::RequestOptions] options
|
3266
|
+
# Request-specific options
|
3267
|
+
#
|
3268
|
+
# @yield [result, err] Result & error if block supplied
|
3269
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession] parsed result object
|
3270
|
+
# @yieldparam err [StandardError] error object if request failed
|
3271
|
+
#
|
3272
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession]
|
3273
|
+
#
|
3274
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3275
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3276
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3277
|
+
def get_organization_environment_api_revision_debugsession(name, fields: nil, quota_user: nil, options: nil, &block)
|
3278
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3279
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession::Representation
|
3280
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugSession
|
3281
|
+
command.params['name'] = name unless name.nil?
|
3282
|
+
command.query['fields'] = fields unless fields.nil?
|
3283
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3284
|
+
execute_or_queue_command(command, &block)
|
3285
|
+
end
|
3286
|
+
|
3756
3287
|
# Lists debug sessions that are currently active in the given API Proxy
|
3757
3288
|
# revision.
|
3758
3289
|
# @param [String] parent
|
@@ -4603,37 +4134,6 @@ module Google
|
|
4603
4134
|
execute_or_queue_command(command, &block)
|
4604
4135
|
end
|
4605
4136
|
|
4606
|
-
#
|
4607
|
-
# @param [String] name
|
4608
|
-
# Required. Name of the asynchronous query result view to get. Must be of the
|
4609
|
-
# form `organizations/`org`/environments/`env`/queries/`queryId`/resultView`.
|
4610
|
-
# @param [String] fields
|
4611
|
-
# Selector specifying which fields to include in a partial response.
|
4612
|
-
# @param [String] quota_user
|
4613
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
4614
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4615
|
-
# @param [Google::Apis::RequestOptions] options
|
4616
|
-
# Request-specific options
|
4617
|
-
#
|
4618
|
-
# @yield [result, err] Result & error if block supplied
|
4619
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView] parsed result object
|
4620
|
-
# @yieldparam err [StandardError] error object if request failed
|
4621
|
-
#
|
4622
|
-
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView]
|
4623
|
-
#
|
4624
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4625
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4626
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4627
|
-
def get_organization_environment_query_result_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
4628
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
4629
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView::Representation
|
4630
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView
|
4631
|
-
command.params['name'] = name unless name.nil?
|
4632
|
-
command.query['fields'] = fields unless fields.nil?
|
4633
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4634
|
-
execute_or_queue_command(command, &block)
|
4635
|
-
end
|
4636
|
-
|
4637
4137
|
# Return a list of Asynchronous Queries
|
4638
4138
|
# @param [String] parent
|
4639
4139
|
# Required. The parent organization and environment names.
|
data/lib/google/apis/version.rb
CHANGED
@@ -12,25 +12,30 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
+
require 'open3'
|
16
|
+
|
15
17
|
module Google
|
16
18
|
module Apis
|
17
19
|
# Client library version
|
18
|
-
VERSION = '0.39.
|
20
|
+
VERSION = '0.39.2'.freeze
|
19
21
|
|
20
22
|
# Current operating system
|
21
23
|
# @private
|
22
24
|
OS_VERSION = begin
|
23
25
|
if RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/
|
24
|
-
|
26
|
+
output, _ = Open3.capture2('ver')
|
27
|
+
output.sub(/\s*\[Version\s*/, '/').sub(']', '')
|
25
28
|
elsif RUBY_PLATFORM =~ /darwin/i
|
26
|
-
|
29
|
+
output, _ = Open3.capture2('sw_vers', '-productVersion')
|
30
|
+
"Mac OS X/#{output}"
|
27
31
|
elsif RUBY_PLATFORM == 'java'
|
28
32
|
require 'java'
|
29
33
|
name = java.lang.System.getProperty('os.name')
|
30
34
|
version = java.lang.System.getProperty('os.version')
|
31
35
|
"#{name}/#{version}"
|
32
36
|
else
|
33
|
-
|
37
|
+
output, _ = Open3.capture2('uname', '-sr')
|
38
|
+
output.sub(' ', '/')
|
34
39
|
end.strip
|
35
40
|
rescue
|
36
41
|
RUBY_PLATFORM
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.39.
|
4
|
+
version: 0.39.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-05-
|
14
|
+
date: 2020-05-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -1392,7 +1392,7 @@ homepage: https://github.com/google/google-api-ruby-client
|
|
1392
1392
|
licenses:
|
1393
1393
|
- Apache-2.0
|
1394
1394
|
metadata:
|
1395
|
-
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.39.
|
1395
|
+
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.39.2
|
1396
1396
|
post_install_message:
|
1397
1397
|
rdoc_options: []
|
1398
1398
|
require_paths:
|