@@ -4488,6 +4488,160 @@ public GetGoogleSignalsSettings set(String parameterName, Object value) {
4488
4488
return (GetGoogleSignalsSettings) super.set(parameterName, value);
4489
4489
}
4490
4490
}
4491
+ /**
4492
+ * Returns the singleton data retention settings for this property.
4493
+ *
4494
+ * Create a request for the method "properties.getReportingIdentitySettings".
4495
+ *
4496
+ * This request holds the parameters needed by the analyticsadmin server. After setting any
4497
+ * optional parameters, call the {@link GetReportingIdentitySettings#execute()} method to invoke the
4498
+ * remote operation.
4499
+ *
4500
+ * @param name Required. The name of the settings to lookup. Format:
4501
+ * properties/{property}/reportingIdentitySettings Example:
4502
+ * "properties/1000/reportingIdentitySettings"
4503
+ * @return the request
4504
+ */
4505
+ public GetReportingIdentitySettings getReportingIdentitySettings(java.lang.String name) throws java.io.IOException {
4506
+ GetReportingIdentitySettings result = new GetReportingIdentitySettings(name);
4507
+ initialize(result);
4508
+ return result;
4509
+ }
4510
+
4511
+ public class GetReportingIdentitySettings extends GoogleAnalyticsAdminRequest<com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaReportingIdentitySettings> {
4512
+
4513
+ private static final String REST_PATH = "v1alpha/{+name}";
4514
+
4515
+ private final java.util.regex.Pattern NAME_PATTERN =
4516
+ java.util.regex.Pattern.compile("^properties/[^/]+/reportingIdentitySettings$");
4517
+
4518
+ /**
4519
+ * Returns the singleton data retention settings for this property.
4520
+ *
4521
+ * Create a request for the method "properties.getReportingIdentitySettings".
4522
+ *
4523
+ * This request holds the parameters needed by the the analyticsadmin server. After setting any
4524
+ * optional parameters, call the {@link GetReportingIdentitySettings#execute()} method to invoke
4525
+ * the remote operation. <p> {@link GetReportingIdentitySettings#initialize(com.google.api.client.
4526
+ * googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
4527
+ * immediately after invoking the constructor. </p>
4528
+ *
4529
+ * @param name Required. The name of the settings to lookup. Format:
4530
+ * properties/{property}/reportingIdentitySettings Example:
4531
+ * "properties/1000/reportingIdentitySettings"
4532
+ * @since 1.13
4533
+ */
4534
+ protected GetReportingIdentitySettings(java.lang.String name) {
4535
+ super(GoogleAnalyticsAdmin.this, "GET", REST_PATH, null, com.google.api.services.analyticsadmin.v1alpha.model.GoogleAnalyticsAdminV1alphaReportingIdentitySettings.class);
4536
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
4537
+ if (!getSuppressPatternChecks()) {
4538
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4539
+ "Parameter name must conform to the pattern " +
4540
+ "^properties/[^/]+/reportingIdentitySettings$");
4541
+ }
4542
+ }
4543
+
4544
+ @Override
4545
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
4546
+ return super.executeUsingHead();
4547
+ }
4548
+
4549
+ @Override
4550
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
4551
+ return super.buildHttpRequestUsingHead();
4552
+ }
4553
+
4554
+ @Override
4555
+ public GetReportingIdentitySettings set$Xgafv(java.lang.String $Xgafv) {
4556
+ return (GetReportingIdentitySettings) super.set$Xgafv($Xgafv);
4557
+ }
4558
+
4559
+ @Override
4560
+ public GetReportingIdentitySettings setAccessToken(java.lang.String accessToken) {
4561
+ return (GetReportingIdentitySettings) super.setAccessToken(accessToken);
4562
+ }
4563
+
4564
+ @Override
4565
+ public GetReportingIdentitySettings setAlt(java.lang.String alt) {
4566
+ return (GetReportingIdentitySettings) super.setAlt(alt);
4567
+ }
4568
+
4569
+ @Override
4570
+ public GetReportingIdentitySettings setCallback(java.lang.String callback) {
4571
+ return (GetReportingIdentitySettings) super.setCallback(callback);
4572
+ }
4573
+
4574
+ @Override
4575
+ public GetReportingIdentitySettings setFields(java.lang.String fields) {
4576
+ return (GetReportingIdentitySettings) super.setFields(fields);
4577
+ }
4578
+
4579
+ @Override
4580
+ public GetReportingIdentitySettings setKey(java.lang.String key) {
4581
+ return (GetReportingIdentitySettings) super.setKey(key);
4582
+ }
4583
+
4584
+ @Override
4585
+ public GetReportingIdentitySettings setOauthToken(java.lang.String oauthToken) {
4586
+ return (GetReportingIdentitySettings) super.setOauthToken(oauthToken);
4587
+ }
4588
+
4589
+ @Override
4590
+ public GetReportingIdentitySettings setPrettyPrint(java.lang.Boolean prettyPrint) {
4591
+ return (GetReportingIdentitySettings) super.setPrettyPrint(prettyPrint);
4592
+ }
4593
+
4594
+ @Override
4595
+ public GetReportingIdentitySettings setQuotaUser(java.lang.String quotaUser) {
4596
+ return (GetReportingIdentitySettings) super.setQuotaUser(quotaUser);
4597
+ }
4598
+
4599
+ @Override
4600
+ public GetReportingIdentitySettings setUploadType(java.lang.String uploadType) {
4601
+ return (GetReportingIdentitySettings) super.setUploadType(uploadType);
4602
+ }
4603
+
4604
+ @Override
4605
+ public GetReportingIdentitySettings setUploadProtocol(java.lang.String uploadProtocol) {
4606
+ return (GetReportingIdentitySettings) super.setUploadProtocol(uploadProtocol);
4607
+ }
4608
+
4609
+ /**
4610
+ * Required. The name of the settings to lookup. Format:
4611
+ * properties/{property}/reportingIdentitySettings Example:
4612
+ * "properties/1000/reportingIdentitySettings"
4613
+ */
4614
+ @com.google.api.client.util.Key
4615
+ private java.lang.String name;
4616
+
4617
+ /** Required. The name of the settings to lookup. Format:
4618
+ properties/{property}/reportingIdentitySettings Example:
4619
+ "properties/1000/reportingIdentitySettings"
4620
+ */
4621
+ public java.lang.String getName() {
4622
+ return name;
4623
+ }
4624
+
4625
+ /**
4626
+ * Required. The name of the settings to lookup. Format:
4627
+ * properties/{property}/reportingIdentitySettings Example:
4628
+ * "properties/1000/reportingIdentitySettings"
4629
+ */
4630
+ public GetReportingIdentitySettings setName(java.lang.String name) {
4631
+ if (!getSuppressPatternChecks()) {
4632
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
4633
+ "Parameter name must conform to the pattern " +
4634
+ "^properties/[^/]+/reportingIdentitySettings$");
4635
+ }
4636
+ this.name = name;
4637
+ return this;
4638
+ }
4639
+
4640
+ @Override
4641
+ public GetReportingIdentitySettings set(String parameterName, Object value) {
4642
+ return (GetReportingIdentitySettings) super.set(parameterName, value);
4643
+ }
4644
+ }
4491
4645
/**
4492
4646
* Returns child Properties under the specified parent Account. Properties will be excluded if the
4493
4647
* caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default.
0 commit comments