google-apis-analyticsadmin_v1alpha 0.63.0 → 0.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -97,7 +97,7 @@ module Google
97
97
  # does not have a method to restore soft-deleted accounts. However, they can be
98
98
  # restored using the Trash Can UI. If the accounts are not restored before the
99
99
  # expiration time, the account and all child resources (eg: Properties,
100
- # GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://
100
+ # GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://
101
101
  # support.google.com/analytics/answer/6154772 Returns an error if the target is
102
102
  # not found.
103
103
  # @param [String] name
@@ -706,299 +706,12 @@ module Google
706
706
  execute_or_queue_command(command, &block)
707
707
  end
708
708
 
709
- # Lists all user links on an account or property, including implicit ones that
710
- # come from effective permissions granted by groups or organization admin roles.
711
- # If a returned user link does not have direct permissions, they cannot be
712
- # removed from the account or property directly with the DeleteUserLink command.
713
- # They have to be removed from the group/etc that gives them permissions, which
714
- # is currently only usable/discoverable in the GA or GMP UIs.
715
- # @param [String] parent
716
- # Required. Example format: accounts/1234
717
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
718
- # @param [String] fields
719
- # Selector specifying which fields to include in a partial response.
720
- # @param [String] quota_user
721
- # Available to use for quota purposes for server-side applications. Can be any
722
- # arbitrary string assigned to a user, but should not exceed 40 characters.
723
- # @param [Google::Apis::RequestOptions] options
724
- # Request-specific options
725
- #
726
- # @yield [result, err] Result & error if block supplied
727
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
728
- # @yieldparam err [StandardError] error object if request failed
729
- #
730
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
731
- #
732
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
733
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
734
- # @raise [Google::Apis::AuthorizationError] Authorization is required
735
- def audit_account_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
736
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
737
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
738
- command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
739
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
740
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
741
- command.params['parent'] = parent unless parent.nil?
742
- command.query['fields'] = fields unless fields.nil?
743
- command.query['quotaUser'] = quota_user unless quota_user.nil?
744
- execute_or_queue_command(command, &block)
745
- end
746
-
747
- # Creates information about multiple users' links to an account or property.
748
- # This method is transactional. If any UserLink cannot be created, none of the
749
- # UserLinks will be created.
750
- # @param [String] parent
751
- # Required. The account or property that all user links in the request are for.
752
- # This field is required. The parent field in the CreateUserLinkRequest messages
753
- # must either be empty or match this field. Example format: accounts/1234
754
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
755
- # @param [String] fields
756
- # Selector specifying which fields to include in a partial response.
757
- # @param [String] quota_user
758
- # Available to use for quota purposes for server-side applications. Can be any
759
- # arbitrary string assigned to a user, but should not exceed 40 characters.
760
- # @param [Google::Apis::RequestOptions] options
761
- # Request-specific options
762
- #
763
- # @yield [result, err] Result & error if block supplied
764
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
765
- # @yieldparam err [StandardError] error object if request failed
766
- #
767
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
768
- #
769
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
770
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
771
- # @raise [Google::Apis::AuthorizationError] Authorization is required
772
- def batch_account_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
773
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
774
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
775
- command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
776
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
777
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
778
- command.params['parent'] = parent unless parent.nil?
779
- command.query['fields'] = fields unless fields.nil?
780
- command.query['quotaUser'] = quota_user unless quota_user.nil?
781
- execute_or_queue_command(command, &block)
782
- end
783
-
784
- # Deletes information about multiple users' links to an account or property.
785
- # @param [String] parent
786
- # Required. The account or property that all user links in the request are for.
787
- # The parent of all values for user link names to delete must match this field.
788
- # Example format: accounts/1234
789
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
790
- # @param [String] fields
791
- # Selector specifying which fields to include in a partial response.
792
- # @param [String] quota_user
793
- # Available to use for quota purposes for server-side applications. Can be any
794
- # arbitrary string assigned to a user, but should not exceed 40 characters.
795
- # @param [Google::Apis::RequestOptions] options
796
- # Request-specific options
797
- #
798
- # @yield [result, err] Result & error if block supplied
799
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
800
- # @yieldparam err [StandardError] error object if request failed
801
- #
802
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
803
- #
804
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
805
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
806
- # @raise [Google::Apis::AuthorizationError] Authorization is required
807
- def batch_account_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
808
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
809
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
810
- command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
811
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
812
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
813
- command.params['parent'] = parent unless parent.nil?
814
- command.query['fields'] = fields unless fields.nil?
815
- command.query['quotaUser'] = quota_user unless quota_user.nil?
816
- execute_or_queue_command(command, &block)
817
- end
818
-
819
- # Gets information about multiple users' links to an account or property.
820
- # @param [String] parent
821
- # Required. The account or property that all user links in the request are for.
822
- # The parent of all provided values for the 'names' field must match this field.
823
- # Example format: accounts/1234
824
- # @param [Array<String>, String] names
825
- # Required. The names of the user links to retrieve. A maximum of 1000 user
826
- # links can be retrieved in a batch. Format: accounts/`accountId`/userLinks/`
827
- # userLinkId`
828
- # @param [String] fields
829
- # Selector specifying which fields to include in a partial response.
830
- # @param [String] quota_user
831
- # Available to use for quota purposes for server-side applications. Can be any
832
- # arbitrary string assigned to a user, but should not exceed 40 characters.
833
- # @param [Google::Apis::RequestOptions] options
834
- # Request-specific options
835
- #
836
- # @yield [result, err] Result & error if block supplied
837
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse] parsed result object
838
- # @yieldparam err [StandardError] error object if request failed
839
- #
840
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse]
841
- #
842
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
843
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
844
- # @raise [Google::Apis::AuthorizationError] Authorization is required
845
- def batch_account_user_link_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
846
- command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks:batchGet', options)
847
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse::Representation
848
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
849
- command.params['parent'] = parent unless parent.nil?
850
- command.query['names'] = names unless names.nil?
851
- command.query['fields'] = fields unless fields.nil?
852
- command.query['quotaUser'] = quota_user unless quota_user.nil?
853
- execute_or_queue_command(command, &block)
854
- end
855
-
856
- # Updates information about multiple users' links to an account or property.
857
- # @param [String] parent
858
- # Required. The account or property that all user links in the request are for.
859
- # The parent field in the UpdateUserLinkRequest messages must either be empty or
860
- # match this field. Example format: accounts/1234
861
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest] google_analytics_admin_v1alpha_batch_update_user_links_request_object
862
- # @param [String] fields
863
- # Selector specifying which fields to include in a partial response.
864
- # @param [String] quota_user
865
- # Available to use for quota purposes for server-side applications. Can be any
866
- # arbitrary string assigned to a user, but should not exceed 40 characters.
867
- # @param [Google::Apis::RequestOptions] options
868
- # Request-specific options
869
- #
870
- # @yield [result, err] Result & error if block supplied
871
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse] parsed result object
872
- # @yieldparam err [StandardError] error object if request failed
873
- #
874
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse]
875
- #
876
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
877
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
878
- # @raise [Google::Apis::AuthorizationError] Authorization is required
879
- def batch_account_user_link_update(parent, google_analytics_admin_v1alpha_batch_update_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
880
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchUpdate', options)
881
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest::Representation
882
- command.request_object = google_analytics_admin_v1alpha_batch_update_user_links_request_object
883
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse::Representation
884
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
885
- command.params['parent'] = parent unless parent.nil?
886
- command.query['fields'] = fields unless fields.nil?
887
- command.query['quotaUser'] = quota_user unless quota_user.nil?
888
- execute_or_queue_command(command, &block)
889
- end
890
-
891
- # Creates a user link on an account or property. If the user with the specified
892
- # email already has permissions on the account or property, then the user's
893
- # existing permissions will be unioned with the permissions specified in the new
894
- # UserLink.
895
- # @param [String] parent
896
- # Required. Example format: accounts/1234
897
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
898
- # @param [Boolean] notify_new_user
899
- # Optional. If set, then email the new user notifying them that they've been
900
- # granted permissions to the resource.
901
- # @param [String] fields
902
- # Selector specifying which fields to include in a partial response.
903
- # @param [String] quota_user
904
- # Available to use for quota purposes for server-side applications. Can be any
905
- # arbitrary string assigned to a user, but should not exceed 40 characters.
906
- # @param [Google::Apis::RequestOptions] options
907
- # Request-specific options
908
- #
909
- # @yield [result, err] Result & error if block supplied
910
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
911
- # @yieldparam err [StandardError] error object if request failed
912
- #
913
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
914
- #
915
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
916
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
917
- # @raise [Google::Apis::AuthorizationError] Authorization is required
918
- def create_account_user_link(parent, google_analytics_admin_v1alpha_user_link_object = nil, notify_new_user: nil, fields: nil, quota_user: nil, options: nil, &block)
919
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks', options)
920
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
921
- command.request_object = google_analytics_admin_v1alpha_user_link_object
922
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
923
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
924
- command.params['parent'] = parent unless parent.nil?
925
- command.query['notifyNewUser'] = notify_new_user unless notify_new_user.nil?
926
- command.query['fields'] = fields unless fields.nil?
927
- command.query['quotaUser'] = quota_user unless quota_user.nil?
928
- execute_or_queue_command(command, &block)
929
- end
930
-
931
- # Deletes a user link on an account or property.
932
- # @param [String] name
933
- # Required. Example format: accounts/1234/userLinks/5678
934
- # @param [String] fields
935
- # Selector specifying which fields to include in a partial response.
936
- # @param [String] quota_user
937
- # Available to use for quota purposes for server-side applications. Can be any
938
- # arbitrary string assigned to a user, but should not exceed 40 characters.
939
- # @param [Google::Apis::RequestOptions] options
940
- # Request-specific options
941
- #
942
- # @yield [result, err] Result & error if block supplied
943
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
944
- # @yieldparam err [StandardError] error object if request failed
945
- #
946
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
947
- #
948
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
949
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
950
- # @raise [Google::Apis::AuthorizationError] Authorization is required
951
- def delete_account_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
952
- command = make_simple_command(:delete, 'v1alpha/{+name}', options)
953
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
954
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
955
- command.params['name'] = name unless name.nil?
956
- command.query['fields'] = fields unless fields.nil?
957
- command.query['quotaUser'] = quota_user unless quota_user.nil?
958
- execute_or_queue_command(command, &block)
959
- end
960
-
961
- # Gets information about a user's link to an account or property.
962
- # @param [String] name
963
- # Required. Example format: accounts/1234/userLinks/5678
964
- # @param [String] fields
965
- # Selector specifying which fields to include in a partial response.
966
- # @param [String] quota_user
967
- # Available to use for quota purposes for server-side applications. Can be any
968
- # arbitrary string assigned to a user, but should not exceed 40 characters.
969
- # @param [Google::Apis::RequestOptions] options
970
- # Request-specific options
971
- #
972
- # @yield [result, err] Result & error if block supplied
973
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
974
- # @yieldparam err [StandardError] error object if request failed
975
- #
976
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
977
- #
978
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
979
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
980
- # @raise [Google::Apis::AuthorizationError] Authorization is required
981
- def get_account_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
982
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
983
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
984
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
985
- command.params['name'] = name unless name.nil?
986
- command.query['fields'] = fields unless fields.nil?
987
- command.query['quotaUser'] = quota_user unless quota_user.nil?
988
- execute_or_queue_command(command, &block)
989
- end
990
-
991
- # Lists all user links on an account or property.
992
- # @param [String] parent
993
- # Required. Example format: accounts/1234
994
- # @param [Fixnum] page_size
995
- # The maximum number of user links to return. The service may return fewer than
996
- # this value. If unspecified, at most 200 user links will be returned. The
997
- # maximum value is 500; values above 500 will be coerced to 500.
998
- # @param [String] page_token
999
- # A page token, received from a previous `ListUserLinks` call. Provide this to
1000
- # retrieve the subsequent page. When paginating, all other parameters provided
1001
- # to `ListUserLinks` must match the call that provided the page token.
709
+ # Acknowledges the terms of user data collection for the specified property.
710
+ # This acknowledgement must be completed (either in the Google Analytics UI or
711
+ # through this API) before MeasurementProtocolSecret resources may be created.
712
+ # @param [String] property
713
+ # Required. The property for which to acknowledge user data collection.
714
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest] google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
1002
715
  # @param [String] fields
1003
716
  # Selector specifying which fields to include in a partial response.
1004
717
  # @param [String] quota_user
@@ -1008,30 +721,28 @@ module Google
1008
721
  # Request-specific options
1009
722
  #
1010
723
  # @yield [result, err] Result & error if block supplied
1011
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse] parsed result object
724
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse] parsed result object
1012
725
  # @yieldparam err [StandardError] error object if request failed
1013
726
  #
1014
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse]
727
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse]
1015
728
  #
1016
729
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1017
730
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1018
731
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1019
- def list_account_user_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1020
- command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks', options)
1021
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse::Representation
1022
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse
1023
- command.params['parent'] = parent unless parent.nil?
1024
- command.query['pageSize'] = page_size unless page_size.nil?
1025
- command.query['pageToken'] = page_token unless page_token.nil?
732
+ def acknowledge_property_user_data_collection(property, google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
733
+ command = make_simple_command(:post, 'v1alpha/{+property}:acknowledgeUserDataCollection', options)
734
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest::Representation
735
+ command.request_object = google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
736
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse::Representation
737
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
738
+ command.params['property'] = property unless property.nil?
1026
739
  command.query['fields'] = fields unless fields.nil?
1027
740
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1028
741
  execute_or_queue_command(command, &block)
1029
742
  end
1030
743
 
1031
- # Updates a user link on an account or property.
1032
- # @param [String] name
1033
- # Output only. Example format: properties/1234/userLinks/5678
1034
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
744
+ # Creates an "GA4" property with the specified location and attributes.
745
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
1035
746
  # @param [String] fields
1036
747
  # Selector specifying which fields to include in a partial response.
1037
748
  # @param [String] quota_user
@@ -1041,32 +752,29 @@ module Google
1041
752
  # Request-specific options
1042
753
  #
1043
754
  # @yield [result, err] Result & error if block supplied
1044
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
755
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
1045
756
  # @yieldparam err [StandardError] error object if request failed
1046
757
  #
1047
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
758
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
1048
759
  #
1049
760
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1050
761
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1051
762
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1052
- def patch_account_user_link(name, google_analytics_admin_v1alpha_user_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1053
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1054
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
1055
- command.request_object = google_analytics_admin_v1alpha_user_link_object
1056
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
1057
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
1058
- command.params['name'] = name unless name.nil?
763
+ def create_property(google_analytics_admin_v1alpha_property_object = nil, fields: nil, quota_user: nil, options: nil, &block)
764
+ command = make_simple_command(:post, 'v1alpha/properties', options)
765
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
766
+ command.request_object = google_analytics_admin_v1alpha_property_object
767
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
768
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
1059
769
  command.query['fields'] = fields unless fields.nil?
1060
770
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1061
771
  execute_or_queue_command(command, &block)
1062
772
  end
1063
773
 
1064
- # Acknowledges the terms of user data collection for the specified property.
1065
- # This acknowledgement must be completed (either in the Google Analytics UI or
1066
- # through this API) before MeasurementProtocolSecret resources may be created.
1067
- # @param [String] property
1068
- # Required. The property for which to acknowledge user data collection.
1069
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest] google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
774
+ # Creates a connected site tag for a Universal Analytics property. You can
775
+ # create a maximum of 20 connected site tags per property. Note: This API cannot
776
+ # be used on GA4 properties.
777
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest] google_analytics_admin_v1alpha_create_connected_site_tag_request_object
1070
778
  # @param [String] fields
1071
779
  # Selector specifying which fields to include in a partial response.
1072
780
  # @param [String] quota_user
@@ -1076,28 +784,27 @@ module Google
1076
784
  # Request-specific options
1077
785
  #
1078
786
  # @yield [result, err] Result & error if block supplied
1079
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse] parsed result object
787
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse] parsed result object
1080
788
  # @yieldparam err [StandardError] error object if request failed
1081
789
  #
1082
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse]
790
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse]
1083
791
  #
1084
792
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1085
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1086
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1087
- def acknowledge_property_user_data_collection(property, google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1088
- command = make_simple_command(:post, 'v1alpha/{+property}:acknowledgeUserDataCollection', options)
1089
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest::Representation
1090
- command.request_object = google_analytics_admin_v1alpha_acknowledge_user_data_collection_request_object
1091
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse::Representation
1092
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse
1093
- command.params['property'] = property unless property.nil?
795
+ def create_property_connected_site_tag(google_analytics_admin_v1alpha_create_connected_site_tag_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
796
+ command = make_simple_command(:post, 'v1alpha/properties:createConnectedSiteTag', options)
797
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest::Representation
798
+ command.request_object = google_analytics_admin_v1alpha_create_connected_site_tag_request_object
799
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse::Representation
800
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse
1094
801
  command.query['fields'] = fields unless fields.nil?
1095
802
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1096
803
  execute_or_queue_command(command, &block)
1097
804
  end
1098
805
 
1099
- # Creates an "GA4" property with the specified location and attributes.
1100
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
806
+ # Create a roll-up property and all roll-up property source links.
807
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest] google_analytics_admin_v1alpha_create_rollup_property_request_object
1101
808
  # @param [String] fields
1102
809
  # Selector specifying which fields to include in a partial response.
1103
810
  # @param [String] quota_user
@@ -1107,29 +814,28 @@ module Google
1107
814
  # Request-specific options
1108
815
  #
1109
816
  # @yield [result, err] Result & error if block supplied
1110
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] parsed result object
817
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse] parsed result object
1111
818
  # @yieldparam err [StandardError] error object if request failed
1112
819
  #
1113
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
820
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse]
1114
821
  #
1115
822
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1116
823
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1117
824
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1118
- def create_property(google_analytics_admin_v1alpha_property_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1119
- command = make_simple_command(:post, 'v1alpha/properties', options)
1120
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
1121
- command.request_object = google_analytics_admin_v1alpha_property_object
1122
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
1123
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty
825
+ def create_property_rollup_property(google_analytics_admin_v1alpha_create_rollup_property_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
826
+ command = make_simple_command(:post, 'v1alpha/properties:createRollupProperty', options)
827
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest::Representation
828
+ command.request_object = google_analytics_admin_v1alpha_create_rollup_property_request_object
829
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse::Representation
830
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse
1124
831
  command.query['fields'] = fields unless fields.nil?
1125
832
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1126
833
  execute_or_queue_command(command, &block)
1127
834
  end
1128
835
 
1129
- # Creates a connected site tag for a Universal Analytics property. You can
1130
- # create a maximum of 20 connected site tags per property. Note: This API cannot
1131
- # be used on GA4 properties.
1132
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest] google_analytics_admin_v1alpha_create_connected_site_tag_request_object
836
+ # Create a subproperty and a subproperty event filter that applies to the
837
+ # created subproperty.
838
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest] google_analytics_admin_v1alpha_create_subproperty_request_object
1133
839
  # @param [String] fields
1134
840
  # Selector specifying which fields to include in a partial response.
1135
841
  # @param [String] quota_user
@@ -1139,20 +845,20 @@ module Google
1139
845
  # Request-specific options
1140
846
  #
1141
847
  # @yield [result, err] Result & error if block supplied
1142
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse] parsed result object
848
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse] parsed result object
1143
849
  # @yieldparam err [StandardError] error object if request failed
1144
850
  #
1145
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse]
851
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse]
1146
852
  #
1147
853
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1148
854
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1149
855
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1150
- def create_property_connected_site_tag(google_analytics_admin_v1alpha_create_connected_site_tag_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1151
- command = make_simple_command(:post, 'v1alpha/properties:createConnectedSiteTag', options)
1152
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest::Representation
1153
- command.request_object = google_analytics_admin_v1alpha_create_connected_site_tag_request_object
1154
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse::Representation
1155
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse
856
+ def create_property_subproperty(google_analytics_admin_v1alpha_create_subproperty_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
857
+ command = make_simple_command(:post, 'v1alpha/properties:createSubproperty', options)
858
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest::Representation
859
+ command.request_object = google_analytics_admin_v1alpha_create_subproperty_request_object
860
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse::Representation
861
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse
1156
862
  command.query['fields'] = fields unless fields.nil?
1157
863
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1158
864
  execute_or_queue_command(command, &block)
@@ -1162,9 +868,9 @@ module Google
1162
868
  # does not have a method to restore soft-deleted properties. However, they can
1163
869
  # be restored using the Trash Can UI. If the properties are not restored before
1164
870
  # the expiration time, the Property and all child resources (eg: GoogleAdsLinks,
1165
- # Streams, UserLinks) will be permanently purged. https://support.google.com/
1166
- # analytics/answer/6154772 Returns an error if the target is not found, or is
1167
- # not a GA4 Property.
871
+ # Streams, AccessBindings) will be permanently purged. https://support.google.
872
+ # com/analytics/answer/6154772 Returns an error if the target is not found, or
873
+ # is not a GA4 Property.
1168
874
  # @param [String] name
1169
875
  # Required. The name of the Property to soft-delete. Format: properties/`
1170
876
  # property_id` Example: "properties/1000"
@@ -4866,10 +4572,12 @@ module Google
4866
4572
  execute_or_queue_command(command, &block)
4867
4573
  end
4868
4574
 
4869
- # Creates a SearchAds360Link.
4575
+ # Creates a roll-up property source link. Only roll-up properties can have
4576
+ # source links, so this method will throw an error if used on other types of
4577
+ # properties.
4870
4578
  # @param [String] parent
4871
- # Required. Example format: properties/1234
4872
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] google_analytics_admin_v1alpha_search_ads360_link_object
4579
+ # Required. Format: properties/`property_id` Example: properties/1234
4580
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink] google_analytics_admin_v1alpha_rollup_property_source_link_object
4873
4581
  # @param [String] fields
4874
4582
  # Selector specifying which fields to include in a partial response.
4875
4583
  # @param [String] quota_user
@@ -4879,30 +4587,33 @@ module Google
4879
4587
  # Request-specific options
4880
4588
  #
4881
4589
  # @yield [result, err] Result & error if block supplied
4882
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] parsed result object
4590
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink] parsed result object
4883
4591
  # @yieldparam err [StandardError] error object if request failed
4884
4592
  #
4885
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
4593
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink]
4886
4594
  #
4887
4595
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4888
4596
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4889
4597
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4890
- def create_property_search_ads360_link(parent, google_analytics_admin_v1alpha_search_ads360_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4891
- command = make_simple_command(:post, 'v1alpha/{+parent}/searchAds360Links', options)
4892
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
4893
- command.request_object = google_analytics_admin_v1alpha_search_ads360_link_object
4894
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
4895
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
4598
+ def create_property_rollup_property_source_link(parent, google_analytics_admin_v1alpha_rollup_property_source_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4599
+ command = make_simple_command(:post, 'v1alpha/{+parent}/rollupPropertySourceLinks', options)
4600
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink::Representation
4601
+ command.request_object = google_analytics_admin_v1alpha_rollup_property_source_link_object
4602
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink::Representation
4603
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
4896
4604
  command.params['parent'] = parent unless parent.nil?
4897
4605
  command.query['fields'] = fields unless fields.nil?
4898
4606
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4899
4607
  execute_or_queue_command(command, &block)
4900
4608
  end
4901
4609
 
4902
- # Deletes a SearchAds360Link on a property.
4610
+ # Deletes a roll-up property source link. Only roll-up properties can have
4611
+ # source links, so this method will throw an error if used on other types of
4612
+ # properties.
4903
4613
  # @param [String] name
4904
- # Required. The name of the SearchAds360Link to delete. Example format:
4905
- # properties/1234/SearchAds360Links/5678
4614
+ # Required. Format: properties/`property_id`/rollupPropertySourceLinks/`
4615
+ # rollup_property_source_link_id` Example: properties/1234/
4616
+ # rollupPropertySourceLinks/5678
4906
4617
  # @param [String] fields
4907
4618
  # Selector specifying which fields to include in a partial response.
4908
4619
  # @param [String] quota_user
@@ -4920,7 +4631,7 @@ module Google
4920
4631
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4921
4632
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4922
4633
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4923
- def delete_property_search_ads360_link(name, fields: nil, quota_user: nil, options: nil, &block)
4634
+ def delete_property_rollup_property_source_link(name, fields: nil, quota_user: nil, options: nil, &block)
4924
4635
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
4925
4636
  command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
4926
4637
  command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
@@ -4930,10 +4641,14 @@ module Google
4930
4641
  execute_or_queue_command(command, &block)
4931
4642
  end
4932
4643
 
4933
- # Look up a single SearchAds360Link
4644
+ # Lookup for a single roll-up property source Link. Only roll-up properties can
4645
+ # have source links, so this method will throw an error if used on other types
4646
+ # of properties.
4934
4647
  # @param [String] name
4935
- # Required. The name of the SearchAds360Link to get. Example format: properties/
4936
- # 1234/SearchAds360Link/5678
4648
+ # Required. The name of the roll-up property source link to lookup. Format:
4649
+ # properties/`property_id`/rollupPropertySourceLinks/`
4650
+ # rollup_property_source_link_id` Example: properties/123/
4651
+ # rollupPropertySourceLinks/456
4937
4652
  # @param [String] fields
4938
4653
  # Selector specifying which fields to include in a partial response.
4939
4654
  # @param [String] quota_user
@@ -4943,35 +4658,40 @@ module Google
4943
4658
  # Request-specific options
4944
4659
  #
4945
4660
  # @yield [result, err] Result & error if block supplied
4946
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] parsed result object
4661
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink] parsed result object
4947
4662
  # @yieldparam err [StandardError] error object if request failed
4948
4663
  #
4949
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
4664
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink]
4950
4665
  #
4951
4666
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4952
4667
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4953
4668
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4954
- def get_property_search_ads360_link(name, fields: nil, quota_user: nil, options: nil, &block)
4669
+ def get_property_rollup_property_source_link(name, fields: nil, quota_user: nil, options: nil, &block)
4955
4670
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
4956
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
4957
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
4671
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink::Representation
4672
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
4958
4673
  command.params['name'] = name unless name.nil?
4959
4674
  command.query['fields'] = fields unless fields.nil?
4960
4675
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4961
4676
  execute_or_queue_command(command, &block)
4962
4677
  end
4963
4678
 
4964
- # Lists all SearchAds360Links on a property.
4679
+ # Lists roll-up property source Links on a property. Only roll-up properties can
4680
+ # have source links, so this method will throw an error if used on other types
4681
+ # of properties.
4965
4682
  # @param [String] parent
4966
- # Required. Example format: properties/1234
4683
+ # Required. The name of the roll-up property to list roll-up property source
4684
+ # links under. Format: properties/`property_id` Example: properties/1234
4967
4685
  # @param [Fixnum] page_size
4968
- # The maximum number of resources to return. If unspecified, at most 50
4969
- # resources will be returned. The maximum value is 200 (higher values will be
4970
- # coerced to the maximum).
4686
+ # Optional. The maximum number of resources to return. The service may return
4687
+ # fewer than this value, even if there are additional pages. If unspecified, at
4688
+ # most 50 resources will be returned. The maximum value is 200; (higher values
4689
+ # will be coerced to the maximum)
4971
4690
  # @param [String] page_token
4972
- # A page token, received from a previous `ListSearchAds360Links` call. Provide
4973
- # this to retrieve the subsequent page. When paginating, all other parameters
4974
- # provided to `ListSearchAds360Links` must match the call that provided the page
4691
+ # Optional. A page token, received from a previous `
4692
+ # ListRollupPropertySourceLinks` call. Provide this to retrieve the subsequent
4693
+ # page. When paginating, all other parameters provided to `
4694
+ # ListRollupPropertySourceLinks` must match the call that provided the page
4975
4695
  # token.
4976
4696
  # @param [String] fields
4977
4697
  # Selector specifying which fields to include in a partial response.
@@ -4982,18 +4702,18 @@ module Google
4982
4702
  # Request-specific options
4983
4703
  #
4984
4704
  # @yield [result, err] Result & error if block supplied
4985
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse] parsed result object
4705
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse] parsed result object
4986
4706
  # @yieldparam err [StandardError] error object if request failed
4987
4707
  #
4988
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse]
4708
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse]
4989
4709
  #
4990
4710
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4991
4711
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4992
4712
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4993
- def list_property_search_ads360_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4994
- command = make_simple_command(:get, 'v1alpha/{+parent}/searchAds360Links', options)
4995
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse::Representation
4996
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse
4713
+ def list_property_rollup_property_source_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4714
+ command = make_simple_command(:get, 'v1alpha/{+parent}/rollupPropertySourceLinks', options)
4715
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse::Representation
4716
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse
4997
4717
  command.params['parent'] = parent unless parent.nil?
4998
4718
  command.query['pageSize'] = page_size unless page_size.nil?
4999
4719
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -5002,16 +4722,10 @@ module Google
5002
4722
  execute_or_queue_command(command, &block)
5003
4723
  end
5004
4724
 
5005
- # Updates a SearchAds360Link on a property.
5006
- # @param [String] name
5007
- # Output only. The resource name for this SearchAds360Link resource. Format:
5008
- # properties/`propertyId`/searchAds360Links/`linkId` Note: linkId is not the
5009
- # Search Ads 360 advertiser ID
4725
+ # Creates a SearchAds360Link.
4726
+ # @param [String] parent
4727
+ # Required. Example format: properties/1234
5010
4728
  # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] google_analytics_admin_v1alpha_search_ads360_link_object
5011
- # @param [String] update_mask
5012
- # Required. The list of fields to be updated. Omitted fields will not be updated.
5013
- # To replace the entire entity, use one path with the string "*" to match all
5014
- # fields.
5015
4729
  # @param [String] fields
5016
4730
  # Selector specifying which fields to include in a partial response.
5017
4731
  # @param [String] quota_user
@@ -5029,65 +4743,22 @@ module Google
5029
4743
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5030
4744
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5031
4745
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5032
- def patch_property_search_ads360_link(name, google_analytics_admin_v1alpha_search_ads360_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5033
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
4746
+ def create_property_search_ads360_link(parent, google_analytics_admin_v1alpha_search_ads360_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4747
+ command = make_simple_command(:post, 'v1alpha/{+parent}/searchAds360Links', options)
5034
4748
  command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
5035
4749
  command.request_object = google_analytics_admin_v1alpha_search_ads360_link_object
5036
4750
  command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
5037
4751
  command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
5038
- command.params['name'] = name unless name.nil?
5039
- command.query['updateMask'] = update_mask unless update_mask.nil?
5040
- command.query['fields'] = fields unless fields.nil?
5041
- command.query['quotaUser'] = quota_user unless quota_user.nil?
5042
- execute_or_queue_command(command, &block)
5043
- end
5044
-
5045
- # Lists all user links on an account or property, including implicit ones that
5046
- # come from effective permissions granted by groups or organization admin roles.
5047
- # If a returned user link does not have direct permissions, they cannot be
5048
- # removed from the account or property directly with the DeleteUserLink command.
5049
- # They have to be removed from the group/etc that gives them permissions, which
5050
- # is currently only usable/discoverable in the GA or GMP UIs.
5051
- # @param [String] parent
5052
- # Required. Example format: accounts/1234
5053
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest] google_analytics_admin_v1alpha_audit_user_links_request_object
5054
- # @param [String] fields
5055
- # Selector specifying which fields to include in a partial response.
5056
- # @param [String] quota_user
5057
- # Available to use for quota purposes for server-side applications. Can be any
5058
- # arbitrary string assigned to a user, but should not exceed 40 characters.
5059
- # @param [Google::Apis::RequestOptions] options
5060
- # Request-specific options
5061
- #
5062
- # @yield [result, err] Result & error if block supplied
5063
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse] parsed result object
5064
- # @yieldparam err [StandardError] error object if request failed
5065
- #
5066
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse]
5067
- #
5068
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5069
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5070
- # @raise [Google::Apis::AuthorizationError] Authorization is required
5071
- def audit_property_user_link(parent, google_analytics_admin_v1alpha_audit_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5072
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:audit', options)
5073
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksRequest::Representation
5074
- command.request_object = google_analytics_admin_v1alpha_audit_user_links_request_object
5075
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse::Representation
5076
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
5077
4752
  command.params['parent'] = parent unless parent.nil?
5078
4753
  command.query['fields'] = fields unless fields.nil?
5079
4754
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5080
4755
  execute_or_queue_command(command, &block)
5081
4756
  end
5082
4757
 
5083
- # Creates information about multiple users' links to an account or property.
5084
- # This method is transactional. If any UserLink cannot be created, none of the
5085
- # UserLinks will be created.
5086
- # @param [String] parent
5087
- # Required. The account or property that all user links in the request are for.
5088
- # This field is required. The parent field in the CreateUserLinkRequest messages
5089
- # must either be empty or match this field. Example format: accounts/1234
5090
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest] google_analytics_admin_v1alpha_batch_create_user_links_request_object
4758
+ # Deletes a SearchAds360Link on a property.
4759
+ # @param [String] name
4760
+ # Required. The name of the SearchAds360Link to delete. Example format:
4761
+ # properties/1234/SearchAds360Links/5678
5091
4762
  # @param [String] fields
5092
4763
  # Selector specifying which fields to include in a partial response.
5093
4764
  # @param [String] quota_user
@@ -5097,32 +4768,28 @@ module Google
5097
4768
  # Request-specific options
5098
4769
  #
5099
4770
  # @yield [result, err] Result & error if block supplied
5100
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse] parsed result object
4771
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
5101
4772
  # @yieldparam err [StandardError] error object if request failed
5102
4773
  #
5103
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse]
4774
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
5104
4775
  #
5105
4776
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5106
4777
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5107
4778
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5108
- def batch_property_user_link_create(parent, google_analytics_admin_v1alpha_batch_create_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5109
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchCreate', options)
5110
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest::Representation
5111
- command.request_object = google_analytics_admin_v1alpha_batch_create_user_links_request_object
5112
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse::Representation
5113
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
5114
- command.params['parent'] = parent unless parent.nil?
4779
+ def delete_property_search_ads360_link(name, fields: nil, quota_user: nil, options: nil, &block)
4780
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
4781
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
4782
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
4783
+ command.params['name'] = name unless name.nil?
5115
4784
  command.query['fields'] = fields unless fields.nil?
5116
4785
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5117
4786
  execute_or_queue_command(command, &block)
5118
4787
  end
5119
4788
 
5120
- # Deletes information about multiple users' links to an account or property.
5121
- # @param [String] parent
5122
- # Required. The account or property that all user links in the request are for.
5123
- # The parent of all values for user link names to delete must match this field.
5124
- # Example format: accounts/1234
5125
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest] google_analytics_admin_v1alpha_batch_delete_user_links_request_object
4789
+ # Look up a single SearchAds360Link
4790
+ # @param [String] name
4791
+ # Required. The name of the SearchAds360Link to get. Example format: properties/
4792
+ # 1234/SearchAds360Link/5678
5126
4793
  # @param [String] fields
5127
4794
  # Selector specifying which fields to include in a partial response.
5128
4795
  # @param [String] quota_user
@@ -5132,35 +4799,36 @@ module Google
5132
4799
  # Request-specific options
5133
4800
  #
5134
4801
  # @yield [result, err] Result & error if block supplied
5135
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
4802
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] parsed result object
5136
4803
  # @yieldparam err [StandardError] error object if request failed
5137
4804
  #
5138
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
4805
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
5139
4806
  #
5140
4807
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5141
4808
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5142
4809
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5143
- def batch_property_user_link_delete(parent, google_analytics_admin_v1alpha_batch_delete_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5144
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchDelete', options)
5145
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest::Representation
5146
- command.request_object = google_analytics_admin_v1alpha_batch_delete_user_links_request_object
5147
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
5148
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
5149
- command.params['parent'] = parent unless parent.nil?
4810
+ def get_property_search_ads360_link(name, fields: nil, quota_user: nil, options: nil, &block)
4811
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
4812
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
4813
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
4814
+ command.params['name'] = name unless name.nil?
5150
4815
  command.query['fields'] = fields unless fields.nil?
5151
4816
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5152
4817
  execute_or_queue_command(command, &block)
5153
4818
  end
5154
4819
 
5155
- # Gets information about multiple users' links to an account or property.
4820
+ # Lists all SearchAds360Links on a property.
5156
4821
  # @param [String] parent
5157
- # Required. The account or property that all user links in the request are for.
5158
- # The parent of all provided values for the 'names' field must match this field.
5159
- # Example format: accounts/1234
5160
- # @param [Array<String>, String] names
5161
- # Required. The names of the user links to retrieve. A maximum of 1000 user
5162
- # links can be retrieved in a batch. Format: accounts/`accountId`/userLinks/`
5163
- # userLinkId`
4822
+ # Required. Example format: properties/1234
4823
+ # @param [Fixnum] page_size
4824
+ # The maximum number of resources to return. If unspecified, at most 50
4825
+ # resources will be returned. The maximum value is 200 (higher values will be
4826
+ # coerced to the maximum).
4827
+ # @param [String] page_token
4828
+ # A page token, received from a previous `ListSearchAds360Links` call. Provide
4829
+ # this to retrieve the subsequent page. When paginating, all other parameters
4830
+ # provided to `ListSearchAds360Links` must match the call that provided the page
4831
+ # token.
5164
4832
  # @param [String] fields
5165
4833
  # Selector specifying which fields to include in a partial response.
5166
4834
  # @param [String] quota_user
@@ -5170,31 +4838,36 @@ module Google
5170
4838
  # Request-specific options
5171
4839
  #
5172
4840
  # @yield [result, err] Result & error if block supplied
5173
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse] parsed result object
4841
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse] parsed result object
5174
4842
  # @yieldparam err [StandardError] error object if request failed
5175
4843
  #
5176
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse]
4844
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse]
5177
4845
  #
5178
4846
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5179
4847
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5180
4848
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5181
- def batch_property_user_link_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
5182
- command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks:batchGet', options)
5183
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse::Representation
5184
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
4849
+ def list_property_search_ads360_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4850
+ command = make_simple_command(:get, 'v1alpha/{+parent}/searchAds360Links', options)
4851
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse::Representation
4852
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse
5185
4853
  command.params['parent'] = parent unless parent.nil?
5186
- command.query['names'] = names unless names.nil?
4854
+ command.query['pageSize'] = page_size unless page_size.nil?
4855
+ command.query['pageToken'] = page_token unless page_token.nil?
5187
4856
  command.query['fields'] = fields unless fields.nil?
5188
4857
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5189
4858
  execute_or_queue_command(command, &block)
5190
4859
  end
5191
4860
 
5192
- # Updates information about multiple users' links to an account or property.
5193
- # @param [String] parent
5194
- # Required. The account or property that all user links in the request are for.
5195
- # The parent field in the UpdateUserLinkRequest messages must either be empty or
5196
- # match this field. Example format: accounts/1234
5197
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest] google_analytics_admin_v1alpha_batch_update_user_links_request_object
4861
+ # Updates a SearchAds360Link on a property.
4862
+ # @param [String] name
4863
+ # Output only. The resource name for this SearchAds360Link resource. Format:
4864
+ # properties/`propertyId`/searchAds360Links/`linkId` Note: linkId is not the
4865
+ # Search Ads 360 advertiser ID
4866
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] google_analytics_admin_v1alpha_search_ads360_link_object
4867
+ # @param [String] update_mask
4868
+ # Required. The list of fields to be updated. Omitted fields will not be updated.
4869
+ # To replace the entire entity, use one path with the string "*" to match all
4870
+ # fields.
5198
4871
  # @param [String] fields
5199
4872
  # Selector specifying which fields to include in a partial response.
5200
4873
  # @param [String] quota_user
@@ -5204,36 +4877,32 @@ module Google
5204
4877
  # Request-specific options
5205
4878
  #
5206
4879
  # @yield [result, err] Result & error if block supplied
5207
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse] parsed result object
4880
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link] parsed result object
5208
4881
  # @yieldparam err [StandardError] error object if request failed
5209
4882
  #
5210
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse]
4883
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link]
5211
4884
  #
5212
4885
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5213
4886
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5214
4887
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5215
- def batch_property_user_link_update(parent, google_analytics_admin_v1alpha_batch_update_user_links_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5216
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks:batchUpdate', options)
5217
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest::Representation
5218
- command.request_object = google_analytics_admin_v1alpha_batch_update_user_links_request_object
5219
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse::Representation
5220
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
5221
- command.params['parent'] = parent unless parent.nil?
4888
+ def patch_property_search_ads360_link(name, google_analytics_admin_v1alpha_search_ads360_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4889
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
4890
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
4891
+ command.request_object = google_analytics_admin_v1alpha_search_ads360_link_object
4892
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link::Representation
4893
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchAds360Link
4894
+ command.params['name'] = name unless name.nil?
4895
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5222
4896
  command.query['fields'] = fields unless fields.nil?
5223
4897
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5224
4898
  execute_or_queue_command(command, &block)
5225
4899
  end
5226
4900
 
5227
- # Creates a user link on an account or property. If the user with the specified
5228
- # email already has permissions on the account or property, then the user's
5229
- # existing permissions will be unioned with the permissions specified in the new
5230
- # UserLink.
4901
+ # Creates a subproperty Event Filter.
5231
4902
  # @param [String] parent
5232
- # Required. Example format: accounts/1234
5233
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
5234
- # @param [Boolean] notify_new_user
5235
- # Optional. If set, then email the new user notifying them that they've been
5236
- # granted permissions to the resource.
4903
+ # Required. The ordinary property for which to create a subproperty event filter.
4904
+ # Format: properties/property_id Example: properties/123
4905
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter] google_analytics_admin_v1alpha_subproperty_event_filter_object
5237
4906
  # @param [String] fields
5238
4907
  # Selector specifying which fields to include in a partial response.
5239
4908
  # @param [String] quota_user
@@ -5243,30 +4912,31 @@ module Google
5243
4912
  # Request-specific options
5244
4913
  #
5245
4914
  # @yield [result, err] Result & error if block supplied
5246
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
4915
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter] parsed result object
5247
4916
  # @yieldparam err [StandardError] error object if request failed
5248
4917
  #
5249
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
4918
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
5250
4919
  #
5251
4920
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5252
4921
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5253
4922
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5254
- def create_property_user_link(parent, google_analytics_admin_v1alpha_user_link_object = nil, notify_new_user: nil, fields: nil, quota_user: nil, options: nil, &block)
5255
- command = make_simple_command(:post, 'v1alpha/{+parent}/userLinks', options)
5256
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
5257
- command.request_object = google_analytics_admin_v1alpha_user_link_object
5258
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
5259
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
4923
+ def create_property_subproperty_event_filter(parent, google_analytics_admin_v1alpha_subproperty_event_filter_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4924
+ command = make_simple_command(:post, 'v1alpha/{+parent}/subpropertyEventFilters', options)
4925
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
4926
+ command.request_object = google_analytics_admin_v1alpha_subproperty_event_filter_object
4927
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
4928
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
5260
4929
  command.params['parent'] = parent unless parent.nil?
5261
- command.query['notifyNewUser'] = notify_new_user unless notify_new_user.nil?
5262
4930
  command.query['fields'] = fields unless fields.nil?
5263
4931
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5264
4932
  execute_or_queue_command(command, &block)
5265
4933
  end
5266
4934
 
5267
- # Deletes a user link on an account or property.
4935
+ # Deletes a subproperty event filter.
5268
4936
  # @param [String] name
5269
- # Required. Example format: accounts/1234/userLinks/5678
4937
+ # Required. Resource name of the subproperty event filter to delete. Format:
4938
+ # properties/property_id/subpropertyEventFilters/subproperty_event_filter
4939
+ # Example: properties/123/subpropertyEventFilters/456
5270
4940
  # @param [String] fields
5271
4941
  # Selector specifying which fields to include in a partial response.
5272
4942
  # @param [String] quota_user
@@ -5284,7 +4954,7 @@ module Google
5284
4954
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5285
4955
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5286
4956
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5287
- def delete_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
4957
+ def delete_property_subproperty_event_filter(name, fields: nil, quota_user: nil, options: nil, &block)
5288
4958
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
5289
4959
  command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
5290
4960
  command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
@@ -5294,9 +4964,11 @@ module Google
5294
4964
  execute_or_queue_command(command, &block)
5295
4965
  end
5296
4966
 
5297
- # Gets information about a user's link to an account or property.
4967
+ # Lookup for a single subproperty Event Filter.
5298
4968
  # @param [String] name
5299
- # Required. Example format: accounts/1234/userLinks/5678
4969
+ # Required. Resource name of the subproperty event filter to lookup. Format:
4970
+ # properties/property_id/subpropertyEventFilters/subproperty_event_filter
4971
+ # Example: properties/123/subpropertyEventFilters/456
5300
4972
  # @param [String] fields
5301
4973
  # Selector specifying which fields to include in a partial response.
5302
4974
  # @param [String] quota_user
@@ -5306,35 +4978,38 @@ module Google
5306
4978
  # Request-specific options
5307
4979
  #
5308
4980
  # @yield [result, err] Result & error if block supplied
5309
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
4981
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter] parsed result object
5310
4982
  # @yieldparam err [StandardError] error object if request failed
5311
4983
  #
5312
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
4984
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
5313
4985
  #
5314
4986
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5315
4987
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5316
4988
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5317
- def get_property_user_link(name, fields: nil, quota_user: nil, options: nil, &block)
4989
+ def get_property_subproperty_event_filter(name, fields: nil, quota_user: nil, options: nil, &block)
5318
4990
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
5319
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
5320
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
4991
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
4992
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
5321
4993
  command.params['name'] = name unless name.nil?
5322
4994
  command.query['fields'] = fields unless fields.nil?
5323
4995
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5324
4996
  execute_or_queue_command(command, &block)
5325
4997
  end
5326
4998
 
5327
- # Lists all user links on an account or property.
4999
+ # List all subproperty Event Filters on a property.
5328
5000
  # @param [String] parent
5329
- # Required. Example format: accounts/1234
5001
+ # Required. Resource name of the ordinary property. Format: properties/
5002
+ # property_id Example: properties/123
5330
5003
  # @param [Fixnum] page_size
5331
- # The maximum number of user links to return. The service may return fewer than
5332
- # this value. If unspecified, at most 200 user links will be returned. The
5333
- # maximum value is 500; values above 500 will be coerced to 500.
5004
+ # Optional. The maximum number of resources to return. The service may return
5005
+ # fewer than this value, even if there are additional pages. If unspecified, at
5006
+ # most 50 resources will be returned. The maximum value is 200; (higher values
5007
+ # will be coerced to the maximum)
5334
5008
  # @param [String] page_token
5335
- # A page token, received from a previous `ListUserLinks` call. Provide this to
5336
- # retrieve the subsequent page. When paginating, all other parameters provided
5337
- # to `ListUserLinks` must match the call that provided the page token.
5009
+ # Optional. A page token, received from a previous `ListSubpropertyEventFilters`
5010
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
5011
+ # parameters provided to `ListSubpropertyEventFilters` must match the call that
5012
+ # provided the page token.
5338
5013
  # @param [String] fields
5339
5014
  # Selector specifying which fields to include in a partial response.
5340
5015
  # @param [String] quota_user
@@ -5344,18 +5019,18 @@ module Google
5344
5019
  # Request-specific options
5345
5020
  #
5346
5021
  # @yield [result, err] Result & error if block supplied
5347
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse] parsed result object
5022
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse] parsed result object
5348
5023
  # @yieldparam err [StandardError] error object if request failed
5349
5024
  #
5350
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse]
5025
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse]
5351
5026
  #
5352
5027
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5353
5028
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5354
5029
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5355
- def list_property_user_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5356
- command = make_simple_command(:get, 'v1alpha/{+parent}/userLinks', options)
5357
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse::Representation
5358
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListUserLinksResponse
5030
+ def list_property_subproperty_event_filters(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5031
+ command = make_simple_command(:get, 'v1alpha/{+parent}/subpropertyEventFilters', options)
5032
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse::Representation
5033
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse
5359
5034
  command.params['parent'] = parent unless parent.nil?
5360
5035
  command.query['pageSize'] = page_size unless page_size.nil?
5361
5036
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -5364,10 +5039,16 @@ module Google
5364
5039
  execute_or_queue_command(command, &block)
5365
5040
  end
5366
5041
 
5367
- # Updates a user link on an account or property.
5042
+ # Updates a subproperty Event Filter.
5368
5043
  # @param [String] name
5369
- # Output only. Example format: properties/1234/userLinks/5678
5370
- # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] google_analytics_admin_v1alpha_user_link_object
5044
+ # Output only. Format: properties/`ordinary_property_id`/subpropertyEventFilters/
5045
+ # `sub_property_event_filter` Example: properties/1234/subpropertyEventFilters/
5046
+ # 5678
5047
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter] google_analytics_admin_v1alpha_subproperty_event_filter_object
5048
+ # @param [String] update_mask
5049
+ # Required. The list of fields to update. Field names must be in snake case (for
5050
+ # example, "field_to_update"). Omitted fields will not be updated. To replace
5051
+ # the entire entity, use one path with the string "*" to match all fields.
5371
5052
  # @param [String] fields
5372
5053
  # Selector specifying which fields to include in a partial response.
5373
5054
  # @param [String] quota_user
@@ -5377,21 +5058,22 @@ module Google
5377
5058
  # Request-specific options
5378
5059
  #
5379
5060
  # @yield [result, err] Result & error if block supplied
5380
- # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink] parsed result object
5061
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter] parsed result object
5381
5062
  # @yieldparam err [StandardError] error object if request failed
5382
5063
  #
5383
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
5064
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
5384
5065
  #
5385
5066
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5386
5067
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5387
5068
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5388
- def patch_property_user_link(name, google_analytics_admin_v1alpha_user_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5069
+ def patch_property_subproperty_event_filter(name, google_analytics_admin_v1alpha_subproperty_event_filter_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5389
5070
  command = make_simple_command(:patch, 'v1alpha/{+name}', options)
5390
- command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
5391
- command.request_object = google_analytics_admin_v1alpha_user_link_object
5392
- command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink::Representation
5393
- command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink
5071
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
5072
+ command.request_object = google_analytics_admin_v1alpha_subproperty_event_filter_object
5073
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter::Representation
5074
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
5394
5075
  command.params['name'] = name unless name.nil?
5076
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5395
5077
  command.query['fields'] = fields unless fields.nil?
5396
5078
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5397
5079
  execute_or_queue_command(command, &block)