Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.toolresults/v1beta3.History
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
Create History Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new History(name: string, args?: HistoryArgs, opts?: CustomResourceOptions);@overload
def History(resource_name: str,
            args: Optional[HistoryArgs] = None,
            opts: Optional[ResourceOptions] = None)
@overload
def History(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            display_name: Optional[str] = None,
            history_id: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            request_id: Optional[str] = None,
            test_platform: Optional[HistoryTestPlatform] = None)func NewHistory(ctx *Context, name string, args *HistoryArgs, opts ...ResourceOption) (*History, error)public History(string name, HistoryArgs? args = null, CustomResourceOptions? opts = null)
public History(String name, HistoryArgs args)
public History(String name, HistoryArgs args, CustomResourceOptions options)
type: google-native:toolresults/v1beta3:History
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HistoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HistoryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HistoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HistoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HistoryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var historyResource = new GoogleNative.ToolResults.V1Beta3.History("historyResource", new()
{
    DisplayName = "string",
    HistoryId = "string",
    Name = "string",
    Project = "string",
    RequestId = "string",
    TestPlatform = GoogleNative.ToolResults.V1Beta3.HistoryTestPlatform.UnknownPlatform,
});
example, err := toolresults.NewHistory(ctx, "historyResource", &toolresults.HistoryArgs{
	DisplayName:  pulumi.String("string"),
	HistoryId:    pulumi.String("string"),
	Name:         pulumi.String("string"),
	Project:      pulumi.String("string"),
	RequestId:    pulumi.String("string"),
	TestPlatform: toolresults.HistoryTestPlatformUnknownPlatform,
})
var historyResource = new History("historyResource", HistoryArgs.builder()
    .displayName("string")
    .historyId("string")
    .name("string")
    .project("string")
    .requestId("string")
    .testPlatform("unknownPlatform")
    .build());
history_resource = google_native.toolresults.v1beta3.History("historyResource",
    display_name="string",
    history_id="string",
    name="string",
    project="string",
    request_id="string",
    test_platform=google_native.toolresults.v1beta3.HistoryTestPlatform.UNKNOWN_PLATFORM)
const historyResource = new google_native.toolresults.v1beta3.History("historyResource", {
    displayName: "string",
    historyId: "string",
    name: "string",
    project: "string",
    requestId: "string",
    testPlatform: google_native.toolresults.v1beta3.HistoryTestPlatform.UnknownPlatform,
});
type: google-native:toolresults/v1beta3:History
properties:
    displayName: string
    historyId: string
    name: string
    project: string
    requestId: string
    testPlatform: unknownPlatform
History Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The History resource accepts the following input properties:
- 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
- Project string
- RequestId string
- A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
- TestPlatform Pulumi.Google Native. Tool Results. V1Beta3. History Test Platform 
- 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
- Project string
- RequestId string
- A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
- TestPlatform HistoryTest Platform 
- 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
- project String
- requestId String
- A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
- testPlatform HistoryTest Platform 
- 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
- project string
- requestId string
- A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
- testPlatform HistoryTest Platform 
- 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
- project str
- request_id str
- A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
- test_platform HistoryTest Platform 
- 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
- project String
- requestId String
- A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.
- testPlatform "unknownPlatform" | "android" | "ios" 
- The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
Outputs
All input properties are implicitly available as output properties. Additionally, the History resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
HistoryTestPlatform, HistoryTestPlatformArgs      
- UnknownPlatform 
- unknownPlatform
- Android
- android
- Ios
- ios
- HistoryTest Platform Unknown Platform 
- unknownPlatform
- HistoryTest Platform Android 
- android
- HistoryTest Platform Ios 
- ios
- UnknownPlatform 
- unknownPlatform
- Android
- android
- Ios
- ios
- UnknownPlatform 
- unknownPlatform
- Android
- android
- Ios
- ios
- UNKNOWN_PLATFORM
- unknownPlatform
- ANDROID
- android
- IOS
- ios
- "unknownPlatform" 
- unknownPlatform
- "android"
- android
- "ios"
- ios
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.