Skip to content

Commit 071d282

Browse files
committed
docs(samples): modified region tag to match apikey service
1 parent 876de10 commit 071d282

8 files changed

+16
-16
lines changed

auth/src/main/java/CreateApiKey.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_create_api_key]
17+
// [START apikeys_create_api_key]
1818

1919
import com.google.api.apikeys.v2.ApiKeysClient;
2020
import com.google.api.apikeys.v2.ApiTarget;
@@ -81,4 +81,4 @@ public static void createApiKey(String projectId)
8181
}
8282
}
8383
}
84-
// [END auth_cloud_create_api_key]
84+
// [END apikeys_create_api_key]

auth/src/main/java/DeleteApiKey.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_delete_api_key]
17+
// [START apikeys_delete_api_key]
1818

1919
import com.google.api.apikeys.v2.ApiKeysClient;
2020
import com.google.api.apikeys.v2.DeleteKeyRequest;
@@ -62,4 +62,4 @@ public static void deleteApiKey(String projectId, String apiKeyId)
6262
}
6363
}
6464
}
65-
// [END auth_cloud_delete_api_key]
65+
// [END apikeys_delete_api_key]

auth/src/main/java/LookupApiKey.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_lookup_api_key]
17+
// [START apikeys_lookup_api_key]
1818

1919
import com.google.api.apikeys.v2.ApiKeysClient;
2020
import com.google.api.apikeys.v2.LookupKeyRequest;
@@ -54,4 +54,4 @@ public static void lookupApiKey(String apiKeyString) throws IOException {
5454
}
5555
}
5656
}
57-
// [END auth_cloud_lookup_api_key]
57+
// [END apikeys_lookup_api_key]

auth/src/main/java/RestrictApiKeyAndroid.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_restrict_api_key_android]
17+
// [START apikeys_restrict_api_key_android]
1818

1919
import com.google.api.apikeys.v2.AndroidApplication;
2020
import com.google.api.apikeys.v2.AndroidKeyRestrictions;
@@ -87,4 +87,4 @@ public static void restrictApiKeyAndroid(String projectId, String keyId)
8787
}
8888
}
8989
}
90-
// [END auth_cloud_restrict_api_key_android]
90+
// [END apikeys_restrict_api_key_android]

auth/src/main/java/RestrictApiKeyApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_restrict_api_key_api]
17+
// [START apikeys_restrict_api_key_api]
1818

1919
import com.google.api.apikeys.v2.ApiKeysClient;
2020
import com.google.api.apikeys.v2.ApiTarget;
@@ -83,4 +83,4 @@ public static void restrictApiKeyApi(String projectId, String keyId)
8383
}
8484
}
8585
}
86-
// [END auth_cloud_restrict_api_key_api]
86+
// [END apikeys_restrict_api_key_api]

auth/src/main/java/RestrictApiKeyHttp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_restrict_api_key_http]
17+
// [START apikeys_restrict_api_key_http]
1818

1919
import com.google.api.apikeys.v2.ApiKeysClient;
2020
import com.google.api.apikeys.v2.BrowserKeyRestrictions;
@@ -83,4 +83,4 @@ public static void restrictApiKeyHttp(String projectId, String keyId)
8383
}
8484
}
8585
}
86-
// [END auth_cloud_restrict_api_key_http]
86+
// [END apikeys_restrict_api_key_http]

auth/src/main/java/RestrictApiKeyIos.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_restrict_api_key_ios]
17+
// [START apikeys_restrict_api_key_ios]
1818

1919
import com.google.api.apikeys.v2.ApiKeysClient;
2020
import com.google.api.apikeys.v2.IosKeyRestrictions;
@@ -84,4 +84,4 @@ public static void restrictApiKeyIos(String projectId, String keyId)
8484
}
8585
}
8686
}
87-
// [END auth_cloud_restrict_api_key_ios]
87+
// [END apikeys_restrict_api_key_ios]

auth/src/main/java/RestrictApiKeyServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START auth_cloud_restrict_api_key_server]
17+
// [START apikeys_restrict_api_key_server]
1818

1919
import com.google.api.apikeys.v2.ApiKeysClient;
2020
import com.google.api.apikeys.v2.Key;
@@ -84,4 +84,4 @@ public static void restrictApiKeyServer(String projectId, String keyId)
8484
}
8585
}
8686
}
87-
// [END auth_cloud_restrict_api_key_server]
87+
// [END apikeys_restrict_api_key_server]

0 commit comments

Comments
 (0)