@@ -6622,6 +6622,166 @@ public List set(String parameterName, Object value) {
6622
6622
6623
6623
}
6624
6624
}
6625
+ /**
6626
+ * An accessor for creating requests from the ThirdPartyProfileUsers collection.
6627
+ *
6628
+ * <p>The typical use is:</p>
6629
+ * <pre>
6630
+ * {@code ChromeManagement chromemanagement = new ChromeManagement(...);}
6631
+ * {@code ChromeManagement.ThirdPartyProfileUsers.List request = chromemanagement.thirdPartyProfileUsers().list(parameters ...)}
6632
+ * </pre>
6633
+ *
6634
+ * @return the resource collection
6635
+ */
6636
+ public ThirdPartyProfileUsers thirdPartyProfileUsers () {
6637
+ return new ThirdPartyProfileUsers ();
6638
+ }
6639
+
6640
+ /**
6641
+ * The "thirdPartyProfileUsers" collection of methods.
6642
+ */
6643
+ public class ThirdPartyProfileUsers {
6644
+
6645
+ /**
6646
+ * Moves a third party chrome profile user to a destination OU. All profiles associated to that user
6647
+ * will be moved to the destination OU.
6648
+ *
6649
+ * Create a request for the method "thirdPartyProfileUsers.move".
6650
+ *
6651
+ * This request holds the parameters needed by the chromemanagement server. After setting any
6652
+ * optional parameters, call the {@link Move#execute()} method to invoke the remote operation.
6653
+ *
6654
+ * @param name Required. Format: customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6655
+ * @param content the {@link com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest}
6656
+ * @return the request
6657
+ */
6658
+ public Move move (java .lang .String name , com .google .api .services .chromemanagement .v1 .model .GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest content ) throws java .io .IOException {
6659
+ Move result = new Move (name , content );
6660
+ initialize (result );
6661
+ return result ;
6662
+ }
6663
+
6664
+ public class Move extends ChromeManagementRequest <com .google .api .services .chromemanagement .v1 .model .GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse > {
6665
+
6666
+ private static final String REST_PATH = "v1/{+name}:move" ;
6667
+
6668
+ private final java .util .regex .Pattern NAME_PATTERN =
6669
+ java .util .regex .Pattern .compile ("^customers/[^/]+/thirdPartyProfileUsers/[^/]+$" );
6670
+
6671
+ /**
6672
+ * Moves a third party chrome profile user to a destination OU. All profiles associated to that
6673
+ * user will be moved to the destination OU.
6674
+ *
6675
+ * Create a request for the method "thirdPartyProfileUsers.move".
6676
+ *
6677
+ * This request holds the parameters needed by the the chromemanagement server. After setting any
6678
+ * optional parameters, call the {@link Move#execute()} method to invoke the remote operation. <p>
6679
+ * {@link Move#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
6680
+ * must be called to initialize this instance immediately after invoking the constructor. </p>
6681
+ *
6682
+ * @param name Required. Format: customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6683
+ * @param content the {@link com.google.api.services.chromemanagement.v1.model.GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest}
6684
+ * @since 1.13
6685
+ */
6686
+ protected Move (java .lang .String name , com .google .api .services .chromemanagement .v1 .model .GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest content ) {
6687
+ super (ChromeManagement .this , "POST" , REST_PATH , content , com .google .api .services .chromemanagement .v1 .model .GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse .class );
6688
+ this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
6689
+ if (!getSuppressPatternChecks ()) {
6690
+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
6691
+ "Parameter name must conform to the pattern " +
6692
+ "^customers/[^/]+/thirdPartyProfileUsers/[^/]+$" );
6693
+ }
6694
+ }
6695
+
6696
+ @ Override
6697
+ public Move set$Xgafv (java .lang .String $Xgafv ) {
6698
+ return (Move ) super .set$Xgafv ($Xgafv );
6699
+ }
6700
+
6701
+ @ Override
6702
+ public Move setAccessToken (java .lang .String accessToken ) {
6703
+ return (Move ) super .setAccessToken (accessToken );
6704
+ }
6705
+
6706
+ @ Override
6707
+ public Move setAlt (java .lang .String alt ) {
6708
+ return (Move ) super .setAlt (alt );
6709
+ }
6710
+
6711
+ @ Override
6712
+ public Move setCallback (java .lang .String callback ) {
6713
+ return (Move ) super .setCallback (callback );
6714
+ }
6715
+
6716
+ @ Override
6717
+ public Move setFields (java .lang .String fields ) {
6718
+ return (Move ) super .setFields (fields );
6719
+ }
6720
+
6721
+ @ Override
6722
+ public Move setKey (java .lang .String key ) {
6723
+ return (Move ) super .setKey (key );
6724
+ }
6725
+
6726
+ @ Override
6727
+ public Move setOauthToken (java .lang .String oauthToken ) {
6728
+ return (Move ) super .setOauthToken (oauthToken );
6729
+ }
6730
+
6731
+ @ Override
6732
+ public Move setPrettyPrint (java .lang .Boolean prettyPrint ) {
6733
+ return (Move ) super .setPrettyPrint (prettyPrint );
6734
+ }
6735
+
6736
+ @ Override
6737
+ public Move setQuotaUser (java .lang .String quotaUser ) {
6738
+ return (Move ) super .setQuotaUser (quotaUser );
6739
+ }
6740
+
6741
+ @ Override
6742
+ public Move setUploadType (java .lang .String uploadType ) {
6743
+ return (Move ) super .setUploadType (uploadType );
6744
+ }
6745
+
6746
+ @ Override
6747
+ public Move setUploadProtocol (java .lang .String uploadProtocol ) {
6748
+ return (Move ) super .setUploadProtocol (uploadProtocol );
6749
+ }
6750
+
6751
+ /**
6752
+ * Required. Format:
6753
+ * customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6754
+ */
6755
+ @ com .google .api .client .util .Key
6756
+ private java .lang .String name ;
6757
+
6758
+ /** Required. Format: customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6759
+ */
6760
+ public java .lang .String getName () {
6761
+ return name ;
6762
+ }
6763
+
6764
+ /**
6765
+ * Required. Format:
6766
+ * customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id}
6767
+ */
6768
+ public Move setName (java .lang .String name ) {
6769
+ if (!getSuppressPatternChecks ()) {
6770
+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
6771
+ "Parameter name must conform to the pattern " +
6772
+ "^customers/[^/]+/thirdPartyProfileUsers/[^/]+$" );
6773
+ }
6774
+ this .name = name ;
6775
+ return this ;
6776
+ }
6777
+
6778
+ @ Override
6779
+ public Move set (String parameterName , Object value ) {
6780
+ return (Move ) super .set (parameterName , value );
6781
+ }
6782
+ }
6783
+
6784
+ }
6625
6785
}
6626
6786
6627
6787
/**
0 commit comments