google-apis-apigee_v1 0.4.0 → 0.5.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f04fb2c6cc7eb499356d7df86a9175d8485498bd574b74a7732e9874d7019b65
|
4
|
+
data.tar.gz: c7581f726e1ac6ca24288fd182c01338772b123e13102f29672bfc5d77e34c7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbe199083b7fa4df0ca5932592c6459c6a4eb46fc0b07f33f37009bf7ece3f865f1bbd202b49c50b105bbf168cab9dd522689083feaf384d46f395b4040bf8bb
|
7
|
+
data.tar.gz: 9130274276bf95f84f351435c895c049adff1605afb3a2cc3cd7bf9b7048a13316d60c9fb275ca6532121c4744f2b2116170ae49c8675b7b88222367635cc4c3
|
data/CHANGELOG.md
CHANGED
@@ -3927,6 +3927,32 @@ module Google
|
|
3927
3927
|
end
|
3928
3928
|
end
|
3929
3929
|
|
3930
|
+
# Response for ListTraceConfigOverrides.
|
3931
|
+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
3932
|
+
include Google::Apis::Core::Hashable
|
3933
|
+
|
3934
|
+
# Token value that can be passed as `page_token` to retrieve the next page of
|
3935
|
+
# content.
|
3936
|
+
# Corresponds to the JSON property `nextPageToken`
|
3937
|
+
# @return [String]
|
3938
|
+
attr_accessor :next_page_token
|
3939
|
+
|
3940
|
+
# List all trace configuration overrides in an environment.
|
3941
|
+
# Corresponds to the JSON property `traceConfigOverrides`
|
3942
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride>]
|
3943
|
+
attr_accessor :trace_config_overrides
|
3944
|
+
|
3945
|
+
def initialize(**args)
|
3946
|
+
update!(**args)
|
3947
|
+
end
|
3948
|
+
|
3949
|
+
# Update properties of this object
|
3950
|
+
def update!(**args)
|
3951
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3952
|
+
@trace_config_overrides = args[:trace_config_overrides] if args.key?(:trace_config_overrides)
|
3953
|
+
end
|
3954
|
+
end
|
3955
|
+
|
3930
3956
|
# This message type encapsulates additional information about query execution.
|
3931
3957
|
class GoogleCloudApigeeV1Metadata
|
3932
3958
|
include Google::Apis::Core::Hashable
|
@@ -6184,6 +6210,102 @@ module Google
|
|
6184
6210
|
end
|
6185
6211
|
end
|
6186
6212
|
|
6213
|
+
# TraceConfig defines the configurations in an environment of distributed trace.
|
6214
|
+
class GoogleCloudApigeeV1TraceConfig
|
6215
|
+
include Google::Apis::Core::Hashable
|
6216
|
+
|
6217
|
+
# Required. Endpoint of the exporter.
|
6218
|
+
# Corresponds to the JSON property `endpoint`
|
6219
|
+
# @return [String]
|
6220
|
+
attr_accessor :endpoint
|
6221
|
+
|
6222
|
+
# Required. Exporter that is used to view the distributed trace captured using
|
6223
|
+
# OpenCensus. An exporter sends traces to any backend that is capable of
|
6224
|
+
# consuming them. Recorded spans can be exported by registered exporters.
|
6225
|
+
# Corresponds to the JSON property `exporter`
|
6226
|
+
# @return [String]
|
6227
|
+
attr_accessor :exporter
|
6228
|
+
|
6229
|
+
# TraceSamplingConfig represents the detail settings of distributed tracing.
|
6230
|
+
# Only the fields that are defined in the distributed trace configuration can be
|
6231
|
+
# overridden using the distribute trace configuration override APIs.
|
6232
|
+
# Corresponds to the JSON property `samplingConfig`
|
6233
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig]
|
6234
|
+
attr_accessor :sampling_config
|
6235
|
+
|
6236
|
+
def initialize(**args)
|
6237
|
+
update!(**args)
|
6238
|
+
end
|
6239
|
+
|
6240
|
+
# Update properties of this object
|
6241
|
+
def update!(**args)
|
6242
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
6243
|
+
@exporter = args[:exporter] if args.key?(:exporter)
|
6244
|
+
@sampling_config = args[:sampling_config] if args.key?(:sampling_config)
|
6245
|
+
end
|
6246
|
+
end
|
6247
|
+
|
6248
|
+
# A representation of a configuration override.
|
6249
|
+
class GoogleCloudApigeeV1TraceConfigOverride
|
6250
|
+
include Google::Apis::Core::Hashable
|
6251
|
+
|
6252
|
+
# ID of the API proxy that will have its trace configuration overridden.
|
6253
|
+
# Corresponds to the JSON property `apiProxy`
|
6254
|
+
# @return [String]
|
6255
|
+
attr_accessor :api_proxy
|
6256
|
+
|
6257
|
+
# ID of the trace configuration override specified as a system-generated UUID.
|
6258
|
+
# Corresponds to the JSON property `name`
|
6259
|
+
# @return [String]
|
6260
|
+
attr_accessor :name
|
6261
|
+
|
6262
|
+
# TraceSamplingConfig represents the detail settings of distributed tracing.
|
6263
|
+
# Only the fields that are defined in the distributed trace configuration can be
|
6264
|
+
# overridden using the distribute trace configuration override APIs.
|
6265
|
+
# Corresponds to the JSON property `samplingConfig`
|
6266
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig]
|
6267
|
+
attr_accessor :sampling_config
|
6268
|
+
|
6269
|
+
def initialize(**args)
|
6270
|
+
update!(**args)
|
6271
|
+
end
|
6272
|
+
|
6273
|
+
# Update properties of this object
|
6274
|
+
def update!(**args)
|
6275
|
+
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
|
6276
|
+
@name = args[:name] if args.key?(:name)
|
6277
|
+
@sampling_config = args[:sampling_config] if args.key?(:sampling_config)
|
6278
|
+
end
|
6279
|
+
end
|
6280
|
+
|
6281
|
+
# TraceSamplingConfig represents the detail settings of distributed tracing.
|
6282
|
+
# Only the fields that are defined in the distributed trace configuration can be
|
6283
|
+
# overridden using the distribute trace configuration override APIs.
|
6284
|
+
class GoogleCloudApigeeV1TraceSamplingConfig
|
6285
|
+
include Google::Apis::Core::Hashable
|
6286
|
+
|
6287
|
+
# Sampler of distributed tracing. OFF is the default value.
|
6288
|
+
# Corresponds to the JSON property `sampler`
|
6289
|
+
# @return [String]
|
6290
|
+
attr_accessor :sampler
|
6291
|
+
|
6292
|
+
# Field sampling rate. This value is only applicable when using the PROBABILITY
|
6293
|
+
# sampler. The supported values are > 0 and <= 0.5.
|
6294
|
+
# Corresponds to the JSON property `samplingRate`
|
6295
|
+
# @return [Float]
|
6296
|
+
attr_accessor :sampling_rate
|
6297
|
+
|
6298
|
+
def initialize(**args)
|
6299
|
+
update!(**args)
|
6300
|
+
end
|
6301
|
+
|
6302
|
+
# Update properties of this object
|
6303
|
+
def update!(**args)
|
6304
|
+
@sampler = args[:sampler] if args.key?(:sampler)
|
6305
|
+
@sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
|
6306
|
+
end
|
6307
|
+
end
|
6308
|
+
|
6187
6309
|
# Details on why a resource update failed in the runtime.
|
6188
6310
|
class GoogleCloudApigeeV1UpdateError
|
6189
6311
|
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.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210225"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -574,6 +574,12 @@ module Google
|
|
574
574
|
include Google::Apis::Core::JsonObjectSupport
|
575
575
|
end
|
576
576
|
|
577
|
+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
577
583
|
class GoogleCloudApigeeV1Metadata
|
578
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
585
|
|
@@ -898,6 +904,24 @@ module Google
|
|
898
904
|
include Google::Apis::Core::JsonObjectSupport
|
899
905
|
end
|
900
906
|
|
907
|
+
class GoogleCloudApigeeV1TraceConfig
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
913
|
+
class GoogleCloudApigeeV1TraceConfigOverride
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
919
|
+
class GoogleCloudApigeeV1TraceSamplingConfig
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
901
925
|
class GoogleCloudApigeeV1UpdateError
|
902
926
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
927
|
|
@@ -2027,6 +2051,15 @@ module Google
|
|
2027
2051
|
end
|
2028
2052
|
end
|
2029
2053
|
|
2054
|
+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
2055
|
+
# @private
|
2056
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2057
|
+
property :next_page_token, as: 'nextPageToken'
|
2058
|
+
collection :trace_config_overrides, as: 'traceConfigOverrides', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
2059
|
+
|
2060
|
+
end
|
2061
|
+
end
|
2062
|
+
|
2030
2063
|
class GoogleCloudApigeeV1Metadata
|
2031
2064
|
# @private
|
2032
2065
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2607,6 +2640,34 @@ module Google
|
|
2607
2640
|
end
|
2608
2641
|
end
|
2609
2642
|
|
2643
|
+
class GoogleCloudApigeeV1TraceConfig
|
2644
|
+
# @private
|
2645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2646
|
+
property :endpoint, as: 'endpoint'
|
2647
|
+
property :exporter, as: 'exporter'
|
2648
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig::Representation
|
2649
|
+
|
2650
|
+
end
|
2651
|
+
end
|
2652
|
+
|
2653
|
+
class GoogleCloudApigeeV1TraceConfigOverride
|
2654
|
+
# @private
|
2655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2656
|
+
property :api_proxy, as: 'apiProxy'
|
2657
|
+
property :name, as: 'name'
|
2658
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig::Representation
|
2659
|
+
|
2660
|
+
end
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
class GoogleCloudApigeeV1TraceSamplingConfig
|
2664
|
+
# @private
|
2665
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2666
|
+
property :sampler, as: 'sampler'
|
2667
|
+
property :sampling_rate, as: 'samplingRate'
|
2668
|
+
end
|
2669
|
+
end
|
2670
|
+
|
2610
2671
|
class GoogleCloudApigeeV1UpdateError
|
2611
2672
|
# @private
|
2612
2673
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3373,6 +3373,37 @@ module Google
|
|
3373
3373
|
execute_or_queue_command(command, &block)
|
3374
3374
|
end
|
3375
3375
|
|
3376
|
+
# Get distributed trace configuration in an environment.
|
3377
|
+
# @param [String] name
|
3378
|
+
# Required. Name of the trace configuration. Use the following structure in your
|
3379
|
+
# request: "organizations/*/environments/*/traceConfig".
|
3380
|
+
# @param [String] fields
|
3381
|
+
# Selector specifying which fields to include in a partial response.
|
3382
|
+
# @param [String] quota_user
|
3383
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3384
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3385
|
+
# @param [Google::Apis::RequestOptions] options
|
3386
|
+
# Request-specific options
|
3387
|
+
#
|
3388
|
+
# @yield [result, err] Result & error if block supplied
|
3389
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] parsed result object
|
3390
|
+
# @yieldparam err [StandardError] error object if request failed
|
3391
|
+
#
|
3392
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig]
|
3393
|
+
#
|
3394
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3395
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3396
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3397
|
+
def get_organization_environment_trace_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
3398
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3399
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3400
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig
|
3401
|
+
command.params['name'] = name unless name.nil?
|
3402
|
+
command.query['fields'] = fields unless fields.nil?
|
3403
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3404
|
+
execute_or_queue_command(command, &block)
|
3405
|
+
end
|
3406
|
+
|
3376
3407
|
# Sets the IAM policy on an environment, if the policy already exists it will be
|
3377
3408
|
# replaced. For more information, see [Manage users, roles, and permissions
|
3378
3409
|
# using the API](https://cloud.google.com/apigee/docs/api-platform/system-
|
@@ -3631,6 +3662,45 @@ module Google
|
|
3631
3662
|
execute_or_queue_command(command, &block)
|
3632
3663
|
end
|
3633
3664
|
|
3665
|
+
# Updates the trace configurations in an environment. Note that the repeated
|
3666
|
+
# fields have replace semantics when included in the field mask and that they
|
3667
|
+
# will be overwritten by the value of the fields in the request body.
|
3668
|
+
# @param [String] name
|
3669
|
+
# Required. Name of the trace configuration. Use the following structure in your
|
3670
|
+
# request: "organizations/*/environments/*/traceConfig".
|
3671
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] google_cloud_apigee_v1_trace_config_object
|
3672
|
+
# @param [String] update_mask
|
3673
|
+
# List of fields to be updated.
|
3674
|
+
# @param [String] fields
|
3675
|
+
# Selector specifying which fields to include in a partial response.
|
3676
|
+
# @param [String] quota_user
|
3677
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3678
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3679
|
+
# @param [Google::Apis::RequestOptions] options
|
3680
|
+
# Request-specific options
|
3681
|
+
#
|
3682
|
+
# @yield [result, err] Result & error if block supplied
|
3683
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] parsed result object
|
3684
|
+
# @yieldparam err [StandardError] error object if request failed
|
3685
|
+
#
|
3686
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig]
|
3687
|
+
#
|
3688
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3689
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3690
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3691
|
+
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)
|
3692
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3693
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3694
|
+
command.request_object = google_cloud_apigee_v1_trace_config_object
|
3695
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3696
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig
|
3697
|
+
command.params['name'] = name unless name.nil?
|
3698
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3699
|
+
command.query['fields'] = fields unless fields.nil?
|
3700
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3701
|
+
execute_or_queue_command(command, &block)
|
3702
|
+
end
|
3703
|
+
|
3634
3704
|
# Get a list of metrics and dimensions which can be used for creating analytics
|
3635
3705
|
# queries and reports. Each schema element contains the name of the field with
|
3636
3706
|
# its associated type and if it is either custom field or standard field.
|
@@ -5778,6 +5848,189 @@ module Google
|
|
5778
5848
|
execute_or_queue_command(command, &block)
|
5779
5849
|
end
|
5780
5850
|
|
5851
|
+
# Creates a trace configuration override. The response contains a system-
|
5852
|
+
# generated UUID, that can be used to view, update, or delete the configuration
|
5853
|
+
# override. Use the List API to view the existing trace configuration overrides.
|
5854
|
+
# @param [String] parent
|
5855
|
+
# Required. Parent resource of the trace configuration override. Use the
|
5856
|
+
# following structure in your request. "organizations/*/environments/*/
|
5857
|
+
# traceConfig".
|
5858
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
|
5859
|
+
# @param [String] fields
|
5860
|
+
# Selector specifying which fields to include in a partial response.
|
5861
|
+
# @param [String] quota_user
|
5862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5864
|
+
# @param [Google::Apis::RequestOptions] options
|
5865
|
+
# Request-specific options
|
5866
|
+
#
|
5867
|
+
# @yield [result, err] Result & error if block supplied
|
5868
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
5869
|
+
# @yieldparam err [StandardError] error object if request failed
|
5870
|
+
#
|
5871
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
5872
|
+
#
|
5873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5876
|
+
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)
|
5877
|
+
command = make_simple_command(:post, 'v1/{+parent}/overrides', options)
|
5878
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5879
|
+
command.request_object = google_cloud_apigee_v1_trace_config_override_object
|
5880
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5881
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
5882
|
+
command.params['parent'] = parent unless parent.nil?
|
5883
|
+
command.query['fields'] = fields unless fields.nil?
|
5884
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5885
|
+
execute_or_queue_command(command, &block)
|
5886
|
+
end
|
5887
|
+
|
5888
|
+
# Deletes a distributed trace configuration override.
|
5889
|
+
# @param [String] name
|
5890
|
+
# Required. Name of the trace configuration override. Use the following
|
5891
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
5892
|
+
# overrides/*".
|
5893
|
+
# @param [String] fields
|
5894
|
+
# Selector specifying which fields to include in a partial response.
|
5895
|
+
# @param [String] quota_user
|
5896
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5897
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5898
|
+
# @param [Google::Apis::RequestOptions] options
|
5899
|
+
# Request-specific options
|
5900
|
+
#
|
5901
|
+
# @yield [result, err] Result & error if block supplied
|
5902
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
5903
|
+
# @yieldparam err [StandardError] error object if request failed
|
5904
|
+
#
|
5905
|
+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
5906
|
+
#
|
5907
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5908
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5909
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5910
|
+
def delete_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
|
5911
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
5912
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
5913
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
5914
|
+
command.params['name'] = name unless name.nil?
|
5915
|
+
command.query['fields'] = fields unless fields.nil?
|
5916
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5917
|
+
execute_or_queue_command(command, &block)
|
5918
|
+
end
|
5919
|
+
|
5920
|
+
# Gets a trace configuration override.
|
5921
|
+
# @param [String] name
|
5922
|
+
# Required. Name of the trace configuration override. Use the following
|
5923
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
5924
|
+
# overrides/*".
|
5925
|
+
# @param [String] fields
|
5926
|
+
# Selector specifying which fields to include in a partial response.
|
5927
|
+
# @param [String] quota_user
|
5928
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5929
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5930
|
+
# @param [Google::Apis::RequestOptions] options
|
5931
|
+
# Request-specific options
|
5932
|
+
#
|
5933
|
+
# @yield [result, err] Result & error if block supplied
|
5934
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
5935
|
+
# @yieldparam err [StandardError] error object if request failed
|
5936
|
+
#
|
5937
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
5938
|
+
#
|
5939
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5940
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5941
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5942
|
+
def get_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
|
5943
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
5944
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5945
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
5946
|
+
command.params['name'] = name unless name.nil?
|
5947
|
+
command.query['fields'] = fields unless fields.nil?
|
5948
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5949
|
+
execute_or_queue_command(command, &block)
|
5950
|
+
end
|
5951
|
+
|
5952
|
+
# Lists all of the distributed trace configuration overrides in an environment.
|
5953
|
+
# @param [String] parent
|
5954
|
+
# Required. Parent resource of the trace configuration override. Use the
|
5955
|
+
# following structure in your request: "organizations/*/environments/*/
|
5956
|
+
# traceConfig".
|
5957
|
+
# @param [Fixnum] page_size
|
5958
|
+
# Maximum number of trace configuration overrides to return. If not specified,
|
5959
|
+
# the maximum number returned is 25. The maximum number cannot exceed 100.
|
5960
|
+
# @param [String] page_token
|
5961
|
+
# A page token, returned from a previous `ListTraceConfigOverrides` call. Token
|
5962
|
+
# value that can be used to retrieve the subsequent page. When paginating, all
|
5963
|
+
# other parameters provided to `ListTraceConfigOverrides` must match those
|
5964
|
+
# specified in the call to obtain the page token.
|
5965
|
+
# @param [String] fields
|
5966
|
+
# Selector specifying which fields to include in a partial response.
|
5967
|
+
# @param [String] quota_user
|
5968
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5969
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5970
|
+
# @param [Google::Apis::RequestOptions] options
|
5971
|
+
# Request-specific options
|
5972
|
+
#
|
5973
|
+
# @yield [result, err] Result & error if block supplied
|
5974
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse] parsed result object
|
5975
|
+
# @yieldparam err [StandardError] error object if request failed
|
5976
|
+
#
|
5977
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse]
|
5978
|
+
#
|
5979
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5980
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5981
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5982
|
+
def list_organization_environment_trace_config_overrides(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5983
|
+
command = make_simple_command(:get, 'v1/{+parent}/overrides', options)
|
5984
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse::Representation
|
5985
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
5986
|
+
command.params['parent'] = parent unless parent.nil?
|
5987
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5988
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5989
|
+
command.query['fields'] = fields unless fields.nil?
|
5990
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5991
|
+
execute_or_queue_command(command, &block)
|
5992
|
+
end
|
5993
|
+
|
5994
|
+
# Updates a distributed trace configuration override. Note that the repeated
|
5995
|
+
# fields have replace semantics when included in the field mask and that they
|
5996
|
+
# will be overwritten by the value of the fields in the request body.
|
5997
|
+
# @param [String] name
|
5998
|
+
# Required. Name of the trace configuration override. Use the following
|
5999
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
6000
|
+
# overrides/*".
|
6001
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
|
6002
|
+
# @param [String] update_mask
|
6003
|
+
# List of fields to be updated.
|
6004
|
+
# @param [String] fields
|
6005
|
+
# Selector specifying which fields to include in a partial response.
|
6006
|
+
# @param [String] quota_user
|
6007
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6008
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6009
|
+
# @param [Google::Apis::RequestOptions] options
|
6010
|
+
# Request-specific options
|
6011
|
+
#
|
6012
|
+
# @yield [result, err] Result & error if block supplied
|
6013
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
6014
|
+
# @yieldparam err [StandardError] error object if request failed
|
6015
|
+
#
|
6016
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
6017
|
+
#
|
6018
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6019
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6020
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6021
|
+
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)
|
6022
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
6023
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
6024
|
+
command.request_object = google_cloud_apigee_v1_trace_config_override_object
|
6025
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
6026
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
6027
|
+
command.params['name'] = name unless name.nil?
|
6028
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
6029
|
+
command.query['fields'] = fields unless fields.nil?
|
6030
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6031
|
+
execute_or_queue_command(command, &block)
|
6032
|
+
end
|
6033
|
+
|
5781
6034
|
# Submit a query at host level to be processed in the background. If the
|
5782
6035
|
# submission of the query succeeds, the API returns a 201 status and an ID that
|
5783
6036
|
# refer to the query. In addition to the HTTP status 201, the `state` of "
|
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.
|
4
|
+
version: 0.5.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-
|
11
|
+
date: 2021-03-08 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.5.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: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Apigee API V1
|