1. Packages
  2. Google Cloud Native
  3. API Docs
  4. toolresults
  5. toolresults/v1beta3
  6. getHistory

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.toolresults/v1beta3.getHistory

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets a History. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist

    Using getHistory

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getHistory(args: GetHistoryArgs, opts?: InvokeOptions): Promise<GetHistoryResult>
    function getHistoryOutput(args: GetHistoryOutputArgs, opts?: InvokeOptions): Output<GetHistoryResult>
    def get_history(history_id: Optional[str] = None,
                    project: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetHistoryResult
    def get_history_output(history_id: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetHistoryResult]
    func LookupHistory(ctx *Context, args *LookupHistoryArgs, opts ...InvokeOption) (*LookupHistoryResult, error)
    func LookupHistoryOutput(ctx *Context, args *LookupHistoryOutputArgs, opts ...InvokeOption) LookupHistoryResultOutput

    > Note: This function is named LookupHistory in the Go SDK.

    public static class GetHistory 
    {
        public static Task<GetHistoryResult> InvokeAsync(GetHistoryArgs args, InvokeOptions? opts = null)
        public static Output<GetHistoryResult> Invoke(GetHistoryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHistoryResult> getHistory(GetHistoryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:toolresults/v1beta3:getHistory
      arguments:
        # arguments dictionary

    The following arguments are supported:

    HistoryId string
    Project string
    HistoryId string
    Project string
    historyId String
    project String
    historyId string
    project string
    historyId String
    project String

    getHistory Result

    The following output properties are available:

    DisplayName string
    A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
    HistoryId string
    A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
    Name string
    A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
    TestPlatform string
    The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
    DisplayName string
    A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
    HistoryId string
    A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
    Name string
    A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
    TestPlatform string
    The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
    displayName String
    A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
    historyId String
    A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
    name String
    A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
    testPlatform String
    The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
    displayName string
    A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
    historyId string
    A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
    name string
    A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
    testPlatform string
    The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
    display_name str
    A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
    history_id str
    A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
    name str
    A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
    test_platform str
    The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
    displayName String
    A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
    historyId String
    A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
    name String
    A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
    testPlatform String
    The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi