google-apis-apigee_v1 0.3.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210206"
25
+ REVISION = "20210319"
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
@@ -1740,6 +1784,36 @@ module Google
1740
1784
  end
1741
1785
  end
1742
1786
 
1787
+ class GoogleCloudApigeeV1GraphQlOperation
1788
+ # @private
1789
+ class Representation < Google::Apis::Core::JsonRepresentation
1790
+ property :operation, as: 'operation'
1791
+ collection :operation_types, as: 'operationTypes'
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
+
1743
1817
  class GoogleCloudApigeeV1IngressConfig
1744
1818
  # @private
1745
1819
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2027,6 +2101,15 @@ module Google
2027
2101
  end
2028
2102
  end
2029
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
+
2030
2113
  class GoogleCloudApigeeV1Metadata
2031
2114
  # @private
2032
2115
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2131,6 +2214,7 @@ module Google
2131
2214
  property :description, as: 'description'
2132
2215
  property :display_name, as: 'displayName'
2133
2216
  collection :environments, as: 'environments'
2217
+ property :expires_at, :numeric_string => true, as: 'expiresAt'
2134
2218
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
2135
2219
  property :name, as: 'name'
2136
2220
  property :project_id, as: 'projectId'
@@ -2606,6 +2690,34 @@ module Google
2606
2690
  end
2607
2691
  end
2608
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
+
2609
2721
  class GoogleCloudApigeeV1UpdateError
2610
2722
  # @private
2611
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
- # Get started using the APIs. *Note:* This product is available as a free trial
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, do the following: * Set the `format`
1259
- # query parameter to `bundle`. * Set the `Accept` header to `application/zip`.
1260
- # If you are using curl, specify `-o filename.zip` to save the output to a file;
1261
- # otherwise, it displays to `stdout`. Then, develop the API proxy configuration
1262
- # locally and upload the updated API proxy configuration revision, as described
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,15 +3661,58 @@ module Google
3632
3661
  execute_or_queue_command(command, &block)
3633
3662
  end
3634
3663
 
3635
- # Get a list of metrics and dimensions which can be used for creating analytics
3636
- # queries and reports. Each schema element contains the name of the field with
3637
- # its associated type and if it is either custom field or standard field.
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.
3638
3667
  # @param [String] name
3639
- # Required. The parent organization and environment names. Must be of the form `
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
+
3703
+ # Gets a list of metrics and dimensions that can be used to create analytics
3704
+ # queries and reports. Each schema element contains the name of the field, its
3705
+ # associated type, and a flag indicating whether it is a standard or custom
3706
+ # field.
3707
+ # @param [String] name
3708
+ # Required. Path to the schema. Use the following structure in your request: `
3640
3709
  # organizations/`org`/environments/`env`/analytics/admin/schemav2`.
3710
+ # @param [Boolean] disable_cache
3711
+ # Flag that specifies whether the schema is be read from the database or cache.
3712
+ # Set to `true` to read the schema from the database. Defaults to cache.
3641
3713
  # @param [String] type
3642
- # Required. Type refers to the dataset name whose schema needs to be retrieved E.
3643
- # g. type=fact or type=agg_cus1
3714
+ # Required. Name of the dataset for which you want to retrieve the schema. For
3715
+ # example: `fact` or `agg_cus1`
3644
3716
  # @param [String] fields
3645
3717
  # Selector specifying which fields to include in a partial response.
3646
3718
  # @param [String] quota_user
@@ -3658,11 +3730,12 @@ module Google
3658
3730
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3659
3731
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3660
3732
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3661
- def get_organization_environment_analytic_admin_schemav2(name, type: nil, fields: nil, quota_user: nil, options: nil, &block)
3733
+ def get_organization_environment_analytic_admin_schemav2(name, disable_cache: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
3662
3734
  command = make_simple_command(:get, 'v1/{+name}', options)
3663
3735
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Schema::Representation
3664
3736
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Schema
3665
3737
  command.params['name'] = name unless name.nil?
3738
+ command.query['disableCache'] = disable_cache unless disable_cache.nil?
3666
3739
  command.query['type'] = type unless type.nil?
3667
3740
  command.query['fields'] = fields unless fields.nil?
3668
3741
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -3816,21 +3889,23 @@ module Google
3816
3889
  # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
3817
3890
  # @param [Boolean] override
3818
3891
  # Flag that specifies whether the new deployment replaces other deployed
3819
- # revisions of the API proxy in the environment. Set override to true to replace
3820
- # other deployed revisions. By default, override is false and the deployment is
3821
- # rejected if other revisions of the API proxy are deployed in the environment.
3892
+ # revisions of the API proxy in the environment. Set `override` to `true` to
3893
+ # replace other deployed revisions. By default, `override` is `false` and the
3894
+ # deployment is rejected if other revisions of the API proxy are deployed in the
3895
+ # environment.
3822
3896
  # @param [Boolean] sequenced_rollout
3823
- # If true, a best-effort attempt will be made to roll out the routing rules
3824
- # corresponding to this deployment and the environment changes to add this
3825
- # deployment in a safe order. This reduces the risk of downtime that could be
3826
- # caused by changing the environment group's routing before the new destination
3827
- # for the affected traffic is ready to receive it. This should only be necessary
3828
- # if the new deployment will be capturing traffic from another environment under
3829
- # a shared environment group or if traffic will be rerouted to a different
3830
- # environment due to a basepath removal. The GenerateDeployChangeReport API may
3831
- # be used to examine routing changes before issuing the deployment request, and
3832
- # its response will indicate if a sequenced rollout is recommended for the
3833
- # deployment.
3897
+ # Flag that specifies whether to enable sequenced rollout. If set to `true`, a
3898
+ # best-effort attempt will be made to roll out the routing rules corresponding
3899
+ # to this deployment and the environment changes to add this deployment in a
3900
+ # safe order. This reduces the risk of downtime that could be caused by changing
3901
+ # the environment group's routing before the new destination for the affected
3902
+ # traffic is ready to receive it. This should only be necessary if the new
3903
+ # deployment will be capturing traffic from another environment under a shared
3904
+ # environment group or if traffic will be rerouted to a different environment
3905
+ # due to a base path removal. The [GenerateDeployChangeReport API](
3906
+ # GenerateDeployChangeReport) may be used to examine routing changes before
3907
+ # issuing the deployment request, and its response will indicate if a sequenced
3908
+ # rollout is recommended for the deployment.
3834
3909
  # @param [String] fields
3835
3910
  # Selector specifying which fields to include in a partial response.
3836
3911
  # @param [String] quota_user
@@ -3902,14 +3977,16 @@ module Google
3902
3977
  # Required. Name of the API proxy revision deployment in the following format: `
3903
3978
  # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
3904
3979
  # @param [Boolean] sequenced_rollout
3905
- # If true, a best-effort attempt will be made to remove the environment group
3906
- # routing rules corresponding to this deployment before removing the deployment
3907
- # from the runtime. This is likely to be a rare use case; it is only needed when
3908
- # the intended effect of undeploying this proxy is to cause the traffic it
3909
- # currently handles to be rerouted to some other existing proxy in the
3910
- # environment group. The GenerateUndeployChangeReport API may be used to examine
3911
- # routing changes before issuing the undeployment request, and its response will
3912
- # indicate if a sequenced rollout is recommended for the undeployment.
3980
+ # Flag that specifies whether to enable sequenced rollout. If set to `true`, a
3981
+ # best-effort attempt will be made to remove the environment group routing rules
3982
+ # corresponding to this deployment before removing the deployment from the
3983
+ # runtime. This is likely to be a rare use case; it is only needed when the
3984
+ # intended effect of undeploying this proxy is to cause the traffic it currently
3985
+ # handles to be rerouted to some other existing proxy in the environment group.
3986
+ # The [GenerateUndeployChangeReport API](GenerateUndeployChangeReport) may be
3987
+ # used to examine routing changes before issuing the undeployment request, and
3988
+ # its response will indicate if a sequenced rollout is recommended for the
3989
+ # undeployment.
3913
3990
  # @param [String] fields
3914
3991
  # Selector specifying which fields to include in a partial response.
3915
3992
  # @param [String] quota_user
@@ -5439,12 +5516,11 @@ module Google
5439
5516
  # organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`rev`
5440
5517
  # `
5441
5518
  # @param [Boolean] override
5442
- # Flag that specifies whether to force the deployment of the new revision over
5443
- # the currently deployed revision by overriding conflict checks. If an existing
5444
- # shared flow revision is deployed, to ensure seamless deployment with no
5445
- # downtime, set this parameter to `true`. In this case, hybrid deploys the new
5446
- # revision fully before undeploying the existing revision. If set to `false`,
5447
- # you must undeploy the existing revision before deploying the new revision.
5519
+ # Flag that specifies whether the new deployment replaces other deployed
5520
+ # revisions of the shared flow in the environment. Set `override` to `true` to
5521
+ # replace other deployed revisions. By default, `override` is `false` and the
5522
+ # deployment is rejected if other revisions of the shared flow are deployed in
5523
+ # the environment.
5448
5524
  # @param [String] fields
5449
5525
  # Selector specifying which fields to include in a partial response.
5450
5526
  # @param [String] quota_user
@@ -5776,6 +5852,189 @@ module Google
5776
5852
  execute_or_queue_command(command, &block)
5777
5853
  end
5778
5854
 
5855
+ # Creates a trace configuration override. The response contains a system-
5856
+ # generated UUID, that can be used to view, update, or delete the configuration
5857
+ # override. Use the List API to view the existing trace configuration overrides.
5858
+ # @param [String] parent
5859
+ # Required. Parent resource of the trace configuration override. Use the
5860
+ # following structure in your request. "organizations/*/environments/*/
5861
+ # traceConfig".
5862
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
5863
+ # @param [String] fields
5864
+ # Selector specifying which fields to include in a partial response.
5865
+ # @param [String] quota_user
5866
+ # Available to use for quota purposes for server-side applications. Can be any
5867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5868
+ # @param [Google::Apis::RequestOptions] options
5869
+ # Request-specific options
5870
+ #
5871
+ # @yield [result, err] Result & error if block supplied
5872
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
5873
+ # @yieldparam err [StandardError] error object if request failed
5874
+ #
5875
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
5876
+ #
5877
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5878
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5879
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5880
+ 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)
5881
+ command = make_simple_command(:post, 'v1/{+parent}/overrides', options)
5882
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
5883
+ command.request_object = google_cloud_apigee_v1_trace_config_override_object
5884
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
5885
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
5886
+ command.params['parent'] = parent unless parent.nil?
5887
+ command.query['fields'] = fields unless fields.nil?
5888
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5889
+ execute_or_queue_command(command, &block)
5890
+ end
5891
+
5892
+ # Deletes a distributed trace configuration override.
5893
+ # @param [String] name
5894
+ # Required. Name of the trace configuration override. Use the following
5895
+ # structure in your request: "organizations/*/environments/*/traceConfig/
5896
+ # overrides/*".
5897
+ # @param [String] fields
5898
+ # Selector specifying which fields to include in a partial response.
5899
+ # @param [String] quota_user
5900
+ # Available to use for quota purposes for server-side applications. Can be any
5901
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5902
+ # @param [Google::Apis::RequestOptions] options
5903
+ # Request-specific options
5904
+ #
5905
+ # @yield [result, err] Result & error if block supplied
5906
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
5907
+ # @yieldparam err [StandardError] error object if request failed
5908
+ #
5909
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
5910
+ #
5911
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5912
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5913
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5914
+ def delete_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
5915
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5916
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
5917
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
5918
+ command.params['name'] = name unless name.nil?
5919
+ command.query['fields'] = fields unless fields.nil?
5920
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5921
+ execute_or_queue_command(command, &block)
5922
+ end
5923
+
5924
+ # Gets a trace configuration override.
5925
+ # @param [String] name
5926
+ # Required. Name of the trace configuration override. Use the following
5927
+ # structure in your request: "organizations/*/environments/*/traceConfig/
5928
+ # overrides/*".
5929
+ # @param [String] fields
5930
+ # Selector specifying which fields to include in a partial response.
5931
+ # @param [String] quota_user
5932
+ # Available to use for quota purposes for server-side applications. Can be any
5933
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5934
+ # @param [Google::Apis::RequestOptions] options
5935
+ # Request-specific options
5936
+ #
5937
+ # @yield [result, err] Result & error if block supplied
5938
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
5939
+ # @yieldparam err [StandardError] error object if request failed
5940
+ #
5941
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
5942
+ #
5943
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5944
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5945
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5946
+ def get_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
5947
+ command = make_simple_command(:get, 'v1/{+name}', options)
5948
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
5949
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
5950
+ command.params['name'] = name unless name.nil?
5951
+ command.query['fields'] = fields unless fields.nil?
5952
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5953
+ execute_or_queue_command(command, &block)
5954
+ end
5955
+
5956
+ # Lists all of the distributed trace configuration overrides in an environment.
5957
+ # @param [String] parent
5958
+ # Required. Parent resource of the trace configuration override. Use the
5959
+ # following structure in your request: "organizations/*/environments/*/
5960
+ # traceConfig".
5961
+ # @param [Fixnum] page_size
5962
+ # Maximum number of trace configuration overrides to return. If not specified,
5963
+ # the maximum number returned is 25. The maximum number cannot exceed 100.
5964
+ # @param [String] page_token
5965
+ # A page token, returned from a previous `ListTraceConfigOverrides` call. Token
5966
+ # value that can be used to retrieve the subsequent page. When paginating, all
5967
+ # other parameters provided to `ListTraceConfigOverrides` must match those
5968
+ # specified in the call to obtain the page token.
5969
+ # @param [String] fields
5970
+ # Selector specifying which fields to include in a partial response.
5971
+ # @param [String] quota_user
5972
+ # Available to use for quota purposes for server-side applications. Can be any
5973
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5974
+ # @param [Google::Apis::RequestOptions] options
5975
+ # Request-specific options
5976
+ #
5977
+ # @yield [result, err] Result & error if block supplied
5978
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse] parsed result object
5979
+ # @yieldparam err [StandardError] error object if request failed
5980
+ #
5981
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse]
5982
+ #
5983
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5984
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5985
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5986
+ def list_organization_environment_trace_config_overrides(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5987
+ command = make_simple_command(:get, 'v1/{+parent}/overrides', options)
5988
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse::Representation
5989
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse
5990
+ command.params['parent'] = parent unless parent.nil?
5991
+ command.query['pageSize'] = page_size unless page_size.nil?
5992
+ command.query['pageToken'] = page_token unless page_token.nil?
5993
+ command.query['fields'] = fields unless fields.nil?
5994
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5995
+ execute_or_queue_command(command, &block)
5996
+ end
5997
+
5998
+ # Updates a distributed trace configuration override. Note that the repeated
5999
+ # fields have replace semantics when included in the field mask and that they
6000
+ # will be overwritten by the value of the fields in the request body.
6001
+ # @param [String] name
6002
+ # Required. Name of the trace configuration override. Use the following
6003
+ # structure in your request: "organizations/*/environments/*/traceConfig/
6004
+ # overrides/*".
6005
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
6006
+ # @param [String] update_mask
6007
+ # List of fields to be updated.
6008
+ # @param [String] fields
6009
+ # Selector specifying which fields to include in a partial response.
6010
+ # @param [String] quota_user
6011
+ # Available to use for quota purposes for server-side applications. Can be any
6012
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6013
+ # @param [Google::Apis::RequestOptions] options
6014
+ # Request-specific options
6015
+ #
6016
+ # @yield [result, err] Result & error if block supplied
6017
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
6018
+ # @yieldparam err [StandardError] error object if request failed
6019
+ #
6020
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
6021
+ #
6022
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6023
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6024
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6025
+ 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)
6026
+ command = make_simple_command(:patch, 'v1/{+name}', options)
6027
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
6028
+ command.request_object = google_cloud_apigee_v1_trace_config_override_object
6029
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
6030
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
6031
+ command.params['name'] = name unless name.nil?
6032
+ command.query['updateMask'] = update_mask unless update_mask.nil?
6033
+ command.query['fields'] = fields unless fields.nil?
6034
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6035
+ execute_or_queue_command(command, &block)
6036
+ end
6037
+
5779
6038
  # Submit a query at host level to be processed in the background. If the
5780
6039
  # submission of the query succeeds, the API returns a 201 status and an ID that
5781
6040
  # refer to the query. In addition to the HTTP status 201, the `state` of "
@@ -7208,9 +7467,13 @@ module Google
7208
7467
  execute_or_queue_command(command, &block)
7209
7468
  end
7210
7469
 
7211
- # Gets a revision of a shared flow. If `format=bundle` is passed, it instead
7212
- # outputs a shared flow revision as a ZIP-formatted bundle of code and config
7213
- # files.
7470
+ # Gets a revision of a shared flow. To download the shared flow configuration
7471
+ # bundle for the specified revision as a zip file, set the `format` query
7472
+ # parameter to `bundle`. If you are using curl, specify `-o filename.zip` to
7473
+ # save the output to a file; otherwise, it displays to `stdout`. Then, develop
7474
+ # the shared flow configuration locally and upload the updated sharedFlow
7475
+ # configuration revision, as described in [updateSharedFlowRevision](
7476
+ # updateSharedFlowRevision).
7214
7477
  # @param [String] name
7215
7478
  # Required. The name of the shared flow revision to get. Must be of the form: `
7216
7479
  # organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`