@@ -3320,6 +3320,216 @@ public List set(String parameterName, Object value) {
3320
3320
}
3321
3321
3322
3322
}
3323
+ /**
3324
+ * An accessor for creating requests from the DomainMappings collection.
3325
+ *
3326
+ * <p>The typical use is:</p>
3327
+ * <pre>
3328
+ * {@code Appengine appengine = new Appengine(...);}
3329
+ * {@code Appengine.DomainMappings.List request = appengine.domainMappings().list(parameters ...)}
3330
+ * </pre>
3331
+ *
3332
+ * @return the resource collection
3333
+ */
3334
+ public DomainMappings domainMappings () {
3335
+ return new DomainMappings ();
3336
+ }
3337
+
3338
+ /**
3339
+ * The "domainMappings" collection of methods.
3340
+ */
3341
+ public class DomainMappings {
3342
+
3343
+ /**
3344
+ * Gets the specified domain mapping.
3345
+ *
3346
+ * Create a request for the method "domainMappings.get".
3347
+ *
3348
+ * This request holds the parameters needed by the appengine server. After setting any optional
3349
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
3350
+ *
3351
+ * @param projectsId Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com.
3352
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
3353
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
3354
+ * @param domainMappingsId Part of `name`. See documentation of `projectsId`.
3355
+ * @return the request
3356
+ */
3357
+ public Get get (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , java .lang .String domainMappingsId ) throws java .io .IOException {
3358
+ Get result = new Get (projectsId , locationsId , applicationsId , domainMappingsId );
3359
+ initialize (result );
3360
+ return result ;
3361
+ }
3362
+
3363
+ public class Get extends AppengineRequest <com .google .api .services .appengine .model .DomainMapping > {
3364
+
3365
+ private static final String REST_PATH = "v1alpha/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}" ;
3366
+
3367
+ /**
3368
+ * Gets the specified domain mapping.
3369
+ *
3370
+ * Create a request for the method "domainMappings.get".
3371
+ *
3372
+ * This request holds the parameters needed by the the appengine server. After setting any
3373
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
3374
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
3375
+ * must be called to initialize this instance immediately after invoking the constructor. </p>
3376
+ *
3377
+ * @param projectsId Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com.
3378
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
3379
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
3380
+ * @param domainMappingsId Part of `name`. See documentation of `projectsId`.
3381
+ * @since 1.13
3382
+ */
3383
+ protected Get (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , java .lang .String domainMappingsId ) {
3384
+ super (Appengine .this , "GET" , REST_PATH , null , com .google .api .services .appengine .model .DomainMapping .class );
3385
+ this .projectsId = com .google .api .client .util .Preconditions .checkNotNull (projectsId , "Required parameter projectsId must be specified." );
3386
+ this .locationsId = com .google .api .client .util .Preconditions .checkNotNull (locationsId , "Required parameter locationsId must be specified." );
3387
+ this .applicationsId = com .google .api .client .util .Preconditions .checkNotNull (applicationsId , "Required parameter applicationsId must be specified." );
3388
+ this .domainMappingsId = com .google .api .client .util .Preconditions .checkNotNull (domainMappingsId , "Required parameter domainMappingsId must be specified." );
3389
+ }
3390
+
3391
+ @ Override
3392
+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
3393
+ return super .executeUsingHead ();
3394
+ }
3395
+
3396
+ @ Override
3397
+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
3398
+ return super .buildHttpRequestUsingHead ();
3399
+ }
3400
+
3401
+ @ Override
3402
+ public Get set$Xgafv (java .lang .String $Xgafv ) {
3403
+ return (Get ) super .set$Xgafv ($Xgafv );
3404
+ }
3405
+
3406
+ @ Override
3407
+ public Get setAccessToken (java .lang .String accessToken ) {
3408
+ return (Get ) super .setAccessToken (accessToken );
3409
+ }
3410
+
3411
+ @ Override
3412
+ public Get setAlt (java .lang .String alt ) {
3413
+ return (Get ) super .setAlt (alt );
3414
+ }
3415
+
3416
+ @ Override
3417
+ public Get setCallback (java .lang .String callback ) {
3418
+ return (Get ) super .setCallback (callback );
3419
+ }
3420
+
3421
+ @ Override
3422
+ public Get setFields (java .lang .String fields ) {
3423
+ return (Get ) super .setFields (fields );
3424
+ }
3425
+
3426
+ @ Override
3427
+ public Get setKey (java .lang .String key ) {
3428
+ return (Get ) super .setKey (key );
3429
+ }
3430
+
3431
+ @ Override
3432
+ public Get setOauthToken (java .lang .String oauthToken ) {
3433
+ return (Get ) super .setOauthToken (oauthToken );
3434
+ }
3435
+
3436
+ @ Override
3437
+ public Get setPrettyPrint (java .lang .Boolean prettyPrint ) {
3438
+ return (Get ) super .setPrettyPrint (prettyPrint );
3439
+ }
3440
+
3441
+ @ Override
3442
+ public Get setQuotaUser (java .lang .String quotaUser ) {
3443
+ return (Get ) super .setQuotaUser (quotaUser );
3444
+ }
3445
+
3446
+ @ Override
3447
+ public Get setUploadType (java .lang .String uploadType ) {
3448
+ return (Get ) super .setUploadType (uploadType );
3449
+ }
3450
+
3451
+ @ Override
3452
+ public Get setUploadProtocol (java .lang .String uploadProtocol ) {
3453
+ return (Get ) super .setUploadProtocol (uploadProtocol );
3454
+ }
3455
+
3456
+ /**
3457
+ * Part of `name`. Name of the resource requested. Example:
3458
+ * apps/myapp/domainMappings/example.com.
3459
+ */
3460
+ @ com .google .api .client .util .Key
3461
+ private java .lang .String projectsId ;
3462
+
3463
+ /** Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com.
3464
+ */
3465
+ public java .lang .String getProjectsId () {
3466
+ return projectsId ;
3467
+ }
3468
+
3469
+ /**
3470
+ * Part of `name`. Name of the resource requested. Example:
3471
+ * apps/myapp/domainMappings/example.com.
3472
+ */
3473
+ public Get setProjectsId (java .lang .String projectsId ) {
3474
+ this .projectsId = projectsId ;
3475
+ return this ;
3476
+ }
3477
+
3478
+ /** Part of `name`. See documentation of `projectsId`. */
3479
+ @ com .google .api .client .util .Key
3480
+ private java .lang .String locationsId ;
3481
+
3482
+ /** Part of `name`. See documentation of `projectsId`.
3483
+ */
3484
+ public java .lang .String getLocationsId () {
3485
+ return locationsId ;
3486
+ }
3487
+
3488
+ /** Part of `name`. See documentation of `projectsId`. */
3489
+ public Get setLocationsId (java .lang .String locationsId ) {
3490
+ this .locationsId = locationsId ;
3491
+ return this ;
3492
+ }
3493
+
3494
+ /** Part of `name`. See documentation of `projectsId`. */
3495
+ @ com .google .api .client .util .Key
3496
+ private java .lang .String applicationsId ;
3497
+
3498
+ /** Part of `name`. See documentation of `projectsId`.
3499
+ */
3500
+ public java .lang .String getApplicationsId () {
3501
+ return applicationsId ;
3502
+ }
3503
+
3504
+ /** Part of `name`. See documentation of `projectsId`. */
3505
+ public Get setApplicationsId (java .lang .String applicationsId ) {
3506
+ this .applicationsId = applicationsId ;
3507
+ return this ;
3508
+ }
3509
+
3510
+ /** Part of `name`. See documentation of `projectsId`. */
3511
+ @ com .google .api .client .util .Key
3512
+ private java .lang .String domainMappingsId ;
3513
+
3514
+ /** Part of `name`. See documentation of `projectsId`.
3515
+ */
3516
+ public java .lang .String getDomainMappingsId () {
3517
+ return domainMappingsId ;
3518
+ }
3519
+
3520
+ /** Part of `name`. See documentation of `projectsId`. */
3521
+ public Get setDomainMappingsId (java .lang .String domainMappingsId ) {
3522
+ this .domainMappingsId = domainMappingsId ;
3523
+ return this ;
3524
+ }
3525
+
3526
+ @ Override
3527
+ public Get set (String parameterName , Object value ) {
3528
+ return (Get ) super .set (parameterName , value );
3529
+ }
3530
+ }
3531
+
3532
+ }
3323
3533
}
3324
3534
/**
3325
3535
* An accessor for creating requests from the Operations collection.
0 commit comments