google-apis-apigee_v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd8c32ac1f9db5957c75893598b1c3bd51b5afdbb2fb7a16bb8a52443ef094c5
4
- data.tar.gz: 7c306a054e6b81b88e0380ab79c1df952527d340bbb2a14720fc98ef8f9d3a80
3
+ metadata.gz: bdd24dfc841a257c8ea69fa05e5ac522d8caa12f9a37f13168ac1c4765742448
4
+ data.tar.gz: 39fffa05f235571d30ee573c10c382390e19686a762577e4ec32f88401bcdfba
5
5
  SHA512:
6
- metadata.gz: fa7399cc95ba71bdd79076af791ed6713b412ee838150be065420ee94708e2c1139c8d8ea513369717a6b9ebee455c9433409c9555121bac96910eab119af589
7
- data.tar.gz: f4907c90530c23dbaf9a45991b3f0d16ca9c3c78ea1215a0a5f731a26df104a0d86205b860982f9241e933430ab5f66d8f4a49c83724551915852558f647c93d
6
+ metadata.gz: 66c745a214a604df8d0b1d244dd6c39e0b339f13971a83324ce7af2a3348a70dc8f661dfec78f3ee5ea17374bb856029be366c01ddce523b37241e3fbbe70278
7
+ data.tar.gz: 27a58b214f87d1a86018995368615e2b5ba453c7ed11734bfb409bd77142d94c5bbe3b79504bb2f0dbd3c3fc6995a1b250e3d2a54977265e948dab58c73b6312
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.7.0 (2021-03-16)
4
+
5
+ * Regenerated from discovery document revision 20210312
6
+
3
7
  ### v0.6.0 (2021-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20210305
@@ -423,6 +423,13 @@ module Google
423
423
  # @return [Array<String>]
424
424
  attr_accessor :environments
425
425
 
426
+ # List of graphQL operation configuration details associated with Apigee API
427
+ # proxies or remote services. Remote services are non-Apigee proxies, such as
428
+ # Istio-Envoy.
429
+ # Corresponds to the JSON property `graphqlOperationGroup`
430
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup]
431
+ attr_accessor :graphql_operation_group
432
+
426
433
  # Response only. Modified time of this environment as milliseconds since epoch.
427
434
  # Corresponds to the JSON property `lastModifiedAt`
428
435
  # @return [Fixnum]
@@ -490,6 +497,7 @@ module Google
490
497
  @description = args[:description] if args.key?(:description)
491
498
  @display_name = args[:display_name] if args.key?(:display_name)
492
499
  @environments = args[:environments] if args.key?(:environments)
500
+ @graphql_operation_group = args[:graphql_operation_group] if args.key?(:graphql_operation_group)
493
501
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
494
502
  @name = args[:name] if args.key?(:name)
495
503
  @operation_group = args[:operation_group] if args.key?(:operation_group)
@@ -3073,6 +3081,114 @@ module Google
3073
3081
  end
3074
3082
  end
3075
3083
 
3084
+ # GraphQLOperation represents the pairing of graphQL operation types and the
3085
+ # graphQL operation name.
3086
+ class GoogleCloudApigeeV1GraphQlOperation
3087
+ include Google::Apis::Core::Hashable
3088
+
3089
+ # GraphQL operation name, along with operation type which will be used to
3090
+ # associate quotas with. If no name is specified, the quota will be applied to
3091
+ # all graphQL operations irrespective of their operation names in the payload.
3092
+ # Corresponds to the JSON property `operation`
3093
+ # @return [String]
3094
+ attr_accessor :operation
3095
+
3096
+ # Required. `query`, `mutation` and `subscription` are the three operation types
3097
+ # offered by graphQL. Currently we support only `query` and `mutation`.
3098
+ # Corresponds to the JSON property `operationType`
3099
+ # @return [Array<String>]
3100
+ attr_accessor :operation_type
3101
+
3102
+ def initialize(**args)
3103
+ update!(**args)
3104
+ end
3105
+
3106
+ # Update properties of this object
3107
+ def update!(**args)
3108
+ @operation = args[:operation] if args.key?(:operation)
3109
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
3110
+ end
3111
+ end
3112
+
3113
+ # GraphQLOperationConfig binds the resources in a proxy or remote service with
3114
+ # the graphQL operation and its associated quota enforcement.
3115
+ class GoogleCloudApigeeV1GraphQlOperationConfig
3116
+ include Google::Apis::Core::Hashable
3117
+
3118
+ # Required. API proxy endpoint or remote service name with which the graphQL
3119
+ # operation, and quota are associated.
3120
+ # Corresponds to the JSON property `apiSource`
3121
+ # @return [String]
3122
+ attr_accessor :api_source
3123
+
3124
+ # Custom attributes associated with the operation.
3125
+ # Corresponds to the JSON property `attributes`
3126
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>]
3127
+ attr_accessor :attributes
3128
+
3129
+ # Required. List of graphQL name/Operation type pairs for the proxy/remote
3130
+ # service, upon which quota will applied. If GraphQLOperation operation has only
3131
+ # the operation type(s), that would imply that quota will be applied on all
3132
+ # graphQL requests irrespective of the graphQL name. **Note**: Currently, we can
3133
+ # specify only a single GraphQLOperation. Specifying more than one will result
3134
+ # in failure of the operation.
3135
+ # Corresponds to the JSON property `operations`
3136
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation>]
3137
+ attr_accessor :operations
3138
+
3139
+ # Quota contains the essential parameters needed that can be applied on a proxy/
3140
+ # remote service, resources and methods combination associated with this API
3141
+ # product. While setting of Quota is optional, setting it prevents requests from
3142
+ # exceeding the provisioned parameters.
3143
+ # Corresponds to the JSON property `quota`
3144
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota]
3145
+ attr_accessor :quota
3146
+
3147
+ def initialize(**args)
3148
+ update!(**args)
3149
+ end
3150
+
3151
+ # Update properties of this object
3152
+ def update!(**args)
3153
+ @api_source = args[:api_source] if args.key?(:api_source)
3154
+ @attributes = args[:attributes] if args.key?(:attributes)
3155
+ @operations = args[:operations] if args.key?(:operations)
3156
+ @quota = args[:quota] if args.key?(:quota)
3157
+ end
3158
+ end
3159
+
3160
+ # List of graphQL operation configuration details associated with Apigee API
3161
+ # proxies or remote services. Remote services are non-Apigee proxies, such as
3162
+ # Istio-Envoy.
3163
+ class GoogleCloudApigeeV1GraphQlOperationGroup
3164
+ include Google::Apis::Core::Hashable
3165
+
3166
+ # Flag that specifes whether the configuration is for Apigee API proxy or a
3167
+ # remote service. Valid values are `proxy` or `remoteservice`. Defaults to `
3168
+ # proxy`. Set to `proxy` when Apigee API proxies are associated with the API
3169
+ # product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are
3170
+ # associated with the API product.
3171
+ # Corresponds to the JSON property `operationConfigType`
3172
+ # @return [String]
3173
+ attr_accessor :operation_config_type
3174
+
3175
+ # Required. List of operation configurations for either Apigee API proxies or
3176
+ # other remote services that are associated with this API product.
3177
+ # Corresponds to the JSON property `operationConfigs`
3178
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationConfig>]
3179
+ attr_accessor :operation_configs
3180
+
3181
+ def initialize(**args)
3182
+ update!(**args)
3183
+ end
3184
+
3185
+ # Update properties of this object
3186
+ def update!(**args)
3187
+ @operation_config_type = args[:operation_config_type] if args.key?(:operation_config_type)
3188
+ @operation_configs = args[:operation_configs] if args.key?(:operation_configs)
3189
+ end
3190
+ end
3191
+
3076
3192
  #
3077
3193
  class GoogleCloudApigeeV1IngressConfig
3078
3194
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210305"
25
+ REVISION = "20210312"
26
26
  end
27
27
  end
28
28
  end
@@ -382,6 +382,24 @@ module Google
382
382
  include Google::Apis::Core::JsonObjectSupport
383
383
  end
384
384
 
385
+ class GoogleCloudApigeeV1GraphQlOperation
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudApigeeV1GraphQlOperationConfig
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudApigeeV1GraphQlOperationGroup
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
385
403
  class GoogleCloudApigeeV1IngressConfig
386
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
405
 
@@ -1116,6 +1134,8 @@ module Google
1116
1134
  property :description, as: 'description'
1117
1135
  property :display_name, as: 'displayName'
1118
1136
  collection :environments, as: 'environments'
1137
+ property :graphql_operation_group, as: 'graphqlOperationGroup', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup::Representation
1138
+
1119
1139
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
1120
1140
  property :name, as: 'name'
1121
1141
  property :operation_group, as: 'operationGroup', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationGroup, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationGroup::Representation
@@ -1764,6 +1784,36 @@ module Google
1764
1784
  end
1765
1785
  end
1766
1786
 
1787
+ class GoogleCloudApigeeV1GraphQlOperation
1788
+ # @private
1789
+ class Representation < Google::Apis::Core::JsonRepresentation
1790
+ property :operation, as: 'operation'
1791
+ collection :operation_type, as: 'operationType'
1792
+ end
1793
+ end
1794
+
1795
+ class GoogleCloudApigeeV1GraphQlOperationConfig
1796
+ # @private
1797
+ class Representation < Google::Apis::Core::JsonRepresentation
1798
+ property :api_source, as: 'apiSource'
1799
+ collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation
1800
+
1801
+ collection :operations, as: 'operations', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation::Representation
1802
+
1803
+ property :quota, as: 'quota', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota::Representation
1804
+
1805
+ end
1806
+ end
1807
+
1808
+ class GoogleCloudApigeeV1GraphQlOperationGroup
1809
+ # @private
1810
+ class Representation < Google::Apis::Core::JsonRepresentation
1811
+ property :operation_config_type, as: 'operationConfigType'
1812
+ collection :operation_configs, as: 'operationConfigs', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationConfig::Representation
1813
+
1814
+ end
1815
+ end
1816
+
1767
1817
  class GoogleCloudApigeeV1IngressConfig
1768
1818
  # @private
1769
1819
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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-03-15 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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.6.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1
57
57
  post_install_message:
58
58
  rdoc_options: []