google-apis-apigee_v1 0.13.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/apigee_v1/classes.rb +51 -1
- data/lib/google/apis/apigee_v1/gem_version.rb +3 -3
- data/lib/google/apis/apigee_v1/representations.rb +17 -0
- data/lib/google/apis/apigee_v1/service.rb +47 -13
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38ee82313d4de95c3d6541af2d11375a55487d4ae3fe69b51e47d3563348f808
|
4
|
+
data.tar.gz: bd4c5e475faa0d6663a31e2af182cc0a0df0c7352d07e7ae387dd93ebd576070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d028e5afc10d16fa636dbbf60e8d362cd1cb39318ffff3b1e861eb49bdad6cd40fb4979364b05cc21396bcccf4808431a0957932fc75cce35a9fd08cb34e50c9
|
7
|
+
data.tar.gz: f951c333d29b6f99df4783c3383b4af9010de6e4f6259b0ef2a0299f1e941229efe5c0e5a1a395e7e2de093f01c6a04a20f360ad8ba33cf02882095ff8105dec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210708
|
6
|
+
|
7
|
+
### v0.16.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.15.0 (2021-06-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210618
|
14
|
+
|
15
|
+
### v0.14.0 (2021-06-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210604
|
18
|
+
|
3
19
|
### v0.13.0 (2021-06-02)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210528
|
@@ -2227,7 +2227,7 @@ module Google
|
|
2227
2227
|
end
|
2228
2228
|
end
|
2229
2229
|
|
2230
|
-
#
|
2230
|
+
# NEXT ID: 9
|
2231
2231
|
class GoogleCloudApigeeV1DeploymentConfig
|
2232
2232
|
include Google::Apis::Core::Hashable
|
2233
2233
|
|
@@ -2258,6 +2258,12 @@ module Google
|
|
2258
2258
|
# @return [String]
|
2259
2259
|
attr_accessor :proxy_uid
|
2260
2260
|
|
2261
|
+
# The service account identity associated with this deployment. If non-empty,
|
2262
|
+
# will be in the following format: `projects/-/serviceAccounts/`account_email``
|
2263
|
+
# Corresponds to the JSON property `serviceAccount`
|
2264
|
+
# @return [String]
|
2265
|
+
attr_accessor :service_account
|
2266
|
+
|
2261
2267
|
# Unique ID. The ID will only change if the deployment is deleted and recreated.
|
2262
2268
|
# Corresponds to the JSON property `uid`
|
2263
2269
|
# @return [String]
|
@@ -2274,6 +2280,7 @@ module Google
|
|
2274
2280
|
@location = args[:location] if args.key?(:location)
|
2275
2281
|
@name = args[:name] if args.key?(:name)
|
2276
2282
|
@proxy_uid = args[:proxy_uid] if args.key?(:proxy_uid)
|
2283
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
2277
2284
|
@uid = args[:uid] if args.key?(:uid)
|
2278
2285
|
end
|
2279
2286
|
end
|
@@ -5885,6 +5892,49 @@ module Google
|
|
5885
5892
|
end
|
5886
5893
|
end
|
5887
5894
|
|
5895
|
+
# Runtime configuration for the organization. Response for GetRuntimeConfig.
|
5896
|
+
class GoogleCloudApigeeV1RuntimeConfig
|
5897
|
+
include Google::Apis::Core::Hashable
|
5898
|
+
|
5899
|
+
# Cloud Storage bucket used for uploading Analytics records.
|
5900
|
+
# Corresponds to the JSON property `analyticsBucket`
|
5901
|
+
# @return [String]
|
5902
|
+
attr_accessor :analytics_bucket
|
5903
|
+
|
5904
|
+
# Name of the resource in the following format: `organizations/`org`/
|
5905
|
+
# runtimeConfig`.
|
5906
|
+
# Corresponds to the JSON property `name`
|
5907
|
+
# @return [String]
|
5908
|
+
attr_accessor :name
|
5909
|
+
|
5910
|
+
# Output only. Tenant project ID associated with the Apigee organization. The
|
5911
|
+
# tenant project is used to host Google-managed resources that are dedicated to
|
5912
|
+
# this Apigee organization. Clients have limited access to resources within the
|
5913
|
+
# tenant project used to support Apigee runtime instances. Access to the tenant
|
5914
|
+
# project is managed using SetSyncAuthorization. It can be empty if the tenant
|
5915
|
+
# project hasn't been created yet.
|
5916
|
+
# Corresponds to the JSON property `tenantProjectId`
|
5917
|
+
# @return [String]
|
5918
|
+
attr_accessor :tenant_project_id
|
5919
|
+
|
5920
|
+
# Cloud Storage bucket used for uploading Trace records.
|
5921
|
+
# Corresponds to the JSON property `traceBucket`
|
5922
|
+
# @return [String]
|
5923
|
+
attr_accessor :trace_bucket
|
5924
|
+
|
5925
|
+
def initialize(**args)
|
5926
|
+
update!(**args)
|
5927
|
+
end
|
5928
|
+
|
5929
|
+
# Update properties of this object
|
5930
|
+
def update!(**args)
|
5931
|
+
@analytics_bucket = args[:analytics_bucket] if args.key?(:analytics_bucket)
|
5932
|
+
@name = args[:name] if args.key?(:name)
|
5933
|
+
@tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
|
5934
|
+
@trace_bucket = args[:trace_bucket] if args.key?(:trace_bucket)
|
5935
|
+
end
|
5936
|
+
end
|
5937
|
+
|
5888
5938
|
# NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace
|
5889
5939
|
# in an environment.
|
5890
5940
|
class GoogleCloudApigeeV1RuntimeTraceConfig
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ApigeeV1
|
18
18
|
# Version of the google-apis-apigee_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210708"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -868,6 +868,12 @@ module Google
|
|
868
868
|
include Google::Apis::Core::JsonObjectSupport
|
869
869
|
end
|
870
870
|
|
871
|
+
class GoogleCloudApigeeV1RuntimeConfig
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
871
877
|
class GoogleCloudApigeeV1RuntimeTraceConfig
|
872
878
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
879
|
|
@@ -1676,6 +1682,7 @@ module Google
|
|
1676
1682
|
property :location, as: 'location'
|
1677
1683
|
property :name, as: 'name'
|
1678
1684
|
property :proxy_uid, as: 'proxyUid'
|
1685
|
+
property :service_account, as: 'serviceAccount'
|
1679
1686
|
property :uid, as: 'uid'
|
1680
1687
|
end
|
1681
1688
|
end
|
@@ -2669,6 +2676,16 @@ module Google
|
|
2669
2676
|
end
|
2670
2677
|
end
|
2671
2678
|
|
2679
|
+
class GoogleCloudApigeeV1RuntimeConfig
|
2680
|
+
# @private
|
2681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2682
|
+
property :analytics_bucket, as: 'analyticsBucket'
|
2683
|
+
property :name, as: 'name'
|
2684
|
+
property :tenant_project_id, as: 'tenantProjectId'
|
2685
|
+
property :trace_bucket, as: 'traceBucket'
|
2686
|
+
end
|
2687
|
+
end
|
2688
|
+
|
2672
2689
|
class GoogleCloudApigeeV1RuntimeTraceConfig
|
2673
2690
|
# @private
|
2674
2691
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -219,6 +219,37 @@ module Google
|
|
219
219
|
execute_or_queue_command(command, &block)
|
220
220
|
end
|
221
221
|
|
222
|
+
# Get runtime config for an organization.
|
223
|
+
# @param [String] name
|
224
|
+
# Required. Name of the runtime config for the organization in the following
|
225
|
+
# format: 'organizations/`org`/runtimeConfig'.
|
226
|
+
# @param [String] fields
|
227
|
+
# Selector specifying which fields to include in a partial response.
|
228
|
+
# @param [String] quota_user
|
229
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
230
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
231
|
+
# @param [Google::Apis::RequestOptions] options
|
232
|
+
# Request-specific options
|
233
|
+
#
|
234
|
+
# @yield [result, err] Result & error if block supplied
|
235
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeConfig] parsed result object
|
236
|
+
# @yieldparam err [StandardError] error object if request failed
|
237
|
+
#
|
238
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeConfig]
|
239
|
+
#
|
240
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
241
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
242
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
243
|
+
def get_organization_runtime_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
244
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
245
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeConfig::Representation
|
246
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeConfig
|
247
|
+
command.params['name'] = name unless name.nil?
|
248
|
+
command.query['fields'] = fields unless fields.nil?
|
249
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
250
|
+
execute_or_queue_command(command, &block)
|
251
|
+
end
|
252
|
+
|
222
253
|
# Lists the service accounts with the permissions required to allow the
|
223
254
|
# Synchronizer to download environment data from the control plane. An ETag is
|
224
255
|
# returned in the response to `getSyncAuthorization`. Pass that ETag when
|
@@ -1914,8 +1945,8 @@ module Google
|
|
1914
1945
|
# expire an access token in less than 180 seconds.
|
1915
1946
|
# @param [String] parent
|
1916
1947
|
# Required. Email address of the developer for which attributes are being
|
1917
|
-
# updated
|
1918
|
-
# developer_email``
|
1948
|
+
# updated. Use the following structure in your request: `organizations/`org`/
|
1949
|
+
# developers/`developer_email``
|
1919
1950
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attributes] google_cloud_apigee_v1_attributes_object
|
1920
1951
|
# @param [String] fields
|
1921
1952
|
# Selector specifying which fields to include in a partial response.
|
@@ -2117,16 +2148,18 @@ module Google
|
|
2117
2148
|
execute_or_queue_command(command, &block)
|
2118
2149
|
end
|
2119
2150
|
|
2120
|
-
# Sets the status of a developer.
|
2121
|
-
# developer
|
2122
|
-
#
|
2123
|
-
#
|
2124
|
-
#
|
2125
|
-
#
|
2126
|
-
#
|
2151
|
+
# Sets the status of a developer. A developer is `active` by default. If you set
|
2152
|
+
# a developer's status to `inactive`, the API keys assigned to the developer
|
2153
|
+
# apps are no longer valid even though the API keys are set to `approved`.
|
2154
|
+
# Inactive developers can still sign in to the developer portal and create apps;
|
2155
|
+
# however, any new API keys generated during app creation won't work. To set the
|
2156
|
+
# status of a developer, set the `action` query parameter to `active` or `
|
2157
|
+
# inactive`, and the `Content-Type` header to `application/octet-stream`. If
|
2158
|
+
# successful, the API call returns the following HTTP status code: `204 No
|
2159
|
+
# Content`
|
2127
2160
|
# @param [String] name
|
2128
|
-
# Required.
|
2129
|
-
#
|
2161
|
+
# Required. Name of the developer. Use the following structure in your request: `
|
2162
|
+
# organizations/`org`/developers/`developer_id``
|
2130
2163
|
# @param [String] action
|
2131
2164
|
# Status of the developer. Valid values are `active` and `inactive`.
|
2132
2165
|
# @param [String] fields
|
@@ -3018,8 +3051,9 @@ module Google
|
|
3018
3051
|
|
3019
3052
|
# Returns a list of all developer attributes.
|
3020
3053
|
# @param [String] parent
|
3021
|
-
# Required. Email address of the developer for which attributes are being listed
|
3022
|
-
#
|
3054
|
+
# Required. Email address of the developer for which attributes are being listed.
|
3055
|
+
# Use the following structure in your request: `organizations/`org`/developers/`
|
3056
|
+
# developer_email``
|
3023
3057
|
# @param [String] fields
|
3024
3058
|
# Selector specifying which fields to include in a partial response.
|
3025
3059
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-apigee_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Apigee API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.17.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|