All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.serviceusage.v1.ServiceUsage.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241205-2.0.0
Show newest version






ServiceUsage (Service Usage API v1-rev20190921-1.28.0)












com.google.api.services.serviceusage.v1

Class ServiceUsage



  • public class ServiceUsage
    extends AbstractGoogleJsonClient
    Service definition for ServiceUsage (v1).

    Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.

    For more information about this service, see the API Documentation

    This service uses ServiceUsageRequestInitializer to initialize global parameters via its ServiceUsage.Builder.

    Since:
    1.3
    Author:
    Google, Inc.
    • Field Detail

      • DEFAULT_ROOT_URL

        public static final String DEFAULT_ROOT_URL
        The default encoded root URL of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.7
        See Also:
        Constant Field Values
      • DEFAULT_SERVICE_PATH

        public static final String DEFAULT_SERVICE_PATH
        The default encoded service path of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.7
        See Also:
        Constant Field Values
      • DEFAULT_BATCH_PATH

        public static final String DEFAULT_BATCH_PATH
        The default encoded batch path of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.23
        See Also:
        Constant Field Values
      • DEFAULT_BASE_URL

        public static final String DEFAULT_BASE_URL
        The default encoded base URL of the service. This is determined when the library is generated and normally should not be changed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServiceUsage

        public ServiceUsage(HttpTransport transport,
                            JsonFactory jsonFactory,
                            HttpRequestInitializer httpRequestInitializer)
        Constructor.

        Use ServiceUsage.Builder if you need to specify any of the optional parameters.

        Parameters:
        transport - HTTP transport, which should normally be:
        • Google App Engine: com.google.api.client.extensions.appengine.http.UrlFetchTransport
        • Android: newCompatibleTransport from com.google.api.client.extensions.android.http.AndroidHttp
        • Java: GoogleNetHttpTransport
        jsonFactory - JSON factory, which may be:
        • Jackson: com.google.api.client.json.jackson2.JacksonFactory
        • Google GSON: com.google.api.client.json.gson.GsonFactory
        • Android Honeycomb or higher: com.google.api.client.extensions.android.json.AndroidJsonFactory
        httpRequestInitializer - HTTP request initializer or null for none
        Since:
        1.7
    • Method Detail

      • operations

        public ServiceUsage.Operations operations()
        An accessor for creating requests from the Operations collection.

        The typical use is:

            ServiceUsage serviceusage = new ServiceUsage(...);
            ServiceUsage.Operations.List request = serviceusage.operations().list(parameters ...)
         
        Returns:
        the resource collection
      • services

        public ServiceUsage.Services services()
        An accessor for creating requests from the Services collection.

        The typical use is:

            ServiceUsage serviceusage = new ServiceUsage(...);
            ServiceUsage.Services.List request = serviceusage.services().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy