google-apis-apigee_v1 0.2.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/apigee_v1.rb +1 -2
- data/lib/google/apis/apigee_v1/classes.rb +314 -46
- data/lib/google/apis/apigee_v1/gem_version.rb +3 -3
- data/lib/google/apis/apigee_v1/representations.rb +114 -0
- data/lib/google/apis/apigee_v1/service.rb +305 -47
- metadata +5 -5
@@ -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.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
|
@@ -574,6 +592,12 @@ module Google
|
|
574
592
|
include Google::Apis::Core::JsonObjectSupport
|
575
593
|
end
|
576
594
|
|
595
|
+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
577
601
|
class GoogleCloudApigeeV1Metadata
|
578
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
603
|
|
@@ -898,6 +922,24 @@ module Google
|
|
898
922
|
include Google::Apis::Core::JsonObjectSupport
|
899
923
|
end
|
900
924
|
|
925
|
+
class GoogleCloudApigeeV1TraceConfig
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
|
+
|
928
|
+
include Google::Apis::Core::JsonObjectSupport
|
929
|
+
end
|
930
|
+
|
931
|
+
class GoogleCloudApigeeV1TraceConfigOverride
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
|
+
|
934
|
+
include Google::Apis::Core::JsonObjectSupport
|
935
|
+
end
|
936
|
+
|
937
|
+
class GoogleCloudApigeeV1TraceSamplingConfig
|
938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
|
+
|
940
|
+
include Google::Apis::Core::JsonObjectSupport
|
941
|
+
end
|
942
|
+
|
901
943
|
class GoogleCloudApigeeV1UpdateError
|
902
944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
945
|
|
@@ -1092,6 +1134,8 @@ module Google
|
|
1092
1134
|
property :description, as: 'description'
|
1093
1135
|
property :display_name, as: 'displayName'
|
1094
1136
|
collection :environments, as: 'environments'
|
1137
|
+
property :graphql_operation_group, as: 'graphqlOperationGroup', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup::Representation
|
1138
|
+
|
1095
1139
|
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
1096
1140
|
property :name, as: 'name'
|
1097
1141
|
property :operation_group, as: 'operationGroup', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationGroup, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationGroup::Representation
|
@@ -1584,6 +1628,7 @@ module Google
|
|
1584
1628
|
property :consumer_key, as: 'consumerKey'
|
1585
1629
|
property :consumer_secret, as: 'consumerSecret'
|
1586
1630
|
property :expires_at, :numeric_string => true, as: 'expiresAt'
|
1631
|
+
property :expires_in_seconds, :numeric_string => true, as: 'expiresInSeconds'
|
1587
1632
|
property :issued_at, :numeric_string => true, as: 'issuedAt'
|
1588
1633
|
collection :scopes, as: 'scopes'
|
1589
1634
|
property :status, as: 'status'
|
@@ -1739,6 +1784,36 @@ module Google
|
|
1739
1784
|
end
|
1740
1785
|
end
|
1741
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
|
+
|
1742
1817
|
class GoogleCloudApigeeV1IngressConfig
|
1743
1818
|
# @private
|
1744
1819
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1762,6 +1837,7 @@ module Google
|
|
1762
1837
|
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
1763
1838
|
property :location, as: 'location'
|
1764
1839
|
property :name, as: 'name'
|
1840
|
+
property :peering_cidr_range, as: 'peeringCidrRange'
|
1765
1841
|
property :port, as: 'port'
|
1766
1842
|
property :state, as: 'state'
|
1767
1843
|
end
|
@@ -2025,6 +2101,15 @@ module Google
|
|
2025
2101
|
end
|
2026
2102
|
end
|
2027
2103
|
|
2104
|
+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
2105
|
+
# @private
|
2106
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2107
|
+
property :next_page_token, as: 'nextPageToken'
|
2108
|
+
collection :trace_config_overrides, as: 'traceConfigOverrides', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
2109
|
+
|
2110
|
+
end
|
2111
|
+
end
|
2112
|
+
|
2028
2113
|
class GoogleCloudApigeeV1Metadata
|
2029
2114
|
# @private
|
2030
2115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2129,6 +2214,7 @@ module Google
|
|
2129
2214
|
property :description, as: 'description'
|
2130
2215
|
property :display_name, as: 'displayName'
|
2131
2216
|
collection :environments, as: 'environments'
|
2217
|
+
property :expires_at, :numeric_string => true, as: 'expiresAt'
|
2132
2218
|
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
2133
2219
|
property :name, as: 'name'
|
2134
2220
|
property :project_id, as: 'projectId'
|
@@ -2604,6 +2690,34 @@ module Google
|
|
2604
2690
|
end
|
2605
2691
|
end
|
2606
2692
|
|
2693
|
+
class GoogleCloudApigeeV1TraceConfig
|
2694
|
+
# @private
|
2695
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2696
|
+
property :endpoint, as: 'endpoint'
|
2697
|
+
property :exporter, as: 'exporter'
|
2698
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig::Representation
|
2699
|
+
|
2700
|
+
end
|
2701
|
+
end
|
2702
|
+
|
2703
|
+
class GoogleCloudApigeeV1TraceConfigOverride
|
2704
|
+
# @private
|
2705
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2706
|
+
property :api_proxy, as: 'apiProxy'
|
2707
|
+
property :name, as: 'name'
|
2708
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig::Representation
|
2709
|
+
|
2710
|
+
end
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
class GoogleCloudApigeeV1TraceSamplingConfig
|
2714
|
+
# @private
|
2715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2716
|
+
property :sampler, as: 'sampler'
|
2717
|
+
property :sampling_rate, as: 'samplingRate'
|
2718
|
+
end
|
2719
|
+
end
|
2720
|
+
|
2607
2721
|
class GoogleCloudApigeeV1UpdateError
|
2608
2722
|
# @private
|
2609
2723
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,8 +25,7 @@ module Google
|
|
25
25
|
# Use the Apigee API to programmatically develop and manage APIs with a set of
|
26
26
|
# RESTful operations. Develop and secure API proxies, deploy and undeploy API
|
27
27
|
# proxy revisions, monitor APIs, configure environments, manage users, and more.
|
28
|
-
#
|
29
|
-
# for a time period of 60 days.
|
28
|
+
# Note: This product is available as a free trial for a time period of 60 days.
|
30
29
|
#
|
31
30
|
# @example
|
32
31
|
# require 'google/apis/apigee_v1'
|
@@ -1255,12 +1254,11 @@ module Google
|
|
1255
1254
|
end
|
1256
1255
|
|
1257
1256
|
# Gets an API proxy revision. To download the API proxy configuration bundle for
|
1258
|
-
# the specified revision as a zip file,
|
1259
|
-
#
|
1260
|
-
#
|
1261
|
-
#
|
1262
|
-
#
|
1263
|
-
# in [updateApiProxyRevision](updateApiProxyRevision).
|
1257
|
+
# the specified revision as a zip file, set the `format` query parameter to `
|
1258
|
+
# bundle`. If you are using curl, specify `-o filename.zip` to save the output
|
1259
|
+
# to a file; otherwise, it displays to `stdout`. Then, develop the API proxy
|
1260
|
+
# configuration locally and upload the updated API proxy configuration revision,
|
1261
|
+
# as described in [updateApiProxyRevision](updateApiProxyRevision).
|
1264
1262
|
# @param [String] name
|
1265
1263
|
# Required. API proxy revision in the following format: `organizations/`org`/
|
1266
1264
|
# apis/`api`/revisions/`rev``
|
@@ -3374,6 +3372,37 @@ module Google
|
|
3374
3372
|
execute_or_queue_command(command, &block)
|
3375
3373
|
end
|
3376
3374
|
|
3375
|
+
# Get distributed trace configuration in an environment.
|
3376
|
+
# @param [String] name
|
3377
|
+
# Required. Name of the trace configuration. Use the following structure in your
|
3378
|
+
# request: "organizations/*/environments/*/traceConfig".
|
3379
|
+
# @param [String] fields
|
3380
|
+
# Selector specifying which fields to include in a partial response.
|
3381
|
+
# @param [String] quota_user
|
3382
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3383
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3384
|
+
# @param [Google::Apis::RequestOptions] options
|
3385
|
+
# Request-specific options
|
3386
|
+
#
|
3387
|
+
# @yield [result, err] Result & error if block supplied
|
3388
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] parsed result object
|
3389
|
+
# @yieldparam err [StandardError] error object if request failed
|
3390
|
+
#
|
3391
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig]
|
3392
|
+
#
|
3393
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3394
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3395
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3396
|
+
def get_organization_environment_trace_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
3397
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3398
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3399
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig
|
3400
|
+
command.params['name'] = name unless name.nil?
|
3401
|
+
command.query['fields'] = fields unless fields.nil?
|
3402
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3403
|
+
execute_or_queue_command(command, &block)
|
3404
|
+
end
|
3405
|
+
|
3377
3406
|
# Sets the IAM policy on an environment, if the policy already exists it will be
|
3378
3407
|
# replaced. For more information, see [Manage users, roles, and permissions
|
3379
3408
|
# using the API](https://cloud.google.com/apigee/docs/api-platform/system-
|
@@ -3632,6 +3661,45 @@ module Google
|
|
3632
3661
|
execute_or_queue_command(command, &block)
|
3633
3662
|
end
|
3634
3663
|
|
3664
|
+
# Updates the trace configurations in an environment. Note that the repeated
|
3665
|
+
# fields have replace semantics when included in the field mask and that they
|
3666
|
+
# will be overwritten by the value of the fields in the request body.
|
3667
|
+
# @param [String] name
|
3668
|
+
# Required. Name of the trace configuration. Use the following structure in your
|
3669
|
+
# request: "organizations/*/environments/*/traceConfig".
|
3670
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] google_cloud_apigee_v1_trace_config_object
|
3671
|
+
# @param [String] update_mask
|
3672
|
+
# List of fields to be updated.
|
3673
|
+
# @param [String] fields
|
3674
|
+
# Selector specifying which fields to include in a partial response.
|
3675
|
+
# @param [String] quota_user
|
3676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3678
|
+
# @param [Google::Apis::RequestOptions] options
|
3679
|
+
# Request-specific options
|
3680
|
+
#
|
3681
|
+
# @yield [result, err] Result & error if block supplied
|
3682
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] parsed result object
|
3683
|
+
# @yieldparam err [StandardError] error object if request failed
|
3684
|
+
#
|
3685
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig]
|
3686
|
+
#
|
3687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3690
|
+
def update_organization_environment_trace_config(name, google_cloud_apigee_v1_trace_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3691
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3692
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3693
|
+
command.request_object = google_cloud_apigee_v1_trace_config_object
|
3694
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3695
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig
|
3696
|
+
command.params['name'] = name unless name.nil?
|
3697
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3698
|
+
command.query['fields'] = fields unless fields.nil?
|
3699
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3700
|
+
execute_or_queue_command(command, &block)
|
3701
|
+
end
|
3702
|
+
|
3635
3703
|
# Get a list of metrics and dimensions which can be used for creating analytics
|
3636
3704
|
# queries and reports. Each schema element contains the name of the field with
|
3637
3705
|
# its associated type and if it is either custom field or standard field.
|
@@ -3816,21 +3884,23 @@ module Google
|
|
3816
3884
|
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
3817
3885
|
# @param [Boolean] override
|
3818
3886
|
# Flag that specifies whether the new deployment replaces other deployed
|
3819
|
-
# revisions of the API proxy in the environment. Set override to true to
|
3820
|
-
# other deployed revisions. By default, override is false and the
|
3821
|
-
# rejected if other revisions of the API proxy are deployed in the
|
3887
|
+
# revisions of the API proxy in the environment. Set `override` to `true` to
|
3888
|
+
# replace other deployed revisions. By default, `override` is `false` and the
|
3889
|
+
# deployment is rejected if other revisions of the API proxy are deployed in the
|
3890
|
+
# environment.
|
3822
3891
|
# @param [Boolean] sequenced_rollout
|
3823
|
-
#
|
3824
|
-
#
|
3825
|
-
#
|
3826
|
-
#
|
3827
|
-
#
|
3828
|
-
#
|
3829
|
-
#
|
3830
|
-
# environment
|
3831
|
-
#
|
3832
|
-
#
|
3833
|
-
# deployment
|
3892
|
+
# Flag that specifies whether to enable sequenced rollout. If set to `true`, a
|
3893
|
+
# best-effort attempt will be made to roll out the routing rules corresponding
|
3894
|
+
# to this deployment and the environment changes to add this deployment in a
|
3895
|
+
# safe order. This reduces the risk of downtime that could be caused by changing
|
3896
|
+
# the environment group's routing before the new destination for the affected
|
3897
|
+
# traffic is ready to receive it. This should only be necessary if the new
|
3898
|
+
# deployment will be capturing traffic from another environment under a shared
|
3899
|
+
# environment group or if traffic will be rerouted to a different environment
|
3900
|
+
# due to a base path removal. The [GenerateDeployChangeReport API](
|
3901
|
+
# GenerateDeployChangeReport) may be used to examine routing changes before
|
3902
|
+
# issuing the deployment request, and its response will indicate if a sequenced
|
3903
|
+
# rollout is recommended for the deployment.
|
3834
3904
|
# @param [String] fields
|
3835
3905
|
# Selector specifying which fields to include in a partial response.
|
3836
3906
|
# @param [String] quota_user
|
@@ -3902,14 +3972,16 @@ module Google
|
|
3902
3972
|
# Required. Name of the API proxy revision deployment in the following format: `
|
3903
3973
|
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
3904
3974
|
# @param [Boolean] sequenced_rollout
|
3905
|
-
#
|
3906
|
-
#
|
3907
|
-
#
|
3908
|
-
#
|
3909
|
-
#
|
3910
|
-
#
|
3911
|
-
#
|
3912
|
-
#
|
3975
|
+
# Flag that specifies whether to enable sequenced rollout. If set to `true`, a
|
3976
|
+
# best-effort attempt will be made to remove the environment group routing rules
|
3977
|
+
# corresponding to this deployment before removing the deployment from the
|
3978
|
+
# runtime. This is likely to be a rare use case; it is only needed when the
|
3979
|
+
# intended effect of undeploying this proxy is to cause the traffic it currently
|
3980
|
+
# handles to be rerouted to some other existing proxy in the environment group.
|
3981
|
+
# The [GenerateUndeployChangeReport API](GenerateUndeployChangeReport) may be
|
3982
|
+
# used to examine routing changes before issuing the undeployment request, and
|
3983
|
+
# its response will indicate if a sequenced rollout is recommended for the
|
3984
|
+
# undeployment.
|
3913
3985
|
# @param [String] fields
|
3914
3986
|
# Selector specifying which fields to include in a partial response.
|
3915
3987
|
# @param [String] quota_user
|
@@ -4778,10 +4850,10 @@ module Google
|
|
4778
4850
|
# @param [String] name
|
4779
4851
|
# Required. The resource name for which the interactive query will be executed.
|
4780
4852
|
# Must be of the form `organizations/`organization_id`/environments/`
|
4781
|
-
# environment_id/
|
4853
|
+
# environment_id/optimizedStats/`dimensions`` Dimensions let you view metrics in
|
4782
4854
|
# meaningful groupings. E.g. apiproxy, target_host. The value of dimensions
|
4783
4855
|
# should be comma separated list as shown below `organizations/`org`/
|
4784
|
-
# environments/`env`/
|
4856
|
+
# environments/`env`/optimizedStats/apiproxy,request_verb`
|
4785
4857
|
# @param [String] accuracy
|
4786
4858
|
# Legacy field: not used anymore.
|
4787
4859
|
# @param [String] agg_table
|
@@ -5439,12 +5511,11 @@ module Google
|
|
5439
5511
|
# organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`rev`
|
5440
5512
|
# `
|
5441
5513
|
# @param [Boolean] override
|
5442
|
-
# Flag that specifies whether
|
5443
|
-
#
|
5444
|
-
#
|
5445
|
-
#
|
5446
|
-
#
|
5447
|
-
# you must undeploy the existing revision before deploying the new revision.
|
5514
|
+
# Flag that specifies whether the new deployment replaces other deployed
|
5515
|
+
# revisions of the shared flow in the environment. Set `override` to `true` to
|
5516
|
+
# replace other deployed revisions. By default, `override` is `false` and the
|
5517
|
+
# deployment is rejected if other revisions of the shared flow are deployed in
|
5518
|
+
# the environment.
|
5448
5519
|
# @param [String] fields
|
5449
5520
|
# Selector specifying which fields to include in a partial response.
|
5450
5521
|
# @param [String] quota_user
|
@@ -5776,6 +5847,189 @@ module Google
|
|
5776
5847
|
execute_or_queue_command(command, &block)
|
5777
5848
|
end
|
5778
5849
|
|
5850
|
+
# Creates a trace configuration override. The response contains a system-
|
5851
|
+
# generated UUID, that can be used to view, update, or delete the configuration
|
5852
|
+
# override. Use the List API to view the existing trace configuration overrides.
|
5853
|
+
# @param [String] parent
|
5854
|
+
# Required. Parent resource of the trace configuration override. Use the
|
5855
|
+
# following structure in your request. "organizations/*/environments/*/
|
5856
|
+
# traceConfig".
|
5857
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
|
5858
|
+
# @param [String] fields
|
5859
|
+
# Selector specifying which fields to include in a partial response.
|
5860
|
+
# @param [String] quota_user
|
5861
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5862
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5863
|
+
# @param [Google::Apis::RequestOptions] options
|
5864
|
+
# Request-specific options
|
5865
|
+
#
|
5866
|
+
# @yield [result, err] Result & error if block supplied
|
5867
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
5868
|
+
# @yieldparam err [StandardError] error object if request failed
|
5869
|
+
#
|
5870
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
5871
|
+
#
|
5872
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5873
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5874
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5875
|
+
def create_organization_environment_trace_config_override(parent, google_cloud_apigee_v1_trace_config_override_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5876
|
+
command = make_simple_command(:post, 'v1/{+parent}/overrides', options)
|
5877
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5878
|
+
command.request_object = google_cloud_apigee_v1_trace_config_override_object
|
5879
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5880
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
5881
|
+
command.params['parent'] = parent unless parent.nil?
|
5882
|
+
command.query['fields'] = fields unless fields.nil?
|
5883
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5884
|
+
execute_or_queue_command(command, &block)
|
5885
|
+
end
|
5886
|
+
|
5887
|
+
# Deletes a distributed trace configuration override.
|
5888
|
+
# @param [String] name
|
5889
|
+
# Required. Name of the trace configuration override. Use the following
|
5890
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
5891
|
+
# overrides/*".
|
5892
|
+
# @param [String] fields
|
5893
|
+
# Selector specifying which fields to include in a partial response.
|
5894
|
+
# @param [String] quota_user
|
5895
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5896
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5897
|
+
# @param [Google::Apis::RequestOptions] options
|
5898
|
+
# Request-specific options
|
5899
|
+
#
|
5900
|
+
# @yield [result, err] Result & error if block supplied
|
5901
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
5902
|
+
# @yieldparam err [StandardError] error object if request failed
|
5903
|
+
#
|
5904
|
+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
5905
|
+
#
|
5906
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5907
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5908
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5909
|
+
def delete_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
|
5910
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
5911
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
5912
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
5913
|
+
command.params['name'] = name unless name.nil?
|
5914
|
+
command.query['fields'] = fields unless fields.nil?
|
5915
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5916
|
+
execute_or_queue_command(command, &block)
|
5917
|
+
end
|
5918
|
+
|
5919
|
+
# Gets a trace configuration override.
|
5920
|
+
# @param [String] name
|
5921
|
+
# Required. Name of the trace configuration override. Use the following
|
5922
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
5923
|
+
# overrides/*".
|
5924
|
+
# @param [String] fields
|
5925
|
+
# Selector specifying which fields to include in a partial response.
|
5926
|
+
# @param [String] quota_user
|
5927
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5928
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5929
|
+
# @param [Google::Apis::RequestOptions] options
|
5930
|
+
# Request-specific options
|
5931
|
+
#
|
5932
|
+
# @yield [result, err] Result & error if block supplied
|
5933
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
5934
|
+
# @yieldparam err [StandardError] error object if request failed
|
5935
|
+
#
|
5936
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
5937
|
+
#
|
5938
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5939
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5940
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5941
|
+
def get_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
|
5942
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
5943
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5944
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
5945
|
+
command.params['name'] = name unless name.nil?
|
5946
|
+
command.query['fields'] = fields unless fields.nil?
|
5947
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5948
|
+
execute_or_queue_command(command, &block)
|
5949
|
+
end
|
5950
|
+
|
5951
|
+
# Lists all of the distributed trace configuration overrides in an environment.
|
5952
|
+
# @param [String] parent
|
5953
|
+
# Required. Parent resource of the trace configuration override. Use the
|
5954
|
+
# following structure in your request: "organizations/*/environments/*/
|
5955
|
+
# traceConfig".
|
5956
|
+
# @param [Fixnum] page_size
|
5957
|
+
# Maximum number of trace configuration overrides to return. If not specified,
|
5958
|
+
# the maximum number returned is 25. The maximum number cannot exceed 100.
|
5959
|
+
# @param [String] page_token
|
5960
|
+
# A page token, returned from a previous `ListTraceConfigOverrides` call. Token
|
5961
|
+
# value that can be used to retrieve the subsequent page. When paginating, all
|
5962
|
+
# other parameters provided to `ListTraceConfigOverrides` must match those
|
5963
|
+
# specified in the call to obtain the page token.
|
5964
|
+
# @param [String] fields
|
5965
|
+
# Selector specifying which fields to include in a partial response.
|
5966
|
+
# @param [String] quota_user
|
5967
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5968
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5969
|
+
# @param [Google::Apis::RequestOptions] options
|
5970
|
+
# Request-specific options
|
5971
|
+
#
|
5972
|
+
# @yield [result, err] Result & error if block supplied
|
5973
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse] parsed result object
|
5974
|
+
# @yieldparam err [StandardError] error object if request failed
|
5975
|
+
#
|
5976
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse]
|
5977
|
+
#
|
5978
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5979
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5980
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5981
|
+
def list_organization_environment_trace_config_overrides(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5982
|
+
command = make_simple_command(:get, 'v1/{+parent}/overrides', options)
|
5983
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse::Representation
|
5984
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
5985
|
+
command.params['parent'] = parent unless parent.nil?
|
5986
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5987
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5988
|
+
command.query['fields'] = fields unless fields.nil?
|
5989
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5990
|
+
execute_or_queue_command(command, &block)
|
5991
|
+
end
|
5992
|
+
|
5993
|
+
# Updates a distributed trace configuration override. Note that the repeated
|
5994
|
+
# fields have replace semantics when included in the field mask and that they
|
5995
|
+
# will be overwritten by the value of the fields in the request body.
|
5996
|
+
# @param [String] name
|
5997
|
+
# Required. Name of the trace configuration override. Use the following
|
5998
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
5999
|
+
# overrides/*".
|
6000
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
|
6001
|
+
# @param [String] update_mask
|
6002
|
+
# List of fields to be updated.
|
6003
|
+
# @param [String] fields
|
6004
|
+
# Selector specifying which fields to include in a partial response.
|
6005
|
+
# @param [String] quota_user
|
6006
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6007
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6008
|
+
# @param [Google::Apis::RequestOptions] options
|
6009
|
+
# Request-specific options
|
6010
|
+
#
|
6011
|
+
# @yield [result, err] Result & error if block supplied
|
6012
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
6013
|
+
# @yieldparam err [StandardError] error object if request failed
|
6014
|
+
#
|
6015
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
6016
|
+
#
|
6017
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6018
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6019
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6020
|
+
def patch_organization_environment_trace_config_override(name, google_cloud_apigee_v1_trace_config_override_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6021
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
6022
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
6023
|
+
command.request_object = google_cloud_apigee_v1_trace_config_override_object
|
6024
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
6025
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
6026
|
+
command.params['name'] = name unless name.nil?
|
6027
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
6028
|
+
command.query['fields'] = fields unless fields.nil?
|
6029
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6030
|
+
execute_or_queue_command(command, &block)
|
6031
|
+
end
|
6032
|
+
|
5779
6033
|
# Submit a query at host level to be processed in the background. If the
|
5780
6034
|
# submission of the query succeeds, the API returns a 201 status and an ID that
|
5781
6035
|
# refer to the query. In addition to the HTTP status 201, the `state` of "
|
@@ -5973,10 +6227,10 @@ module Google
|
|
5973
6227
|
# given timerange.
|
5974
6228
|
# @param [String] name
|
5975
6229
|
# Required. The resource name for which the interactive query will be executed.
|
5976
|
-
# Must be of the form `organizations/`organization_id`/
|
6230
|
+
# Must be of the form `organizations/`organization_id`/hostStats/`dimensions``.
|
5977
6231
|
# Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
|
5978
6232
|
# target_host. The value of dimensions should be comma separated list as shown
|
5979
|
-
# below `organizations/`org`/
|
6233
|
+
# below `organizations/`org`/hostStats/apiproxy,request_verb`
|
5980
6234
|
# @param [String] accuracy
|
5981
6235
|
# Legacy field: not used anymore.
|
5982
6236
|
# @param [String] envgroup_hostname
|
@@ -6749,10 +7003,10 @@ module Google
|
|
6749
7003
|
# This api is similar to GetHostStats except that the response is less verbose.
|
6750
7004
|
# @param [String] name
|
6751
7005
|
# Required. The resource name for which the interactive query will be executed.
|
6752
|
-
# Must be of the form `organizations/`organization_id`/
|
6753
|
-
# Dimensions let you view metrics in meaningful groupings. E.g.
|
6754
|
-
# target_host. The value of dimensions should be comma separated list
|
6755
|
-
# below `organizations/`org`/
|
7006
|
+
# Must be of the form `organizations/`organization_id`/optimizedHostStats/`
|
7007
|
+
# dimensions``. Dimensions let you view metrics in meaningful groupings. E.g.
|
7008
|
+
# apiproxy, target_host. The value of dimensions should be comma separated list
|
7009
|
+
# as shown below `organizations/`org`/optimizedHostStats/apiproxy,request_verb`
|
6756
7010
|
# @param [String] accuracy
|
6757
7011
|
# Legacy field: not used anymore.
|
6758
7012
|
# @param [String] envgroup_hostname
|
@@ -7208,9 +7462,13 @@ module Google
|
|
7208
7462
|
execute_or_queue_command(command, &block)
|
7209
7463
|
end
|
7210
7464
|
|
7211
|
-
# Gets a revision of a shared flow.
|
7212
|
-
#
|
7213
|
-
#
|
7465
|
+
# Gets a revision of a shared flow. To download the shared flow configuration
|
7466
|
+
# bundle for the specified revision as a zip file, set the `format` query
|
7467
|
+
# parameter to `bundle`. If you are using curl, specify `-o filename.zip` to
|
7468
|
+
# save the output to a file; otherwise, it displays to `stdout`. Then, develop
|
7469
|
+
# the shared flow configuration locally and upload the updated sharedFlow
|
7470
|
+
# configuration revision, as described in [updateSharedFlowRevision](
|
7471
|
+
# updateSharedFlowRevision).
|
7214
7472
|
# @param [String] name
|
7215
7473
|
# Required. The name of the shared flow revision to get. Must be of the form: `
|
7216
7474
|
# organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
|