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

target.apidocs.com.google.api.services.compute.Compute.LicenseCodes.html Maven / Gradle / Ivy







Compute.LicenseCodes (Compute Engine API beta-rev20220312-1.32.1)












com.google.api.services.compute

Class Compute.LicenseCodes

  • Enclosing class:
    Compute


    public class Compute.LicenseCodes
    extends Object
    The "licenseCodes" collection of methods.
    • Constructor Detail

      • LicenseCodes

        public LicenseCodes()
    • Method Detail

      • get

        public Compute.LicenseCodes.Get get(String project,
                                            String licenseCode)
                                     throws IOException
        Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. *Caution* This resource is intended for use only by third- party partners who are creating Cloud Marketplace images. Create a request for the method "licenseCodes.get". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        licenseCode - Number corresponding to the License code resource to return.
        Returns:
        the request
        Throws:
        IOException
      • testIamPermissions

        public Compute.LicenseCodes.TestIamPermissions testIamPermissions(String project,
                                                                          String resource,
                                                                          TestPermissionsRequest content)
                                                                   throws IOException
        Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. Create a request for the method "licenseCodes.testIamPermissions". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        resource - Name or id of the resource for this request.
        content - the TestPermissionsRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy