@@ -548,6 +548,155 @@ public Sites sites() {
548548 */
549549 public class Sites {
550550
551+ /**
552+ * Gets a Platform Child Site for a specified Platform Child Account and site.
553+ *
554+ * Create a request for the method "sites.get".
555+ *
556+ * This request holds the parameters needed by the adsenseplatform server. After setting any
557+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
558+ *
559+ * @param name Required. The name of the platform child site to retrieve. Format:
560+ * accounts/{account}/platforms/{platform}/childAccounts/{child_account}/sites/{platform_chil
561+ * d_site}
562+ * @return the request
563+ */
564+ public Get get (java .lang .String name ) throws java .io .IOException {
565+ Get result = new Get (name );
566+ initialize (result );
567+ return result ;
568+ }
569+
570+ public class Get extends AdSensePlatformRequest <com .google .api .services .adsenseplatform .v1alpha .model .PlatformChildSite > {
571+
572+ private static final String REST_PATH = "v1alpha/{+name}" ;
573+
574+ private final java .util .regex .Pattern NAME_PATTERN =
575+ java .util .regex .Pattern .compile ("^accounts/[^/]+/platforms/[^/]+/childAccounts/[^/]+/sites/[^/]+$" );
576+
577+ /**
578+ * Gets a Platform Child Site for a specified Platform Child Account and site.
579+ *
580+ * Create a request for the method "sites.get".
581+ *
582+ * This request holds the parameters needed by the the adsenseplatform server. After setting any
583+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
584+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
585+ * must be called to initialize this instance immediately after invoking the constructor. </p>
586+ *
587+ * @param name Required. The name of the platform child site to retrieve. Format:
588+ * accounts/{account}/platforms/{platform}/childAccounts/{child_account}/sites/{platform_chil
589+ * d_site}
590+ * @since 1.13
591+ */
592+ protected Get (java .lang .String name ) {
593+ super (AdSensePlatform .this , "GET" , REST_PATH , null , com .google .api .services .adsenseplatform .v1alpha .model .PlatformChildSite .class );
594+ this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
595+ if (!getSuppressPatternChecks ()) {
596+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
597+ "Parameter name must conform to the pattern " +
598+ "^accounts/[^/]+/platforms/[^/]+/childAccounts/[^/]+/sites/[^/]+$" );
599+ }
600+ }
601+
602+ @ Override
603+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
604+ return super .executeUsingHead ();
605+ }
606+
607+ @ Override
608+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
609+ return super .buildHttpRequestUsingHead ();
610+ }
611+
612+ @ Override
613+ public Get set$Xgafv (java .lang .String $Xgafv ) {
614+ return (Get ) super .set$Xgafv ($Xgafv );
615+ }
616+
617+ @ Override
618+ public Get setAccessToken (java .lang .String accessToken ) {
619+ return (Get ) super .setAccessToken (accessToken );
620+ }
621+
622+ @ Override
623+ public Get setAlt (java .lang .String alt ) {
624+ return (Get ) super .setAlt (alt );
625+ }
626+
627+ @ Override
628+ public Get setCallback (java .lang .String callback ) {
629+ return (Get ) super .setCallback (callback );
630+ }
631+
632+ @ Override
633+ public Get setFields (java .lang .String fields ) {
634+ return (Get ) super .setFields (fields );
635+ }
636+
637+ @ Override
638+ public Get setKey (java .lang .String key ) {
639+ return (Get ) super .setKey (key );
640+ }
641+
642+ @ Override
643+ public Get setOauthToken (java .lang .String oauthToken ) {
644+ return (Get ) super .setOauthToken (oauthToken );
645+ }
646+
647+ @ Override
648+ public Get setPrettyPrint (java .lang .Boolean prettyPrint ) {
649+ return (Get ) super .setPrettyPrint (prettyPrint );
650+ }
651+
652+ @ Override
653+ public Get setQuotaUser (java .lang .String quotaUser ) {
654+ return (Get ) super .setQuotaUser (quotaUser );
655+ }
656+
657+ @ Override
658+ public Get setUploadType (java .lang .String uploadType ) {
659+ return (Get ) super .setUploadType (uploadType );
660+ }
661+
662+ @ Override
663+ public Get setUploadProtocol (java .lang .String uploadProtocol ) {
664+ return (Get ) super .setUploadProtocol (uploadProtocol );
665+ }
666+
667+ /**
668+ * Required. The name of the platform child site to retrieve. Format: accounts/{account}
669+ * /platforms/{platform}/childAccounts/{child_account}/sites/{platform_child_site}
670+ */
671+ @ com .google .api .client .util .Key
672+ private java .lang .String name ;
673+
674+ /** Required. The name of the platform child site to retrieve. Format:
675+ accounts/{account}/platforms/{platform}/childAccounts/{child_account}/sites/{platform_child_site}
676+ */
677+ public java .lang .String getName () {
678+ return name ;
679+ }
680+
681+ /**
682+ * Required. The name of the platform child site to retrieve. Format: accounts/{account}
683+ * /platforms/{platform}/childAccounts/{child_account}/sites/{platform_child_site}
684+ */
685+ public Get setName (java .lang .String name ) {
686+ if (!getSuppressPatternChecks ()) {
687+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
688+ "Parameter name must conform to the pattern " +
689+ "^accounts/[^/]+/platforms/[^/]+/childAccounts/[^/]+/sites/[^/]+$" );
690+ }
691+ this .name = name ;
692+ return this ;
693+ }
694+
695+ @ Override
696+ public Get set (String parameterName , Object value ) {
697+ return (Get ) super .set (parameterName , value );
698+ }
699+ }
551700 /**
552701 * Lists Platform Child Sites for a specified Platform Child Account.
553702 *
@@ -937,6 +1086,153 @@ public Groups groups() {
9371086 */
9381087 public class Groups {
9391088
1089+ /**
1090+ * Gets a Platform Group for a specified Platform and group.
1091+ *
1092+ * Create a request for the method "groups.get".
1093+ *
1094+ * This request holds the parameters needed by the adsenseplatform server. After setting any
1095+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
1096+ *
1097+ * @param name Required. The name of the platform group to retrieve. Format:
1098+ * accounts/{account}/platforms/{platform}/groups/{group}
1099+ * @return the request
1100+ */
1101+ public Get get (java .lang .String name ) throws java .io .IOException {
1102+ Get result = new Get (name );
1103+ initialize (result );
1104+ return result ;
1105+ }
1106+
1107+ public class Get extends AdSensePlatformRequest <com .google .api .services .adsenseplatform .v1alpha .model .PlatformGroup > {
1108+
1109+ private static final String REST_PATH = "v1alpha/{+name}" ;
1110+
1111+ private final java .util .regex .Pattern NAME_PATTERN =
1112+ java .util .regex .Pattern .compile ("^accounts/[^/]+/platforms/[^/]+/groups/[^/]+$" );
1113+
1114+ /**
1115+ * Gets a Platform Group for a specified Platform and group.
1116+ *
1117+ * Create a request for the method "groups.get".
1118+ *
1119+ * This request holds the parameters needed by the the adsenseplatform server. After setting any
1120+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
1121+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
1122+ * must be called to initialize this instance immediately after invoking the constructor. </p>
1123+ *
1124+ * @param name Required. The name of the platform group to retrieve. Format:
1125+ * accounts/{account}/platforms/{platform}/groups/{group}
1126+ * @since 1.13
1127+ */
1128+ protected Get (java .lang .String name ) {
1129+ super (AdSensePlatform .this , "GET" , REST_PATH , null , com .google .api .services .adsenseplatform .v1alpha .model .PlatformGroup .class );
1130+ this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
1131+ if (!getSuppressPatternChecks ()) {
1132+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
1133+ "Parameter name must conform to the pattern " +
1134+ "^accounts/[^/]+/platforms/[^/]+/groups/[^/]+$" );
1135+ }
1136+ }
1137+
1138+ @ Override
1139+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
1140+ return super .executeUsingHead ();
1141+ }
1142+
1143+ @ Override
1144+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
1145+ return super .buildHttpRequestUsingHead ();
1146+ }
1147+
1148+ @ Override
1149+ public Get set$Xgafv (java .lang .String $Xgafv ) {
1150+ return (Get ) super .set$Xgafv ($Xgafv );
1151+ }
1152+
1153+ @ Override
1154+ public Get setAccessToken (java .lang .String accessToken ) {
1155+ return (Get ) super .setAccessToken (accessToken );
1156+ }
1157+
1158+ @ Override
1159+ public Get setAlt (java .lang .String alt ) {
1160+ return (Get ) super .setAlt (alt );
1161+ }
1162+
1163+ @ Override
1164+ public Get setCallback (java .lang .String callback ) {
1165+ return (Get ) super .setCallback (callback );
1166+ }
1167+
1168+ @ Override
1169+ public Get setFields (java .lang .String fields ) {
1170+ return (Get ) super .setFields (fields );
1171+ }
1172+
1173+ @ Override
1174+ public Get setKey (java .lang .String key ) {
1175+ return (Get ) super .setKey (key );
1176+ }
1177+
1178+ @ Override
1179+ public Get setOauthToken (java .lang .String oauthToken ) {
1180+ return (Get ) super .setOauthToken (oauthToken );
1181+ }
1182+
1183+ @ Override
1184+ public Get setPrettyPrint (java .lang .Boolean prettyPrint ) {
1185+ return (Get ) super .setPrettyPrint (prettyPrint );
1186+ }
1187+
1188+ @ Override
1189+ public Get setQuotaUser (java .lang .String quotaUser ) {
1190+ return (Get ) super .setQuotaUser (quotaUser );
1191+ }
1192+
1193+ @ Override
1194+ public Get setUploadType (java .lang .String uploadType ) {
1195+ return (Get ) super .setUploadType (uploadType );
1196+ }
1197+
1198+ @ Override
1199+ public Get setUploadProtocol (java .lang .String uploadProtocol ) {
1200+ return (Get ) super .setUploadProtocol (uploadProtocol );
1201+ }
1202+
1203+ /**
1204+ * Required. The name of the platform group to retrieve. Format:
1205+ * accounts/{account}/platforms/{platform}/groups/{group}
1206+ */
1207+ @ com .google .api .client .util .Key
1208+ private java .lang .String name ;
1209+
1210+ /** Required. The name of the platform group to retrieve. Format:
1211+ accounts/{account}/platforms/{platform}/groups/{group}
1212+ */
1213+ public java .lang .String getName () {
1214+ return name ;
1215+ }
1216+
1217+ /**
1218+ * Required. The name of the platform group to retrieve. Format:
1219+ * accounts/{account}/platforms/{platform}/groups/{group}
1220+ */
1221+ public Get setName (java .lang .String name ) {
1222+ if (!getSuppressPatternChecks ()) {
1223+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
1224+ "Parameter name must conform to the pattern " +
1225+ "^accounts/[^/]+/platforms/[^/]+/groups/[^/]+$" );
1226+ }
1227+ this .name = name ;
1228+ return this ;
1229+ }
1230+
1231+ @ Override
1232+ public Get set (String parameterName , Object value ) {
1233+ return (Get ) super .set (parameterName , value );
1234+ }
1235+ }
9401236 /**
9411237 * Lists Platform Groups for a specified Platform.
9421238 *
0 commit comments