google-analytics-admin-v1alpha 0.23.0 → 0.25.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/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +7 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +499 -1
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +19 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +2548 -34
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +297 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +11 -0
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +6 -1
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +89 -0
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +156 -2
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
@@ -203,7 +203,8 @@ module Google
|
|
203
203
|
credentials: credentials,
|
204
204
|
endpoint: @config.endpoint,
|
205
205
|
channel_args: @config.channel_args,
|
206
|
-
interceptors: @config.interceptors
|
206
|
+
interceptors: @config.interceptors,
|
207
|
+
channel_pool_config: @config.channel_pool
|
207
208
|
)
|
208
209
|
end
|
209
210
|
|
@@ -3518,6 +3519,460 @@ module Google
|
|
3518
3519
|
raise ::Google::Cloud::Error.from_error(e)
|
3519
3520
|
end
|
3520
3521
|
|
3522
|
+
##
|
3523
|
+
# Looks up a single SKAdNetworkConversionValueSchema.
|
3524
|
+
#
|
3525
|
+
# @overload get_sk_ad_network_conversion_value_schema(request, options = nil)
|
3526
|
+
# Pass arguments to `get_sk_ad_network_conversion_value_schema` via a request object, either of type
|
3527
|
+
# {::Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
|
3528
|
+
#
|
3529
|
+
# @param request [::Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest, ::Hash]
|
3530
|
+
# A request object representing the call parameters. Required. To specify no
|
3531
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3532
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3533
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3534
|
+
#
|
3535
|
+
# @overload get_sk_ad_network_conversion_value_schema(name: nil)
|
3536
|
+
# Pass arguments to `get_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
|
3537
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3538
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3539
|
+
#
|
3540
|
+
# @param name [::String]
|
3541
|
+
# Required. The resource name of SKAdNetwork conversion value schema to look
|
3542
|
+
# up. Format:
|
3543
|
+
# properties/\\{property}/dataStreams/\\{dataStream}/sKAdNetworkConversionValueSchema/\\{skadnetwork_conversion_value_schema}
|
3544
|
+
#
|
3545
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3546
|
+
# @yieldparam response [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
|
3547
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3548
|
+
#
|
3549
|
+
# @return [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
|
3550
|
+
#
|
3551
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3552
|
+
#
|
3553
|
+
# @example Basic example
|
3554
|
+
# require "google/analytics/admin/v1alpha"
|
3555
|
+
#
|
3556
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3557
|
+
# client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
3558
|
+
#
|
3559
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3560
|
+
# request = Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest.new
|
3561
|
+
#
|
3562
|
+
# # Call the get_sk_ad_network_conversion_value_schema method.
|
3563
|
+
# result = client.get_sk_ad_network_conversion_value_schema request
|
3564
|
+
#
|
3565
|
+
# # The returned object is of type Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
|
3566
|
+
# p result
|
3567
|
+
#
|
3568
|
+
def get_sk_ad_network_conversion_value_schema request, options = nil
|
3569
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3570
|
+
|
3571
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::GetSKAdNetworkConversionValueSchemaRequest
|
3572
|
+
|
3573
|
+
# Converts hash and nil to an options object
|
3574
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3575
|
+
|
3576
|
+
# Customize the options with defaults
|
3577
|
+
metadata = @config.rpcs.get_sk_ad_network_conversion_value_schema.metadata.to_h
|
3578
|
+
|
3579
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
3580
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3581
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3582
|
+
gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
|
3583
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3584
|
+
|
3585
|
+
header_params = {}
|
3586
|
+
if request.name
|
3587
|
+
header_params["name"] = request.name
|
3588
|
+
end
|
3589
|
+
|
3590
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3591
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3592
|
+
|
3593
|
+
options.apply_defaults timeout: @config.rpcs.get_sk_ad_network_conversion_value_schema.timeout,
|
3594
|
+
metadata: metadata,
|
3595
|
+
retry_policy: @config.rpcs.get_sk_ad_network_conversion_value_schema.retry_policy
|
3596
|
+
|
3597
|
+
options.apply_defaults timeout: @config.timeout,
|
3598
|
+
metadata: @config.metadata,
|
3599
|
+
retry_policy: @config.retry_policy
|
3600
|
+
|
3601
|
+
@analytics_admin_service_stub.call_rpc :get_sk_ad_network_conversion_value_schema, request, options: options do |response, operation|
|
3602
|
+
yield response, operation if block_given?
|
3603
|
+
return response
|
3604
|
+
end
|
3605
|
+
rescue ::GRPC::BadStatus => e
|
3606
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3607
|
+
end
|
3608
|
+
|
3609
|
+
##
|
3610
|
+
# Creates a SKAdNetworkConversionValueSchema.
|
3611
|
+
#
|
3612
|
+
# @overload create_sk_ad_network_conversion_value_schema(request, options = nil)
|
3613
|
+
# Pass arguments to `create_sk_ad_network_conversion_value_schema` via a request object, either of type
|
3614
|
+
# {::Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
|
3615
|
+
#
|
3616
|
+
# @param request [::Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest, ::Hash]
|
3617
|
+
# A request object representing the call parameters. Required. To specify no
|
3618
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3619
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3620
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3621
|
+
#
|
3622
|
+
# @overload create_sk_ad_network_conversion_value_schema(parent: nil, skadnetwork_conversion_value_schema: nil)
|
3623
|
+
# Pass arguments to `create_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
|
3624
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3625
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3626
|
+
#
|
3627
|
+
# @param parent [::String]
|
3628
|
+
# Required. The parent resource where this schema will be created.
|
3629
|
+
# Format: properties/\\{property}/dataStreams/\\{dataStream}
|
3630
|
+
# @param skadnetwork_conversion_value_schema [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema, ::Hash]
|
3631
|
+
# Required. SKAdNetwork conversion value schema to create.
|
3632
|
+
#
|
3633
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3634
|
+
# @yieldparam response [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
|
3635
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3636
|
+
#
|
3637
|
+
# @return [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
|
3638
|
+
#
|
3639
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3640
|
+
#
|
3641
|
+
# @example Basic example
|
3642
|
+
# require "google/analytics/admin/v1alpha"
|
3643
|
+
#
|
3644
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3645
|
+
# client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
3646
|
+
#
|
3647
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3648
|
+
# request = Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest.new
|
3649
|
+
#
|
3650
|
+
# # Call the create_sk_ad_network_conversion_value_schema method.
|
3651
|
+
# result = client.create_sk_ad_network_conversion_value_schema request
|
3652
|
+
#
|
3653
|
+
# # The returned object is of type Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
|
3654
|
+
# p result
|
3655
|
+
#
|
3656
|
+
def create_sk_ad_network_conversion_value_schema request, options = nil
|
3657
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3658
|
+
|
3659
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::CreateSKAdNetworkConversionValueSchemaRequest
|
3660
|
+
|
3661
|
+
# Converts hash and nil to an options object
|
3662
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3663
|
+
|
3664
|
+
# Customize the options with defaults
|
3665
|
+
metadata = @config.rpcs.create_sk_ad_network_conversion_value_schema.metadata.to_h
|
3666
|
+
|
3667
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
3668
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3669
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3670
|
+
gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
|
3671
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3672
|
+
|
3673
|
+
header_params = {}
|
3674
|
+
if request.parent
|
3675
|
+
header_params["parent"] = request.parent
|
3676
|
+
end
|
3677
|
+
|
3678
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3679
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3680
|
+
|
3681
|
+
options.apply_defaults timeout: @config.rpcs.create_sk_ad_network_conversion_value_schema.timeout,
|
3682
|
+
metadata: metadata,
|
3683
|
+
retry_policy: @config.rpcs.create_sk_ad_network_conversion_value_schema.retry_policy
|
3684
|
+
|
3685
|
+
options.apply_defaults timeout: @config.timeout,
|
3686
|
+
metadata: @config.metadata,
|
3687
|
+
retry_policy: @config.retry_policy
|
3688
|
+
|
3689
|
+
@analytics_admin_service_stub.call_rpc :create_sk_ad_network_conversion_value_schema, request, options: options do |response, operation|
|
3690
|
+
yield response, operation if block_given?
|
3691
|
+
return response
|
3692
|
+
end
|
3693
|
+
rescue ::GRPC::BadStatus => e
|
3694
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3695
|
+
end
|
3696
|
+
|
3697
|
+
##
|
3698
|
+
# Deletes target SKAdNetworkConversionValueSchema.
|
3699
|
+
#
|
3700
|
+
# @overload delete_sk_ad_network_conversion_value_schema(request, options = nil)
|
3701
|
+
# Pass arguments to `delete_sk_ad_network_conversion_value_schema` via a request object, either of type
|
3702
|
+
# {::Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
|
3703
|
+
#
|
3704
|
+
# @param request [::Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest, ::Hash]
|
3705
|
+
# A request object representing the call parameters. Required. To specify no
|
3706
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3707
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3708
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3709
|
+
#
|
3710
|
+
# @overload delete_sk_ad_network_conversion_value_schema(name: nil)
|
3711
|
+
# Pass arguments to `delete_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
|
3712
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3713
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3714
|
+
#
|
3715
|
+
# @param name [::String]
|
3716
|
+
# Required. The name of the SKAdNetworkConversionValueSchema to delete.
|
3717
|
+
# Format:
|
3718
|
+
# properties/\\{property}/dataStreams/\\{dataStream}/sKAdNetworkConversionValueSchema/\\{skadnetwork_conversion_value_schema}
|
3719
|
+
#
|
3720
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3721
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
3722
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3723
|
+
#
|
3724
|
+
# @return [::Google::Protobuf::Empty]
|
3725
|
+
#
|
3726
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3727
|
+
#
|
3728
|
+
# @example Basic example
|
3729
|
+
# require "google/analytics/admin/v1alpha"
|
3730
|
+
#
|
3731
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3732
|
+
# client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
3733
|
+
#
|
3734
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3735
|
+
# request = Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest.new
|
3736
|
+
#
|
3737
|
+
# # Call the delete_sk_ad_network_conversion_value_schema method.
|
3738
|
+
# result = client.delete_sk_ad_network_conversion_value_schema request
|
3739
|
+
#
|
3740
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
3741
|
+
# p result
|
3742
|
+
#
|
3743
|
+
def delete_sk_ad_network_conversion_value_schema request, options = nil
|
3744
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3745
|
+
|
3746
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::DeleteSKAdNetworkConversionValueSchemaRequest
|
3747
|
+
|
3748
|
+
# Converts hash and nil to an options object
|
3749
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3750
|
+
|
3751
|
+
# Customize the options with defaults
|
3752
|
+
metadata = @config.rpcs.delete_sk_ad_network_conversion_value_schema.metadata.to_h
|
3753
|
+
|
3754
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
3755
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3756
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3757
|
+
gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
|
3758
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3759
|
+
|
3760
|
+
header_params = {}
|
3761
|
+
if request.name
|
3762
|
+
header_params["name"] = request.name
|
3763
|
+
end
|
3764
|
+
|
3765
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3766
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3767
|
+
|
3768
|
+
options.apply_defaults timeout: @config.rpcs.delete_sk_ad_network_conversion_value_schema.timeout,
|
3769
|
+
metadata: metadata,
|
3770
|
+
retry_policy: @config.rpcs.delete_sk_ad_network_conversion_value_schema.retry_policy
|
3771
|
+
|
3772
|
+
options.apply_defaults timeout: @config.timeout,
|
3773
|
+
metadata: @config.metadata,
|
3774
|
+
retry_policy: @config.retry_policy
|
3775
|
+
|
3776
|
+
@analytics_admin_service_stub.call_rpc :delete_sk_ad_network_conversion_value_schema, request, options: options do |response, operation|
|
3777
|
+
yield response, operation if block_given?
|
3778
|
+
return response
|
3779
|
+
end
|
3780
|
+
rescue ::GRPC::BadStatus => e
|
3781
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3782
|
+
end
|
3783
|
+
|
3784
|
+
##
|
3785
|
+
# Updates a SKAdNetworkConversionValueSchema.
|
3786
|
+
#
|
3787
|
+
# @overload update_sk_ad_network_conversion_value_schema(request, options = nil)
|
3788
|
+
# Pass arguments to `update_sk_ad_network_conversion_value_schema` via a request object, either of type
|
3789
|
+
# {::Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest} or an equivalent Hash.
|
3790
|
+
#
|
3791
|
+
# @param request [::Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest, ::Hash]
|
3792
|
+
# A request object representing the call parameters. Required. To specify no
|
3793
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3794
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3795
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3796
|
+
#
|
3797
|
+
# @overload update_sk_ad_network_conversion_value_schema(skadnetwork_conversion_value_schema: nil, update_mask: nil)
|
3798
|
+
# Pass arguments to `update_sk_ad_network_conversion_value_schema` via keyword arguments. Note that at
|
3799
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3800
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3801
|
+
#
|
3802
|
+
# @param skadnetwork_conversion_value_schema [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema, ::Hash]
|
3803
|
+
# Required. SKAdNetwork conversion value schema to update.
|
3804
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
3805
|
+
# Required. The list of fields to be updated. Omitted fields will not be
|
3806
|
+
# updated.
|
3807
|
+
#
|
3808
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3809
|
+
# @yieldparam response [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
|
3810
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3811
|
+
#
|
3812
|
+
# @return [::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema]
|
3813
|
+
#
|
3814
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3815
|
+
#
|
3816
|
+
# @example Basic example
|
3817
|
+
# require "google/analytics/admin/v1alpha"
|
3818
|
+
#
|
3819
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3820
|
+
# client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
3821
|
+
#
|
3822
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3823
|
+
# request = Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest.new
|
3824
|
+
#
|
3825
|
+
# # Call the update_sk_ad_network_conversion_value_schema method.
|
3826
|
+
# result = client.update_sk_ad_network_conversion_value_schema request
|
3827
|
+
#
|
3828
|
+
# # The returned object is of type Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
|
3829
|
+
# p result
|
3830
|
+
#
|
3831
|
+
def update_sk_ad_network_conversion_value_schema request, options = nil
|
3832
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3833
|
+
|
3834
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::UpdateSKAdNetworkConversionValueSchemaRequest
|
3835
|
+
|
3836
|
+
# Converts hash and nil to an options object
|
3837
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3838
|
+
|
3839
|
+
# Customize the options with defaults
|
3840
|
+
metadata = @config.rpcs.update_sk_ad_network_conversion_value_schema.metadata.to_h
|
3841
|
+
|
3842
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
3843
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3844
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3845
|
+
gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
|
3846
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3847
|
+
|
3848
|
+
header_params = {}
|
3849
|
+
if request.skadnetwork_conversion_value_schema&.name
|
3850
|
+
header_params["skadnetwork_conversion_value_schema.name"] = request.skadnetwork_conversion_value_schema.name
|
3851
|
+
end
|
3852
|
+
|
3853
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3854
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3855
|
+
|
3856
|
+
options.apply_defaults timeout: @config.rpcs.update_sk_ad_network_conversion_value_schema.timeout,
|
3857
|
+
metadata: metadata,
|
3858
|
+
retry_policy: @config.rpcs.update_sk_ad_network_conversion_value_schema.retry_policy
|
3859
|
+
|
3860
|
+
options.apply_defaults timeout: @config.timeout,
|
3861
|
+
metadata: @config.metadata,
|
3862
|
+
retry_policy: @config.retry_policy
|
3863
|
+
|
3864
|
+
@analytics_admin_service_stub.call_rpc :update_sk_ad_network_conversion_value_schema, request, options: options do |response, operation|
|
3865
|
+
yield response, operation if block_given?
|
3866
|
+
return response
|
3867
|
+
end
|
3868
|
+
rescue ::GRPC::BadStatus => e
|
3869
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3870
|
+
end
|
3871
|
+
|
3872
|
+
##
|
3873
|
+
# Lists SKAdNetworkConversionValueSchema on a stream.
|
3874
|
+
# Properties can have at most one SKAdNetworkConversionValueSchema.
|
3875
|
+
#
|
3876
|
+
# @overload list_sk_ad_network_conversion_value_schemas(request, options = nil)
|
3877
|
+
# Pass arguments to `list_sk_ad_network_conversion_value_schemas` via a request object, either of type
|
3878
|
+
# {::Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest} or an equivalent Hash.
|
3879
|
+
#
|
3880
|
+
# @param request [::Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest, ::Hash]
|
3881
|
+
# A request object representing the call parameters. Required. To specify no
|
3882
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3883
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3884
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3885
|
+
#
|
3886
|
+
# @overload list_sk_ad_network_conversion_value_schemas(parent: nil, page_size: nil, page_token: nil)
|
3887
|
+
# Pass arguments to `list_sk_ad_network_conversion_value_schemas` via keyword arguments. Note that at
|
3888
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3889
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3890
|
+
#
|
3891
|
+
# @param parent [::String]
|
3892
|
+
# Required. Format:
|
3893
|
+
# properties/\\{property_id}/dataStreams/\\{dataStream}/sKAdNetworkConversionValueSchema
|
3894
|
+
# Example: properties/1234/dataStreams/5678/sKAdNetworkConversionValueSchema
|
3895
|
+
# @param page_size [::Integer]
|
3896
|
+
# The maximum number of resources to return. The service may return
|
3897
|
+
# fewer than this value, even if there are additional pages.
|
3898
|
+
# If unspecified, at most 50 resources will be returned.
|
3899
|
+
# The maximum value is 200; (higher values will be coerced to the maximum)
|
3900
|
+
# @param page_token [::String]
|
3901
|
+
# A page token, received from a previous
|
3902
|
+
# `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
|
3903
|
+
# subsequent page. When paginating, all other parameters provided to
|
3904
|
+
# `ListSKAdNetworkConversionValueSchema` must match the call that provided
|
3905
|
+
# the page token.
|
3906
|
+
#
|
3907
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3908
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema>]
|
3909
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3910
|
+
#
|
3911
|
+
# @return [::Gapic::PagedEnumerable<::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema>]
|
3912
|
+
#
|
3913
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3914
|
+
#
|
3915
|
+
# @example Basic example
|
3916
|
+
# require "google/analytics/admin/v1alpha"
|
3917
|
+
#
|
3918
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3919
|
+
# client = Google::Analytics::Admin::V1alpha::AnalyticsAdminService::Client.new
|
3920
|
+
#
|
3921
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3922
|
+
# request = Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest.new
|
3923
|
+
#
|
3924
|
+
# # Call the list_sk_ad_network_conversion_value_schemas method.
|
3925
|
+
# result = client.list_sk_ad_network_conversion_value_schemas request
|
3926
|
+
#
|
3927
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
3928
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
3929
|
+
# result.each do |item|
|
3930
|
+
# # Each element is of type ::Google::Analytics::Admin::V1alpha::SKAdNetworkConversionValueSchema.
|
3931
|
+
# p item
|
3932
|
+
# end
|
3933
|
+
#
|
3934
|
+
def list_sk_ad_network_conversion_value_schemas request, options = nil
|
3935
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3936
|
+
|
3937
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Analytics::Admin::V1alpha::ListSKAdNetworkConversionValueSchemasRequest
|
3938
|
+
|
3939
|
+
# Converts hash and nil to an options object
|
3940
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3941
|
+
|
3942
|
+
# Customize the options with defaults
|
3943
|
+
metadata = @config.rpcs.list_sk_ad_network_conversion_value_schemas.metadata.to_h
|
3944
|
+
|
3945
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
3946
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3947
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3948
|
+
gapic_version: ::Google::Analytics::Admin::V1alpha::VERSION
|
3949
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3950
|
+
|
3951
|
+
header_params = {}
|
3952
|
+
if request.parent
|
3953
|
+
header_params["parent"] = request.parent
|
3954
|
+
end
|
3955
|
+
|
3956
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3957
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3958
|
+
|
3959
|
+
options.apply_defaults timeout: @config.rpcs.list_sk_ad_network_conversion_value_schemas.timeout,
|
3960
|
+
metadata: metadata,
|
3961
|
+
retry_policy: @config.rpcs.list_sk_ad_network_conversion_value_schemas.retry_policy
|
3962
|
+
|
3963
|
+
options.apply_defaults timeout: @config.timeout,
|
3964
|
+
metadata: @config.metadata,
|
3965
|
+
retry_policy: @config.retry_policy
|
3966
|
+
|
3967
|
+
@analytics_admin_service_stub.call_rpc :list_sk_ad_network_conversion_value_schemas, request, options: options do |response, operation|
|
3968
|
+
response = ::Gapic::PagedEnumerable.new @analytics_admin_service_stub, :list_sk_ad_network_conversion_value_schemas, request, response, operation, options
|
3969
|
+
yield response, operation if block_given?
|
3970
|
+
return response
|
3971
|
+
end
|
3972
|
+
rescue ::GRPC::BadStatus => e
|
3973
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3974
|
+
end
|
3975
|
+
|
3521
3976
|
##
|
3522
3977
|
# Searches through all changes to an account or its children given the
|
3523
3978
|
# specified set of filters.
|
@@ -11561,6 +12016,14 @@ module Google
|
|
11561
12016
|
end
|
11562
12017
|
end
|
11563
12018
|
|
12019
|
+
##
|
12020
|
+
# Configuration for the channel pool
|
12021
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
12022
|
+
#
|
12023
|
+
def channel_pool
|
12024
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
12025
|
+
end
|
12026
|
+
|
11564
12027
|
##
|
11565
12028
|
# Configuration RPC class for the AnalyticsAdminService API.
|
11566
12029
|
#
|
@@ -11760,6 +12223,31 @@ module Google
|
|
11760
12223
|
#
|
11761
12224
|
attr_reader :acknowledge_user_data_collection
|
11762
12225
|
##
|
12226
|
+
# RPC-specific configuration for `get_sk_ad_network_conversion_value_schema`
|
12227
|
+
# @return [::Gapic::Config::Method]
|
12228
|
+
#
|
12229
|
+
attr_reader :get_sk_ad_network_conversion_value_schema
|
12230
|
+
##
|
12231
|
+
# RPC-specific configuration for `create_sk_ad_network_conversion_value_schema`
|
12232
|
+
# @return [::Gapic::Config::Method]
|
12233
|
+
#
|
12234
|
+
attr_reader :create_sk_ad_network_conversion_value_schema
|
12235
|
+
##
|
12236
|
+
# RPC-specific configuration for `delete_sk_ad_network_conversion_value_schema`
|
12237
|
+
# @return [::Gapic::Config::Method]
|
12238
|
+
#
|
12239
|
+
attr_reader :delete_sk_ad_network_conversion_value_schema
|
12240
|
+
##
|
12241
|
+
# RPC-specific configuration for `update_sk_ad_network_conversion_value_schema`
|
12242
|
+
# @return [::Gapic::Config::Method]
|
12243
|
+
#
|
12244
|
+
attr_reader :update_sk_ad_network_conversion_value_schema
|
12245
|
+
##
|
12246
|
+
# RPC-specific configuration for `list_sk_ad_network_conversion_value_schemas`
|
12247
|
+
# @return [::Gapic::Config::Method]
|
12248
|
+
#
|
12249
|
+
attr_reader :list_sk_ad_network_conversion_value_schemas
|
12250
|
+
##
|
11763
12251
|
# RPC-specific configuration for `search_change_history_events`
|
11764
12252
|
# @return [::Gapic::Config::Method]
|
11765
12253
|
#
|
@@ -12269,6 +12757,16 @@ module Google
|
|
12269
12757
|
@update_measurement_protocol_secret = ::Gapic::Config::Method.new update_measurement_protocol_secret_config
|
12270
12758
|
acknowledge_user_data_collection_config = parent_rpcs.acknowledge_user_data_collection if parent_rpcs.respond_to? :acknowledge_user_data_collection
|
12271
12759
|
@acknowledge_user_data_collection = ::Gapic::Config::Method.new acknowledge_user_data_collection_config
|
12760
|
+
get_sk_ad_network_conversion_value_schema_config = parent_rpcs.get_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :get_sk_ad_network_conversion_value_schema
|
12761
|
+
@get_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new get_sk_ad_network_conversion_value_schema_config
|
12762
|
+
create_sk_ad_network_conversion_value_schema_config = parent_rpcs.create_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :create_sk_ad_network_conversion_value_schema
|
12763
|
+
@create_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new create_sk_ad_network_conversion_value_schema_config
|
12764
|
+
delete_sk_ad_network_conversion_value_schema_config = parent_rpcs.delete_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :delete_sk_ad_network_conversion_value_schema
|
12765
|
+
@delete_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new delete_sk_ad_network_conversion_value_schema_config
|
12766
|
+
update_sk_ad_network_conversion_value_schema_config = parent_rpcs.update_sk_ad_network_conversion_value_schema if parent_rpcs.respond_to? :update_sk_ad_network_conversion_value_schema
|
12767
|
+
@update_sk_ad_network_conversion_value_schema = ::Gapic::Config::Method.new update_sk_ad_network_conversion_value_schema_config
|
12768
|
+
list_sk_ad_network_conversion_value_schemas_config = parent_rpcs.list_sk_ad_network_conversion_value_schemas if parent_rpcs.respond_to? :list_sk_ad_network_conversion_value_schemas
|
12769
|
+
@list_sk_ad_network_conversion_value_schemas = ::Gapic::Config::Method.new list_sk_ad_network_conversion_value_schemas_config
|
12272
12770
|
search_change_history_events_config = parent_rpcs.search_change_history_events if parent_rpcs.respond_to? :search_change_history_events
|
12273
12771
|
@search_change_history_events = ::Gapic::Config::Method.new search_change_history_events_config
|
12274
12772
|
get_google_signals_settings_config = parent_rpcs.get_google_signals_settings if parent_rpcs.respond_to? :get_google_signals_settings
|
@@ -440,6 +440,25 @@ module Google
|
|
440
440
|
"properties/#{property}"
|
441
441
|
end
|
442
442
|
|
443
|
+
##
|
444
|
+
# Create a fully-qualified SKAdNetworkConversionValueSchema resource string.
|
445
|
+
#
|
446
|
+
# The resource will be in the following format:
|
447
|
+
#
|
448
|
+
# `properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}`
|
449
|
+
#
|
450
|
+
# @param property [String]
|
451
|
+
# @param data_stream [String]
|
452
|
+
# @param skadnetwork_conversion_value_schema [String]
|
453
|
+
#
|
454
|
+
# @return [::String]
|
455
|
+
def sk_ad_network_conversion_value_schema_path property:, data_stream:, skadnetwork_conversion_value_schema:
|
456
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
457
|
+
raise ::ArgumentError, "data_stream cannot contain /" if data_stream.to_s.include? "/"
|
458
|
+
|
459
|
+
"properties/#{property}/dataStreams/#{data_stream}/sKAdNetworkConversionValueSchema/#{skadnetwork_conversion_value_schema}"
|
460
|
+
end
|
461
|
+
|
443
462
|
##
|
444
463
|
# Create a fully-qualified SearchAds360Link resource string.
|
445
464
|
#
|