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

target.apidocs.com.google.api.services.cloudasset.v1.CloudAsset.html Maven / Gradle / Ivy

The newest version!






CloudAsset (Cloud Asset API v1-rev20241211-2.0.0)












com.google.api.services.cloudasset.v1

Class CloudAsset

  • java.lang.Object
    • com.google.api.client.googleapis.services.AbstractGoogleClient
      • com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
        • com.google.api.services.cloudasset.v1.CloudAsset


  • public class CloudAsset
    extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
    Service definition for CloudAsset (v1).

    The Cloud Asset API manages the history and inventory of Google Cloud resources.

    For more information about this service, see the API Documentation

    This service uses CloudAssetRequestInitializer to initialize global parameters via its CloudAsset.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_MTLS_ROOT_URL

        public static final String DEFAULT_MTLS_ROOT_URL
        The default encoded mTLS root URL of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.31
        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

      • CloudAsset

        public CloudAsset(com.google.api.client.http.HttpTransport transport,
                          com.google.api.client.json.JsonFactory jsonFactory,
                          com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
        Constructor.

        Use CloudAsset.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: com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
        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

      • initialize

        protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
                           throws IOException
        Overrides:
        initialize in class com.google.api.client.googleapis.services.AbstractGoogleClient
        Throws:
        IOException
      • assets

        public CloudAsset.Assets assets()
        An accessor for creating requests from the Assets collection.

        The typical use is:

            CloudAsset cloudasset = new CloudAsset(...);
            CloudAsset.Assets.List request = cloudasset.assets().list(parameters ...)
         
        Returns:
        the resource collection
      • effectiveIamPolicies

        public CloudAsset.EffectiveIamPolicies effectiveIamPolicies()
        An accessor for creating requests from the EffectiveIamPolicies collection.

        The typical use is:

            CloudAsset cloudasset = new CloudAsset(...);
            CloudAsset.EffectiveIamPolicies.List request = cloudasset.effectiveIamPolicies().list(parameters ...)
         
        Returns:
        the resource collection
      • feeds

        public CloudAsset.Feeds feeds()
        An accessor for creating requests from the Feeds collection.

        The typical use is:

            CloudAsset cloudasset = new CloudAsset(...);
            CloudAsset.Feeds.List request = cloudasset.feeds().list(parameters ...)
         
        Returns:
        the resource collection
      • operations

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

        The typical use is:

            CloudAsset cloudasset = new CloudAsset(...);
            CloudAsset.Operations.List request = cloudasset.operations().list(parameters ...)
         
        Returns:
        the resource collection
      • savedQueries

        public CloudAsset.SavedQueries savedQueries()
        An accessor for creating requests from the SavedQueries collection.

        The typical use is:

            CloudAsset cloudasset = new CloudAsset(...);
            CloudAsset.SavedQueries.List request = cloudasset.savedQueries().list(parameters ...)
         
        Returns:
        the resource collection
      • v1

        public CloudAsset.V1 v1()
        An accessor for creating requests from the V1 collection.

        The typical use is:

            CloudAsset cloudasset = new CloudAsset(...);
            CloudAsset.V1.List request = cloudasset.v1().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy